How to install NextCloud cloud storage on Linux

Below is a thorough summary of just how to set up on an online web server (Linux) as well as set up the Nextcloud cloud storage space, attach it by means of the WebDAV procedure.

Storage Description

Nextcloud Data is cloud storage, its source code is open to the public, permitting users to integrate and share files. Differs in ease in advancement and also outstanding security. Organizations utilize this repository to acquire quick access to documents, images, and on the internet documents. The storage space can be made use of by the firm’s customers, its employees and partner firms. Amongst the features: the capability to deal with get in touches with, schedule occasions and also scheduler.

Nextcloud provides apps for the most popular platforms and a set of paid business packages.

What you need to download Nextcloud

In order for the storage installation to go smoothly, the virtual server must have the Centos 7 or Ubuntu operating system, and the user must have superuser rights.

In order to be able to use PHP functions, modules XML Writer, ctype, posix, JSON, zlib, XML Reader, mbstring, zip, Simple XML, libxml, GD and others are required.

How to install

Let’s take a look at how to download the repository on Ubuntu version 16. The procedure is the same for all distributions, only minor nuances differ.

To begin with, using wget, the archive folder from Nextcloud of the latest version is downloaded. For example, cloud storage 13.0.4 is taken:


You will need to download SHA265 or MD5 checksums:


Then you need to download the digital signature:


You can see if the checksums match with the following command (for MD5 and SHA256):

md5sum -c nextcloud-13.0.4.tar.bz2.md5 < nextcloud-13.0.4.tar.bz2
sha256sum -c nextcloud-13.0.4.tar.bz2.sha256 < nextcloud-13.0.4.tar.bz2

If all is well, the following line will appear:

nextcloud-13.0.4.tar.bz2: OK

Verification of a digital signature is carried out as follows:

gpg --import nextcloud.asc
gpg --verify nextcloud-13.0.4.tar.bz2.asc nextcloud-13.0.4.tar.bz2

Then the archive needs to be unzipped:

tar -xjf nextcloud-13.0.4.tar.bz2

And copy to the server directory:

cp -r nextcloud /var/www

How to write Apache configuration

The vi text editor creates a configuration file:

vi /etc/apache2/sites-available/nextcloud.conf

It writes:

Alias /nextcloud "/var/www/nextcloud/" <Directory /var/www/nextcloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud </Directory>

Please note that the directory path may be different.

A symbolic link is created:

ln -s /etc/apache2/sites-available/nextcloud.conf /etc/apache2/sites-enabled/nextcloud.conf

Modules connected:

a2enmod rewrite
a2enmod headers
a2enmod env
a2enmod dir
a2enmod mime
a2enmod setenvif

The next step is to change ownership:

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

To save the changes, you must restart the server:

service apache2 restart

How to connect to the repository through a browser

To connect to Nextcloud, you need to use an IP address. To create an administrator account, you will need to enter a username and come up with a long password. At the end, click on the “Finish Installation” button.

At the next step, the user will see a window with directories and files located in them. The interface is easy and understandable.

How to create users

To add another Nextcloud user, in the upper right window, click on the icon and find the “Users” item through the drop-down menu.

You will need to come up with a name for the new user and a password. Optionally, you can specify a group.

After creation, a new Nextcloud user will be displayed in the user table.

How to connect via WebDav

You can use the Cyberduck WebDAV client to connect to Nextcloud. The first step is to install the application, then go to the created connection. WebDAV is specified in the protocol column settings, the full address is recorded for the server (you can view it through the page settings in the browser).

80 is indicated as the port. After that, you need to enter the user data again.

After connecting, a new directory will appear in the window.


Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great success. Think of us as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and web hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!