- Debian 9 Stretch does not include MySql, your MySql will replace with MariaDB 10.1. Follow this http://dedetoknotes.blogspot.co.id/2017/09/debian-jessie-change-mysql-distribution.html to keep your MySql.
- PHP 7.0 will be use. Your PHP application may be not support it.
# apt-get update && apt-get upgrade -yNote: restart your system if needed.
Install apt-listchanges
# apt-get install apt-listchangesEdit your apt source and add Debian 9 (stretch) repository:
#deb http://security.debian.org/ jessie/updates main#deb-src http://security.debian.org/ jessie/updates main# Indonesia (main)#deb http://kambing.ui.ac.id/debian/ jessie maindeb http://kambing.ui.ac.id/debian/ stretch main contrib# NON FREE#deb http://httpredir.debian.org/debian jessie main contrib non-free# BACKPORT#deb http://ftp.de.debian.org/debian jessie-backports main# Google chrome#deb http://dl.google.com/linux/chrome/deb/ stable mainNote: You can choose other closest mirror to you or use "deb http://mirrors.kernel.org/debian stretch main contrib".
To add CD-ROM
# apt-cdrom add Do minimal upgrade by running apt update and apt-get upgrade
# apt-get update...# apt-get upgrade ...You are ready for distribution upgrade. Edit /etc/apt/sources.list
#deb http://security.debian.org/ jessie/updates main#deb-src http://security.debian.org/ jessie/updates maindeb http://security.debian.org/ stretch/updates maindeb-src http://security.debian.org/ stretch/updates main#optional#deb http://deb.debian.org/debian stretch-updates main# Indonesia (main)# deb http://mirrors.kernel.org/debian stretch main contribdeb http://kambing.ui.ac.id/debian/ stretch main contrib
# NON FREEdeb http://httpredir.debian.org/debian stretch main contrib non-free# BACKPORTdeb http://ftp.de.debian.org/debian stretch-backports main
Note: you need to enable NON FREE repository for firmware upgrade
Do distribution upgrade
# apt-get update && apt-get dist-upgradeDistribution upgrade will take some times depend on your connection speed. At the end of packages upgrade, you will need to interact with system.
Restart your system and enable 3rd party repository such as google chrome, virtualmin, odoo, etc. Perform final upgrade/update.
# apt-get update && apt-get upgrade -yYour Debian 9 (stretch) is ready. :)
# uname -anLinux saturn 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/LinuxNote:
- A new configuration may apply, please carefully to choose a new configuration or your existing one (the option show as keep local).
- Default document root apache2 folder will change from /var/www/ to /var/www/html.
- Apache2 will run under linux user and group 'www-data'.
- To replace php5 to php7.0 follow this http://dedetoknotes.blogspot.co.id/2017/09/debian-stretch-replace-php5-to-70.html.
References:
- https://www.debian.org/releases/stable/i386/release-notes/ch-upgrading
- https://www.debian.org/mirror/list
- http://kambing.ui.ac.id/debian/dists/Debian9.1/
- https://wiki.debian.org/SourcesList