blog-image

Aug 16, 2024

10 min read

How to Install Nextcloud on Ubuntu 24.04 with Snap and Let’s Encrypt

Written by

Abdelhadi Dyouri
Ready to install Nextcloud on Ubuntu 24.04 with Let's Encrypt? In this tutorial, I'll simplify this process and provide you with clear instructions to set up and configure your server with Nextcloud using the Snap package manager. Nextcloud on Ubuntu 24.04 with Let's Encrypt 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.

Installing Nextcloud on Ubuntu 24.04 with Let's Encrypt

To install Nextcloud on Ubuntu 24.04 with a Let's Encrypt certificate, you'll first update the package index, use the Snap package manager to install Nextcloud, then configure a Nextcloud administrative account using the command line. Finally you'll set up Let's Encrypt using the nextcloud.enable-https command.

Note

If you want to skip all the technical steps of setting up Nextcloud on your server and have it installed in minutes, you can use our tried and tested 1-click Nextcloud application. Just choose a server, and while prompted to choose the operating system, choose Nextcloud from the dropdown menu. This will set up Nextcloud in minutes! However, if you prefer to get your hands dirty, keep reading.

Prerequisites

To follow this tutorial, you'll need:
  • An Ubuntu 24.04 server with a non-root user with sudo privileges.  If you haven't noticed, we offer extremely powerful Ubuntu servers at the globe's absolute lowest price. Take a look at our offerings and prepare for your mind to be blown 🤯.
Check out our How to access your server using SSH guide to learn how to access your server and create a sudo user.

Step 1: 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 on Ubuntu Using Snap

To install Nextcloud, we can take advantage of the Snap packaging tool for Ubuntu, which allows software organizations to publish software in a single package with all dependencies, configurations, and auto-updating features. Run the following command to install the Nextcloud snap package:
sudo snap install nextcloud
This will download and install
Continue reading this article
by subscribing to our newsletter.
Subscribe now

Leave a Reply