標籤:linuxBastion Host
安裝WEB_shell開源Bastion Host gateone
環境因為需要python2.6所以換成了centos6.5來做 python2.66
系統版本
[[email protected] gateone]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m
核心版本
[[email protected] 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設定檔
5後台啟用gataone
service gateone start
設定開機啟動
chkconfig --level 345 gateone on
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/57/79/wKiom1Sa81SCqEn4AAF3eKYYa1Q623.jpg" title="gateone.PNG" alt="wKiom1Sa81SCqEn4AAF3eKYYa1Q623.jpg" />
安裝WEB_shell開源Bastion Host gateone