啥也没写
分类: 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