Difference between revisions of "OwnCloud"

From berki WIKI
Jump to: navigation, search
(PHP update)
(Apache 2.4)
Line 40: Line 40:
 
$ yum --enablerepo=extras install  centos-release-scl
 
$ yum --enablerepo=extras install  centos-release-scl
 
$ yum install  httpd24  rh-php56  rh-php56-php
 
$ yum install  httpd24  rh-php56  rh-php56-php
 +
 +
<pre>
 +
# chkconfig --list | grep httpd
 +
httpd          0:off 1:off 2:on 3:on 4:on 5:on 6:off
 +
httpd24-htcacheclean 0:off 1:off 2:off 3:off 4:off 5:off 6:off
 +
httpd24-httpd  0:off 1:off 2:off 3:off 4:off 5:off 6:off
 +
</pre>
 +
 +
/opt/rh/httpd24/root/etc/httpd/
 +
 +
<pre>
 +
# service httpd24-httpd start
 +
 +
</pre>

Revision as of 22:27, 10 October 2016

PHP 5.6

wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
[remi]
name=Les RPM de remi pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/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 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/php56/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/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 update php*

php -v


Apache 2.4

$ yum --enablerepo=extras install centos-release-scl $ yum install httpd24 rh-php56 rh-php56-php

# chkconfig --list | grep httpd
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd24-htcacheclean	0:off	1:off	2:off	3:off	4:off	5:off	6:off
httpd24-httpd  	0:off	1:off	2:off	3:off	4:off	5:off	6:off

/opt/rh/httpd24/root/etc/httpd/

# service httpd24-httpd start