Since Ubuntu 18.04 LTS was released… I have been testing it in my lab environment… and the steps below is how I got NextCloud installed with Apaches, MariaDB and PHP 7.1 Support…
NextCloud is a true open source, self-hosted cloud storage service and a fork of OwnCloud. Like DropBox and other cloud storage services, NextCloud provides similar functions and unlike the other proprietary storage services, NextCloud is free to use…
NextCloud enables private cloud services on users’ own servers. It’s a self-hosted file sync and share app platforms and with it you can access & sync your files, contacts and data across your devices.
This brief tutorial shows students and new users steps to install and configure NextCloud on Ubuntu 18.04 LTS Servers in your own environment.
To get started with installing NextCloud, follow the steps below:
Step 1: Install Apache2 HTTP Server
NextCloud needs a web server 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
After installing the commands below can be used to stop, start and enable Apache2 service to always start up with the server boots.
Finally, configure Apahce2 site configuration file for NextCloud. This file will control how users access NextCloud content. Run the commands below to create a new configuration file called nextcloud.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 NextCloud 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