794 B
794 B
本文作者:丁辉
Docker部署JumpServer
-
部署 Mysql 数据库
docker run -itd --name jump-mysql \ --restart=always -p 3306:3306 \ -v /usr/local/jumpserver/data:/var/lib/mysql \ -v /usr/local/jumpserver/logs:/var/log/mysql \ -v /usr/local/jumpserver/conf:/etc/mysql/conf.d \ -e MYSQL_ROOT_PASSWORD=jumpserver \ -e MYSQL_DATABASE=jumpserver \ mysql:5.7
-
解压 JumpServer 安装包
tar -xf jumpserver-installer-v*.tar.gz cd jumpserver-installer-v*
-
修改
config-example.txt
文件配置参数, 并启动./jmsctl.sh install