Nextcloud is the flexible open source file synchronization and sharing solution.
The video showing how easy to install Nextcloud on Ubuntu 16.04 LTS Server, using MariaDB and Apache 2
On a machine running a pristine Ubuntu 16.04 LTS server, install the required and recommended modules for a typical Nextcloud installation, using Apache and MariaDB, by issuing the following commands in a terminal:
$ apt-get install apache2 mariadb-server libapache2-mod-php7.0
$ apt-get install php7.0-gd php7.0-json php7.0-mysql php7.0-curl php7.0-mbstring
$ apt-get install php7.0-intl php7.0-mcrypt php-imagick php7.0-xml php7.0-zip
Now download the archive of the latest Nextcloud version:
$ wget https://download.nextcloud.com/server...
Download its corresponding checksum file:
$ wget https://download.nextcloud.com/server...
Verify the MD5 sum:
$ md5sum -c nextcloud-12.0.0.tar.bz2.md5 (Angle brackets here) nextcloud-12.0.0.tar.bz2.md5
Extract the archive contents:
$ tar -xjf nextcloud-12.0.0.tar.bz2
Copy the Nextcloud directory to its final destination
$ cp -r nextcloud /var/www
You have to do is create a /etc/apache2/sites-available/nextcloud.conf:
$ nano /etc/apache2/sites-available/nextcloud.conf
Find it from the official web page cause YouTube no allow the Angle brackets search for :
----------filepaths with your own filepaths:
https://docs.nextcloud.com/server/11/...
-------
Then create a symlink to /etc/apache2/sites-enabled:
$ ln -s /etc/apache2/sites-available/nextcloud.conf /etc/apache2/sites-enabled/nextcloud.conf
For Nextcloud enable all the require modules mod_rewrite. Enable it by running:
$ a2enmod rewrite
$ a2enmod headers
$ a2enmod env
$ a2enmod dir
$ a2enmod mime
$ a2enmod setenvif
Restart the apache:
$ service apache2 restart
Enabling SSL:
$ a2enmod ssl
$ a2ensite default-ssl
change the ownership on your Nextcloud directories to your HTTP user:
$ chown -R www-data:www-data /var/www/nextcloud/
Apply changes:
$ service apache2 reload
Create the Cloud database
$ mysql -u root -p
$ CREATE DATABASE nextcloud;
$ GRANT ALL ON nextcloud.* to 'admin'@'localhost' IDENTIFIED BY 'passwordfornow';
$ FLUSH PRIVILEGES;
$ exit
Then go to your web browser and enter your IP address/nextcloud
On this page of the site you can watch the video online Nextcloud installation with a duration of hours minute second in good quality, which was uploaded by the user Cyber - Tech - Tips 22 July 2017, share the link with friends and acquaintances, this video has already been watched 4,144 times on youtube and it was liked by 40 viewers. Enjoy your viewing!