[Gandi][Serveur] Upgrade de Ubuntu 10.04 Lucid vers 12.04 Lts Precise

[Gandi][Serveur] Upgrade de Ubuntu 10.04 Lucid vers 12.04 Lts Precise.
Les commandes suivantes doivent être fait dans le « multiplexeur de terminaux » screen.
1) Vérification.

root@server02up:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
root@server02up:~# uname -a
Linux server02up 2.6.32-xenU-7970-i386 #2 SMP Tue Jun 18 14:14:13 UTC 2013 i686 GNU/Linux

2) Modification des dépôt.
Ouvrir :

/etc/apt/sources.list

Supprimer tout et remplacer par :

deb http://old-releases.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ lucid-proposed main restricted universe multiverse

3) Mise–à-jour de la version courante :

root@server02up:~# apt-get update
root@server02up:~# apt-get upgrade
root@server02up:~# apt-get autoremove

4) Installation de paquetage de mise-à-jour.

root@server02up:~# apt-get install update-manager-core

5) Modification des dépôt.
Ouvrir :

/etc/apt/sources.list

Supprimer tout et remplacer par :

deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse

6) Mise-à-jour de la distribution de 10.04 Lucid vers 12.04 Precise :

root@server02up:~# do-release-upgrade

Veuillez répondre à toutes les questions.
7) Redémarrer le serveur.
8) Vérification :

root@server02up:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

9) Vérification de Php5 :

root@server02up:~# php -version
PHP 5.3.10-1ubuntu3.21 with Suhosin-Patch (cli) (built: Oct 28 2015 01:47:12)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

10) Lien :
http://doc.ubuntu-fr.org/migration

Comments are closed, but trackbacks and pingbacks are open.