Commit b1f1a7be authored by wojiushixiaobai's avatar wojiushixiaobai

修改文档

parent 96307d35
......@@ -32,7 +32,7 @@
$ ./jms stop
$ git pull
# jumpserver 版本小于 1.3 升级到最新版本请使用新的 config.py (当前版本小于 1.3 需要执行此步骤
# jumpserver 版本小于 1.3 升级到最新版本请使用新的 config.py (升级前版本小于 1.3 需要执行此步骤,否则跳过
$ mv config.py config.bak
$ cp config_example.py config.py
$ vim config.py # 参考安装文档进行修改
......@@ -49,12 +49,12 @@
   # 1.0.x 升级到最新版本需要执行迁移脚本 (新版本授权管理更新,非 1.0.x 版本请忽略)
$ 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
$ cd ../ && ./jms start all
# 任意版本升级到 1.4.2 版本,需要修改 nginx 配置 (前版本小于 1.4.2 需要执行此步骤)
# 任意版本升级到 1.4.2 版本,需要修改 nginx 配置 (升级前版本小于 1.4.2 需要执行此步骤)
$ vim /etc/nginx/conf.d/jumpserver.conf # 部分用户的配置文件是/etc/nginx/nginx.conf
...
......@@ -79,6 +79,9 @@
...
# 保存后重新载入配置
$ nginx -s reload
2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
::
......@@ -88,7 +91,7 @@
$ ./cocod stop
$ git pull && pip install -r requirements/requirements.txt
# coco 版本小于 1.4.1 升级到最新版本请使用新的 conf.py (当前版本小于 1.4.1 需要执行此步骤)
# coco 升级前版本小于 1.4.1 升级到最新版本请使用新的 conf.py (升级前版本小于 1.4.1 需要执行此步骤)
$ mv conf.py coco.bak
$ cp conf_example.py conf.py
$ vim conf.py # 参考安装文档进行修改
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment