How we set up the lab
Axon is running in a VM. To access VMware, go to https://192.168.35.4/ui/ 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: 192.168.168.67 database name: axonwikidb username: axon password: waffles_yogurt white-listed ip addresses: 192.168.29.10 cd /etc/mediawiki nano apache.conf uncomment this line: Alias /mediawiki /var/lib/mediawiki /etc/init.d/apache2 restart browse to http://axon.cs.byu.edu/mediawiki/ 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 address 192.168.29.10 netmask 255.255.255.0 network 192.168.29.0 broadcast 192.168.29.255 gateway 192.168.29.1 # 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: [backups] path = /home comment = backup area read only = no
For instructions on using lobe, see Automatic_backups