Files

Saturday, February 5, 2011

/etc/yum.repos.d/

Any file created in /etc/yum.repos.d/ with .repo extension is a repository file for Yellowdog Updater Modified. The contents of the file should have a general format.

[test]               
name=Test
baseurl=file:///var/ftp/pub/Server
        ftp://192.168.1.254/pub/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

You can add any number of repository on the same file with unique name field. 


0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home