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 访问即可
本文出自 “我是一只小小鸟” 博客,请务必保留此出处http://2242558.blog.51cto.com/2232558/1545303
原文:http://2242558.blog.51cto.com/2232558/1545303