Difference between revisions of "Epel"
(add end-of-life notes to sme8 and sme7 info) |
Unnilennium (talk | contribs) |
||
Line 15: | Line 15: | ||
GPGCheck yes \ | GPGCheck yes \ | ||
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \ | GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \ | ||
− | Exclude perl-Razor-Agent \ | + | Exclude perl-Razor-Agent,clamav,clamd,clamav-db \ |
Visible no \ | Visible no \ | ||
status disabled | status disabled | ||
Line 28: | Line 28: | ||
GPGCheck yes \ | GPGCheck yes \ | ||
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \ | GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \ | ||
− | Exclude perl-Razor-Agent \ | + | Exclude perl-Razor-Agent,clamav,clamd,clamav-db \ |
Visible no \ | Visible no \ | ||
status disabled | status disabled |
Revision as of 15:00, 3 April 2017
Below you find the installation command for the Epel repository which can be entered on the SME Server shell.
Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL).
EPEL packages are usually based on their Fedora counterparts and will never conflict with or replace packages in the base Enterprise Linux distributions. EPEL uses much of the same infrastructure as Fedora, including buildsystem, bugzilla instance, updates manager, mirror manager and more.
/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 \ Exclude perl-Razor-Agent,clamav,clamd,clamav-db \ Visible no \ status disabled
/sbin/e-smith/db yum_repositories set epel repository \ Name 'Epel - EL7' \ BaseURL 'http://download.fedoraproject.org/pub/epel/7/$basearch' \ MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=$basearch' \ EnableGroups no \ GPGCheck yes \ GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \ Exclude perl-Razor-Agent,clamav,clamd,clamav-db \ Visible no \ status disabled
/sbin/e-smith/db yum_repositories set epel-testing repository \ Name 'Epel - EL7' \ BaseURL 'http://download.fedoraproject.org/pub/epel/testing/7/$basearch' \ MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=$basearch' \ EnableGroups no \ GPGCheck yes \ GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \ Exclude perl-Razor-Agent \ Visible no \ status disabled
End of life 3/31/2017
/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
End of life 2013
/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
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