Cloud services have long become commonplace among home users, thanks in part to the success of Google apps and services like Dropbox. However, the shadow of insecurity always surrounds these services and makes many users, for fear of not sharing their data, do not use these services.
Thanks to Ubuntu and a software called Nextcloud we can have a private cloud, as efficient as the Google cloud or Dropbox but where all the data belongs to us and there will be no one "watching" us. This project will be free or at least almost free, since the software has no cost but we need to have our own server that will have its cost.
Nextcloud has a snap application for its installation, something that makes installation much easier, but the difficulty is that a series of dependencies and packages are needed that we have to comply with for Nextcloud to work. Of course, since we need a server, we need to have LAMP technologies previously. To install the dependencies, we open a terminal and type the following:
sudo apt-get install apache2 mariadb-server libapache2-mod-php7.0 sudo apt-get install php7.0-gd php7.0-json php7.0-mysql php7.0-curl php7.0-mbstring sudo apt-get install php7.0-intl php7.0-mcrypt php-imagick php7.0-xml php7.0-zip
Now we can install Nextcloud as follows:
sudo snap install nextcloud
Now that we have installed Nextcloud, we have to configure the server for its correct operation. For this we have to modify Apache. First we have to install certain Apache modules that we need to have for Nextcloud to work correctly:
a2enmod rewrite a2enmod headers a2enmod env a2enmod dir a2enmod mime
Now we restart the server with the following command:
service apache2 restart
After this, the Nextcloud software would be ready to work on the server or rather, it would be working on our server. The package that we have installed is the base of Nextcloud, now we have to install the functions we want such as mail, calendar, notes, etc ... These add-ons are found in the official Nextcloud page. And don't forget that Nextcloud has mobile apps that we can use and connect to our cloud server.
More information - Nextcloud Manual
"For fear of not sharing your data"?
On the contrary, the fear we have is to share them, our fear is that they will be shared and within the reach of anyone on the internet. FOR THIS is that we will test the «Next Cloud» as you indicate here, thank you!