Nextcloud installation

Опубликовано: 22 Июль 2017
на канале: Cyber - Tech - Tips
4,144
40

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


Смотрите видео Nextcloud installation онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Cyber - Tech - Tips 22 Июль 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,14 раз и оно понравилось 4 людям.