owncloud-archive / documentation

:blue_book: The ownCloud documentation and manual
https://doc.owncloud.com/
Other
186 stars 168 forks source link

Ubuntu 14.04 - steps to install working php redis module #2043

Closed MorrisJobke closed 8 years ago

MorrisJobke commented 8 years ago
apt-get update && apt-get install -q -y \
        php5-dev \
        php-pear \
        make \
        && pecl install redis \
        && apt-get remove -y --auto-remove php5-dev php-pear make

This is the easier version to @enoch85's linked blog post.

@carlaschroder Can you add this to the documentation too?

MorrisJobke commented 8 years ago

cc @felixboehm @michaelstingl @cdamken

enoch85 commented 8 years ago

:+1: (not tested)

cdamken commented 8 years ago

:-1:

....
...
...

To activate the new configuration, you need to run:
  service apache2 reload
 * Reloading web server apache2                                                                                                                                                                                                               *
Removing owncloud (8.1.5-12.1) ...
Removing owncloud-server (8.1.5-12.1) ...
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/conf                                                                                                                                                             ig' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/l10n                                                                                                                                                             ' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/data                                                                                                                                                             ' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/core                                                                                                                                                             /skeleton' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/core                                                                                                                                                             /img' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/apps                                                                                                                                                             /updater/templates' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/apps                                                                                                                                                             /updater/l10n' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/apps                                                                                                                                                             /firstrunwizard/l10n' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/apps                                                                                                                                                             /activity/l10n' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/apps                                                                                                                                                             /templateeditor/l10n' not empty so not removed
dpkg: warning: while removing owncloud-server, directory '/var/www/owncloud/apps                                                                                                                                                             /gallery/l10n' not empty so not removed
Removing php5 (5.5.9+dfsg-1ubuntu4.14) ...
Removing libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.14) ...
php5_invoke prerm: Disable module pdo_sqlite for apache2 SAPI
php5_invoke prerm: Disable module pdo_mysql for apache2 SAPI
php5_invoke prerm: Disable module sqlite3 for apache2 SAPI
php5_invoke prerm: Disable module apcu for apache2 SAPI
php5_invoke prerm: Disable module pdo for apache2 SAPI
php5_invoke prerm: Disable module mysqli for apache2 SAPI
php5_invoke prerm: Disable module readline for apache2 SAPI
php5_invoke prerm: Disable module pdo_pgsql for apache2 SAPI
php5_invoke prerm: Disable module json for apache2 SAPI
php5_invoke prerm: Disable module mysql for apache2 SAPI
php5_invoke prerm: Disable module curl for apache2 SAPI
php5_invoke prerm: Disable module pgsql for apache2 SAPI
php5_invoke prerm: Disable module ldap for apache2 SAPI
php5_invoke prerm: Disable module mysqlnd for apache2 SAPI
php5_invoke prerm: Disable module opcache for apache2 SAPI
php5_invoke prerm: Disable module intl for apache2 SAPI
php5_invoke prerm: Disable module apcu-cli for apache2 SAPI
php5_invoke prerm: Disable module gd for apache2 SAPI
Module php5 disabled.
apache2_invoke prerm: Disable module php5
 * Restarting web server apache2                                                                                                                                                                                                             AH00558: apache2: Could not reliably determine the server's fully qualified doma                                                                                                                                                             in name, using 2a01:4f8:d15:2b02::2. Set the 'ServerName' directive globally to                                                                                                                                                              suppress this message
                                                                         [ OK ]
Removing apache2 (2.4.7-1ubuntu4.8) ...
 * Stopping web server apache2                                                                                                                                                                                                                *
Removing apache2-bin (2.4.7-1ubuntu4.8) ...
Removing apache2-data (2.4.7-1ubuntu4.8) ...
Removing build-essential (11.6ubuntu6) ...
Removing pkg-php-tools (1.11) ...
Removing debhelper (9.20131227ubuntu1) ...
Removing dpkg-dev (1.17.5ubuntu5.5) ...
Removing libaprutil1-ldap:amd64 (1.5.3-1) ...
Removing libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) ...
Removing libaprutil1:amd64 (1.5.3-1) ...
Removing libapr1:amd64 (1.5.0-1) ...
Removing php5-mcrypt (5.4.6-0ubuntu5) ...
Removing libmcrypt4 (2.5.8-3.1ubuntu1) ...
Removing php5-pgsql (5.5.9+dfsg-1ubuntu4.14) ...
php5_invoke prerm: Disable module pgsql for cli SAPI
php5_invoke prerm: Disable module pdo_pgsql for cli SAPI
Removing libpq5 (9.3.10-0ubuntu0.14.04) ...
Removing php5-dev (5.5.9+dfsg-1ubuntu4.14) ...
Removing libssl-dev:amd64 (1.0.1f-1ubuntu2.16) ...
Removing libssl-doc (1.0.1f-1ubuntu2.16) ...
Removing make (3.81-8.2ubuntu3) ...
Removing php-xml-parser (1.3.4-6) ...
Removing php-pear (5.5.9+dfsg-1ubuntu4.14) ...
Removing php5-readline (5.5.9+dfsg-1ubuntu4.14) ...
php5_invoke prerm: Disable module readline for cli SAPI
Removing php5-cli (5.5.9+dfsg-1ubuntu4.14) ...
php5_invoke prerm: Disable module pdo_sqlite for cli SAPI
php5_invoke prerm: Disable module pdo_mysql for cli SAPI
php5_invoke prerm: Disable module sqlite3 for cli SAPI
php5_invoke prerm: Disable module apcu for cli SAPI
php5_invoke prerm: Disable module pdo for cli SAPI
php5_invoke prerm: Disable module mysqli for cli SAPI
php5_invoke prerm: Disable module json for cli SAPI
php5_invoke prerm: Disable module mysql for cli SAPI
php5_invoke prerm: Disable module curl for cli SAPI
php5_invoke prerm: Disable module ldap for cli SAPI
php5_invoke prerm: Disable module mysqlnd for cli SAPI
php5_invoke prerm: Disable module opcache for cli SAPI
php5_invoke prerm: Disable module intl for cli SAPI
php5_invoke prerm: Disable module apcu-cli for cli SAPI
php5_invoke prerm: Disable module gd for cli SAPI
Removing php5-curl (5.5.9+dfsg-1ubuntu4.14) ...
Removing php5-intl (5.5.9+dfsg-1ubuntu4.14) ...
Removing php5-ldap (5.5.9+dfsg-1ubuntu4.14) ...
Removing php5-mysqlnd (5.5.9+dfsg-1ubuntu4.14) ...
Removing php5-sqlite (5.5.9+dfsg-1ubuntu4.14) ...
Removing shtool (2.0.8-6) ...
Removing zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
root@oc:/var/www/owncloud/config# 

Removed the whole Apache and the owncloud!!!

MorrisJobke commented 8 years ago

@cdamken This seems to me like you executed something slightly different.

cdamken commented 8 years ago

I just copy paste the command above

carlaschroder commented 8 years ago

@mmattel @MorrisJobke @cdamken Will you look at @mmattel's PR? https://github.com/owncloud/documentation/issues/2042

carlaschroder commented 8 years ago

Closing because I am re-doing everything. (See https://github.com/owncloud/documentation/pull/2042#issuecomment-172937896)

carlaschroder commented 8 years ago

Replaced with https://github.com/owncloud/documentation/pull/2065. Thanks everyone!