RPMforge for CentOS 6.0

A 5 star hangout for overworked and underpaid system admins.

RPMforge for CentOS 6.0

Postby 7looki » 2011/07/10 07:10:01

I'm a CentOS fans.

when I download CentOS 6 release,and installed,I found what I counld't use yum to install software.

How To?

OK It's time to tell you how can I do!

1、Download CentOS 6 Release

CentOS-6.0-i386-bin-DVD.iso
MD5: 081C77749170C512D25DA3A7459E3336
SHA1: 9A8DFA2B68937372F89BD1CA46FBA7EE71C5262C

2、Install CentOS 6 and stop iptables & SELinux

shell> chkconfig iptables off && sed -i 's/SELINUX=.*/SELINUX=disabled/' /etc/sysconfig/selinux && reboot

3、Upload CentOS-6.0-i386-bin-DVD.iso to CentOS 6 host.

I saved it in /home/iso/CentOS-6.0-i386-bin-DVD.iso

4、Mount

shell> mkdir /media/CentOS && mount -o loop /home/iso/CentOS-6.0-i386-bin-DVD.iso /media/CentOS

5、Backup YUM config

shell> cp -a /etc/yum.repos.d /etc/yum.repos.d.bak

6、Rename CentOS-Base.repo

shell> mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak

7、Edit CentOS-Media.repo

shell> sed -i 's/^ /#/g' /etc/yum.repos.d/CentOS-Media.repo
shell> sed -i 's/gpgcheck=1/gpgcheck=0/' /etc/yum.repos.d/CentOS-Media.repo
shell> sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/CentOS-Media.repo

8、Install wget

shell> yum -y install wget

9、Install RPMforge

shell> wget http://packages.sw.be/rpmforge-release/ ... f.i686.rpm
shell> rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
shell> rpm -K rpmforge-release-0.5.2-2.el6.rf.*.rpm
shell> rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm

10、Then try to install something like this

shell> yum -y install ntfs-3g

Have a good time!
7looki
 
Posts: 1
Joined: 2011/07/10 05:33:39

Re: RPMforge for CentOS 6.0

Postby Loresan » 2011/07/10 09:12:13

Thanks for the heads up but i think i will wait for the ISOs to be officially released as they are still deemed to be a work in process
Loresan
 
Posts: 2
Joined: 2010/11/15 05:33:13

RPMforge for CentOS 6.0

Postby RonB » 2011/07/10 10:10:49

7looki wrote:

10、Then try to install something like this

shell> yum -y install ntfs-3g

Have a good time!


I'm not running CentOS 6 -- will probably wait until 6.1 to install it -- but I went to RPMForge and tried to download the EL6 key and received a "404 Not Found" error. So maybe there are issues with the key itself. And maybe some files (like 'ntfs-3g') are not up on the repository yet(?).

That's all I can think of, off the top of my head. (These are guesses.)
RonB
 
Posts: 149
Joined: 2006/11/25 21:13:24
Location: Fort Worth, Texas

Re: RPMforge for CentOS 6.0

Postby pschaff » 2011/07/10 14:26:57

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature and refrain from dual-posting. Your duplicate post in User Comments has been removed.

7looki wrote:
I'm a CentOS fans.

when I download CentOS 6 release,and installed,I found what I counld't use yum to install software.
...

If you already downloaded CentOS-6 it is still unreleased/unofficial and has known bugs that are still being addressed. Some public mirrors, as usual, have jumped the gun and opened up before the official release, and while some last-minute issues are still being corrected. Please wait for the official release to avoid problems. Anything available now should be considered Beta quality and will have problems.

Users interested in a stable Enterprise Linux release will wait for the official version.

6、Rename CentOS-Base.repo

shell> mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak

7、Edit CentOS-Media.repo

shell> sed -i 's/^ /#/g' /etc/yum.repos.d/CentOS-Media.repo
shell> sed -i 's/gpgcheck=1/gpgcheck=0/' /etc/yum.repos.d/CentOS-Media.repo
shell> sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/CentOS-Media.repo

I'm sure you mean well and are trying to be helpful, but please everyone, do not implement the above kludges. The correct way to use [c6-media] is
Code: Select all
yum --disablerepo \* --enablerepo c6-media install ...
not by hacking the repo definitions. That will come back to bite you later.
pschaff
Retired Moderator
 
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: RPMforge for CentOS 6.0

Postby AlanBartlett » 2011/07/10 23:00:13

I fail to see what relevance this thread's subject header, "RPMforge for CentOS 6.0", has to the actual contents . . . [img]http://www.centos.toracat.org/ajb/tmp/hmmm.gif[/img]
User avatar
AlanBartlett
Forum Moderator
 
Posts: 9250
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

Re: RPMforge for CentOS 6.0

Postby CiaW » 2011/07/11 15:22:47

Just FYI, rpmforge is now called repoforge. Here's the url: http://repoforge.org/
I had to enable scripts to get a link to pull up a page, (using no script addon, with firefox) fyi.
CiaW
 
Posts: 73
Joined: 2009/08/21 02:43:23
Location: Spokane, Washington USA


Return to CentOS Social

Who is online

Users browsing this forum: No registered users and 0 guests