1.jumpserver跳板机概念作用
1.对用户权限进行集中管理
2.对用户操作进行记录审计
3.可以实现批量管理功能
4.资产统计记录功能
2.jumpserver跳板机部署过程
2.1 环境准备
关闭防火墙和selinux
systemctl stop firewalld.service
systemctl disable firewalld.service
修改/etc/selinux/config 文件
将SELINUX=enforcing改为SELINUX=disabled
重启机器即可
3.安装部署jumpserver
安装依赖rpm
3.1安装epel源信息
yum install epel-release -y
yum -y install git python-pip mysql-devel gcc automake python-devel vim sshpass lrzsz readline-devel
yum install mariadb -y
4.下载部署jumpserver
wget https://github.com/coolcoding/jumpserver/archive/master.zip
5.进入到jumpserver目录
cd /server/tools/jumpserver
跟新pip源(更改aliyun)
mkdir ~/.pip/
vim ~/.pip/pip.conf
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
需要安装python依赖环境
pip install -r requirements.txt
软件初始化
python /jumpserver/install/install.py
jumpserver服务没有启动成功:
/opt/jumpserver/service.sh start