NextCloud

From belajarwiki
Revision as of 08:48, 2 December 2021 by Aditya (talk | contribs) (→‎SSL)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Instalasi

sudo snap install nextcloud

Set username password

sudo nextcloud.manual-install admin 123456

Set trusted domain

Cek

sudo nextcloud.occ config:system:get trusted_domains

Jika perlu tambahkan

sudo nextcloud.occ config:system:set trusted_domains 1 --value=example.com
sudo nextcloud.occ config:system:set trusted_domains 1 --value=192.168.1.*

SSL

Menggunakan Self-Signed

sudo nextcloud.enable-https self-signed
sudo ufw allow 80,443/tcp

Atau bisa menggunakan Let's Encrypt

sudo nextcloud.enable-https lets-encrypt
sudo ufw allow 80,443/tcp

Referensi