您的位置:首页 > 运维架构 > Linux

Redhat enterprise linux 5 install and configration(Yum change to CentOS)

2008-11-15 20:20 411 查看
Yesterday
night,I feel boreding ,So I want to install a linux for researching how
to programe c/java under linux enviourment. Following list are the Tips
for installation and configration.
1.Before installing ,Remeber to google a installation serial number for redhat linux .
2.installing!
3.After
installing successful,The first software I want to install is a mp3
player ,As you know .Programming without music is a bored things.
4.I found that redhat enterprise linux can't upgrade without a registered account.
5.Then I try to google it and get some detail information.Here is some useful information .

Pre-condition(some basic knowledge)
1.redhat and centos is both provided by redhat group ,the different between them is that redhat is not free for updating.
2.redhat has 2 ways for updating programes: apt and yum(yum is better!)
3.the
version between redhat and centos is same ,such as ,redhat 4---centos
---4,My redhat version is as5.2(this version is core version) ,so I
choose centos 5.2

solution:
1.remove yum for redhat which has been installed on your localmachine.
commend: rpm -aq|grep yum (you will get a list of yum packages)
rpm -e (remove these packages)
2.install
yum for centos ,you can download a yum for centos from websietes,I
forgot where I get it ,But I remeber the file name should be
'***.i386.norch.rpm' (my localmation is 32 bits).if you got some
dependencies ,you can install them first.
3.try yum update,successful
4.install a yum extender.
commend: yum install yumex
5.open 'System tools'---'yum extender'
6.search mplayer packages in available status.
7.install those packages.

Cool,Now you can play mp3 in a redhat linux system,You also can upgrade you system by yum commend.So cool!

Codor.Zhou: Technical Consultant of Perficient
Location:Perficient GDC

Email:codor@163.com Yahoo:codor_zhou
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: