首页 > 代码库 > jumpserver开源跳板机系统部署

jumpserver开源跳板机系统部署

##环境准备[root@jumpserver ~]# cat /etc/redhat-release CentOS release 6.6 (Final)[root@jumpserver ~]# uname -r2.6.32-504.el6.x86_64[root@jump ~]# /etc/init.d/iptables statusiptables: Firewall is not running.[root@jump ~]# getenforce Disabled#准备yum源环境:wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repowget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repoyum repolist#安装依赖包:yum -y install epel-releaseyum -y install git python-pip mysql-devel gcc automake autoconf python-devel vim sshpass lrzsz readline-devel rpm -q git python-pip mysql-devel gcc automake autoconf python-devel vim sshpass lrzsz readline-devel#安装jump-servercd /home/oldboy/toolsgit clone https://github.com/jumpserver/jumpserver.git##or rz ==>本地上传软件包#升级pipcd jumpserver/install/pip install --upgrade pippip install -r requirements.txt#查看安装结果:pip freeze#配置jumpServer安装完成jumpserver以后需要对其进行初始化的设置[root@jump install]# python install.py 开始关闭防火墙和selinuxsetenforce: SELinux is disabled请输入您服务器的IP地址,用户浏览器可以访问 [192.168.30.128]: 是否安装新的MySQL服务器? (y/n) [y]: y开始安装设置mysql (请手动设置mysql安全)默认用户名: jumpserver 默认密码: 5Lov@wife………………此处略去好多字………………Starting mysqld:                                           [  OK  ]连接数据库成功请输入SMTP地址: stmp.163.com请输入SMTP端口 [25]: 25请输入账户: 88888888@163.com请输入密码: **************timed out是否跳过(y/n) [n]? : y请登陆邮箱查收邮件, 然后确认是否继续安装是否继续? (y/n) [y]: y开始写入配置文件………………请输入管理员用户名 [admin]: admin请输入管理员密码: [5Lov@wife]: admin  请再次输入管理员密码: [5Lov@wife]: adminStarting jumpserver service:                               [确定]安装成功,Web登录请访问http://ip:8000, 祝你使用愉快。请访问 https://github.com/jumpserver/jumpserver/wiki 查看文档

 

访问地址:(自己服务器IP地址+8000)

技术分享

 

jumpserver开源跳板机系统部署