Changes

Jump to navigation Jump to search
Line 1: Line 1:  
<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 it using the option --enablerepo=epel at the SME Server shell.}}
 
<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 it using the option --enablerepo=epel at the SME Server shell.}}
Below you find the installation command for the {{PAGENAME}} 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.
 
</noinclude>
 
</noinclude>
   −
<onlyinclude>{{#ifeq:{{{transcludesection|epel7}}}|epel7|
+
Below you will find the installation command for the {{PAGENAME}} repository which can be entered on the SME Server shell command line.
For SME 7.x,
+
 
 +
OR
 +
 
 +
To simplify installation you can use the extra repositories rpm at:
 +
 
 +
[[Extrarepositories|https://wiki.koozali.org/Extrarepositories]]
 +
 
 +
 
 +
 
 +
==== '''Generic''' ====
 +
<onlyinclude>
 +
yum install smeserver-extrarepositories-epel -y
 +
</onlyinclude>
 +
 
   −
/sbin/e-smith/db yum_repositories set epel repository \
+
==== '''For SME 10.x''' ====
Name 'Epel - EL4' \
+
  yum install smeserver-extrarepositories-epel -y
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
  −
}}</onlyinclude>
     −
<onlyinclude>{{#ifeq:{{{transcludesection|epel8}}}|epel8|
+
'''For SME 9.x'''
For SME 8.x,
+
yum install smeserver-extrarepositories-epel -y
   −
/sbin/e-smith/db yum_repositories set epel repository \
+
{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
Name 'Epel - EL5' \
+
After adding it to the database updating the configuration file is required by issuing:
BaseUrl 'http://download.fedoraproject.org/pub/epel/5/$basearch' \
+
  signal-event yum-modify
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
  −
}}</onlyinclude>
      +
<noinclude>
 
To view changes you can run:
 
To view changes you can run:
 
  '''db yum_repositories show epel'''
 
  '''db yum_repositories show epel'''
   −
<onlyinclude>{{#ifeq:{{{transcludesection|epel9}}}|epel9|
+
The output will be dependent on your SMEserver version. This example is for SME 8.x:
For SME 9.x,
+
 
/sbin/e-smith/db yum_repositories set epel repository \
+
    epel=repository
Name 'Epel - EL6' \
+
    BaseUrl=[http://download.fedoraproject.org/pub/epel/5/$basearch http://download.fedoraproject.org/pub/epel/$releasever/$basearch]
BaseUrl 'http://download.fedoraproject.org/pub/epel/6/$basearch' \
+
    EnableGroups=no
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch' \
+
    GPGCheck=yes
EnableGroups no \
+
    GPGKey=http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL
GPGCheck yes \
+
    MirrorList=[http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch http://mirrors.fedoraproject.org/mirrorlist?repo=epel-][http://download.fedoraproject.org/pub/epel/5/$basearch $releasever]&arch=$basearch
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
+
    Name=Epel   
Visible no \
+
    Visible=no
status disabled
+
    status=disabled
}}</onlyinclude>
+
 
   −
<onlyinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
  −
After adding it to the database updating the configuration file is required by issueing:
  −
signal-event yum-modify
  −
}}</onlyinclude>
   
----
 
----
[[Category: Yum_Repository]]</noinclude>
+
[[Category: Yum_Repository]]
 +
</noinclude>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu