1.1 启动Jumpserver

相关服务:香港CN2服务器租用

先进入Python虚拟环境

[root@localhost ~]# source /opt/py3/bin/activate

(py3) [root@localhost ~]# service redis start

Redirecting to /bin/systemctl start  redis.service

(py3) [root@localhost ~]# cd /opt/jumpserver/

(py3) [root@localhost jumpserver]# sh nginx.sh start

Starting nginx:                                            [  OK  ]

(py3) [root@localhost jumpserver]# python run_server.py all

Sun Jan 28 21:19:21 2018

Jumpserver version 0.5.0, more see https://www.jumpserver.org

Quit the server with CONTROL-C.

- Start Gunicorn WSGI HTTP Server

Check database change, make migrations

2018-01-28 21:19:23 [signals_handler DEBUG] Receive django ready signal

....

7c6202b3e9b2bdf13142a69069644d61.gif

1.2 启动coco

先进入Python虚拟环境

[root@localhost ~]# source /opt/py3/bin/activate

(py3) [root@localhost ~]# cd /opt/coco/

(py3) [root@localhost coco]# python run_server.py

2018-01-28 22:06:47 [service DEBUG] Initial app service

2018-01-28 22:06:47 [service DEBUG] Load access key

2018-01-28 22:06:47 [service INFO] No access key found, register it

2018-01-28 22:06:47 [service INFO] "Terminal was not accepted yet"

2018-01-28 22:06:50 [service INFO] "Terminal was not accepted yet"

...

80abfb99bb8c460d7fe27c1335f830c9.gif

1.3 访问jumpserver管理后台接受coco的注册

http://ip 账号密码: admin admin

f58dc3960834faffc17636135906eafe.gif

1.4 系统设置

1.4.1 基本设置

完整文档可以到Linux公社资源站下载:

------------------------------------------分割线------------------------------------------

具体下载目录在 /2018年资料/4月/1日/Jumpserver v0.5.0 开源堡垒机使用详解/

------------------------------------------分割线------------------------------------------