ELRepo

From SME Server
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.


[edit]
/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
/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
/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 


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

signal-event yum-modify