docker run -p 6379:6379 --name myredis-itsmine -d redis
docker run -d -p 55556:80 --name myjumpserver -e DB_ENGINE=mysql -e DB_HOST=172.17.0.3 -e DB_PORT=3306 -e DB_USER=jumpserver -e DB_PASSWORD=123456 -e DB_NAME=jumpserver -e REDIS_HOST=172.17.0.2 -e REDIS_PORT=6379 registry.jumpserver.org/public/jumpserver:1.0.0
最近在考虑 系统安全问题,jumperserver 用docker 部署比较简单1. 安装redis2.安装mariadb
create database jumpserver charset='utf8'; grant all on jumpserver.* to 'jumpserver'@'%' identified by '123456'; flush privileges;
3. 运行jumperserver 镜像
docker run -d -p 55556:80 -e DB_ENGINE=mysql -e DB_HOST=192.168.10.68 -e DB_PORT=3306 -e DB_USER=jumpserver -e DB_PASSWORD=Abcd,1234 -e DB_NAME=jumpserver REDIS_HOST=127.0.0.1 REDIS_PORT=6379 registry.jumpserver.org/public/jumpserver:1.0.0
Jumpserver 是一款由Python编写开源的跳板机(堡垒机)系统,实现了跳板机应有的功能。基于ssh协议来管理,客户端无需安装agent。
posted on 2019-05-24 14:27 szllq2000 阅读(275) 评论(0) 编辑 收藏 举报