ELRepo

From SME Server
Revision as of 12:42, 13 June 2024 by ReetP (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Warning.png Warning:
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=atrpms at the SME Server shell.


Below you find the installation command for the ELRepo repository which can be entered on the SME Server shell.


For SME 8

/sbin/e-smith/db yum_repositories set elrepo repository \
Name ' ELRepo.org Community Enterprise Linux Repository - el5' \
BaseURL ' http://elrepo.org/linux/elrepo/el5/$basearch' \
MirrorList http://elrepo.org/mirrors-elrepo.el5 \
EnableGroups no \
GPGCheck yes \
GPGKey  http://elrepo.org/RPM-GPG-KEY-elrepo.org \
Visible no \
Exclude clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,\
perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,\
libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,\
librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,\
libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,\
gd,perl-TimeDate,librpm4.4 \
status disabled

For SME 9

/sbin/e-smith/db yum_repositories set elrepo repository \
Name ' ELRepo.org Community Enterprise Linux Repository - el6' \
BaseURL ' http://elrepo.org/linux/elrepo/el6/$basearch' \
MirrorList http://elrepo.org/mirrors-elrepo.el6 \
EnableGroups no \
GPGCheck yes \
GPGKey  http://elrepo.org/RPM-GPG-KEY-elrepo.org \
Visible no \
Exclude clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,\
perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,\
libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,\
librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,\
libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,\
gd,perl-TimeDate,librpm4.4 \
status disabled


El Kernel repo

/sbin/e-smith/db yum_repositories set elrepo-kernel repository \
Name ' ELRepo.org Community Enterprise Linux Repository - el' \
BaseURL ' http://elrepo.org/linux/kernel/el$releasever/$basearch' \
MirrorList http://elrepo.org/mirrors-elrepo.el$releasever \
EnableGroups yes \
GPGCheck yes \
GPGKey  http://elrepo.org/RPM-GPG-KEY-elrepo.org \
Visible yes \
status disabled


After adding it to the database updating the configuration file is required:

signal-event yum-modify