Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
6add0c34
Unverified
Commit
6add0c34
authored
May 16, 2018
by
老广
Committed by
GitHub
May 16, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1323 from wojiushixiaobai/docs
修正部分内容
parents
7c1474a9
336608ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
2 deletions
+31
-2
distributed_01.rst
docs/distributed_01.rst
+17
-0
quickinstall.rst
docs/quickinstall.rst
+9
-0
setup_by_centos7.rst
docs/setup_by_centos7.rst
+5
-2
No files found.
docs/distributed_01.rst
0 → 100644
View file @
6add0c34
Jumpserver 分布式部署文档
----------------------------------------------------
说明
~~~~~~~
- # 开头的行表示注释
- > 开头的行表示需要在 mysql 中执行
- $ 开头的行表示需要执行的命令
本文档适用于有一定web运维经验的管理员或者工程师,文中不会对安装的软件做过多的解释,仅对需要执行的内容注部分注释,更详细的内容请参考一步一步安装。
环境
~~~~~~~
- 系统: CentOS 7
- IP: 192.168.244.144
- 目录: /opt
docs/quickinstall.rst
View file @
6add0c34
...
@@ -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>
docs/setup_by_centos7.rst
View file @
6add0c34
...
@@ -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 虚拟环境
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment