Debian Stable (Jessie 8.8) upgrades to the latest stable (stretch 9.0)

Source: Internet
Author: User
Tags openssl
The latest Debian stable 9.0 (stretch) was released the night before (June 17).

So let's upgrade. Upgrade from old stable version Jessie 8.8 to the latest stable version Stretch 9.0

Read the official upgrade document before upgrading
https://www.debian.org/releases/stretch/armel/release-notes/

According to the instructions backup is mainly a variety of environments, databases, development languages, personal. BASHRC,. Profile,. conf,. Cnf these also have some alias, and important data backup to update Jessie 8.8 to the latest reboot

Apt-get Update && Apt-get upgrade-y
To modify the source address, I use the 163 source, you see speed, you can use USTC, and the official American source
Vim/etc/apt/sources.list
:%s/jessie/stretch/g

deb Http://mirrors.163.com/debian/stretch main Non-free Contrib
Deb Http://mirrors.163.com/debian/stretch-updates main non-free contrib
Deb http://mirrors.163.com/ Debian/stretch-backports main Non-free contrib
deb-src Http://mirrors.163.com/debian/stretch main Non-free Contrib
deb-src http://mirrors.163.com/debian/stretch-updates main non-free contrib deb-src http://
Mirrors.163.com/debian/stretch-backports main Non-free contrib
Deb http://mirrors.163.com/debian-security/ Stretch/updates main Non-free contrib
deb-src http://mirrors.163.com/debian-security/stretch/updates main Non-free Contrib
Start upgrade
Apt-get Update && Apt-get dist-upgrade-y

Long wait, the middle will be prompted to ask you whether you need to reconfigure some configuration files, such as/etc/sysctl.conf, development language, database, vim, SSH and so on. Note that some configurations, if overridden, will cause your previous settings to be invalidated.
Select Y
Note that there are key configurations that require early backup or contrast. The configuration of the sshd needs to be backed up. It is recommended that the previous configuration be retained. To avoid upgrades after overwriting, if you previously modified the sshd configuration, the login failed. Vim's path became VIM80. Other APAC He, PHP similar to virtualbox such software need to go to the Debian website to find the stretch sources.list, add in to update the line. The MySQL database will coexist with mariadb to create conflicts. Some small software will be lost after the upgrade. Fonts may need to be reconfigured. Git's Gnutls_handshake () failed: A question that can be referenced by the official mailing list

Apt-get install build-essential fakeroot dpkg-dev
M Kdir/tmp/git-openssl
Cd/tmp/git-openssl
apt-get source git
apt-get build-dep git
Apt-get install Lib Curl4-openssl-dev
Dpkg-source-x GIT_2.11.0-3.DSC
cd git_2.11.0-3
Edit Debian/control, replace Libcurl4-gnutls-dev is the Libcurl4-openssl-dev
Dpkg-buildpackage-rfakeroot-b
Dpkg-i ... /git_2.11.0-3_amd64.deb

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.