Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
89d188d6
Commit
89d188d6
authored
6 years ago
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
3bf7886c
docs
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
8 deletions
+33
-8
distributed_02.rst
docs/distributed_02.rst
+1
-1
setup_by_centos7.rst
docs/setup_by_centos7.rst
+1
-1
setup_by_ubuntu.rst
docs/setup_by_ubuntu.rst
+1
-1
step_by_step.rst
docs/step_by_step.rst
+1
-1
upgrade.rst
docs/upgrade.rst
+29
-4
No files found.
docs/distributed_02.rst
View file @
89d188d6
...
...
@@ -59,7 +59,7 @@
# 下载 luna
$ cd /opt
$ wget https://github.com/jumpserver/luna/releases/download/
v
1.4.4/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.4/luna.tar.gz
$ tar xf luna.tar.gz
$ chown -R root:root luna
...
...
This diff is collapsed.
Click to expand it.
docs/setup_by_centos7.rst
View file @
89d188d6
...
...
@@ -224,7 +224,7 @@ CentOS 7 安装文档
# 安装 Web Terminal 前端: Luna 需要 Nginx 来运行访问 访问(https://github.com/jumpserver/luna/releases)下载对应版本的 release 包,直接解压,不需要编译
$ cd /opt
$ wget https://github.com/jumpserver/luna/releases/download/
v
1.4.4/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.4/luna.tar.gz
$ tar xf luna.tar.gz
$ chown -R root:root luna
...
...
This diff is collapsed.
Click to expand it.
docs/setup_by_ubuntu.rst
View file @
89d188d6
...
...
@@ -377,7 +377,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
.. code-block:: shell
$ cd /opt/
$ wget https://github.com/jumpserver/luna/releases/download/
v
1.4.4/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.4/luna.tar.gz
$ tar xf luna.tar.gz
$ chown -R root:root luna
...
...
This diff is collapsed.
Click to expand it.
docs/step_by_step.rst
View file @
89d188d6
...
...
@@ -407,7 +407,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
.. code-block:: shell
$ cd /opt
$ wget https://github.com/jumpserver/luna/releases/download/
v
1.4.4/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.4/luna.tar.gz
$ tar xf luna.tar.gz
$ chown -R root:root luna
...
...
This diff is collapsed.
Click to expand it.
docs/upgrade.rst
View file @
89d188d6
...
...
@@ -368,7 +368,7 @@
$ cd /opt
$ rm -rf luna
$ wget https://github.com/jumpserver/luna/releases/download/
v
1.4.4/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.4/luna.tar.gz
$ tar xf luna.tar.gz
$ chown -R root:root luna
...
...
@@ -409,14 +409,14 @@
# 备份 Jumpserver
$ cp -r /opt/jumpserver /opt/jumpserver_1.4.4_bak
$ cd /opt/jumpserver
$ sh utils/clean_migrations.sh
.. code-block:: shell
$ cd /opt/jumpserver
$ git checkout master
$ git pull
$ git clean -df # 清除未跟踪文件, 请一定要做好备份后再操作此步骤
$ git reset --hard # 还原所有修改, 请一定要做好备份后再操作此步骤
# 更新 config.py ,请根据你原备份的 config.py 内容进行修改
$ mv config.py config_1.4.4.bak
...
...
@@ -544,6 +544,31 @@
$ pip install -r requirements/requirements.txt
$ cd utils
$ vi 1.4.4_to_1.4.5_migrations.sh
.. code-block:: vim
#!/bin/bash
#
host=127.0.0.1 # 修改成 Jumpserver 数据库服务器IP
port=3306 # 修改成 Jumpserver 数据库服务器端口
username=root # 修改成有权限对数据库进行删改的用户
db=jumpserver # 修改成 Jumpserver 数据库名称
echo "备份原来的 migrations"
mysqldump -u${username} -h${host} -P${port} -p ${db} django_migrations > django_migrations.sql.bak
ret=$?
if [ ${ret} == "0" ];then
echo "开始使用新的migrations文件"
mysql -u${username} -h${host} -P${port} -p ${db} < django_migrations.sql
else
echo "Not valid"
fi
.. code-block:: shell
$ sh 1.4.4_to_1.4.5_migrations.sh
$ sh make_migrations.sh
...
...
@@ -696,7 +721,7 @@
$ cd /opt
$ rm -rf luna
$ wget https://github.com/jumpserver/luna/releases/download/
v
1.4.5/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.5/luna.tar.gz
$ tar xf luna.tar.gz
$ chown -R root:root luna
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment