使用apt-get升级debian7(Wheezy)到debian8(Jessie)
买了个存储VPS,上架不提供Debian8的模板,我只好自己升级咯
1.把源修改成Debian8的。
sed -i /deb/s/wheezy/jessie/g /etc/apt/sources.list
sed -i /deb/s/wheezy/jessie/g /etc/apt/sources.list.d/*.list
2.升级
apt-get update
apt-get upgrade
apt-get dist-upgrade
升级过程非常耗时,建议在screen里边执行