Difference between revisions of "Epel"
From SME Server
Jump to navigationJump to searchLine 30: | Line 30: | ||
status disabled | status disabled | ||
}}</onlyinclude> | }}</onlyinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<onlyinclude>{{#ifeq:{{{transcludesection|epel9}}}|epel9| | <onlyinclude>{{#ifeq:{{{transcludesection|epel9}}}|epel9| | ||
Line 64: | Line 48: | ||
signal-event yum-modify | signal-event yum-modify | ||
}}</onlyinclude> | }}</onlyinclude> | ||
+ | |||
+ | For example to view changes you can run: | ||
+ | '''db yum_repositories show epel''' | ||
+ | |||
+ | The output will be following you smeserver version: | ||
+ | |||
+ | epel=repository | ||
+ | BaseUrl=http://download.fedoraproject.org/pub/epel/5/$basearch | ||
+ | EnableGroups=no | ||
+ | GPGCheck=yes | ||
+ | GPGKey=http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL | ||
+ | MirrorList=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch | ||
+ | Name=Epel - EL5 | ||
+ | Visible=no | ||
+ | status=disabled | ||
+ | |||
+ | |||
---- | ---- | ||
[[Category: Yum_Repository]]</noinclude> | [[Category: Yum_Repository]]</noinclude> |
Revision as of 10:15, 24 May 2014
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 by issueing:
signal-event yum-modify
For example to view changes you can run:
db yum_repositories show epel
The output will be following you smeserver version:
epel=repository BaseUrl=http://download.fedoraproject.org/pub/epel/5/$basearch EnableGroups=no GPGCheck=yes GPGKey=http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL MirrorList=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch Name=Epel - EL5 Visible=no status=disabled