Lab Setup



How we set up the lab


Axon is running in a VM. To access VMware, go to and log in with Route-Y credentials


Axon is our lab web server. It is on a virtual server run by the CS sysadmins. Here's what I did to set up the virtual server:

# Set up the web server
sudo su
aptitude install apache2 php5 mediawiki
cd /var
rsync -av root@oldaxon:/var/www .

# Get the wiki working
Request a database from the admins with the following credentials:
	database type: MySQL
	database ip address:
	database name: axonwikidb
	username: axon
	password: waffles_yogurt
	white-listed ip addresses:
cd /etc/mediawiki
nano apache.conf
uncomment this line:
	Alias /mediawiki /var/lib/mediawiki
/etc/init.d/apache2 restart
browse to
Fill out the form and do what it says
Copy the old wiki content into the new wiki

# Enable user web dirs
copy the relevant parts of /etc/passwd, /etc/shadow, and /etc/group from the old web server
rsync all the /home/ folders onto the new machine
cd /etc/apache2/mods-enabled
ln -s ../mods-available/userdir.conf
ln -s ../mods-available/userdir.load
sudo /etc/init.d/apache2 restart

# Give the new virtual machine axon's static IP address
Edit /etc/networking/interface to contain this
	auto eth1
	iface eth1 inet static

# Configure the MTA (Exim4) so it can forward emails
sudo dpkg-reconfigure exim4-config
go through the wizard
* For the first question, choose "internet site; mail is sent and received directly using SMTP"
* For the 'mail name', go with the default.
* For the IP-addresses to listen on for incoming SMTP connections, clear out the field to make it blank.
* For everything else, accept the defaults.

# Follow the instructions at [[Automatic_backups]] to set up automatic weekly backups of the /var/www folder

# Notify Adam Peterson so he can configure PHP to handle his web pages.


Lobe is our backup server. Here's what I did to set it up:

Install Ubuntu on a machine
crontab -e
@reboot rsync --daemon
save and exit

Make a file named /etc/rsyncd.conf with the following contents:
        path = /home
        comment = backup area
        read only = no

For instructions on using lobe, see Automatic_backups

Personal tools
  • Log in