After a week of recovery, my VPS is finally back where I want it. First, I’d like to applaud the work of vaserv/fsckvps for getting things back up; they had a rough start, but once they started working and communicating, I was impressed by their dedication.
Because my VPS suffered data loss, I had the (mis-)fortune of re-installing packages, which presents this opportunity to present my list of necessary Debian 5 steps:
- useradd -m -G sudo (username) && passwd (username)
- hostname (hostname)
- apt-get install aptitude
- aptitude install apache2 php5 mysql-server php5-mysql openssl libsasl2 libsasl2-modules sasl2-bin postfix dovecot-pop3d
- aptitude install subversion bzr bison
- aptitude install autoconf automake libtool gcc g++ gperf sun-java5-jdk
- a2enmod userdir && a2enmod rewrite
After that, it’s a matter of editing configuration files to add postfix+sasl, dovecot+ssl, apache2 vhosts.
Finally, restoring user-land data from backups (you made backups, right?). This includes re-establishing ssh authorized_keys, htdocs, and the mysql databases.
Like
Yeah, because we both know YOU made backups :-).