Manual installation details for multiple distros, ownCloud 9.0 and 9.1

Carla Schroder edited this page Sep 7, 2016 · 1 revision

Ubuntu 16.04 LTS (PHP 7.0.8)

Required modules:

apt-get install apache2 mariadb-server libapache2-mod-php7.0
apt-get install php7.0-gd php7.0-mysql php7.0-curl
apt-get install php7.0-intl php7.0-mcrypt php-imagick
apt-get install php7.0-zip php7.0-xml php7.0-mbstring

Additional modules:

apt-get install php-apcu (memory caching)
apt-get install php-redis redis-server (memory caching)
apt-get install php7.0-ldap (ldap integration)

RHEL 7.2 (PHP 5.5)

Required modules:

subscription-manager repos --enable rhel-server-rhscl-7-eus-rpms
- yum install httpd
- yum install mariadb-server
- yum install php55 
- yum install php55-php 
- yum install php55-php-gd 
- yum install php55-php-mbstring
- yum install php55-php-mysqlnd

Additional modules:

- yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- yum install php-pecl-apcu (memory caching)
- yum install redis php-pecl-redis (memory caching)
- yum install php55-php-ldap (ldap integration)

SLES 12 (PHP 5.5)

Required modules:

- zypper install apache2
- zypper install apache2-mod_php5 (requires the web and scripting repo to be enabled)
- zypper install php5-gd
- zypper install php5-json
- zypper install php5-curl
- zypper install php5-intl
- zypper install php5-mcrypt
- zypper install php5-zip
- zypper install php5-zlib 

Additional modules:

zypper install php5-ldap (ldap integration)

APCu:

(note that we could not find any officially supported APCu package in the modules of the SLES 12 product)
- wget http://download.opensuse.org/repositories/server:/php:/extensions/SLE_12_SP1/ server:php:extensions.repo -O /etc/zypp/repos.d/memcached.repo 
- zypper refresh
- zypper install php5-APCu 

Redis:
The latest versions of Redis servers have shown to be incompatible with SLES 12. Therefore it is currently recommended to download and install version 2.2.7 or previous releases (keep in mind that ownCloud supports 2.2.5 as minimum version) from: https://pecl.php.net/package/redis.