Difference between revisions of "OwnCloud"

From ArchWiki
Jump to: navigation, search
(Installation: added iconv.so extension to be activated in php.ini)
(Important Notes: added note about NTP and sync-clients)
Line 36: Line 36:
 
== Important Notes ==
 
== Important Notes ==
 
When using a subdomain (like cloud.example.xxx), make sure it is covered by your certificate. Otherwise, connection via the owncloud client or webdav might fail.
 
When using a subdomain (like cloud.example.xxx), make sure it is covered by your certificate. Otherwise, connection via the owncloud client or webdav might fail.
 +
 +
If you are planning on using OwnCloud's [http://owncloud.org/sync-clients/ sync-clients], make sure to have [[Network_Time_Protocol_daemon|NTP]] installed and running on your OwnCloud server, otherwise the sync-clients will fail.

Revision as of 09:00, 30 July 2012

ownCloud is a software suite that provides a location-independent storage area for data (cloud storage).

Installation

owncloudAUR is available in the AUR.

  1. First of all set up the LAMP stack as described in the corresponding Wiki article.
  2. Install the owncloudAUR package as described in AUR#Installing_packages.
  3. Add the following lines into /etc/httpd/conf/httpd.conf:
 Include /etc/httpd/conf/extra/owncloud.conf
 LoadModule php5_module modules/libphp5.so
 Include conf/extra/php5_module.conf

Uncomment extensions in /etc/php/php.ini

 gd.so
 xmlrpc.so
 zip.so
 iconv.so

Depending on which database backend you are going to use uncomment either one of the following extensions in /etc/php/php.ini

 sqlite.so
 sqlite3.so
 pdo_sqlite.so

OR

 mysql.so
 mysqli.so
 pdo_mysql.so

now restart the apache server with:

 # rc.d restart httpd

and open http://localhost in your browser. You should now be able to create a user account and follow the installation wizard.

Custom configurations

With the default configuration ownCloud only allows the upload of filesizes less than 2MB. This can be changed by changing the following line in /etc/php/php.ini to your liking.

As of version 4.0 this is no longer necessary! The maximum upload size is now set via the ownCloud gui

 upload_max_filesize = 2M

Important Notes

When using a subdomain (like cloud.example.xxx), make sure it is covered by your certificate. Otherwise, connection via the owncloud client or webdav might fail.

If you are planning on using OwnCloud's sync-clients, make sure to have NTP installed and running on your OwnCloud server, otherwise the sync-clients will fail.