ownCloud installation on Centos 7

For some time, I’ve wanted to have a calendaring tool independent of Google Calendar, which has become a central tool to my productivity and a source of concern as to how much data profiling results from it.

This afternoon, I installed the open source ownCloud file storage, calendar and contacts suite on my Centos VPS. It was a straightforward exercise:

  • Create a subdomain on the server and switch it to use PHP 5.6. Add /dev/urandom to open_basedir in php settings.
  • Make a data folder behind the web root, chowned to the web user.
  • Create a MySQL database for the ownCloud service.
  • In the web root folder, get the software:

curl -O https://download.owncloud.org/community/owncloud-10.0.3.tar.bz2

  • Check the MD5 hash, chown and extract. Copy the extracted files into the root folder (be careful to include dotfiles, e.g. cp owncloud/* . and cp owncloud/.* .)
  • Visit the domain to configure the installation.

What this server now provides is an independent calendar service, contacts, and secure file storage, at no additional cost and under my own secure control.

3 thoughts on “ownCloud installation on Centos 7

  1. Great tutorial. Unfortunately the Owncloud calendar is dead. The developers of the Calendar plugin moved to the Nextcloud project now. Same as most other developers and community. So if you use Nextcloud instead of Owncloud then you get a better solution with more features and active development.

    • Thanks for that, I’ll have a look. Got any links to objective reporting of this and the reasons? Particularly why the NextCloud site claims that ownCLoud is proprietary software? Thank you.

  2. Thanks for the tip, @Cherly. A significant part of the ownCloud development team have indeed bolted and forked the ownCloud source to make a newer, better version of their server, called nextCloud. I moved to that, and it is indeed, better in a number of important respects, not least functioning apps for contacts and calendars. The installation process was almost identical, except for the sources (see below) and the choice I made to run it on PHP7.0.

    $ curl -O https://download.nextcloud.com/server/releases/nextcloud-12.0.3.tar.bz2
    $ curl -O https://download.nextcloud.com/server/releases/nextcloud-12.0.3.tar.bz2.md5

Comments are closed.