Table of Contents

Anyterm

Preamble

Get Anyterm

http://anyterm.org/download/index.html

Download http://anyterm.org/download/anyterm-1.1.15.tbz2

wget http://anyterm.org/download/anyterm-1.1.15.tbz2 apt-get install bzip2 bzip2 -d anyterm-1.1.15.tbz2 tar -xf anyterm-1.1.15.tar

Install Pre-Requesites

Following the Instructions on http://anyterm.org/1.1/install.html

wget http://mesh.dl.sourceforge.net/sourceforge/rote/rote-0.2.8.tar.gz tar -xzf rote-0.2.8.tar.gz

And various pre-requesites, plus compiler: apt-get install g++ apt-get install libncurses5-dev apt-get install apache2-threaded-dev apt-get install libboost-thread1.33.1 libboost-thread-dev libboost-dev //The latest versions in debian testing are required. //Maybe, libncursesw5 and make also.

Install ROTE cd rote… ./configure make make install

Install Anyterm

cd anyterm…. cd apache… make make install

It *should* compile with no errors. “make install” wont work if it goes wrong. vi /etc/apache2/mods-available/anyterm.load //add in this line: LoadModule anyterm /usr/lib/apache2/modules/anyterm.so

Copy the “browser” files from the untarred directory to /var/www/anyterm or /srv/anyterm. There should be a .htaccess file already in this browser folder. Edit it and place something similar to: anyterm_command '/usr/bin/ssh -q %u@myserver.com' // %u is the apache authenticated user.

Other useful additions to this htaccess file are: SSLRequireSSL DirectoryIndex anyterm.html AuthUserFile /location/to/.htpasswd AuthName EnterPassword AuthType Basic require valid-user

Either use a htaccess/htpasswd user for a single login or study imap auth_pam

The Problem and Latest Version Working

Of course the latest Anyterm didnt want to work with my apache and setup. It was giving errors such as: Sep 12 17:49:04 2006 [notice] child pid 26342 exit signal Illegal instruction (4) Sep 12 17:49:04 2006 [notice] child pid 26342 exit signal Illegal instruction (11)

When I went back through the version - they didnt want to compile without more work.

Version “1.1.8 2005-12-28 anyterm-1.1.8.tbz2 (75k)” worked out of the box, perfectly. It was a case of wget'ing it, unzip, untar and make, followed by make-install.