最近在研究一个web的ssh,后来测试发现gateone还是很好用的。
参考url:http://www.tuicool.com/articles/uEjuaq
安装 gateone
我的系统版本是CentOS release 6.4 64bit
浏览器版本是chrome 30,看官方文档,gateone在ie浏览器不受支持(鄙视ie,虽然我的电脑上有ie浏览器,但是一直都让其躺着睡打觉的),支持的浏览器有chrome,firefox,所以若是你用ie不能显示……
#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
# rpm -ivh http://mirrors.sohu.com/fedora-epel/6Server/x86_64/epel-release-6-8.noarch.rpm(epel源,可以不用安装的)

# yum localinstall tornado-2.4-1.noarch.rpm # yum localinstallgateone-1.1-1.noarch.rpm # easy_install install ordereddict

#cd /opt/gateone #./gateone.py #运行这个脚本,会生成server.conf配置文件
假如出现以下错误

是提示你没有安装 ordereddict
好了,启动服务
#cd /opt/gateone
#./gateone.py
如果你想让其后台运行,请使用serveri来启动
# /etc/init.d/gateone start

ok,服务启动成功,通过浏览器去访问
我的ip地址是192.168.0.201
所以访问地址为https://192.168.0.201,点击继续

如果出现以下提示信息,则按照以下步骤处理即可

提示此url访问被拒绝了,看web日志如下

1.修改
#vim /opt/gateone/server.conf


如果一切顺利,讲看到如下界面

我在安装的时候就是有url不被允许,编辑server.conf 即可。以后有机会还会研究下权限的问题吧。