Show Categories
Categories
This guide provides a straightforward approach to installing the latest version of Nextcloud, a self-hosted productivity platform, on an Ubuntu server. Nextcloud Hub 6 (27.1.3) offers file hosting, collaboration, and more, with the flexibility of a private server.
A server running Ubuntu 20.04 LTS or later.
Basic familiarity with the command line interface.
Follow these steps to install Nextcloud Hub 6 (27.1.3) on your Ubuntu server:
Ensure your server's package list and the system itself are up to date:
Install Apache, which will serve your Nextcloud files:
Nextcloud requires PHP to run. Install PHP along with the necessary modules:
Install MariaDB, a database server to store Nextcloud data:
First, log in to the MariaDB shell:
After logging in, create a database for Nextcloud and a user with the desired credentials:
Before downloading Nextcloud, make sure you have unzip installed to extract the downloaded file:
Unzip the Nextcloud package to the web root directory and set the correct permissions:
Create an Apache configuration file for Nextcloud:
Insert the following configuration and save the file:
Enable the new site and rewrite module:
Open your web browser and navigate to http://your_server_ip/nextcloud. Complete the setup by providing the following information:
Admin account details: Choose a username and password for the Nextcloud administrator CD account.
Data folder: Confirm the path to the data folder where Nextcloud will store its files.
Database configuration: Enter the credentials for the database user and name you created earlier. Use localhost for the database host unless your database is on a different server.
After entering the details, click the Finish setup button to complete the installation and then navigate to http://your_server_ip/nextcloud/index.php/login if you didn’t redirect automatically.
You now have a running instance of Nextcloud Hub 6 (27.1.3) on your Ubuntu server. Begin by exploring the dashboard and configuring your Nextcloud environment to suit your personal or business needs. If you need any more information or further assistance, feel free to contact our support team by submitting a ticket.
Operating Systems
Locations
Resources