Ajaxterm

From Gentoo Linux Wiki

Jump to: navigation, search

This article is still a Stub. You can help Gentoo-Wiki by expanding it.


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article


Install ajaxterm and use it via https


Code: Code Title
 
  emerge ajaxterm
  emerge www-apache/mod_proxy_html
  

Important notes: As discussed here, it may require you to set up emerge's variable APACHE2_MODULES to include both 'proxy' and 'proxy_http' and rebuild apache with it. If you do so, the package mod_proxy_html should be automatically included as a dependency by emerge.

In /etc/conf.d/apache2 add "-D PROXY -D PROXY_HTML"


and in /etc/apache2/modules.d/27_mod_proxy_html.conf add


Code: Code Title
 
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass        /ajaxterm/ http://localhost:8022/
ProxyPassReverse /ajaxterm/ http://localhost:8022/

between <IfModule>...

 

/etc/init.d/apache2 restart

/etc/init.d/ajaxterm start

it will open localhost:8022 as a web server don't forget to open port 8022 on your firewall


rc-update add ajaxterm default


and test it with

Code: Code Title
 
https://<your-server-name>/ajaxterm/
 

the last slash is important

you may now close your ssh port

Personal tools
In other languages