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
021f777c
Commit
021f777c
authored
May 08, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部分内容
parent
4da3f0e3
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
14 deletions
+36
-14
quickinstall.rst
docs/quickinstall.rst
+9
-2
setup_by_centos7.rst
docs/setup_by_centos7.rst
+3
-2
setup_by_ubuntu.rst
docs/setup_by_ubuntu.rst
+5
-4
step_by_step.rst
docs/step_by_step.rst
+4
-3
upgrade.rst
docs/upgrade.rst
+15
-3
No files found.
docs/quickinstall.rst
View file @
021f777c
...
@@ -3,13 +3,20 @@
...
@@ -3,13 +3,20 @@
因为懒,所以更专业。
因为懒,所以更专业。
组件
解释
组件
说明
~~~~~~~~~~~~~~
~~~~~~~~~~~~~~
- Jumpserver 为管理后台,管理员可以通过Web页面进行资产管理、用户管理、资产授权等操作
- Jumpserver 为管理后台,管理员可以通过Web页面进行资产管理、用户管理、资产授权等操作
- Coco 为 SSH Server 和 Web Terminal Server 。用户可以通过使用自己的账户登录 SSH 或者 Web Terminal 直接访问被授权资产。不需要知道服务器的账户密码
- Coco 为 SSH Server 和 Web Terminal Server 。用户可以通过使用自己的账户登录 SSH 或者 Web Terminal 直接访问被授权
的
资产。不需要知道服务器的账户密码
- Luna 为 Web Terminal Server 前端页面,用户使用 Web Terminal 方式登录所需要的组件
- Luna 为 Web Terminal Server 前端页面,用户使用 Web Terminal 方式登录所需要的组件
- Guacamole 为 Windows 组件,用户可以通过 Web Terminal 来连接 Windows 资产 (暂时只能通过 Web Terminal 来访问)
- Guacamole 为 Windows 组件,用户可以通过 Web Terminal 来连接 Windows 资产 (暂时只能通过 Web Terminal 来访问)
端口说明
~~~~~~~~~~~~~~
- Jumpserver 默认端口为 8080/tcp 配置文件在 jumpserver/config.py
- Coco 默认 SSH 端口为 2222/tcp ,默认 Web Terminal 端口为 5000/tcp 配置文件在 coco/conf.py
- Guacamole 默认端口为 8081/tcp 在 docker run 时指定
- Nginx 默认端口为 80/tcp
安装文档
安装文档
~~~~~~~~~~~~~~
~~~~~~~~~~~~~~
...
...
docs/setup_by_centos7.rst
View file @
021f777c
...
@@ -233,8 +233,9 @@ CentOS 7 安装文档
...
@@ -233,8 +233,9 @@ CentOS 7 安装文档
# 安装 Web Terminal 前端: Luna 需要 Nginx 来运行访问 访问(https://github.com/jumpserver/luna/releases)下载对应版本的 release 包,直接解压,不需要编译
# 安装 Web Terminal 前端: Luna 需要 Nginx 来运行访问 访问(https://github.com/jumpserver/luna/releases)下载对应版本的 release 包,直接解压,不需要编译
$ cd /opt
$ cd /opt
$ wget https://github.com/jumpserver/luna/releases/download/v1.0.0/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.3.0/dist.tar.gz
$ tar xvf luna.tar.gz
$ tar xvf dist.tar.gz
$ mv dist luna
# 安装 Windows 支持组件(如果不需要管理 windows 资产,可以直接跳过这一步)
# 安装 Windows 支持组件(如果不需要管理 windows 资产,可以直接跳过这一步)
$ yum remove docker-latest-logrotate docker-logrotate docker-selinux dockdocker-engine
$ yum remove docker-latest-logrotate docker-logrotate docker-selinux dockdocker-engine
...
...
docs/setup_by_ubuntu.rst
View file @
021f777c
...
@@ -203,9 +203,10 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -203,9 +203,10 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
::
::
$ /opt/
$ cd /opt/
$ wget https://github.com/jumpserver/luna/releases/download/v1.0.0/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.3.0/dist.tar.gz
$ tar xvf luna.tar.gz
$ tar xvf dist.tar.gz
$ mv dist luna
$ chown -R root:root luna/
$ chown -R root:root luna/
$ ls /opt/luna
$ ls /opt/luna
...
...
...
@@ -233,7 +234,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -233,7 +234,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
$ apt-get update
$ apt-get update
$ apt-get install docker-ce
$ apt-get install docker-ce
# 注意:这里一定要改
写一下本机的IP地址, 否则会出错,带宽有限, 下载时间可能有点长,可以喝杯咖啡,别看对面了,你对面不是小姐姐。
# 注意:这里一定要改
下面命令的 jumpserver url 地址
$ 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 \
...
...
docs/step_by_step.rst
View file @
021f777c
...
@@ -241,8 +241,9 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -241,8 +241,9 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
$ pwd
$ pwd
/opt/
/opt/
$ wget https://github.com/jumpserver/luna/releases/download/v1.0.0/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.3.0/dist.tar.gz
$ tar xvf luna.tar.gz
$ tar xvf dist.tar.gz
$ mv dist luna
$ ls /opt/luna
$ ls /opt/luna
...
...
...
@@ -277,7 +278,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -277,7 +278,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义
这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义
修改
JUMPSERVER_SERVER 环境变量的配置,填上 Jumpserver 的内网
地址, 启动成功后去
修改
下面 docker run 里的 JUMPSERVER_SERVER 参数,填上 Jumpserver 的 url
地址, 启动成功后去
Jumpserver 会话管理-终端管理(http://192.168.244.144:8080/terminal/terminal/)接受[Gua]开头的一个注册,如果页面显示不正常可以等部署完成后再处理
Jumpserver 会话管理-终端管理(http://192.168.244.144:8080/terminal/terminal/)接受[Gua]开头的一个注册,如果页面显示不正常可以等部署完成后再处理
.. code:: shell
.. code:: shell
...
...
docs/upgrade.rst
View file @
021f777c
...
@@ -5,7 +5,10 @@
...
@@ -5,7 +5,10 @@
::
::
$ git pull && pip install -r requirements/requirements.txt && cd utils && sh make_migrations.sh
# 新版本更新了自动升级脚本,升级只需要到 utils 目录下执行 sh upgrade.sh 即可
$ git pull
$ pip install -r requirements/requirements.txt # 如果使用其他源下载失败可以使用 -i 参数指定源
$ cd utils && sh make_migrations.sh
# 1.0.x 升级 1.2.0 需要执行迁移脚本(新版本授权管理更新)
# 1.0.x 升级 1.2.0 需要执行迁移脚本(新版本授权管理更新)
$ sh 2018_04_11_migrate_permissions.sh
$ sh 2018_04_11_migrate_permissions.sh
...
@@ -14,16 +17,22 @@
...
@@ -14,16 +17,22 @@
::
::
# 新版本更新了自动升级脚本,升级只需要到 utils 目录下执行 sh upgrade.sh 即可
$ git pull && pip install -r requirements/requirements.txt
$ git pull && pip install -r requirements/requirements.txt
# 如果使用其他源下载失败可以使用 -i 参数指定源
# 如果使用其他源下载失败可以使用 -i 参数指定源
$
git pull &&
pip install -r requirements/requirements.txt -i https://pypi.org/simple
$ 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)
::
$ wget https://github.com/jumpserver/luna/releases/download/1.3.0/dist.tar.gz
$ tar xvf dist.tar.gz
$ mv dist luna
4. 升级 guacamole
4. 升级 guacamole
::
::
...
@@ -62,12 +71,14 @@
...
@@ -62,12 +71,14 @@
::
::
$ mysqldump -u你的数据库账号 -h数据库地址 -p 数据库名称 > $jumpserver_backup/db_backup.sql
$ mysqldump -u你的数据库账号 -h数据库地址 -p 数据库名称 > $jumpserver_backup/db_backup.sql
3. 切换分支或下载离线包, 更新代码
3. 切换分支或下载离线包, 更新代码
::
::
$ cd /opt
$ cd /opt
$ mv jumpserver jumpserver_bak
$ mv jumpserver jumpserver_bak
$ git clone https://github.com/jumpserver/jumpserver.git
$ git clone https://github.com/jumpserver/jumpserver.git
...
@@ -78,6 +89,7 @@
...
@@ -78,6 +89,7 @@
::
::
$ cp -r $jumpserver_backup/media/* data/media/
$ cp -r $jumpserver_backup/media/* data/media/
5. 更新依赖或表结构
5. 更新依赖或表结构
...
...
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