Anyterm install steps ============================= adduser anyterm apt-get install libboost-all-dev apt-get install libjpeg-dev apt-get install libre2-dev apt-get install subversion a2enmod proxy a2enmod proxy_http apt install zip gcc g++ make p7zip-full cd /home/anyterm su - anyterm # Download anyterm source: svn co http://svn.anyterm.org/anyterm/trunk anyterm cd anyterm # Please don't compile as root. make # Copy server file to /usr/local/bin: sudo cp anytermd /usr/local/bin # start on test port: #anytermd -p 8282 --local-only anytermd -p 8282 --user anyterm anytermd -p 8282 --user anyterm -c /home/empire/empiremanager/bin/empwrapper.pl # Set up the web interface vi /etc/apache2/sites-enabled/000-default-le-ssl.conf # And make these changes: --- # When someone visits /empire they'll be proxied to # Anyterm on port 7676. ProxyPass http://localhost:7676 ttl=60 # There are various parameters that can appear at the end of the # ProxyPass directive to control the maximum number of connections # and so on. See the Apache documentation. ProxyPassReverse http://localhost:7676 # Allow only authorised users AuthType Basic AuthName "CoffeeMUD Admin" # More Auth directives, depending on where your # usernames & passwords are stored. # require empire AuthBasicProvider file AuthUserFile "/var/www/passwords" Require user cmowner htpasswd -c /var/www/passwords cmowner # Add to crontab: @reboot /usr/local/bin/anytermd -p 4345 -c ~/SynchronetManagementConsole/smc