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

来源:互联网 发布:淘宝改默认地址怎么改 编辑:程序博客网 时间:2024/06/17 06:45

Yesterdaynight,I feel boreding ,So I want to install a linux for researching howto programe c/java under linux enviourment. Following list are the Tipsfor installation and configration.

1.Before installing ,Remeber to google a installation  serial number for redhat linux .

2.installing!

3.Afterinstalling successful,The first software I want to install is a mp3player ,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.theversion between redhat and centos is same ,such as ,redhat 4---centos---4,My redhat version is as5.2(this version is core version) ,so Ichoose 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.installyum for centos ,you can download a yum for centos from websietes,Iforgot where I get it ,But I remeber the  file name should be'***.i386.norch.rpm' (my localmation is 32 bits).if you got somedependencies ,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

原创粉丝点击