Monday, June 09, 2008

Install Ubuntu On Dell Optiplex 745

2008-05-10 14:13:15

现有一台Dell Optiplex 745,暂时作为开发服务器。

* Install ubuntu-server

1. 下载ubuntu-server-8.04
2. 刻录至安装盘
3. 安装

* 出现的问题

1. 安装开始阶段出现因acpi无法继续情况,通过F6设置acpi=off可以解决.
2. 安装之后导致无法启动系统.因为Grub问题引起,通过重新安装Grub2来解决
3. 在进行第2步骤的sudo aptitude install grub2时会出现因为安装过程中设置安装源 范围过于严格的问题而找不到Grub2,所以应该采用系统默认的安装源范围比较好.
4. 系统运行良好,但是通过更新或者安装软件包的时候会出现
perl: warning: Setting locale failed
这时可以通过
1) $sudo apt-get remove localeconf
2) $locale-gen (e.g. locale-gen zh_CN.UTF-8)
3) $sudo dpkg-reconfigure locales
4) $sudo vi /etc/environment
并依次加入
LC_ALL="zh_CN.UTF-8"
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN.UTF-8:zh:en_US:en"
5) reboot

* 如何查看软件包被安装位置

1. dpkg -L softname

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home