Difference between revisions of "Epel"

From SME Server
Jump to navigationJump to search
m (Added epel repo for SME 9)
m (adding transclusion tags)
Line 3: Line 3:
 
</noinclude>
 
</noinclude>
  
 +
<onlyinclude>{{#ifeq:{{{transcludesection|epel7}}}|epel7|
 
For SME 7.x,  
 
For SME 7.x,  
  
Line 14: Line 15:
 
  Visible no \
 
  Visible no \
 
  status disabled
 
  status disabled
 +
}}</onlyinclude>
  
 +
<onlyinclude>{{#ifeq:{{{transcludesection|epel8}}}|epel8|
 
For SME 8.x,
 
For SME 8.x,
  
Line 26: Line 29:
 
  Visible no \
 
  Visible no \
 
  status disabled
 
  status disabled
 +
}}</onlyinclude>
  
 
+
<onlyinclude>{{#ifeq:{{{transcludesection|epel9}}}|epel9|
 
For SME 9.x,
 
For SME 9.x,
 
  /sbin/e-smith/db yum_repositories set epel repository \
 
  /sbin/e-smith/db yum_repositories set epel repository \
Line 38: Line 42:
 
  Visible no \
 
  Visible no \
 
  status disabled
 
  status disabled
 +
}}</onlyinclude>
  
 
<noinclude>
 
<noinclude>

Revision as of 15:04, 29 December 2013

Warning.png Warning:
Copy the configuration setting to your server as is, do not modify anything as that might harm your installation. To use it to install package enable it using the option --enablerepo=epel at the SME Server shell.


Below you find the installation command for the Epel repository which can be entered on the SME Server shell.


For SME 7.x,

/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL4' \
BaseUrl 'http://download.fedoraproject.org/pub/epel/4/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Visible no \
status disabled

For SME 8.x,

/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL5' \
BaseUrl 'http://download.fedoraproject.org/pub/epel/5/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Visible no \
status disabled

For SME 9.x,

/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL6' \
BaseUrl 'http://download.fedoraproject.org/pub/epel/6/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Visible no \
status disabled


After adding it to the database updating the configuration file is required:

signal-event yum-modify