It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In RegisterIt looks like you're new here. If you want to get involved, click one of these buttons!
Nextcloud is an open-source cloud storage tool for sharing and hosting files. This tool is usually used the same way as other similar cloud-based tools, for example, Google Drive, Dropbox, ownCloud, and other similar cloud-based solutions.
This software is written in JavaScript and PHP, and it supports PostgreSQL, MySQL, SQLite, Oracle Database.
We already have a tutorial on how to install Nextcloud on CentOS 7 with MariaDB and PHP. However, we have prepared another for Ubuntu 20.04.
So in this tutorial, I will explain how to install Nextcloud 20 software on a server with an installed Ubuntu 20.04 operating system.
sudo apt update
sudo apt upgrade
sudo snap install nextcloud
The output message should look like this:
Nextcloud is being installed using the Snap packaging system, which is available on Ubuntu 20.04 by default. This packaging system allows installing wanted tools automatically with required packages.
snap changes nextcloud
The output should look like this:
Here is the command which you need to use for that:
sudo nextcloud.manual-install username password
Username and password you need to replace with the values you will access your NextCloud account.
Then should be provided the message that Nextcloud was configured successfully:
sudo nextcloud.occ config:system:get trusted_domains
sudo nextcloud.occ config:system:set trusted_domains 1 --value=example_domain.com
Again with this command, you can check if the domain/subdomain or IP address was added to the trusted domains list:
sudo nextcloud.occ config:system:get trusted_domains
The output should look like this:
So now, you can visit your server’s domain name or IP address in your web browser, enter your administrative user username and password, which you set up before and click 'Log in'.
For more information about Nextcloud, you can find it in their official documentation and forum.