Difference between revisions of "Epel"
From SME Server
Jump to navigationJump to search (Created page with '<noinclude>{{Warning box|msg=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…') |
m |
||
Line 2: | Line 2: | ||
Below you find the installation command for the {{PAGENAME}} repository which can be entered on the SME Server shell. | Below you find the installation command for the {{PAGENAME}} repository which can be entered on the SME Server shell. | ||
</noinclude> | </noinclude> | ||
+ | |||
+ | For SME 7.x, | ||
+ | |||
/sbin/e-smith/db yum_repositories set epel repository \ | /sbin/e-smith/db yum_repositories set epel repository \ | ||
Name 'Epel - EL4' \ | Name 'Epel - EL4' \ | ||
BaseUrl 'http://download.fedoraproject.org/pub/epel/4/$basearch' \ | BaseUrl 'http://download.fedoraproject.org/pub/epel/4/$basearch' \ | ||
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=$basearch' \ | MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=$basearch' \ | ||
+ | EnableGroups no \ | ||
+ | GPGCheck yes \ | ||
+ | GPGKey http://download.fedora.redhat.com/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 \ | EnableGroups no \ | ||
GPGCheck yes \ | GPGCheck yes \ |
Revision as of 00:43, 23 August 2011
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://download.fedora.redhat.com/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://download.fedora.redhat.com/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