Installing Nextcloud on Ubuntu 25.04 using Snap

Nextcloud is an open-source, self-hosted file sync and share application that allows you to store, share, and access your files, calendars, contacts, and more from anywhere. It provides functionalities similar to popular cloud storage services like Google Drive or Dropbox but gives you full control over your data as it can be hosted on your own server.

Using Snap to install Nextcloud simplifies the process by handling dependencies and updates automatically. Here's how you can install Nextcloud using Snap on Ubuntu 25.04:

Login to Ubuntu 25.04 Server

Make sure you're logged into your Ubuntu 25.04 machine with appropriate privileges (preferably as root or using sudo).

Install Snapd

If you haven't already installed Snapd, you'll need to do that first.

Snapd is the service that manages snaps on your system. Install Snapd with the following command:

apt install snapd

Install Nextcloud

Once Snapd is installed, install Nextcloud by running:

snap install nextcloud

Output:

root@server:~# snap install nextcloud
2025-04-25T16:27:23Z INFO Waiting for automatic snapd restart...
nextcloud 31.0.2snap2 from Nextcloudâś“ installed

Configure Nextcloud

After the installation is complete, configure Nextcloud by opening a web browser and navigating to:

http://localhost

If you're on a remote server, replace localhost with your server's IP address:

http://your_server_IP

Complete the Setup

Once you access the Nextcloud setup page, you'll be prompted to create an admin account and configure the initial setup (username, password, data directory, database settings).

Enter your desired admin username and password.

You may also be prompted to install recommended apps. These are optional and can be skipped if desired.

Access Nextcloud

After completing the setup, you will land on the Nextcloud dashboard.

đź’ˇ Note: Make sure to secure your Nextcloud instance, especially if it is exposed to the internet. Use HTTPS, configure firewalls, set strong user authentication, and keep your system and Nextcloud up to date.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS