Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

85 lines (64 sloc) 3.08 kB
U change dns to point to urth w/ down for maintenance page
old IP -
O shut down apaches on old system
O shut down mailman
O mysqldump -u root -e -c RegVeg > rv.sql
oo remove sessions table data from dump
O sudo chmod go+r -R /var/www/images/00/
O tar -czf entry-images.tar.gz /var/www/images/00
O tar -czf skin-images.tar.gz /var/www/images/skin
O shut down mailman
O sudo tar -czf mailman.tar.gz /var/lib/mailman/lists /var/lib/mailman/archives
D copy rv.sql
* Eric does his thing here ...
D transfer all old data to new system
N apt-get install build-essential libperl-dev perl-doc apache2 libapache2-mod-perl2 mysql-server libmysqlclient15-dev perlmagick mailman apache2-mpm-prefork libapache2-request-perl postfix subversion emacs21-nox libxml2-dev ca-certificates
N install File::Find::Rule
N Perl modules
nn perl Build.PL
nn ./Build modules
N mysql -u root -e 'create database RegVeg'
N mysql -u root RegVeg < rv.sql
N copy entry-images tarball to new system and put it in $CHECKOUT/data
N run installer
nn perl Build.PL
nn sudo ./Build install
N setup SSL cert & key on new box
sudo cp /etc/ssl/certs/; sudo chown root:root /etc/ssl/certs/;
sudo cp /etc/ssl/private/; sudo chown root:ssl-cert /etc/ssl/private/;
sudo chmod 640 /etc/ssl/private/
N copy relevant skin images to destination
nn sudo cp athens.png uchicago.png veganworldorder.png /var/lib/vegguide/skin-images/
nn sudo chown www-data:www-data /var/lib/vegguide/skin-images/*
N move recaptcha-key to /etc/vegguide
sudo chown root:root /etc/vegguide/recaptcha-key; sudo chmod 640 /etc/vegguide/recaptcha-key
nn sudo a2ensite
nn sudo rm /etc/apache2/mods-enabled/*
nn enable required modules listed in config file
for i in alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user cgi deflate env headers mime proxy proxy_http rewrite setenvif ssl status;
do sudo a2enmod $i;
nn sudo a2dismod perl
nn sudo a2dissite default
nn cd /etc/apache2-backend/sites-enabled; sudo ln -s ../sites-available/vegguide
cd /etc/apache2-backend/mods-enabled; sudo ln -s ../mods-available/auth_basic.load;
sudo ln -s ../mods-available/authz_default.load; sudo ln -s ../mods-available/authz_host.load;
sudo ln -s ../mods-available/mime.conf; sudo ln -s ../mods-available/mime.load;
sudo ln -s ../mods-available/perl.load
N untar mailman tarball
N add aliases for mailman lists to Postfix
N start apaches & mailman on new system
See for details on moving mailman - may need to use
* make sure & work
* review list of ungeocoded entries
* make sure email out works (forgot pw & watch list)
Jump to Line
Something went wrong with that request. Please try again.