下载地址:https://community.fit2cloud.com/#/products/jumpserver/downloads
产品文档:https://docs.jumpserver.org/zh/v3/
[root@bogon ~]# tar -xf jumpserver-offline-installer-v3.9.3-amd64.tar.gz
[root@bogon ~]# cd jumpserver-offline-installer-v3.9.3-amd64/
# 安装jumpserver
[root@bogon jumpserver-offline-installer-v3.9.3-amd64]# ./jmsctl.sh install
1. 检查配置文件
配置文件位置: /opt/jumpserver/config
/opt/jumpserver/config/config.txt [ √ ]
/opt/jumpserver/config/nginx/cert/server.crt [ √ ]
/opt/jumpserver/config/nginx/cert/server.key [ √ ]
完成
>>> 安装配置 Docker
1. 安装 Docker
完成
2. 配置 Docker
是否需要支持 IPv6? (y/n) (默认为 n): n
完成
3. 启动 Docker
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /etc/systemd/system/docker.service.
完成
>>> 安装配置 JumpServer
1. 配置加密密钥
SECRETE_KEY: YjcwNzRkNTYtODMyNC04MzVmLWIyMjctYmRkODViZDkxMzg3
BOOTSTRAP_TOKEN: YjcwNzRkNTYtODMyNC04MzVm
完成
2. 配置持久化目录
是否需要自定义持久化存储, 默认将使用目录 /data/jumpserver? (y/n) (默认为 n): n
完成
3. 配置 MySQL
是否使用外部 MySQL? (y/n) (默认为 n): n
完成
4. 配置 Redis
是否使用外部 Redis? (y/n) (默认为 n): n
完成
5. 配置外部访问
是否需要配置 JumpServer 对外访问端口? (y/n) (默认为 n): n
完成
6. 初始化数据库
[+] Building 0.0s (0/0) docker:default
[+] Running 4/4
✔ Network jms_net Created 8.3s
✔ Container jms_redis Started 0.2s
✔ Container jms_mysql Started 0.2s
✔ Container jms_core Started 0.5s
# 启动jumpserver
[root@bogon jumpserver-offline-installer-v3.9.3-amd64]# ./jmsctl.sh start
[+] Building 0.0s (0/0) docker:default
[+] Running 10/10
✔ Container jms_celery Started 0.0s
✔ Container jms_chen Started 0.1s
✔ Container jms_koko Started 0.1s
✔ Container jms_kael Started 0.1s
✔ Container jms_web Started 0.1s
✔ Container jms_lion Started 0.1s
✔ Container jms_magnus Started 0.1s
✔ Container jms_mysql Running 0.0s
✔ Container jms_redis Running 0.0s
✔ Container jms_core Started 0.3s
登录方式
http://ip
用户名:admin
密码:admin