OwnCloud is an open source software that enables private cloud services on users’ own servers and environments. Like DropBox and other cloud storage services, OwnCloud provides similar functions, and it’s free to download and install on your own servers without paying service providers.
This brief tutorial shows students and new users steps to install and configure OwnCloud on Ubuntu 17.04 / 17.10 Servers and host OwnCloud in your own environment.
In order to get OwnCloud installed, you must have the LAMP or LEMP stack enabled on your Ubuntu servers. We’ve written many good tutorials here on installing the LAMP stack. To learn how to install OwnCloud on your servers, follow the steps below:
To get started with installing OwnCloud, follow the steps below:
Step 1: Install Apache2
OwnCloud requires a webserver to function and the most popular webserver in use today is Apache2. So, go and install Apache2 on Ubuntu by running the commands below:
sudo apt install apache2
After installing Apache2, run the commands below to disable directory listing.
sudo sed -i "s/Options Indexes FollowSymLinks/Options FollowSymLinks/" /etc/apache2/apache2.conf
Next, run the commands below to stop, start and enable Apache2 service to always start up with the server boots.
Finally, configure Apahce2 site configuration file for OwnCloud. This file will control how users access OwnCloud content. Run the commands below to create a new configuration file called owncloud.conf
To load all the settings above, restart Apache2 by running the commands below.
sudo systemctl restart apache2.service
Then open your browser and browse to the server domain name followed by install. You should see OwnCloud setup wizard to complete. Please follow the wizard carefully.
You should then see OwnCloud setup page.. Connect to the database using the information you created and continue. Select the database server installed on your systems by clicking it as shown in the image below
Click Finish setup and you’re done.
Congratulations! You have successfully installed OwnCloud on Ubuntu `17.04 / 17.10