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/rpmforge-release-0.5.2-2.el6.rf.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!
RPMforge for CentOS 6.0
Re: RPMforge for CentOS 6.0
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
RPMforge for CentOS 6.0
[quote]
7looki wrote:
10、Then try to install something like this
shell> yum -y install ntfs-3g
Have a good time![/quote]
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.)
7looki wrote:
10、Then try to install something like this
shell> yum -y install ntfs-3g
Have a good time![/quote]
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.)
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: RPMforge for CentOS 6.0
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.
[quote]
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.
...
[/quote]
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 [b]will[/b] have problems.
Users interested in a stable Enterprise Linux release will wait for the official version.
[quote]
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[/quote]
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]
yum --disablerepo \* --enablerepo c6-media install ...[/code][b]not[/b] by hacking the repo definitions. That will come back to bite you later.
[quote]
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.
...
[/quote]
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 [b]will[/b] have problems.
Users interested in a stable Enterprise Linux release will wait for the official version.
[quote]
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[/quote]
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]
yum --disablerepo \* --enablerepo c6-media install ...[/code][b]not[/b] by hacking the repo definitions. That will come back to bite you later.
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: RPMforge for CentOS 6.0
I fail to see what relevance this thread's subject header, "[b][i]RPMforge for CentOS 6.0[/i][/b]", has to the actual contents . . . [img]http://www.centos.toracat.org/ajb/tmp/hmmm.gif[/img]
Re: RPMforge for CentOS 6.0
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.
I had to enable scripts to get a link to pull up a page, (using no script addon, with firefox) fyi.