Commit b14835e6 authored by wojiushixiaobai's avatar wojiushixiaobai

[Fix]修改文档

parent 791368b4
......@@ -393,7 +393,7 @@ Luna 已改为纯前端, 需要 Nginx 来运行访问
$ ln -sf /opt/docker-guacamole/root/app/guacamole/guacamole.properties /config/guacamole/guacamole.properties # guacamole 配置文件
$ cd /config
$ wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-8/v8.5.39/bin/apache-tomcat-8.5.39.tar.gz
$ wget http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.40/bin/apache-tomcat-8.5.39.tar.gz
$ tar xf apache-tomcat-8.5.39.tar.gz
$ rm -rf apache-tomcat-8.5.39.tar.gz
$ mv apache-tomcat-8.5.39 tomcat8
......@@ -415,6 +415,7 @@ Luna 已改为纯前端, 需要 Nginx 来运行访问
.. code-block:: shell
# 勿多次执行以下环境设置
$ export JUMPSERVER_SERVER=http://127.0.0.1:8080 # http://127.0.0.1:8080 指 jumpserver 访问地址
$ echo "export JUMPSERVER_SERVER=http://127.0.0.1:8080" >> ~/.bashrc
......@@ -450,6 +451,7 @@ Luna 已改为纯前端, 需要 Nginx 来运行访问
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
$ yum makecache fast
$ yum install -y nginx
$ rm -rf /etc/nginx/conf.d/default.conf
$ systemctl enable nginx
......
......@@ -378,7 +378,7 @@ Luna 已改为纯前端, 需要 Nginx 来运行访问
.. code-block:: shell
$ cd /config
$ wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-8/v8.5.39/bin/apache-tomcat-8.5.39.tar.gz
$ wget http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.40/bin/apache-tomcat-8.5.39.tar.gz
$ tar xf apache-tomcat-8.5.39.tar.gz
$ rm -rf apache-tomcat-8.5.39.tar.gz
$ mv apache-tomcat-8.5.39 tomcat8
......@@ -391,6 +391,7 @@ Luna 已改为纯前端, 需要 Nginx 来运行访问
.. code-block:: shell
# 勿多次执行以下环境设置
$ export JUMPSERVER_SERVER=http://127.0.0.1:8080 # http://127.0.0.1:8080 指 jumpserver 访问地址
$ echo "export JUMPSERVER_SERVER=http://127.0.0.1:8080" >> ~/.bashrc
......
......@@ -387,10 +387,10 @@
.. code-block:: shell
$ cd /opt/coco
$ git pull
$ source /opt/py3/bin/activate
$ ./cocod stop
$ mv conf.py conf.bak
$ git pull
# 更新 config.yml, 请根据你原备份的 conf.bak 内容进行修改
$ cp config_example.yml config.yml
......@@ -472,9 +472,9 @@
.. code-block:: shell
$ cd /opt/docker-guacamole
$ git pull
$ /etc/init.d/guacd stop
$ sh /config/tomcat8/bin/shutdown.sh
$ git pull
$ ln -sf /opt/docker-guacamole/guacamole-0.9.14.war /config/tomcat8/webapps/ROOT.war
$ ln -sf /opt/docker-guacamole/guacamole-auth-jumpserver-0.9.14.jar /config/guacamole/extensions/guacamole-auth-jumpserver-0.9.14.jar
......@@ -637,10 +637,10 @@
.. code-block:: shell
$ cd /opt/coco
$ git pull
$ source /opt/py3/bin/activate
$ ./cocod stop
$ mv conf.py conf.bak
$ git pull
# 更新 config.yml, 请根据你原备份的 conf.bak 内容进行修改
$ cp config_example.yml config.yml
......@@ -720,9 +720,9 @@
.. code-block:: shell
$ cd /opt/docker-guacamole
$ git pull
$ /etc/init.d/guacd stop
$ sh /config/tomcat8/bin/shutdown.sh
$ git pull
$ ln -sf /opt/docker-guacamole/guacamole-0.9.14.war /config/tomcat8/webapps/ROOT.war
$ ln -sf /opt/docker-guacamole/guacamole-auth-jumpserver-0.9.14.jar /config/guacamole/extensions/guacamole-auth-jumpserver-0.9.14.jar
......@@ -884,10 +884,10 @@
.. code-block:: shell
$ cd /opt/coco
$ git pull
$ source /opt/py3/bin/activate
$ ./cocod stop
$ mv conf.py conf.bak
$ git pull
# 更新 config.yml, 请根据你原备份的 config.yml 内容进行修改
$ cp config_example.yml config.yml
......@@ -967,9 +967,9 @@
.. code-block:: shell
$ cd /opt/docker-guacamole
$ git pull
$ /etc/init.d/guacd stop
$ sh /config/tomcat8/bin/shutdown.sh
$ git pull
$ ln -sf /opt/docker-guacamole/guacamole-0.9.14.war /config/tomcat8/webapps/ROOT.war
$ ln -sf /opt/docker-guacamole/guacamole-auth-jumpserver-0.9.14.jar /config/guacamole/extensions/guacamole-auth-jumpserver-0.9.14.jar
......@@ -1036,6 +1036,7 @@
$ cd /opt/jumpserver
$ source /opt/py3/bin/activate
$ ./jms stop
$ git pull
$ pip install -r requirements/requirements.txt
......@@ -1049,8 +1050,9 @@
.. code-block:: shell
$ cd /opt/coco
$ git pull
$ source /opt/py3/bin/activate
$ ./cocod stop
$ git pull
$ pip install -r requirements/requirements.txt
$ ./cocod start -d
......@@ -1114,6 +1116,7 @@
$ cd /opt/jumpserver
$ source /opt/py3/bin/activate
$ ./jms stop
$ git pull
$ pip install -r requirements/requirements.txt
......@@ -1127,8 +1130,9 @@
.. code-block:: shell
$ cd /opt/coco
$ git pull
$ source /opt/py3/bin/activate
$ ./cocod stop
$ git pull
$ pip install -r requirements/requirements.txt
$ ./cocod start -d
......
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