Setup nextcloud on ubuntu 22.04

10 months ago
34

installation:
sudo snap install nextcloud
check:
snap changes nextcloud
To see which connections this snap defines, enter the following:
snap connections nextcloud
To learn more about each of the services and apps that this snap provides, you can view the snap definition file by entering the following:
cat /snap/nextcloud/current/meta/snap.yaml
nextcloud configuration:
sudo nextcloud.manual-install an-username an-password
sudo nextcloud.occ config:system:get trusted_domains
you can add your domain or stay local:
sudo nextcloud.occ config:system:set trusted_domains 1 --value=yourdoamin.com
sudo nextcloud.occ config:system:get trusted_domains
sudo ufw allow 80,443/tcp
SSL Certificate installation:
if ssl self signed:

sudo nextcloud.enable-https self-signed

but if ssl lets encrypt:
sudo nextcloud.enable-https lets-encrypt

visit your cloud web server

Loading comments...