Changes

Jump to navigation Jump to search
changed example repo to dag, added other repos link
Line 107: Line 107:     
*What is the recommended way to add other yum repositories
 
*What is the recommended way to add other yum repositories
The following code uses the dungog repository as an example and sets the status to disabled.  
+
The following code uses the dag repository as an example and sets the status to disabled.  
 
The repository is configured to be used via the command line with the --enablerepo= option  
 
The repository is configured to be used via the command line with the --enablerepo= option  
   −
  db yum_repositories set dungog repository \
+
  db yum_repositories set dag repository \
  Name 'SME Server 7 - dungog' \
+
  Name 'Dag - EL4' \
  BaseURL 'http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/' \
+
  BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' \
  EnableGroups yes \
+
  EnableGroups no \
  GPGCheck no \
+
GPGCheck yes \
 +
  GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
 
  Visible no \
 
  Visible no \
 +
Exclude freetype,htop,iptraf,rsync,syslinux \
 
  status disabled
 
  status disabled
   Line 124: Line 126:     
*How do I disable a repository to allow future use via command line with the --enablerepo= option
 
*How do I disable a repository to allow future use via command line with the --enablerepo= option
 +
 +
 +
====Other popular repositories====
 +
 +
http://wiki.contribs.org/Category:Yum_Repository
 +
    
  db yum_repositories repositoryname setprop status disabled
 
  db yum_repositories repositoryname setprop status disabled
624

edits

Navigation menu