How-to Install Nextcloud Server on Ubuntu 16.04 Xenial LTS

May 11th, 2017 by thelinuxevangelist

Nextcloud Server Quick-Start for Ubuntu 16.04 Xenial




Hello Ubuntu User! This Tutorial Shows You Step-by-Step How-to Install and Getting-Started with Nextcloud Server 11.x on Ubuntu 16.04 Xenial Xerus LTS 32/64bit GNU/Linux.

The Nextcloud Server Installation on Ubuntu Require a Web Server with PHP, some PHP Modules and a Database like MySQL/MariaDB.

Then You can share one or more files and folders on your computer, and synchronize them with your Nextcloud Server.

With Nextcloud you pick a server of your choice, at home, in a data center or at a provider. And that is where your files will be. Nextcloud runs on that server, protecting your data and giving you access from your desktop or mobile devices.

Nextcloud Server Quick-Start for Ubuntu 16.04 Xenial - Featured
  1. Open a Shell session
    Ctr+Alt+t to open a Terminal emulator on Desktop
    (Press “Enter” to Execute Commands)

    Nextcloud Server Quick-Start for Ubuntu 16.04 Xenial - Open Terminal Shell Emulator
  2. Install Required Packages

    sudo apt install apache2 mariadb-server libapache2-mod-php7.0 \
    php7.0-gd php7.0-json php7.0-mysql php7.0-curl php7.0-mbstring \
    php7.0-intl php7.0-mcrypt php-imagick php7.0-xml php7.0-zip
    
  3. Enable Apache mod_rewrite

    sudo a2enmod
  4. Download Nextcloud Server for Ubuntu GNU/Linux

    Get Nextcloud Server .zip
  5. Double-Click on Nexcloud Server Archive
    Extract into /tmp.

     - Extraction

    Or from Shell:

    unzip -d /tmp/ ~/Downloads/nextcloud*.zip
  6. Set Nextcloud Server Ownership

    sudo chown -R www-data:www-data /tmp/nextcloud
  7. Relocate Nextcloud Server

    sudo cp -r /tmp/nextcloud /var/www/
  8. Making the Nextcloud Apache Virtual Host

    sudo nano /etc/apache2/sites-available/nextcloud.conf

    Append something like:

    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
    
     Satisfy Any
    </Directory>
    

    Ctrl + x to Save and Exit from nano :)

  9. Enabling Nextcloud Apache Virtual Host

    cd /etc/apache2/sites-enabled

    Symlinking to Enable the New Host:

    sudo ln -s ../sites-available/nextcloud.conf .
  10. Restart Apache and Test the Installation ;)

    sudo service apache2 restart
  11. How-to Install Nextcloud Desktop Client on Ubuntu

    Nextcloud Client Ubuntu Installation
(Visited 48 times, 1 visits today)
Share on Tumblr

Tags: , , , , , , , , , , , , , , , , , ,


Comments are disabled