In previous posts, we’ve covered deploying ownCloud on Cloud9 and OpenShift, ownCloud was presented as an open source and free alternative to DropBox, Google Drive, and OneDrive, now ownCloud has been forked by its creators and the new project is called Nextcloud and it’s going to be covered by this post.
This post will present a step by step guide on how to install Nextcloud for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of NextCloud on Cloud9 as the free tier isn’t designed for that intended purpose. Now, and without further ado let’s dive into the tutorial.
Prerequisite
First, you’ll need to sign-up for the free tier of Cloud9.
Installation
Step One
After signing up and confirming your email, you’ll be directed to your dashboard, just click on the “Create a new workspace” plus sign.
Step Two
You’ll be directed to a new window where you should set up your workspace, select the “php” option and then create the workspace.
Step Three
You’ll then be directed to your workspace, in the terminal just download the latest release of NextCloud “web installer” using “wget”, at the time of writing this post it should be as follow;
Wget https://download.nextcloud.com/server/installer/setup-nextcloud.php
Step Four
After the unzip is complete just click on the “Run Project” arrow, then click on the “Preview”, tab and then the installation window will appear in a browser like a side window.
Step Five
Now, click on the “setup-nextcloud.php” link as seen n the screenshot below to start the installation process.
Step Six
In the first installation window, just hit the “Next” tab.
Step Seven
In the next step, you’ve to select the installation directory, just leave it as Nextcloud and click the “Next” tab.
Step Eight
The final window of the installation process will prompt you with the congratulations message, just click on the “Next” tab.
Step Nine
In the following step, you’ll be directed to the login window where you should create your admin username and password, create these two credentials and log in. Pease, note that you’ll be using SQLite for this installation, if you want to use MySQL then select it from the storage and database menu, root for the database username, and c9 as the database name, 0.0.0.0 as hostname and leave the database password empty.
Congratulations, you now have a fully functional installation of Nextcloud on Cloud9, as it’s been advised above this installation should be for development purposes only and not for production.