homepage Welcome to WebmasterWorld Guest from 54.242.200.172
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Problems configuring yum
steven420




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

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




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

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




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved