ownCloud

From DreamHost
Jump to: navigation, search


Overview

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.

This page describes how to set up OwnCloud on your website.

Important icon.png Warning: Please be aware of the following:


How to install ownCloud

Using the Web Installer

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 can 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. You can also run the following command via SSH to download it to your server:
    wget https://download.owncloud.com/download/community/setup-owncloud.php
  2. After you download the file, use the FTP article to upload setup-owncloud.php to your server in the proper domain directory.
  3. Point your web browser to example/setup-owncloud.php
    01 Owncloud.fw.png
  4. Click the Next button, and then follow the instructions to configure ownCloud.
  5. Log into your newly created ownCloud instance.

Installing manually

  1. Download the latest .tar.bz2 archive from ownCloud’s download page.
  2. Make sure to adjust the following command to the version you’ve chosen to download, and then run the following command via SSH:
    wget https://download.owncloud.org/community/owncloud-8.0.3.tar.bz2
  3. Decompress the following file:
    tar xvjf owncloud-8.0.3.tar.bz2
    This creates a new subdirectory called /owncloud in the same directory you ran the command.
  4. Point your browser to that new /owncloud folder, which most likely appears as example.com/owncloud.
    001 owncloud manual install.fw.png
  5. Enter a username and password, and then click the Finish setup button.

Recommended settings

  • Set your domain to use PHP5.5 or higher. View the Changing PHP version article for further details.
  • Enable Secure Hosting which supports an SSL/secure site configuration. This is not required, but highly recommended to protect your data. A self-signed certificate is also free when created in the panel.

Connecting to DreamObjects

You can use ownCloud to store all your files on DreamObjects and never run out of space. This also helps you to avoid running afoul of DreamHost terms and conditions on personal storage.

The following article walks you through how to connect to DreamObjects:

Further information

Android mobile clients

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

Calendar, address book, todo

File sync

  • ownCloud – With this app you can access the server and perform basic tasks such as 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. Be careful 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).

Troubleshooting

  • Though the web interface will work upon installation, in order to be able to access and modify your files through WebDAV you must make a few changes to your .htaccess file by adding the following lines right at the end of the file:
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
  • 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://example.com.) Instead, you'll have to add the www. to the front of the URL.