Status
Not open for further replies.

salesnoob

Member
Jul 3, 2004
5
0
151
im having problems installing cpanel im new to it and linux so please be nice

i keep getting the following error

You must update your /etc/yum.conf with a fedora mirror

im not sure what it is it wants me to do i checked the yum and there is a fedora mirror in ther ?
 

aboyz

Well-Known Member
Sep 29, 2003
108
0
166
check the yum.conf

check your yum.conf file and update it with the fedora mirrors site.
 

linux-image

Well-Known Member
Jun 8, 2004
1,190
1
168
India
cPanel Access Level
Root Administrator
a sample yum.conf
========================
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
 

telman

Registered
Jun 4, 2004
2
0
151
r0drig0 said:
OK i find it!

I just open the yum.conf and replace the:
baseurl=http -> baseurl=ftp

It work for me!

i have found the answer on another post here. :D

Do you have to change it back after install? Becouse I checked another server which was installed by Cpanel tech support and it has httpd in it. I am thinking they changed it to ftp and then back to ftp.

Telman
 

rublind

Member
Aug 17, 2003
13
0
151
I'm getting the same error, and my conf looks just like the one posted. I don't get what it wants me to do.
 

avdhutdalvi

Member
Feb 23, 2006
13
0
151
r0drig0 said:
OK i find it!

I just open the yum.conf and replace the:
baseurl=http -> baseurl=ftp

It work for me!

i have found the answer on another post here. :D

Are you sure that changing the http to ftp will not effect the server's security in any sense? Info on this would help me a lot.
Thank you.
 

webignition

Well-Known Member
Jan 22, 2005
1,876
1
166
avdhutdalvi said:
Are you sure that changing the http to ftp will not effect the server's security in any sense? Info on this would help me a lot.
Thank you.
In that respect, http and ftp are equally as insecure.

If you're using FC2, you'd need to visit www.fedoralegacy.org and update your yum.conf to reflect their update mirrors.
 
Status
Not open for further replies.