Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7656600
  • 博文数量: 1770
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16357
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1770)

文章存档

2024年(15)

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类: LINUX

2010-02-26 10:44:15

How to setup an ajaxterm in CentOS and RHEL.

Ajaxterm is not available in the official CentOS / RHEL repo. But there is an rpm available from the . You can google for “Ajaxterm-0.10-8.el5.noarch.rpm”. Or find a list of mirrors .

Install ajaxterm:

# rpm -i Ajaxterm-0.10-8.el5.noarch.rpm

Ajaxterm is now listening only locally on .
The ajaxterm files are located in /usr/share/ajaxterm.


Follow the next instructions if you want to use ajaxterm from any remote host.

You really should use SSL to encrypt your ajaxterm sessions. Have a look at to activate it on your server.

When done just edit the /etc/httpd/conf.d/ssl.conf file.
Add the following lines at the end of the file just before the final ““:


ProxyRequests Off

Order deny,allow
Allow from all

ProxyPass /ajaxterm
ProxyPassReverse /ajaxterm
 

Restart apache:

# /etc/init.d/httpd restart

Now your ajaxterm is reachable over . But you also could change “/ajaxterm” to whatever you want.


If you want a bigger console, just edit those two files:

# nano /usr/share/ajaxterm/ajaxterm.html

Edit the Line:

t=ajaxterm.Terminal("term",120,50); width: 120, heigth: 50

And in:

# nano /usr/share/ajaxterm/ajaxterm.py

the Line:

def __init__(self,width=120,height=50):


P.S.: For ajaxterm on Debian / Ubuntu look at: http://www.tbaumi.de/blog/?p=113

阅读(1743) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~