从 v2.6 开始,JumpServer 统一了 社区版 和 企业版 的安装部署包,统一由 本项目 来维护。
installer 可以安装、部署、更新 管理 JumpServer
- Linux x86_64
 - Kernel 大于 4.0
 
# 安装,版本是在 static.env 指定的
$ ./jmsctl.sh install# 启动
$ ./jmsctl.sh start
# 重启
$ ./jmsctl.sh restart
# 关闭, 不包含数据库
$ ./jmsctl.sh stop
# 关闭所有
$ ./jmsctl.sh down
# 备份数据库
$ ./jmsctl.sh backup_db
# 查看日志
$ ./jmsctl.sh tail
配置文件将会放在 /opt/jumpserver/config 中
[root@localhost config]# tree .
.
├── config.txt       # 主配置文件
├── mysql
│   └── my.cnf       # mysql 配置文件
|── mariadb
|   └── mariadb.cnf  # mariadb 配置文件
├── nginx            # nginx 配置文件
│   ├── cert
│   │   ├── server.crt
│   │   └── server.key
│   ├── lb_http_server.conf
│   └── lb_ssh_server.conf
├── README.md
└── redis
    └── redis.conf  # redis 配置文件
6 directories, 11 files
config.txt 文件是环境变量式配置文件,会挂在到各个容器中,这样可以不必为 koko,core,lion 单独设置配置文件
config-example.txt 有说明,可以参考 JumpServer 参数说明文档