LoginSignup
0
0

More than 5 years have passed since last update.

Upgrade Debian 7 to 8

Posted at

To upgrade Debian OS from 7 to 8 by itself.

update the packages in 7

apt-get update
apt-get upgrade

modify the sources

Replace all wheezy in /etc/apt/sources.list to jessie.

upgrade packages to 8

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

The last one might be run twice if needed.

remove unused packages

apt-get autoremove

reboot

delete the linux image

apt purge linux-image-3.2.0-4-amd64 -y

For Apache/PHP module

You might have to purge all php packages and reinstall them, and find extension directory by php -i | grep extension_dir and edit it manually to php.ini.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0