Create your personal Cloud Storage Server with Nextcloud

Create your own Nextcloud Server

Create your personal Nextcloud server

It is rather straightforward to have your records accessible in all places, at any time, these days. There are various cloud storage suppliers that make this service accessible to anybody. Nevertheless, records safety isn’t the one causes to have the entire thing below management.
All you want is a steady server with a very good connection, add and obtain, and adequate house for all records, in addition to a site that factors to your personal server. It is suggested to make use of Ubuntu 16.04 LTS because the working system. It’s free, straightforward to make use of, and really appropriate with the most recent software program.
Moreover, there’s a giant collection of software program that allows the creation of a cloud storage server with Ubuntu. One doable software program answer is known as Nextcloud. This text explains tips on how to set up and arrange a Nextcloud Server on Ubuntu.

Making ready your Server

Firstly, you have to connect with your Ubuntu Server through ssh, or simply open a terminal if bodily entry is feasible. With gridscale you can too join through VNC, so that you don’t want to permit ssh connections to your server.
After this, some conditions should be fulfilled. A LAMP stack should be put in and encrypted, we advise utilizing Let’s Encrypt. When you need assistance putting in a LAMP stack, the next article will assist: LAMP auf Ubuntu 16.04 installieren

Earlier than we begin, there are some things that must be put in manually. Nevertheless, earlier than this may occur, the server must be up to date with the next command:

apt -y replace && apt -y improve && apt -y dist-upgrade

Then set up the next packages and extensions with this command:

apt -y set up php-mbstring php php-zip php-xml php-common php-gd php-curl

The server is then able to proceed with the set up.

Set up Nextcloud

Sadly, Nextcloud doesn’t at the moment supply a package deal for set up through APT. Due to this fact it’s essential to obtain the most recent model (at the moment model 12.0.0) instantly from the producer web page.

You should use wget to load the archive on to the server:


You’ll need to extract the archive by utilizing unzip:


If unzip is just not put in on the server, you are able to do so with the next command:

apt -y set up unzip

Then you will want to maneuver the extracted folder into the correct location:

mv ./nextcloud/* /var/www/html

Now you have to change the permissions to the folder nextcloud:

chown -R www-data:www-data /var/www/html

After this, please test if all needed plugins are put in efficiently just by putting in them once more. If all of them are in place, Ubuntu will let you know “nothing is to do”, in any other case it’s going to set up the plugins.

apt-get set up libapache2-mod-php7.0 php7.0-gd php7.0-json php7.0-mysql php7.0-curl 
apt-get set up php7.0-mbstring php7.0-intl php7.0-mcrypt php-imagick php7.0-xml php7.0-zip

Nextcloud is then accessible through the area. If a vhost has been created for Nextcloud or it’s run in a subfolder, the second a part of the command should be modified in order that the recordsdata are copied to the right listing.
Warning! If an online web page is already operating on this server, the content material in /var/www/html shall be overwritten by the transfer.

Making a Database for Nextcloud

With a purpose to create a database for Nextcloud, you need to go surfing to your personal MySQL server as root:

mysql -uroot -p

You possibly can then create a database for Nextcloud:

create database nextcloud;

Then create a database person for Nextcloud and grant the mandatory rights:

create person [email protected] recognized by ‘my_password’;
grant all privileges on nextcloud.* to [email protected];
flush privileges;

Now you can exit MySQL:


Configuring your Nextcloud server

Open your area with a browser. The next display ought to seem:

Nextcloud Installer

Enter the next info from the highest down:

Username: Select any username for the admin account. “Admin”, “root” or related must be prevented with a purpose to not make it straightforward for attackers.

Password: Select a password. It ought to have a minimum of 8 characters and encompass decrease and higher case letters, in addition to a minimum of one quantity and one particular character.

Knowledge listing: Choose the trail to the folder the place the information must be positioned. Right here, it could be handy to position it on one other disk if the disk house on the primary disk is just too small. If just one disk is linked to the server, the default setting could be left untouched.

Database-Person: “nextcloud” (As acknowledged within the final step)

Database-Password: “my_password” (As acknowledged within the final step)

Database-Title: “nextcloud” (As acknowledged within the final step)

Server: “localhost”

Then click on “Finish installation”.

Nextcloud is now put in. Hyperlinks to the cell apps are proven on the first begin. You possibly can then create further customers and create a folder construction in keeping with your wants.


With Nextcloud, it is rather straightforward to create your personal storage server. So you could have a central location for recordsdata and media and might retrieve it from all units. There are not any further prices, other than the prices for the server itself and, if needed, connection charges for the supplier.

Why not attempt it? With gridscale you possibly can arrange a server inside a couple of seconds and rebuild the tutorial. Because of the accurate-to-the-minute billing, no operating instances or related happen. And the efficiency of the server speaks for itself.

Zurück zur Tutorial Übersicht Again to Tutorial Overview

Leave a Reply

Your email address will not be published. Required fields are marked *