Debian 9 (代號 stretch) 在 2017-06-17 正式釋出 [1], 跟 Debian 8 – Jessie 有什麼不同呢
img src: https://mariadb.org/wp-content/uploads/2017/06/debian-9-300×300.png
支援 CPU 架構
異動部份
- 新增 64-bit little-endian MIPS (mips64el)
- 移除 PowerPC (powerpc) [2]
目前官方支援的架構
- 32-bit PC (i386) and 64-bit PC (amd64)
- 64-bit ARM (arm64)
- ARM EABI (armel)
- ARMv7 (EABI hard-float ABI, armhf)
- MIPS (mips (big-endian) and mipsel (little-endian))
- 64-bit little-endian MIPS (mips64el)
- 64-bit little-endian PowerPC (ppc64el)
- IBM System z (s390x)
此次發行版異動 (完整清單請見 release note [3])
套件相關
相較 Debian 8, Debian 9 新增 15346 個套件, 內含超過 51687 個套件
相較 Debian 8, 共更新 29859 個套件, 並移除 6739 個套件
主要套件更新如下:
img: https://www.debian.org/releases/stable/armhf/release-notes/ch-whats-new.en.html
除此之外, 桌面套件也都進行升級
- GNOME 3.22
- KDE Plasma 5.8
- LXDE, LXQt 0.11
- MATE 1.16
- Xfce 4.12
安全性
GCC 預設編譯時皆啟用 “position independent executables" (PIE)
資料庫相關
預設 mysql server 將改為 MariaDB, 安裝 default-mysql-server 將會安裝 mariadb-server-10.1, 詳情可參考 [4]
新增映像站
新增映像站 deb.debian.org 提供 main, security, ports and debug 相關套件庫
重新命名網路介面
以往網路介面名稱多以 eth0, eth1 存在. 但舊有的命名方式容易因為初始化順序的不同導致造成系統唯讀的異常現象. 新的列舉方法可根據韌體, 拓樸, MAC address 以及位置資訊來命名介面 來命名, 如 ens0 or enp1s1 (ethernet) or wlp3s0 (wlan). 詳情可參考這邊 [7]
允許非 root 帳號執行 Xorg server
在 gdm3 上可用一般使用者帳號執行 Xorg server, 以降低安全性議題
關閉 FTP 服務
下列 ftp 站點服務將於 2017年 11 月 1 日起關閉
- ftp://ftp.debian.org
- ftp://security.debian.org
請盡速更換 source.list 內的站點如下
- deb http://deb.debian.org/debian stretch main
- deb http://deb.debian.org/debian-security stretch/updates main
關閉原因可參考 [5]
移除大量相容 LSB 相關套件
但保留 lsb-release 以及 sysvinit init functions in lsb-base, 其他 FHS 資訊可參考[6]
預設安裝 iproute2 以替換 net-tools
相關指令轉換如下:
[1] https://wiki.debian.org/DebianStretch
[2] https://lists.debian.org/debian-devel-announce/2016/10/msg00008.html
[3] https://www.debian.org/releases/stable/armhf/release-notes
[4] https://wiki.debian.org/Teams/MySQL
[5] https://www.debian.org/News/2017/20170425
[6] https://www.debian.org/doc/debian-policy/ch-opersys.html#s-fhs
[7] https://szlin.me/2017/07/19/debian-9-release/