Knowledge Base

How to install ownCloud using the A2 QuickInstaller

This article describes how to use the A2 QuickInstaller to install ownCloud on your system.

The A2 QuickInstaller is no longer supported, and is only available on older VPS hosting packages. On newer VPS hosting packages, you can use Webuzo to quickly and easily install a wide range of applications and manage your server.

To check if the A2 QuickInstaller supports this application for your Linux distribution, please see this article.

Installing ownCloud

To install ownCloud, follow these steps:

  1. Use SSH to log in to your system as the root user.
    To use the A2 QuickInstaller, you must log in as the root user using SSH. You cannot use the serial console in the VPS Control Panel to run the A2 QuickInstaller.
  2. To start the A2 QuickInstaller, type the following command, and then press ENTER:
    sh /usr/sbin/quickinstaller.sh
  3. Under Application Installers, type the option number for Web/Application Servers, and then press ENTER.
  4. On the Web/Application Server Menu, type the option number for OwnCloud, and then press ENTER. The A2 QuickInstaller updates your system, and then begins the installation process.
    The installation process takes some time to complete. Do not interrupt the installation process.
  5. When installation is complete, the A2 QuickInstaller displays information about how to access ownCloud and other configuration information.

Configuring ownCloud

Increasing file upload limits

Many people use ownCloud as a repository to store files. Because ownCloud runs PHP scripts, its file size upload limits are defined by the system-wide PHP configuration. PHP often has small file upload limits in place to prevent memory overload, but these limits may be too small for uploading large files into your ownCloud repostitory.

To change the PHP file upload limits:

  1. Locate the php.ini file. The php.ini file location depends on which Linux distribution is installed on your system:
    • CentOS and Fedora: The php.ini file is located in the /etc directory .
    • Debian and Ubuntu: The php.ini file is located in the /etc/php5/apache2 directory.
  2. Open the php.ini file, and edit the following settings:

    • upload_max_filesize: This setting defines the maximum file size, in megabytes, that a user can upload.
    • post_max_size: This setting defines the maximum amount of POST data, in megabytes, that a user can submit.
  3. If you experience timeouts or memory errors when uploading large files, you may need to adjust the following php.ini settings as well:

    • memory_limit: This setting defines the maximum amount of memory, in megabytes, that a script can use.
    • max_execution_time: This setting defines the maximum execution time, in seconds, for a script.
    • max_input_time: This setting defines the maximum amount of time, in seconds, that a script can spend to parse request data.
Themes

You can customize the appearance of your ownCloud installation by using different themes. However, the ownCloud theme files are not accessible through the ownCloud web interface. You must log in to your server using SSH or SFTP to view and modify theme files. The location of the ownCloud theme files depends on which Linux distribution you have installed:

  • CentOS and Fedora: The theme files are located in the /var/www/html/owncloud/themes directory.
  • Debian and Ubuntu: The theme files are located in the /var/www/owncloud/themes directory.

See the More Information section below for additional information about ownCloud themes.

Using the ownCloud Sync Client

You can install the ownCloud Sync Client to keep a local folder on your desktop synchronized with your ownCloud file repository. The ownCloud Sync Client is available for a wide variety of operating systems. To download the ownCloud Sync Client, please visit http://owncloud.org/sync-clients.

The A2 QuickInstaller currently installs ownCloud version 4.5. Therefore, you should download the Sync Client version 1.0.5 for previous ownCloud versions.

By default, the ownCloud installation is not configured to use secure connections (that is, URLs that begin with https://). Therefore, when you use the Sync Client to create an initial ownCloud connection, you should clear the Use secure connection check box.

Also, ownCloud uses file timestamps to synchronize files. To keep the file timestamps on your local computer and remote server the same, the time zones must be the same as well. Additionally, your local computer's clock should be synchronized with a network time server to ensure that timestamps are accurate. If you need further assistance, please open a support ticket with our Guru Crew on the Customer Portal at https://my.a2hosting.com.

More Information