Debian Stable (wheezy 7.8 )升级到最新的stable (Jessie 8.0)
2015-04-27 11:21
435 查看
Debian Stable (wheezy 7.8 )升级到最新的stable (Jessie 8.0)
最新的Debian stable 8.0 (Jessie)已经在前天晚上(4月25日)发布了.所以我们来升级一下. 从老的稳定版wheezy7.8升级到最新的稳定版Jessie8.0
升级前阅读官方升级说明
升级前准备
修改为Jessie的源
开始升级
-升级前阅读官方升级说明
https://www.debian.org/releases/jessie/amd64/release-notes/ch-upgrading.en.html
-按照说明备份
* 主要备份的是各种配置文件,服务器配置,.conf, .cnf, .bashrc, .profile等文件 * 还原各种对系统默认软件, 环境的修改, 比如.bashrc里面的alias. python2.7的指向等等 * 以及把wheezy更新到最新后重启 ``` apt-get update apt-get upgrade ``` ![现在本机是wheezy7.8](http://img.blog.csdn.net/20150427101201854)
-修改源地址
我用的是163的源
http://mirrors.163.com/.help/sources.list.wheezy
首先备份源, 然后修改wheezy为jessie,
cp /etc/apt/sources.list{,.bak} vim /etc/apt/sources.list deb http://mirrors.163.com/debian jessie main non-free contrib deb http://mirrors.163.com/debian jessie-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian jessie main non-free contrib deb-src http://mirrors.163.com/debian jessie-proposed-updates main contrib non-free deb http://mirrors.163.com/debian-security jessie/updates main contrib non-free deb-src http://mirrors.163.com/debian-security jessie/updates main contrib non-free deb http://http.us.debian.org/debian jessie main contrib non-free deb http://security.debian.org jessie/updates main contrib non-free
-开始升级
apt-get update apt-get dist-upgrade
因为我的这个机器的wheezy 7.8版本是从squeeze 6升级上来的. 日常生活, 工作, 开发等用了很多软件. 所以要下接近2G的升级包下来.
输入Y 敲下回车
漫长的下载中……
升级过程中会问你是否需要禁止掉root的ssh 密码, 键盘映射, 服务器的一些程序配置(apache, php, nginx, mysql),等, sysctl,pptpd的配置, certdata等, 重置语言环境, 按需选择保留还是使用最新的配置即可.
这里面vim从73升级到了74. 所以如果有自定义的配置或者软链接, 那么相关的配置和软链接也需要作修改.
升级完成后.
相关文章推荐
- Debian Stable (wheezy 7.8 )升级到最新的stable (Jessie 8.0)
- Debian Stable (Jessie 8.8) 升级到最新的stable (stretch 9.0)
- 升级debian stable(wheezy)的iceweasel(firefox).
- Debian Stable(squeeze6.0.7) 升级到最新的stable(Wheezy7.0),tzdata broken,重新安装N显卡驱动
- Debian系统升级:从Wheezy到Jessie
- Debian7.0 (Wheezy Stable) 升级完的一些错误修改
- debian7(wheezy)升级安装mercurial hg最新版2.8-RC,解决tortoisehg2.9.2不能使用。
- Debian (Jessie 8.0) 的一些升级后的修复工作, xfce4.10 面板的图标都左对齐了。
- Debian Stable (Jessie 8.1) 的normal.mod not found
- debian7(wheezy)升级安装mercurial hg最新版2.8-RC,解决tortoisehg2.9.2不能使用。
- How to upgrade Debian wheezy to testing(jessie)
- Debian (Jessie 8.0) 的一些升级后的修复工作, virtualbox不能启动。
- Debian GNU/Linux 8.4“Jessie”与7.10“Wheezy”正式发布
- Debian (Jessie 8.0) mysql can't connect to local mysql server through socket '/var/run/mysqld/mysqld
- Debian 8.0 (jessie)配置
- Debian 8.0 Jessie 或许能在四月份提前发布
- Debian 8.0(Jessie) 无线网卡,ATI显卡驱动和输入法等安装记录。
- Debian GNU/Linux “Jessie” 最新版问世了
- Centos、Debian、Ubuntu升级最新内核并开启BBR加速
- Debian (Jessie 8.0) 的修复pip AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'