Unverified Commit 6add0c34 authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #1323 from wojiushixiaobai/docs

修正部分内容
parents 7c1474a9 336608ba
Jumpserver 分布式部署文档
----------------------------------------------------
说明
~~~~~~~
- # 开头的行表示注释
- > 开头的行表示需要在 mysql 中执行
- $ 开头的行表示需要执行的命令
本文档适用于有一定web运维经验的管理员或者工程师,文中不会对安装的软件做过多的解释,仅对需要执行的内容注部分注释,更详细的内容请参考一步一步安装。
环境
~~~~~~~
- 系统: CentOS 7
- IP: 192.168.244.144
- 目录: /opt
...@@ -24,3 +24,12 @@ ...@@ -24,3 +24,12 @@
:maxdepth: 1 :maxdepth: 1
CentOS 7 安装文档 <setup_by_centos7.rst> CentOS 7 安装文档 <setup_by_centos7.rst>
进阶文档
~~~~~~~~~~~~~~
.. toctree::
:maxdepth: 1
CentOS 7 之分布式部署 Jumpserver 文档
01 环境准备 <distributed_01.rst>
...@@ -70,14 +70,17 @@ CentOS 7 安装文档 ...@@ -70,14 +70,17 @@ CentOS 7 安装文档
(py3) [root@localhost py3] (py3) [root@localhost py3]
# 自动载入 Python3 虚拟环境 # 自动载入 Python3 虚拟环境
$ git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv $ cd /opt
$ echo 'source ~/.autoenv/activate.sh' >> ~/.bashrc $ git clone git://github.com/kennethreitz/autoenv.git
$ echo 'source /opt/autoenv/activate.sh' >> ~/.bashrc
$ source ~/.bashrc $ source ~/.bashrc
# 下载 Jumpserver 与 Coco # 下载 Jumpserver 与 Coco
$ cd /opt/ $ cd /opt/
$ git clone https://github.com/jumpserver/jumpserver.git && cd jumpserver && git checkout master && git pull $ git clone https://github.com/jumpserver/jumpserver.git && cd jumpserver && git checkout master && git pull
$ echo "source /opt/py3/bin/activate" > /opt/jumpserver/.env # 进入 jumpserver 目录时将自动载入 python 虚拟环境 $ echo "source /opt/py3/bin/activate" > /opt/jumpserver/.env # 进入 jumpserver 目录时将自动载入 python 虚拟环境
$ cd /opt/
$ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master && git pull $ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master && git pull
$ echo "source /opt/py3/bin/activate" > /opt/coco/.env # 进入 coco 目录时将自动载入 python 虚拟环境 $ echo "source /opt/py3/bin/activate" > /opt/coco/.env # 进入 coco 目录时将自动载入 python 虚拟环境
......
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