Unverified Commit 41aaf639 authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #1188 from wojiushixiaobai/patch-1

1.2.0文档更新
parents 66ab84a8 ce499086
...@@ -6,7 +6,10 @@ ...@@ -6,7 +6,10 @@
:: ::
$ git pull && pip install -r requirements/requirements.txt && cd utils && sh make_migrations.sh $ git pull && pip install -r requirements/requirements.txt && cd utils && sh make_migrations.sh
   # 1.0.x 升级 1.2.0 需要执行迁移脚本(新版本授权管理更新)
$ sh 2018_04_11_migrate_permissions.sh
 
2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate) 2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
:: ::
...@@ -23,7 +26,8 @@ ...@@ -23,7 +26,8 @@
$ docker pull registry.jumpserver.org/public/guacamole:latest $ docker pull registry.jumpserver.org/public/guacamole:latest
$ docker stop jms_guacamole # 或者写guacamole的容器ID $ docker stop jms_guacamole # 或者写guacamole的容器ID
$ docker run --name jms_guacamole -d \   $ docker rename jms_guacamole jms_guacamole_bak # 如果名称不正确请手动修改
  $ docker run --name jms_guacamole -d \
-p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \ -p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \
-e JUMPSERVER_KEY_DIR=/config/guacamole/key \ -e JUMPSERVER_KEY_DIR=/config/guacamole/key \
-e JUMPSERVER_SERVER=http://<填写本机的IP地址>:8080 \ -e JUMPSERVER_SERVER=http://<填写本机的IP地址>:8080 \
......
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