From DreamHost
Jump to: navigation, search
Please be aware that by using this software, you may be violating our policies. Please make sure you review our Acceptable Use Policy (Personal Backups)

What is ownCloud?

ownCloud is a free and open-source web application for data synchronization that:

  • provides universal access to your files via the web, your computer, or your mobile devices — wherever you are.
  • provides a platform to easily view and sync your contacts, calendars, and bookmarks across all your devices and enables basic editing directly from the web.
  • works with shared hosting, but functions better with more memory. A Web VPS with at least 512MB of memory is recommended.

Installing ownCloud

The following instructions use the Web Installer method to install ownCloud. It is the easiest installation method since it checks dependencies, sets permissions, and downloads the latest version. You then complete the installation from your browser. If you encounter problems using the web installer, you can also download the tar.bz2 file from the Server Installation instructions and extract it to the desired location.

  1. Right-click here and save the file to your computer
  2. Upload setup-owncloud.php to your server in the proper domain directory.
  3. Point your web browser to your-domain/setup-owncloud.php
  4. Follow the instructions and configure ownCloud.
  5. Login to your newly created ownCloud instance.

Recommended Settings

Basic Settings

  • PHP 5.4
  • Enable SSL/secure site configuration as required/desired (HIGHLY RECOMMENDED)
º Self-signed certificates are free and can be obtained via the DreamHost Web Panel

Advanced Settings

You'll likely notice a few things when you visit the Admin settings for the first time: there's an error about a missing "fileinfo" extension (this is a php module that tries to guess the content type and encoding of a file) and the file upload limit is pretty small. Let's fix that!

  1. Log into your hosting machine using a terminal and create a phprc file to override some of the default php.ini settings:
    mkdir -p ~/.php/5.4
  2. Create ~/.php/5.4/phprc with the following:

    On Shared
     upload_max_filesize = "64M"
     post_max_size = "64M"
     max_execution_time = "500"
     max_input_time = "500"
     ;;; Extensions
     extension = fileinfo.so

    On a Web VPS

     memory_limit = "256M"
     upload_max_filesize = "128M"
     post_max_size = "128M"
     max_execution_time = "500"
     max_input_time = "500"
     ;;; Extensions
     extension = fileinfo.so
  3. Either force PHP to reload its configuration file for changes to take effect using the following shell code, or by waiting several minutes (if needed):
    killall php54.cgi

Connect to DreamObjects

Store all your files on DreamObjects and never run out of space (and avoid running afoul of DreamHost terms and conditions on personal storage)!

Helpful Information and Links

Android Mobile clients

All these apps are free, open-source, available through the F-Droid app manager.

Calendar, address book, todo
DavDroid (also see the configuration documentation) - Two-way Calendar, Address book sync.
File sync
OwnCloud - With this app you can access the server and perform basic tasks like moving files and uploading multimedia (including wifi automatic pictures upload)
Music streaming
Just player - Comprehensive music player with unusual features such as sharing files over Android Beam (on Android 4). Streaming from OwnCloud server requires the Ampache plugin (see below). The versions with a 'b' at the end are designed to work on Android 2.1+, while the ones without b are for Android 4.0+ only. Take care not to accept an update without checking the version number.
Just Player Plugin: Ampache - This app allows you to add remote streaming functionality to Just Player, using an Ampache server e.g. via Owncloud.


  • Though the web interface will work upon installation, to be able to access and modify your files through WebDAV you must make a few changes to your .htaccess file, adding the following lines right at the end of the file:
    <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
  • Another issue that may come up is any domain redirects you have set up. For example, if you have CloudFlare configured for the domain that you have OwnCloud installed on, you can't use the URLs that the OwnCloud UI gives you for connecting to webdav (which are typically in the format http://yourdomain.com.) Instead, you'll have to add the www. to the front of the URL.