Upgrading Ubuntu Server from 12.04 to 14.04

Upgrading Ubuntu Server from 12.04 to 14.04

My favorite OS apart for OSX is Ubuntu and I thought I would like to have the lastest PHP for my test server, so it's upgrade time. First make a backup, just in case though I've never had a problem ever but you never know. OK so now you have backed up your server it's time to do the upgrade.

Make sure the server is up to date so change to root:

sudo -i

Now upgrade your system:

apt-get update
apt-get upgrade
apt-get dist-upgrade

Once you have done this then install update-manager-core

apt-get install update-manager-core

Now we can upgrade the server:

do-release-upgrade -d

All you have to do now is follow the on screen instructions. There will be a point when some configurations files will be updated if you have altered these then say no to over writing these. When the update is done there is one apache change you will need to do, in your virualhost directive you may have:

Order allow,deny
Allow from all

You will need to change this to

Require all granted

And the NameVirtualHost is no longer needed so you can comment it out now.
For all other apache changes see http://httpd.apache.org/docs/2.4/upgrading.html

OK that should be it and you should have Ubuntu 14.04 running nicely with PHP 5.5, Apache 2.4 and MySQL 5.5.

Enjoy!


18/04/2014 19:54:00 Shaun Freeman Filed Under: Linux Linux, Server, Ubuntu

Twitter Feed
Shaun Freeman @Zendmaster

Shaun Freeman @Zendmaster

I liked a @YouTube video https://t.co/lSFWmpHTX1 Patrick Stewart talks about meeting Sting on the set of DUNE (Funny to the EXTREME)

Shaun Freeman @Zendmaster

I added a video to a @YouTube playlist https://t.co/pmXSmod4ti Anonymous - This will Change Everything You Know... (2018-2019)

Shaun Freeman @Zendmaster

I added a video to a @YouTube playlist https://t.co/GkwTCvBfes Will Artificial Intelligence Take Over The World?

Shaun Freeman @Zendmaster

I liked a @YouTube video https://t.co/Y1ulafmsC6 Frank Abagnale: "Catch Me If You Can" | Talks at Google

Shaun Freeman @Zendmaster

I liked a @YouTube video https://t.co/NBdW2xFnqD ETS2: Special Transport DLC Trailer