Debian Stable (wheezy 7.8) upgraded to the latest Stable (Jessie 8.0)
The latest Debian stable 8.0 (Jessie) was released the night before (April 25).
So let's upgrade. Upgrade from the old stable version of wheezy7.8 to the latest stable version Jessie8.0
- Read the official upgrade instructions before upgrading
- Pre-upgrade Preparation
- Modify the source to Jessie
- Start upgrade
- Read the official upgrade instructions before upgrading
Https://www.debian.org/releases/jessie/amd64/release-notes/ch-upgrading.en.html
- Follow the instructions to back up
* 主要备份的是各种配置文件,服务器配置,.conf, .cnf, .bashrc, .profile等文件* 还原各种对系统默认软件, 环境的修改, 比如.bashrc里面的alias. python2.7的指向等等* 以及把wheezy更新到最新后重启```apt-get updateapt-get upgrade```![现在本机是wheezy7.8](http://img.blog.csdn.net/20150427101201854)
- Modify Source Address
I'm using a source of 163.
Http://mirrors.163.com/.help/sources.list.wheezy
First back up the source, and then modify Wheezy to Jessie,
CP/etc/apt/sources. List{,. bak}vim/etc/apt/sources. ListDeb Http://mirrors. 163. com/debian Jessie Main Non-free contribdeb http://mirrors. 163. com/debian jessie-proposed-updates main contrib non-freedeb-src http://mirrors. 163. com/debian Jessie Main Non-free contribdeb-src http://mirrors. 163. com/debian jessie-proposed-updates main contrib non-freedeb http://mirrors. 163. com/debian-security jessie/updates main contrib non-freedeb-src http://mirrors. 163. com/debian-security jessie/updates main contrib non-freedeb http://http. US. Debian. org/debian Jessie Main contrib Non-freedeb http://security. Debian. orgJessie/updates Main contrib Non-free
- start the upgrade
apt-get updateapt-get dist-upgrade
Because the wheezy 7.8 version of my machine was upgraded from Squeeze 6. Daily life, work, development and so on use a lot of software. So take the upgrade package down near the 2G.
Enter Y to hit enter
Long download ...
During the upgrade, you will be asked if you need to disable root SSH password, keyboard mapping, server configuration (Apache, PHP, Nginx, MySQL), etc., SYSCTL,PPTPD configuration, Certdata, etc., reset the language environment, Choose whether to keep or use the latest configuration on demand.
Vim has been upgraded from 73 to 74. So if there is a custom configuration or a soft link, then the relevant configuration and soft links also need to be modified.
After the upgrade is complete.
Debian Stable (wheezy 7.8) upgraded to the latest Stable (Jessie 8.0)