Shoebuntu Setup Ubuntu on a 256 MB Gandi Server Resize the Partition # resize2fs /dev/xvda1 Remove Root User # adduser sbp sudo $ sudo passwd -dl root Update Packages $ sudo aptitude update $ sudo aptitude -y safe-upgrade $ sudo aptitude autoclean Install Packages $ sudo aptitude install apache2 curl emacs irssi znc Install Dropbox Note: it's a good idea to rsync your files to ~/Dropbox first. $ cd ~/tmp $ wget -O dropbox.py 'http://www.dropbox.com/download?dl=packages/dropbox.py' $ python dropbox.py start -i (Download the daemon) $ python dropbox.py start (Link the computer) $ python dropbox.py autostart y Exclude some paths: $ python dropbox.py exclude add ~/Dropbox/public/ Configure SSH Update /etc/ssh/sshd_config Copy files to ~/.ssh $ chmod 700 .ssh $ chmod 600 .ssh/authorized_keys $ chmod go-w ~/ $ sudo /etc/init.d/ssh restart Link Configuration Files $ cd ~ $ ln -s ~/Dropbox/config/phenny/ .phenny $ ln -s ~/Dropbox/config/znc/ .znc $ ln -s ~/Dropbox/config/emacs .emacs Configure Apache $ cd /etc/apache2 $ sudo rm -rf sites-available/ $ sudo ln -s ~/Dropbox/config/sites-available $ cd /etc/apache2 $ sudo echo ServerName localhost >> http.conf $ sudo a2enmod rewrite $ sudo /etc/init.d/apache2 restart $ cd /var/www Link to your sites in Dropbox. Run sudo a2ensite on each site to enable. $ sudo /etc/init.d/apache2 reload You'll have to set chmod a+x on your home and Dropbox directories. May have to fix various script permissions. Link Binaries $ cd ~ $ ln -s ~/Dropbox/config/bin