Nextcloud is a powerful self-hosted cloud storage solution that gives you complete control over your data. This guide makes installing Nextcloud a breeze using Snap packages.
sudo snap install nextcloud
Replace "admin" with your desired username and "password" with a strong password.
sudo nextcloud.manual-install admin password
Replace "example.com" with your domain or server IP address.
sudo nextcloud.occ config:system:set trusted_domains 1 --value=example.com
Follow the prompts: enter your email, agree to the terms, and provide your domain.
sudo nextcloud.enable-https lets-encrypt
After setup, you'll be able to access Nextcloud at:
https://example.com