linux - How to get default open yum client's /etc/yum.repos.d configuration -


all , since server install yum client , config /etc/yum.repos.d our private yum repo , can yum install our private rpm packages , software , want change point common open public repos installing common rpm packages , how re-set yum repo configuration ? if have command "lynx -dump "xxxx" > /etc/yum.repos.d " better , thank !

you need create additional repo in /etc/yum.repos.d

delete local repo /etc/yum.repos.d/

following syntax

eg  /etc/yum.repos.d/public.repo  [name-name] name=newpublicrepo baseurl=http://publicurlof repo enabled=1 gpgcheck = 0 

or can install rpmforge, epel net directly.

http://wiki.centos.org/additionalresources/repositories/rpmforge


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -