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
c0c0fc2c
Commit
c0c0fc2c
authored
Oct 09, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文档
parent
3064fcdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
upgrade.rst
docs/upgrade.rst
+6
-6
No files found.
docs/upgrade.rst
View file @
c0c0fc2c
...
@@ -40,18 +40,18 @@
...
@@ -40,18 +40,18 @@
$ pip install -r requirements/requirements.txt -i https://pypi.python.org/simple
$ pip install -r requirements/requirements.txt -i https://pypi.python.org/simple
$ cd utils && sh make_migrations.sh
$ cd utils && sh make_migrations.sh
# 如果执行 sh make_migrations.sh 时有红色文字提示 Run 'manage.py make_migrations' 和 'manage.py migrate' ,则需要执行下面4条命令,没有则忽略这一步
$ cd /opt/jumpserver/apps
$ python manage.py makemigrations
$ python manage.py migrate
$ cd ../utils && sh make_migrations.sh
# 1.0.x 升级到最新版本需要执行迁移脚本 (新版本授权管理更新,非 1.0.x 版本请忽略)
# 1.0.x 升级到最新版本需要执行迁移脚本 (新版本授权管理更新,非 1.0.x 版本请忽略)
$ sh 2018_04_11_migrate_permissions.sh
$ sh 2018_04_11_migrate_permissions.sh
# 任意版本升级到 1.4.0 版本,需要执行(当前版本小于 1.4.0 需要执行此步骤)
# 任意版本升级到 1.4.0 版本,需要执行(当前版本小于 1.4.0 需要执行此步骤)
$ sh 2018_07_15_set_win_protocol_to_ssh.sh
$ sh 2018_07_15_set_win_protocol_to_ssh.sh
# 如果执行 sh make_migrations.sh 时有红色提示 Run 'manage.py make_migrations' 和 'manage.py migrate'
$ cd /opt/jumpserver/apps
$ python manage.py makemigrations
$ python manage.py migrate
$ cd ../utils && sh make_migrations.sh
$ cd ../ && ./jms start all
$ cd ../ && ./jms start all
# 任意版本升级到 1.4.2 版本,需要修改 nginx 配置 (当前版本小于 1.4.2 需要执行此步骤)
# 任意版本升级到 1.4.2 版本,需要修改 nginx 配置 (当前版本小于 1.4.2 需要执行此步骤)
...
...
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