How To Install and Configure Nextcloud on Debian 11

How To Install and Configure Nextcloud on Debian 11
Nextcloud is an open source platform that offers a modern content collaboration platform for managing your files, with capabilities such as real-time document editing, video chat & groupware on mobile, desktop and web. Nextcloud is similar to Dropbox and Google Drive, and was forked from the ownCloud open source software by some of the original ownCloud developers.
In this tutorial, you will install and configure Nextcloud on your Debian 11 server.
Prerequisites
- A Debian 11 server with root access or a
sudo
user. You can get one from our website, and you can follow our Connecting to your VPS with SSH and improving security guide to connect to your server via SSH and set up a sudo user.
Step1: Updating the Package Cache
Start by updating the packages in the package manager cache to the latest available versions using the following command:
sudo apt update
Step 2: Installing Nextcloud
To install Nextcloud, we can take advantage of the Snap packaging tool, which allows software organizations to publish software in a single package with all dependencies, configurations, and auto-updating features.
First, install the Snap packaging tool with the following command:
sudo apt install snapd -y
Run the following command to install the Nextcloud snap package:
sudo snap install nextcloud
This will download and install Nextcloud on your system, and you will receive an output similar to the following:
nextcloud 25.0.2snap1 from Nextcloud✓ installed
To confirm that the installation was successful, run the following command:
snap changes nextcloud
You should receive the following output:
ID Status Spawn Ready Summary
2 Done today at 14:57 UTC today at 14:58 UTC Install "nextcloud" snap
For more information on the Nextcloud package, you can use the following command:
snap info nextcloud
This will give you information such as the publisher, contact information, commands, services, and other metrics.
Step 3: Configuring your Nextcloud Administrative Account
Although you can configure your
by subscribing to our newsletter.
Like what you saw? Subscribe to our weekly newsletter.