安装WEB_shell开源堡垒机 gateone

安装WEB_shell开源堡垒机 gateone
环境因为需要python2.6所以换成了centos6.5来做 python2.66
系统版本
[root@li258-45 gateone]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m
内核版本
[root@li258-45 gateone]# uname -a
Linux li258-45 3.16.7-x86_64-linode49 #3 SMP Fri Nov 14 16:55:37 EST 2014 x86_64 x86_64 x86_64 GNU/Linux

一 安装步骤

1.安装依赖的组件
yum install -y python python-pip gcc python-devel setuptool python-pam openssl openssl-devel wget git make gcc-c++ patch pam_radius dtach
2.安装ordereddict
wget https://pypi.python.org/packages/source/o/ordereddict/ordereddict-1.1.tar.gz#md5=a0ed854ee442051b249bfad0f638bbec --no-check-certificate
cd ordereddict-1.1
python setup.py install
3.安装tornado和gateone
#wget https://github.com/downloads/liftoff/GateOne/tornado-2.4-1.noarch.rpm
#wget https://github.com/downloads/liftoff/GateOne/gateone-1.1-1.noarch.rpm
# yum localinstall tornado-2.4-1.noarch.rpm
# yum localinstallgateone-1.1-1.noarch.rpm

4启用gataone
#cd  /opt/gateone
#./gateone.py
#运行这个脚本,会生成server.conf配置文件

origins这一行添加被访问的域名或者IP
5后台启用gataone
service gateone start

设置开机启动

chkconfig --level 345 gateone on

wKiom1Sa81SCqEn4AAF3eKYYa1Q623.jpg

你可能感兴趣的:(linux堡垒机)