Here is a guide on how to install the free and open-source (FOSS) “Dropbox” alternative. We will install Owncloud on a MySQL / Apache / Ubuntu server which is the most commonly used way of using Owncloud.
The Owncloud organization provides an Enterprise server which will bring you mobile branding and support. The base of the product Owncloud Server (Community Edition) is FOSS. The community is active and provides good working apps for common tasks.
On the Owncloud website you can find the Owncloud client to install on your computer (Windows / MacOS / Linux) and the links to the tablet/smartphone clients.
1. Update your server to the latest version
2. Install the Apache web server
3. Install PHP and the PHP modules on the Ubuntu 14.04 server
4. Install your MySQL Server and secure the MySQL server
By default the MySQL server isn’twell secured. With the mysql_secure_installation script the server will be more secure. Some thing the script does: disallow remote login, remove test database, set root password.
5. Create the MySQL owncloud user and database
Enter the MySQL command line with your (mysql) root user and password
Create user and Database within the MySQL command line. Choose your own password for the owncloud user in the following sample.
6. Install Owncloud
Download and unpack the latest from the owncloud website
Set the permissions on the unpacked files
7. Configuring Apache
Edit the default apache config file (or create your own)
Add the following in the file just before </VirtualHost>
Restart the apache daemons or just the whole server.