Difference between revisions of "NextCloud: Instalasi di Ubuntu 18.04"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
| Line 27: | Line 27: | ||
nextcloud passwrd 123456 | nextcloud passwrd 123456 | ||
| + | |||
| + | ==Setup Trusted Domain== | ||
| + | |||
| + | Beberapa perintah | ||
| + | |||
| + | sudo nextcloud.occ config:system:get trusted_domains | ||
| + | sudo nextcloud.occ config:system:set trusted_domains 1 --value=example.com | ||
| + | |||
| + | |||
| + | ==Aktifkan SSL== | ||
| + | |||
| + | Menggunakan LetsCrypt | ||
| + | |||
| + | sudo ufw allow 80,443/tcp | ||
| + | sudo nextcloud.enable-https lets-encrypt | ||
| + | |||
| + | Menggunakan Self-Signed | ||
| + | |||
| + | sudo nextcloud.enable-https self-signed | ||
| + | sudo ufw allow 80,443/tcp | ||
==Install== | ==Install== | ||
Revision as of 13:05, 6 May 2019
Install
Edit /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main universe multiverse deb http://archive.ubuntu.com/ubuntu bionic-security main universe multiverse deb http://archive.ubuntu.com/ubuntu bionic-updates main universe multiverse
apt update
Instalasi
sudo snap install nextcloud
Optional
snap changes nextcloud snap info nextcloud snap interfaces nextcloud cat /snap/nextcloud/current/meta/snap.yaml
Finish Instalasi
sudo nextcloud.manual-install admin 123456
nextcloud user admin nextcloud passwrd 123456
Setup Trusted Domain
Beberapa perintah
sudo nextcloud.occ config:system:get trusted_domains sudo nextcloud.occ config:system:set trusted_domains 1 --value=example.com
Aktifkan SSL
Menggunakan LetsCrypt
sudo ufw allow 80,443/tcp sudo nextcloud.enable-https lets-encrypt
Menggunakan Self-Signed
sudo nextcloud.enable-https self-signed sudo ufw allow 80,443/tcp