升级ubuntu server

ubuntu jaunty已经发布了,服务器现在的版本还是hardy,正好遇到了奇怪的问题,所以就想升级了。

sudo aptitude install update-manager-core

然后修改/etc/update-manager/release-upgrades文件内容,把

Prompt=lts

修改为:

Prompt=normal

然后开始升级:

sudo do-release-upgrade

注意:
1 在升级过程中有个提示,是否要继续操作,其中提示为[yN],但在中文locale下需要输入”是“,估计这是个翻译的BUG?
2 apache在升级后会产生问题,导致所有的网站都定向到默认网站了,需要修改/etc/apache2/ports.conf文件,把

NameVirtualHost *:80

给注释掉,然后在修改默认网站/etc/apache2/sites-enable/000-default,在第一行添加:

NameVirtualHost *

This entry was posted in Linux and tagged , , , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string gWnRzN to the field below:

以新浪微博帐号登录