Gateone

一 安装环境

操作系统:centos 6.3 x64

Python版本:2.6.6

Tornado版本:2.4.1

二 安装部署

导入第三方软件源

1
2
rpm -Uvh http: //mirrors .ispros.com.bd /fedora-epel/6/x86_64/epel-release-6-8 .noarch.rpm
rpm -Uvh http: //pkgs .repoforge.org /rpmforge-release/rpmforge-release-0 .5.2-2.el6.rf.x86_64.rpm


 

安装依赖包

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


 

用pip安装软件

1
2
mv  /usr/bin/pip-python  /usr/bin/pip
pip  install  tornado pyopenssl kerberos



安装tornado

1
rpm -ivh tornado-2.4-1.noarch.rpm



安装Imaging

1
2
3
4
wget https://effbot .org /downloads/Imaging-1 .1.7. tar .gz
tar  -zxvf Imaging-1.1.7. tar .gz
cd  Imaging-1.1.7
python setup.py  install


 

安装ordereddict

1
2
3
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


 

安装gateone

1
rpm -ivh gateone-1.1-1.noarch.rpm


 

三 gateone 配置

Gateone默认安装路径为 /opt/gateone

运行gateone: 

1
/opt/gateone/gateone .py


1
ctrl+c


关闭gateone进程

首次运行gateone 会在/opt/gateone 下生成 server.conf 配置文件

 

修改server.conf

1
2
session_timeout = “1d”
origins = "http: //localhost ;https: //localhost ;http: //127 .0.0.1;https: //127 .0.0.1” 后面加上 https: // 本机ip地址


 

四 gateone 使用

在游览器上 输入 https://服务器ip地址


点击 仍然继续


左侧为登入信息, 输入信息等, 右侧为 gateone 选项设置

右侧选项一次为:

第一个:关闭当前会话

第二个:添加一个新会话窗口

第三个:信息和工具

第四个:设置

第五个:分屏显示

你可能感兴趣的:(Gateone)