Install Debian Jessie on DigitalOcean using the Debian 7.0 x64 Image.
First update to Debian 8.0 Jessie:
# Source:
# http://unix.stackexchange.com/questions/90389/how-to-upgrade-debian-stable-wheezy-to-testing-jessie/90391#90391
cp /etc/apt/sources.list{,.bak}
sed -i -e 's/ \(stable\|wheezy\)/ testing/ig' /etc/apt/sources.list
apt-get update
apt-get --download-only dist-upgrade
apt-get dist-upgrade
reboot
I you are asked any questions during the upgrade process just confirm with a yes
to get the new default configurations.
Now, that we are on a fresh Debian Jessie let's remove some unused packages:
aptitude purge accountsservice avahi-daemon exim4-base consolekit
... Replace cron
and anacron
with systemd-crond
sudo aptitude install systemd-cron
Persistent journal
chgrp systemd-journal /var/log/journal
chmod 2755 /var/log/journal
echo "ForwardToSyslog=no" >> /etc/systemd/journald.conf
systemctl restart systemd-journald
systemctl stop rsyslog
aptitude purge rsyslog