tuto:ipasserelle:divers:extras_repo

Dépôts tiers utiles

Tout ces dépôts sont pour SME8

db yum_repositories set fws repository \
BaseURL http://repo.firewall-services.com/centos/\$releasever \
EnableGroups no GPGCheck yes \
Name "Firewall Services" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible yes status disabled
signal-event yum-modify
db yum_repositories set fws-testing repository \
BaseURL http://repo.firewall-services.com/centos-testing/\$releasever \
EnableGroups no GPGCheck yes \
Name "Firewall Services Testing" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible yes status disabled
signal-event yum-modify
db yum_repositories set ipasserelle repository \
BaseURL http://repo.firewall-services.com/ipasserelle/\$releasever \
EnableGroups no GPGCheck yes \
Name "iPasserelle Testing" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible yes status disabled
signal-event yum-modify
db yum_repositories set ipasserelle-testing repository \
BaseURL http://repo.firewall-services.com/ipasserelle-testing/\$releasever \
EnableGroups no GPGCheck yes \
Name "iPasserelle Testing" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible yes status disabled
signal-event yum-modify
/sbin/e-smith/db yum_repositories set rpmforge repository \
Name 'Dag - EL5' \
BaseURL 'http://apt.sw.be/redhat/el5/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible no \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled
signal-event yum-modify
/sbin/e-smith/db yum_repositories set atrpms repository \
Name 'atrpms - EL5' \
BaseURL 'http://dl.atrpms.net/el5-$basearch/atrpms/stable' \
EnableGroups no \
GPGCheck yes \
GPGKey http://ATrpms.net/RPM-GPG-KEY.atrpms \
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
signal-event yum-modify
db yum_repositories set epel repository \
Name 'Extra Packages for Enterprise Linux' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-\$releasever&arch=\$basearch' \
status disabled GPGCheck yes \
GPGKey http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL
signal-event yum-modify
db yum_repositories set sme7contribs repository EnableGroups yes \
GPGCheck yes \
MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 \
Name 'SME Server - contribs 7.X' \
Visible no \
status disabled
signal-event yum-modify
wget http://repo.firewall-services.com/fws.repo -O /etc/yum.repos.d/fws.repo

(http://dag.wieers.com/rpm/FAQ.php#B)

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
sed -i -e 's/enabled = 1/enabled = 0/' /etc/yum.repos.d/rpmforge.repo
rpm -Uvh http://dl.atrpms.net/el5-x86_64/atrpms/stable/atrpms-repo-5-6.el5.x86_64.rpm
sed -i -e 's/enabled=1/enabled=0/' /etc/yum.repos.d/atrpms.repo
rpm -Uvh http://mirrors.ircam.fr/pub/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm

Ces dépôt pourront être activés à la demande directement depuis yum:

yum --enablerepo=rpmforge install etc...
yum -y install wget
wget http://repo.firewall-services.com/fws.repo -O /etc/yum.repos.d/fws.repo
rpm -Uvh http://fr2.rpmfind.net/linux/epel/6/i386/epel-release-6-8.noarch.rpm
cat << '_EOF' > /etc/yum.repos.d/fws.repo
[fws]
enabled=1
baseurl=http://repo.firewall-services.com/centos/$releasever/
name=Firewall Services
gpgcheck=1
gpgkey=http://repo.firewall-services.com/RPM-GPG-KEY
enablegroups=0
 
[fws-testing]
enabled=0
baseurl=http://repo.firewall-services.com/centos-testing/$releasever/
name=Firewall Services Testing
gpgcheck=1
gpgkey=http://repo.firewall-services.com/RPM-GPG-KEY
enablegroups=0
_EOF
yum install epel-release

Dans certains cas, il faudra aussi configurer ELrepo

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
rm -vf /home/e-smith/db/yum_repositories
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.smerepos.d/sme-base.repo
  • tuto/ipasserelle/divers/extras_repo.txt
  • Dernière modification: 27/12/2016 10:45
  • de heuzef