Chinaunix首页 | 论坛 | 博客
  • 博客访问: 101943468
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-05-20 13:21:49

原文:http://hi.baidu.com/wardking/blog/item/749f73d8e1ac4d3732fa1c4f.html
 
公司新配的本本Dell D620,120G的空间,装了Vista Ultimate。左思右想再装Linux,正好有上次参加westos拿到的RHEL5,就装了。不过仅仅是RHEL5,玩起来不爽,决定update to CentOS 5

1.寻找yum server
综合比较了几个server,就觉得还不错,至于微睦主机的yum server,速度不错,但总是出现403错误,就放弃了。

2.配置yum
先把RHEL5自带的yum包删除,rpm -qa | grep yum,出来4个包,全部rpm -e 掉,另外还有一个redhat-release,这个要--nodeps。然后从mirror.be10.com下载CentOS的4个与yum有关的包及centos-release-5-0.0安装。修改yum的配置文件,vi /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.   You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-5.0 - Base
baseurl=
gpgcheck=1
gpgkey=

#released updates
[updates]
name=CentOS-5.0 - Updates
baseurl=
gpgcheck=1
gpgkey=

#packages used/produced in the build but not released
[addons]
name=CentOS-5.0 - Addons
baseurl=
gpgcheck=1
gpgkey=

#additional packages that may be useful
[extras]
name=CentOS-5.0 - Extras
baseurl=
gpgcheck=1
gpgkey=

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5.0 - Plus
baseurl=
gpgcheck=1
enabled=0
gpgkey=

#contrib - packages by Centos Users
[contrib]
name=CentOS-5.0 - Contrib
baseurl=
gpgcheck=1
enabled=0
gpgkey=
导入rpm包的GPG密钥
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*

3. Update
在终端下面执行yum -y update。遇到网速不好,重试几次,可以完全下载,共有238M之多。此时提示与redhat-logos冲突,继续rpm -e -nodeps redhat-logos,再次yum -y update,这时Updating, CleanUp, Complete!

4.修复gdm登录界面
重启后已经可以看到RHEL5改头换面成CentOS了,但是到gdm登录界面时提示出错,意为找不到gdm的相关主题。没关系,可以登录,只不过界面难看一点。进入Gnome桌面后,登录下载一个自己喜欢的gdm logo theme. 在终端输入gdmsetup,把刚才下载的tar.gz拖到对话框中安装,再把默认的Redhat删除就OKay了!

5.安装beryl
从howtoforge.com找了一篇Installing Beryl On A CentOS5.0 Desktop,按照步骤很好做
首先是要安装好显卡驱动,我这款D620用的是nVidia Corporation Quadro NVS 110M / GeForce Go 7300,直接down一个NVIDIA最新的9639安装。
接下来配置CentOS Beryl安装源server
cd /etc/yum.repos.d/
wget
然后vi kbsingh-CentOS-Extras.repo,把里面的enable=0全部改为enable=1
导入RPM-GPG-KEY: rpm --import
好了,最后一步:yum -y install beryl
完成后就可以使用Applications -> System Tools -> Beryl Manager
Enjoy!
阅读(219) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~