Upgrade Ubuntu Droplet – Digital Ocean

I’ve been running a LAMP stack setup on a Digital Ocean Droplet for over a year and wanted to upgrade from  Ubuntu 14.04 to 15.04.  Following the steps below I was good to go in about 20 minutes. My setup is very basic – LAMP  with one Koken photo gallery site.

> Full upgrade steps from Digital Ocean here

1) Backup Data – Make a local copy of important data.

2) Snapshot – First step is to take a snapshot so we have the ability to roll back if needed. Digital Ocean offers snapshots and backups ($1 a month) which are detailed here – Digital ocean backup and snapshot. Your sever will be offline throughout this process – for my photo site with 20gb disk and 512k ram the process took 15 minutes from start to finish.

  1. Power off your droplet via command line > ‘poweroff’
  2. Navigate to Settings in your droplet control panel
  3. Click Take Snapshot
  4. Power back on via droplet admin > Power

3) Upgrade Ubuntu – From Oliver Simon on the Digital Ocean forums

  1. sudo apt-get update
  2. sudo apt-get upgrade
  3. sudo apt-get dist-upgrade

4) Upgrade the Kernel  – The kernel is managed through the control panel.

  1. Click on the “settings” tab of your droplet and select a kernel there.
  2. Power off from the command line and boot the server.
  3. The new kernel you selected will be activated.

Leave a Reply

Your email address will not be published. Required fields are marked *