1. Nextcloud is open source file sync and share software for everyone from individuals operating the free Nextcloud Server in the privacy of their own home, to large enterprises and service providers supported by the Nextcloud Enterprise Subscription. Nextcloud provides a safe, secure, and compliant file synchronization and sharing solution on servers that you control.
2. This post shares screen shots of my installation of the same in UBUNTU 16.04 LTS.The screen-shots are self explanatory along with the command sets available for direct lift if one is interested.
Reference help of this post : https://www.facebook.com/expertresearcher
Video post of this at https://www.youtube.com/watch?v=nXr_muYB6xI
Here's my ip address configuration as set on the virtual machine Ubuntu.
> apt-get update
> apt-get install lamp-server^
apt-get install libapache2-mod-php7.0 php7.0-mbstring php7.0-curl php7.0-zip php7.0-gd php7.0-mysql php7.0-mcrypt
apt-get install php-xml
https://nextcloud.com/install/ and download the zip file for nextcloud installation.This one is version 10
> unzip nextcloud-10.0.0.zip
mv nextcloud /var/www/html
> chown -R www-data:www-data /var/www/html/nextcloud
Now we need to Configure MariaDB for this vide these commands as mentioned :
Type Yes for all except may be root password which u might want to retain.
CREATE DATABASE nextcloud;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost' IDENTIFIED BY 'anupam';
Add the following three lines at the end:
log-bin = /var/log/mysql/mariadb-bin
log-bin-index = /var/log/mysql/mariadb-bin.index
binlog_format = mixed
> sudo a2enmod rewrite
> touch /etc/apache2/sites-available/nextcloud.conf
> ln -s /etc/apache2/sites-available/nextcloud.conf /etc/apache2/sites-enabled/nextcloud.conf
> nano /etc/apache2/sites-available/nextcloud.conf
Add the following:
allow from all
CustomLog /var/log/apache2/your-domain.com-access_log common