1.1 启动Jumpserver
先进入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
....
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"
...
1.3 访问jumpserver管理后台接受coco的注册
http://ip 账号密码: admin admin
1.4 系统设置
1.4.1 基本设置
完整文档可以到Linux公社资源站下载:
------------------------------------------分割线------------------------------------------
免费下载地址在 http://linux.linuxidc.com/
用户名与密码都是www.linuxidc.com
具体下载目录在 /2018年资料/4月/1日/Jumpserver v0.5.0 开源堡垒机使用详解/
下载方法见 http://www.linuxidc.com/Linux/2013-07/87684.htm
------------------------------------------分割线------------------------------------------
本文永久更新链接地址:https://www.linuxidc.com/Linux/2018-04/151673.htm