Archive

Posts Tagged ‘apache’

Random Technical Notes

June 15th, 2009

I had some spare time today and decided to make use of my Cox internet connection while I still have it. Naturally the only thing to do with an unused connection was to put a Tor exit node on it :)

The guide found at ubuntu-tutorials.com was very helpful. In short, simply use “apt-get install tor” to install the software and then edit /etc/tor/torc to change all the settings. It is required to give your endpoint a unique nickname. Read the config file and you’ll be fine. You can then use “sudo /etc/init.d/tor start” to start Tor and “tail -f /var/log/tor/log” to check the status.

If Apache is giving you trouble, or you should screw up the config files beyond recognition, it is possible to wipe Apache out completely and then re-install it. If you’re just playing around with the server this can save you a lot of time. The command to remove apache2 completely is “apt-get remove –purge apache2 apache2-common apache2-mpm-prefork apache2-utils ssl-cert” You can then reinstall apache using the default values with “apt-get install apache2″ It’s very simple once you know what some of the tricks are :)

Computers, How To , , ,

Host Multiple Sites on One Server

September 15th, 2008

I never knew how easy it was to host multiple websites on a single server. All you need is Apache2 and a text editor. Simply adding a couple of lines to a config file, making a new directory, and setting up your new domain name is all you have to do. Now that I know this I can host sites for my friends very efficiently. If you’re interested in the details of how to set something like this up for yourself, google is your friend :P

Computers , , ,