Difference between revisions of "Epel"
From SME Server
Jump to navigationJump to searchm (typo (thanks brianr)) |
(Typo) |
||
Line 6: | Line 6: | ||
/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' \ | |
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=$basearch' \ | MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=$basearch' \ | ||
EnableGroups no \ | EnableGroups no \ | ||
Line 17: | Line 17: | ||
/sbin/e-smith/db yum_repositories set epel repository \ | /sbin/e-smith/db yum_repositories set epel repository \ | ||
Name 'Epel - EL5' \ | Name 'Epel - EL5' \ | ||
− | + | BaseURL 'http://download.fedoraproject.org/pub/epel/5/$basearch' \ | |
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \ | MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \ | ||
EnableGroups no \ | EnableGroups no \ | ||
Line 28: | Line 28: | ||
/sbin/e-smith/db yum_repositories set epel repository \ | /sbin/e-smith/db yum_repositories set epel repository \ | ||
Name 'Epel - EL6' \ | Name 'Epel - EL6' \ | ||
− | + | BaseURL 'http://download.fedoraproject.org/pub/epel/6/$basearch' \ | |
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch' \ | MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch' \ | ||
EnableGroups no \ | EnableGroups no \ |
Revision as of 04:04, 10 January 2015
Below you find the installation command for the Epel repository which can be entered on the SME Server shell.
[edit]
/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
/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
/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 issuing:
signal-event yum-modify
For example to view changes you can run:
db yum_repositories show epel
The output will be following your 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