1,安装gcc、libtool pcre
2,安装Nginx
3,安装python2.7.3
4,安装Ajaxterm
下载http://pkgs.fedoraproject.org/lookaside/pkgs/Ajaxterm/Ajaxterm-0.10.tar.gz/b10830a7a81d2a4c9f8815510dafb87a/Ajaxterm-0.10.tar.gz
tar zxvf Ajaxterm-0.10.tar.gz
cd Ajaxterm-0.10
python ajaxterm.py –daemon –port=8022
5,配置NGINX
server
{
listen 8081;
server_name 113.107.xxx.xxx;
location / {
proxy_pass http://127.0.0.1:8022;
}
}
通过http://IP:8081 访问即可
时间: 2024-10-12 20:43:05