Difference between revisions of "NextCloud"

From belajarwiki
Jump to navigation Jump to search
(Created page with "==Instalasi== sudo snap install nextcloud Set username password sudo nextcloud.manual-install admin 123456 ==Set trusted domain== Cek sudo nextcloud.occ config:system:get...")
 
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
  sudo nextcloud.occ config:system:get trusted_domains
 
  sudo nextcloud.occ config:system:get trusted_domains
  
Jika perlu tamhbahkan
+
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=example.com
 
  sudo nextcloud.occ config:system:set trusted_domains 1 --value=192.168.1.*
 
  sudo nextcloud.occ config:system:set trusted_domains 1 --value=192.168.1.*
Line 16: Line 16:
 
Menggunakan Self-Signed
 
Menggunakan Self-Signed
 
  sudo nextcloud.enable-https 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
 
  sudo ufw allow 80,443/tcp
  

Latest revision as of 08:48, 2 December 2021

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