His Masters' Voices Wiki

よろずのことの書き残し

ユーザ用ツール

サイト用ツール


nextcloud:build_nextcloud_try2

**文書の過去の版を表示しています。**

NextCloud構築

参考

前提

xxx.f5.si で SSL設定済み →サーバー関連|Nginxの設定

操作手順

ubuntu@i-12100000390816:~$ sudo snap install nextcloud
nextcloud 24.0.1snap1 from Nextcloud✓ installed
ubuntu@i-12100000390816:~$ sudo snap set nextcloud ports.http=81 ports.https=444
error: cannot perform the following tasks:
- Run service command "restart" for services ["apache"] of snap "nextcloud" (systemctl command [start snap.nextcloud.apache.service] failed with exit status 1: Job for snap.nextcloud.apache.service failed.
See "systemctl status snap.nextcloud.apache.service" and "journalctl -xe" for details.
)
ubuntu@i-12100000390816:~$
ubuntu@i-12100000390816:~$ sudo nextcloud.manual-install admin <PASSWORD>
Nextcloud was successfully installed
ubuntu@i-12100000390816:~$
ubuntu@i-12100000390816:~$ sudo nextcloud.occ config:system:set trusted_domains 1 --value=xxx.f5.si
System config value trusted_domains => 1 set to string xxx.f5.si
ubuntu@i-12100000390816:~$
ubuntu@i-12100000390816:~$ sudo nextcloud.occ config:system:get trusted_domains
localhost
xxx.f5.si
ubuntu@i-12100000390816:~$
ubuntu@i-12100000390816:~$ sudo nextcloud.occ config:system:set overwritehost --value="xxx.f5.si"
System config value overwritehost set to string xxx.f5.si
ubuntu@i-12100000390816:~$ sudo nextcloud.occ config:system:set overwriteprotocol --value="https"
System config value overwriteprotocol set to string https
ubuntu@i-12100000390816:~$ sudo nextcloud.occ config:system:set overwritewebroot --value="/nextcloud"
System config value overwritewebroot set to string /nextcloud
ubuntu@i-12100000390816:~$ sudo nextcloud.occ config:system:set overwrite.cli.url --value="https://xxx.f5.si/nextcloud"
System config value overwrite.cli.url set to string https://xxx.f5.si/nextcloud
ubuntu@i-12100000390816:~$
nextcloud/build_nextcloud_try2.1658152646.txt.gz · 最終更新: 2022/07/18 22:57 by nipa28