How To Install Nextcloud In Ubuntu 16.04 LTS
Thanks to: https://www.ostechnix.com/
How To Install Nextcloud In Ubuntu 16.04 LTS
Nextcloud is a free, open source, cross-platform file synchronization and sharing application. It is forked from popular cloud sync tool Owncloud. It allows you to securely sync and share files, folders, contacts, calendar appointments, bookmarks, and emails across multiple devices. It comes with easy to use web-based interface, so that you can access your files using a web browser, from anywhere, from any device, online or offline(Local area network). You can use it either in your home, office, and as well as large enterprises. It simply turns your system into a robust, and secure Cloud platform in minutes. Just store your files in your server, and start accessing them immediately from any devices using Nextcloud / ownCloud Desktop Sync Client, Android app, or iOS app. Nextcloud is available as free and enterprise version, which contains additional features like direct email, phone support from Nextcloud team, audio and video conferencing support, clustering support, migration from Owncloud support, and many. For more details, refer Nextcloud enterprise subscription link.
In this step by step tutorial, we will see how to install Nextcloud and how to use it in real time in Ubuntu 16.04 LTS server edition. Also, we will see how to access Nextcloud from a mobile device.
Install Nextcloud in Ubuntu 16.04 LTS
First things first
First of all, make sure your Ubuntu server is updated to the most recent version.
To do so, run:
Then, deploy LAMP stack in your Ubuntu server as described in the following link.
Next, make sure you have installed the following php modules and some additional prerequisites:
Then, We need to tweak some php settings in order to make Nextcloud work properly.
To do so, edit php.ini file:
Find and edit or modify the following values.
Save and close the file. Restart Apache service to take effect the changes.
Create database for Nextcloud
Next we need to configure a database and database user for Nextcloud. For the purpose of this tutorial, we will create a new database called “ncdb”, database user “ncuser” with password “ubuntu”. I recommend you to use any strong password which is not easy to guess by others.
Log in to mysql prompt using command:
Enter the following commands one by one to create the database, database user:
Download Nextcloud
Head over to the following link and download the latest available Nextcloud version.
Or, Simply use the following command to download it.
As of writing this guide, the latest version was 10.0.0.
Then, Extract the downloaded zip with command:
Move the extracted folder to your web root directory i.e /var/www/html/ in our case.
Set the proper ownership permission to the nextcloud directory:
Next, create a /etc/apache2/sites-available/nextcloud.conf file:
Add the following lines. Replace the path (/var/www/html/nextcloud/) with your own path values.
Save and close the file.
Then create a symlink to /etc/apache2/sites-enabled/ directory using the following command:
For Nextcloud to work correctly, we need to enable the following Apache modules.
Finally, restart Apache service to take effect the changes:
Start Nextcloud web installer
Open up your web browser and navigate to URL: http://IP_Address/nextcloud or http://domain_name/ nextcloud.
You should see the following screen. Create a new admin account, enter database user name, password, and database name. Finally, click Finish setup button.
Congratulations! Nextcloud is ready to use.
Comentarios
Publicar un comentario
Dime si la información de este blog te sirvio.