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/)


Kind regards
Daniel






Am 28.05.15 um 17:42 schrieb Michael Friedrich:
> Am 28.05.2015 um 17:19 schrieb Denis Fateyev:
>> On Thu, May 28, 2015 at 9:05 PM, EML <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>     I'm just installing icinga2 on Centos 5.6. This was easy until I
>>     got to the additional instructions for icingaweb2. 'yum install
>>     icingaweb2' fails, and some investigation shows that there isn't
>>     an icingaweb2 package at the repo
>>     (http://packages.icinga.org/epel/). I did find another one (SLES,
>>     I think), but no RedHat.
>>
>>     So, how should I install this? Are there any rpms, or do I have
>>     to install from source? Is it still beta? should I even be
>>     installing it at all? Should I use an alternative front-end?
>>
>>
>> CentOS 5.6 is too old so you wouldn't expect there the recent
>> versions of all icinga components.
>
> If it's really CentOS5, you should at least upgrade to the most recent
> point release before trying further (iirc that's 5.11 or 5.12).
> Additionally you'll need php53 instead of php (similar to Icinga Web
> 1.x), and if you're planning to use PostgreSQL, postgresql84 instead
> of postgresql. Then the joy of php53-pgsql linking against
> postgresql8.1 begins, which is known to contain memory leaks and
> introducing problems (we already had that with Icinga Web 1.x). For
> MySQL it should work, although 5.1 is painfully compared to mysql55.
>
> In the end, you'll go for at least el6.
>
>> I would suggest you to install on recent distro like CentOS 7.
>
> +1
>
> el5 is fairly ancient, and el7 offers a good base for the upcoming
> years. And you'll certainly find more users in the community when
> asking for problems.
>
> You might go for packages, but during beta and rc phasis, I'd go for
> git cloning the master into /usr/share/icingaweb2, running the web
> based installer, and pulling that steadily. Note: Packages don't
> replace the configuration nor do an automated database setup on
> rhel-based systems.
>
> And if you can't find packages online, you may still build your own.
> https://wiki.icinga.org/display/howtos/Build+Icinga+RPMs
>
> From my personal point of view I'd rather remove support for icinga2
> and el5 as well, but we  have to live with that until 2017 at least.
>
> Kind regards,
> Michael
>
>
>
> -- 
> Michael Friedrich, DI (FH)
> Application Developer
>
> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
> http://www.netways.de | [email protected]
>
> ** OSBConf 2015 - September - osbconf.org **
> ** OSMC 2015 - November - netways.de/osmc **
>
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
PGP Key: 0x3C54FCDF

_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to