💾

Quickly and easily install Nextcloud

Install Nextcloud - My Way

Rule 1: use Ubuntu / any other debian OS
sudo apt-get update && sudo apt-get upgrade -y
 
Clear all firewall rules I believe its better to configure firewall from the Cloud Provider's settings.
sudo iptables -P INPUT ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -F
You can also alternatively after clearing existing rules, install UFW and manage firewall rules from there.
 
Installing Nextcloud
sudo snap install nextcloud
 
Setting username and password for admin user followed by setting up trusted domains for accessing the settings.
sudo nextcloud.manual-install user password
sudo nextcloud.occ config:system:set trusted_domains 1 --value=www.vimarsh.info
 
 
Remove get your own Nextcloud server branding from footer
goto: /var/snap/nextcloud/21796/nextcloud/config
Edit file config.php
Add in the list this:
'simpleSignUpLink.shown' => false,