Welcome to WebmasterWorld Guest from 54.196.147.57

Forum Moderators: bakedjake

Message Too Old, No Replies

Problems configuring yum

     

steven420

8:25 pm on Apr 17, 2007 (gmt 0)

5+ Year Member



Hi, I am very new to linux and yum and I have just installed yum. When I try to install mysql or do anything with yum I get errors like "retrygrab() failed for: [mirror.dulug...."...] I think that I have to fix the conf file but I don't know how to do this. Can I do it through command line? All the tutorials I have seen tell you what to edit in the config but I don't even know how to view my conf let alone edit it. Please help me.

Thanks,
Steven.

jtara

9:47 pm on Apr 17, 2007 (gmt 0)

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 5+ Year Member



It's normally in /etc/yum.conf, but could be in different places depending on your particular Linux distribution and yum build options. If it isn't in /etc/yum.conf, try "locate yum.conf", assume you have locate on your machine and an up-to-date locate database. (run "updatedb" as root to update the locate database.)

"man yum.conf" should tell you everything you need to know about how to set-up yum.conf.

You will need to be root to edit /etc/yum.conf. ("su", and it will ask for the root password.) You can edit it using any text editor. I like "kate" for GUI, or "pico" for terminal-based editor (only because I remember Wordstar...)

You can view it with "cat /etc/yum.conf", "less /etc/yum.conf", or "more /etc/yum.conf" if for some reason you don't have "less".

You need to get a good book or online tutorial on basic Linux use an administration. For basic basics, I like the inexpensive "Phrasebook" series of pocket handbooks. (i.e. "Linux Phrasebook", "Apache Phrasebook", "MySQL Phrasebook")

steven420

2:50 am on Apr 18, 2007 (gmt 0)

5+ Year Member



Thank you so much jtara. I have found a tutorial on linux and have figured a few things out.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month