Nextcloud Server Quick Start for Ubuntu 16.04 Xenial
Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with Nextcloud Server 11.x on Ubuntu 16.04 Xenial Xerus LTS 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.
-
Open a Shell session
Ctrl+Alt+t to open a Terminal emulator on Desktop
(Press “Enter” to Execute Commands) -
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
-
Enable Apache mod_rewrite.
sudo a2enmod
-
Download Nextcloud Server for Ubuntu GNU/Linux
-
Double-Click on Nexcloud Server Archive
Extract into /tmpOr from Shell:
unzip -d /tmp/ ~/Downloads/nextcloud*.zip
-
Set Nextcloud Server Ownership
sudo chown -R www-data:www-data /tmp/nextcloud
-
Relocate Nextcloud Server.
sudo cp -r /tmp/nextcloud /var/www/
-
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 :)
-
Enabling Nextcloud Apache Virtual Host.
cd /etc/apache2/sites-enabled
Symlinking to Enable the New Host:
sudo ln -s ../sites-available/nextcloud.conf .
-
Restart Apache and Test the Installation ;)
sudo service apache2 restart
-
How to Install Nextcloud Desktop Client on Ubuntu