Am 28.05.2015 um 17:59 schrieb Daniel Bossert:
Hi
I could install php 5.6 (or you can also get 5.4):
# wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
# rpm -Uvh *.rpm
# cat /etc/yum.repos.d/remi.repo ## vi /etc/yum.repos.d/remi.repo
[root@server yum.repos.d]# cat remi.repo
[remi]
name=Les RPM de remi pour Enterprise Linux 7 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/7/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/7/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
[remi-php56]
name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 7 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/7/php56/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/7/php56/mirror
# WARNING: If you enable this repository, you must also enable "remi"
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
# yum -y install php php-cli php-common php-ldap php-odbc php-pdo
php-pear php-pgsql php-process php-recode php-soap php-xml php-xmlrpc
php-pecl-memcache php-intl
and for Postgresql:
##### INSTALL PGSQL 9.4
# rpm -Uvh
http://yum.postgresql.org/9.4/redhat/rhel-7Server-x86_64/pgdg-redhat94-9.4-1.noarch.rpm
# yum -y install postgresql94-server postgresql94-contrib
postgresql94-devel postgresql94-docs postgresql94 postgresql94-libs
# /usr/pgsql-9.4/bin/postgresql94-setup initdb
Initializing database ... OK
# systemctl restart postgresql-9.4 ; systemctl enable postgresql-9.4
ln -s '/usr/lib/systemd/system/postgresql-9.4.service'
'/etc/systemd/system/multi-user.target.wants/postgresql-9.4.service'
# cat /etc/profile.d/postgres94.sh # vi /etc/profile.d/postgres94.sh
PATH=/usr/pgsql-9.4/bin:$PATH
# logout # plus login
--> there are also packages for Centos 5
(http://yum.postgresql.org/9.4/redhat/) and
(http://rpms.famillecollet.com/enterprise/5Server/php56/i386/repoview/)
That's certainly true, but requires additional 2 repositories beind
added/trusted. Apart from EPEL, this becomes a critical problem in
certain (customer) environments. Although it's more of an issue with
RHEL support, and not necessarily CentOS then.
If you now add that packages.icinga.org is also separate - yes, but
there's a review request pending for bringing Icinga2 into Fedora/EPEL.
That's depending on the work done on SELinux policies, and a review of
those.
From my experience of the past years, I prefer distribution packages
and their tested & supported versions over external packages and newer
versions. But maybe I'm just getting old and don't want to customize and
maintain everything anymore :)
Kind regards,
Michael
--
https://twitter.com/dnsmichi
https://github.com/dnsmichi
http://www.legendiary.at
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users