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
c0b43220
Commit
c0b43220
authored
Apr 27, 2018
by
wojiushixiaobai
Committed by
老广
Apr 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文档错误 (#1251)
* 修改文档错误 * 修改一个错别字 * 更新文档 * 修改文档错误
parent
91d82015
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
15 deletions
+17
-15
faq.rst
docs/faq.rst
+5
-3
setup_by_centos7.rst
docs/setup_by_centos7.rst
+6
-6
setup_by_ubuntu.rst
docs/setup_by_ubuntu.rst
+4
-4
step_by_step.rst
docs/step_by_step.rst
+2
-2
No files found.
docs/faq.rst
View file @
c0b43220
...
@@ -62,11 +62,13 @@ FAQ
...
@@ -62,11 +62,13 @@ FAQ
$ rm /opt/guacamole/key/* # guacamole, 如果你是按文档安装的,key应该在这里
$ rm /opt/guacamole/key/* # guacamole, 如果你是按文档安装的,key应该在这里
$ systemctl stop docker
$ systemctl stop docker
$ systemctl start docker
$ systemctl start docker
$ docker run
—
name jms_guacamole -d \
$ 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://<填写jumpserver的IP地址>:8080 \
-e JUMPSERVER_SERVER=http://<填写jumpserver的url地址> \
registry.jumpserver.org/public/guacamole:1.0.0
registry.jumpserver.org/public/guacamole:latest
# 如果registry.jumpserver.org/public/guacamole:latest下载很慢,可以换成jumpserver/guacamole:latest
# 正常运行后到Jumpserver 会话管理-终端管理 里面接受gua注册
# 正常运行后到Jumpserver 会话管理-终端管理 里面接受gua注册
$ docker restart jms_guacamole # 如果接受注册后显示不在线,重启gua就好了
$ docker restart jms_guacamole # 如果接受注册后显示不在线,重启gua就好了
...
...
docs/setup_by_centos7.rst
View file @
c0b43220
...
@@ -76,10 +76,10 @@ CentOS 7 安装文档
...
@@ -76,10 +76,10 @@ CentOS 7 安装文档
# 下载 Jumpserver 与 Coco
# 下载 Jumpserver 与 Coco
$ cd /opt/
$ cd /opt/
$ git clone https://github.com/jumpserver/jumpserver.git && cd jumpserver && git checkout master
$ 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 虚拟环境
$ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master
$ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master
&& git pull
$ echo "source /opt/py3/bin/activate" > /opt/
jumpserver
/.env # 进入 coco 目录时将自动载入 python 虚拟环境
$ echo "source /opt/py3/bin/activate" > /opt/
coco
/.env # 进入 coco 目录时将自动载入 python 虚拟环境
# 安装依赖 RPM 包
# 安装依赖 RPM 包
$ yum -y install $(cat /opt/jumpserver/requirements/rpm_requirements.txt)
$ yum -y install $(cat /opt/jumpserver/requirements/rpm_requirements.txt)
...
@@ -98,7 +98,7 @@ CentOS 7 安装文档
...
@@ -98,7 +98,7 @@ CentOS 7 安装文档
$ cp config_example.py config.py
$ cp config_example.py config.py
$ vi config.py
$ vi config.py
#注意: 配置文件是 Python 格式,不要用 TAB,而要用空格,请手动修改,注意对
其
,不要直接复制本文内容
#注意: 配置文件是 Python 格式,不要用 TAB,而要用空格,请手动修改,注意对
齐
,不要直接复制本文内容
...
...
class Config:
class Config:
...
@@ -246,8 +246,8 @@ CentOS 7 安装文档
...
@@ -246,8 +246,8 @@ CentOS 7 安装文档
$ docker run --name jms_guacamole -d \
$ 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://<填写jumpserver的地址> \
-e JUMPSERVER_SERVER=http://<填写jumpserver的
url
地址> \
registry.jumpserver.org/public/guacamole:
1.0.0
registry.jumpserver.org/public/guacamole:
latest
::
::
...
...
docs/setup_by_ubuntu.rst
View file @
c0b43220
...
@@ -168,7 +168,7 @@
...
@@ -168,7 +168,7 @@
$ cd /opt
$ cd /opt
$ source /opt/py3/bin/activate
$ source /opt/py3/bin/activate
$ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master
$ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master
$ echo "source /opt/py3/bin/activate" > /opt/
jumpserver
/.env # 进入 coco 目录时将自动载入 python 虚拟环境
$ echo "source /opt/py3/bin/activate" > /opt/
coco
/.env # 进入 coco 目录时将自动载入 python 虚拟环境
# 首次进入 coco 文件夹会有提示,按 y 即可
# 首次进入 coco 文件夹会有提示,按 y 即可
# Are you sure you want to allow this? (y/N) y
# Are you sure you want to allow this? (y/N) y
...
@@ -235,11 +235,11 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -235,11 +235,11 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
# 注意:这里一定要改写一下本机的IP地址, 否则会出错,带宽有限, 下载时间可能有点长,可以喝杯咖啡,别看对面了,你对面不是小姐姐。
# 注意:这里一定要改写一下本机的IP地址, 否则会出错,带宽有限, 下载时间可能有点长,可以喝杯咖啡,别看对面了,你对面不是小姐姐。
$ docker run -d \
$ 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://<填写
jumpserver的url地址>
\
registry.jumpserver.org/public/guacamole:
1.0.0
registry.jumpserver.org/public/guacamole:
latest
这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义一下。
这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义一下。
...
...
docs/step_by_step.rst
View file @
c0b43220
...
@@ -202,7 +202,7 @@ Pip 加速设置请参考 <https://segmentfault.com/a/1190000011875306>
...
@@ -202,7 +202,7 @@ Pip 加速设置请参考 <https://segmentfault.com/a/1190000011875306>
$ cd /opt
$ cd /opt
$ source /opt/py3/bin/activate
$ source /opt/py3/bin/activate
$ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master
$ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master
$ echo "source /opt/py3/bin/activate" > /opt/
jumpserver
/.env # 进入 coco 目录时将自动载入 python 虚拟环境
$ echo "source /opt/py3/bin/activate" > /opt/
coco
/.env # 进入 coco 目录时将自动载入 python 虚拟环境
# 首次进入 coco 文件夹会有提示,按 y 即可
# 首次进入 coco 文件夹会有提示,按 y 即可
# Are you sure you want to allow this? (y/N) y
# Are you sure you want to allow this? (y/N) y
...
@@ -288,7 +288,7 @@ Jumpserver 会话管理-终端管理(http://192.168.244.144:8080/terminal/term
...
@@ -288,7 +288,7 @@ Jumpserver 会话管理-终端管理(http://192.168.244.144:8080/terminal/term
$ docker run --name jms_guacamole -d \
$ 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://<填写
jumpserver的url地址>
\
registry.jumpserver.org/public/guacamole:1.0.0
registry.jumpserver.org/public/guacamole:1.0.0
六. 配置 Nginx 整合各组件
六. 配置 Nginx 整合各组件
...
...
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