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
To install ownCloud, follow these steps:
- 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.
- To start the A2 QuickInstaller, type the following command, and then press ENTER:
- Under Application Installers, type the option number for Web/Application Servers, and then press ENTER.
- 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.
- When installation is complete, the A2 QuickInstaller displays information about how to access ownCloud and other configuration information.
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:
- 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.
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.
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.
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.
- Application Servers
You can use the A2 QuickInstaller to install a wide variety of application servers with just a few keystrokes. You can install a LAMP stack, nginx, and more.
- Apache, MySQL/MariaDB, and PHP
One of the first things many people install on a new system is a LAMP (Linux, Apache, MySQL or MariaDB, and PHP) stack. Learn how to install one quickly and easily using the A2 QuickInstaller here.
- Apache, PostgreSQL, and PHP
The LAPP (Linux, Apache, PostgreSQL, and PHP) stack is an alternative to the LAMP stack. You can install a LAPP stack using the A2 QuickInstaller.
- nginx, MySQL, and PHP
Installing nginx, MySQL, and PHP (a LEMP stack) on your system is easy with the A2 QuickInstaller.