How to Install Nextcloud on Ubuntu?

Introduction to Next Cloud:

Next Cloud is an open-source self-hosted cloud platform, that allows users to store, synchronize, and share files securely. Its user-friendly interface and compatibility with various operating systems and servers which make it incredibly versatile and easily accessible. With Install Nextcloud, businesses can enjoy the convenience of cloud storage while retaining complete control over their valuable data.


Next Cloud Features and Capabilities:

Next Cloud offers a wide range of features and capabilities that make it a comprehensive solution for data storage. Some of the notable features include:

1. File Synchronization and Sharing: With Next Cloud, users can easily sync files across multiple devices, ensuring they always have access to the latest version of their documents from anywhere.

2. Collaborative Editing: Next Cloud allows multiple users to collaborate on documents in real-time, making it perfect for team projects and remote work.

3. Calendar and Contacts Integration: Next Cloud seamlessly integrates with popular calendar and contact management applications, making communication and scheduling more efficient.

4. External Storage Integration: Next Cloud supports integration with external storage providers, allowing businesses to utilize their existing storage solutions.

5. App Ecosystem: Next Cloud offers a wide range of third-party apps and integrations, giving businesses the flexibility to customize the platform according to their specific needs.


How to Install Nextcloud on Ubuntu in VPS:

I have chosen Ubuntu as my preferred operating system for installing Next Cloud.

Before installing the Next cloud in Ubuntu, we have to update,

Command for Updating Ubuntu : apt-get update

apt-get update command

Install Nextcloud on Ubuntu Process:

To download the Next cloud snap package and install it on the system, type:

Install Nextcloud Command 1:

sudo snap install nextcloud

sudo snap command

After the installation Check the Status of Next Cloud,


Install Nextcloud Command 2:

snap info nextcloud

snap info

Adjust the trusted domain in Localhost,


Install Nextcloud Command 3:

sudo nextcloud.occ config:system:get trusted_domains

trusted_domains command

After that type the below mentioned command for fetch the trusted domain:


Install Nextcloud Command 4:

sudo nextcloud.occ config:system:get trusted_domains 1 — value=(your domain name)

trusted_domains with value command
After that add the A record for the website( Server IP Address and Host name)

Add A Record for install nextcloud


Logging to Next cloud Web Interface:

Example :

Install Nextcloud Interface

We can set username password in the login page or we can use the below command to set username and password. But if we have created a password using the terminal, we have to use the username password as what we have given in the terminal.

Securing the Nextcloud Web Interface with SSL:

Command 1 : sudo ufw allow 80,443/tcp

sudo ufw allow command
Next, request a Let’s Encrypt certificate by typing:

Command 2: sudo nextcloud.enable-https lets-encrypt

To start and stop the Next cloud on Ubuntu:


  • snap start nextcloud
  • snap stop nextcloud

Embracing the Future of Data Storage with Next Cloud:

Next Cloud presents an innovative solution to the obstacles presented by conventional data storage solutions. Its adaptability, cost-effectiveness, and strong security measures make it an optimal choice for businesses of all scales. By adopting Next Cloud, businesses can safeguard their data storage infrastructure for the future and unlock the complete potential of cloud storage.