Commit 313a7df3 authored by wojiushixiaobai's avatar wojiushixiaobai

修改文档

parent c72a09b5
...@@ -10,7 +10,6 @@ CentOS7 自动安装脚本脚本见: `自动安装 <fool_install.html>`_ ...@@ -10,7 +10,6 @@ CentOS7 自动安装脚本脚本见: `自动安装 <fool_install.html>`_
Docker 安装见: `Docker官方安装文档 <https://docs.docker.com/install/>`_ Docker 安装见: `Docker官方安装文档 <https://docs.docker.com/install/>`_
快速启动 快速启动
``````````````` ```````````````
使用 root 命令行输入:: 使用 root 命令行输入::
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
dockerinstall
quickinstall quickinstall
step_by_step step_by_step
setup_by_ubuntu setup_by_ubuntu
......
进阶安装 一站式、分布式、组件离线安装
++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++
可用于生产环境参考安装文档 可用于生产环境参考安装文档
组件说明 组件说明
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
:maxdepth: 1 :maxdepth: 1
安装文档 <setup_by_centos7.rst> 安装文档 <setup_by_centos7.rst>
离线安装文档 <setup_by_local.rst> 组件离线安装文档 <setup_by_local.rst>
分布式部署文档(基于CentOS 7) 分布式部署文档(基于CentOS 7)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
CentOS 7 离线安装文档 CentOS 7 组件离线安装文档
-------------------------------------------- --------------------------------------------
说明 说明
...@@ -21,6 +21,7 @@ CentOS 7 离线安装文档 ...@@ -21,6 +21,7 @@ CentOS 7 离线安装文档
$ tar xf coco.tar.gz -C /opt $ tar xf coco.tar.gz -C /opt
$ tar xf luna.tar.gz -C /opt $ tar xf luna.tar.gz -C /opt
$ tar xf package.tar.gz -C /opt $ tar xf package.tar.gz -C /opt
$ mv guacamole.tar /opt
# yum update -y # yum update -y
......
更新升级 更新升级
------------- -------------
说明
~~~~~~~
- 不支持从 0.x 版本升级到 1.x 版本
- 本文档仅针对 1.0 及之后的版本升级教程
1. 升级 Jumpserver(如果是新开的终端,别忘了 source /opt/py3/bin/activate) 1. 升级 Jumpserver(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
:: ::
...@@ -8,11 +13,20 @@ ...@@ -8,11 +13,20 @@
# 升级前请做好 jumpserver 与 数据库 备份,谨防意外,具体的备份命令可以参考离线升级 # 升级前请做好 jumpserver 与 数据库 备份,谨防意外,具体的备份命令可以参考离线升级
$ cd /opt/jumpserver $ cd /opt/jumpserver
$ git pull $ git pull
$ pip install -r requirements/requirements.txt # 如果使用其他源下载失败可以使用 -i 参数指定源
# 版本小于 1.3 升级到最新版本请使用新的 config.py
$ mv config.py config.bak
$ cp config_example.py config.py
$ vim config.py # 参考安装文档进行修改
$ pip install -r requirements/requirements.txt
$ cd utils && sh make_migrations.sh $ cd utils && sh make_migrations.sh
   # 1.0.x 升级 1.2.0 及以后的版本 需要执行迁移脚本(新版本授权管理更新)    # 1.0.x 升级到最新版本需要执行迁移脚本(新版本授权管理更新)
$ sh 2018_04_11_migrate_permissions.sh $ sh 2018_04_11_migrate_permissions.sh
# 任意版本升级到 1.4.0 版本,需要执行
$ sh 2018_07_15_set_win_protocol_to_ssh.sh
   
2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate) 2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
...@@ -22,9 +36,6 @@ ...@@ -22,9 +36,6 @@
$ cd /opt/coco $ cd /opt/coco
$ git pull && pip install -r requirements/requirements.txt $ git pull && pip install -r requirements/requirements.txt
# 如果使用其他源下载失败可以使用 -i 参数指定源
$ pip install -r requirements/requirements.txt -i https://pypi.org/simple
3. 升级 Luna 3. 升级 Luna
重新下载 release 包(https://github.com/jumpserver/luna/releases) 重新下载 release 包(https://github.com/jumpserver/luna/releases)
......
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