なお、OS が x86(32bit)版の場合は、sudo snap install nextcloud すると error: snap "nextcloud" is not available on stable but is available to install on the following とエラーになります。
その際は、下記のように snap info コマンドで、stable 版のバージョンを確認して導入します。
$ snap info nextcloud | head -n 39
name: nextcloud
summary: Nextcloud Server - A safe home for all your data
publisher: Nextcloud**
store-url: https://snapcraft.io/nextcloud
contact: https://github.com/nextcloud/nextcloud-snap
license: unset
description: |
Access, share and protect your files, calendars, contacts, communication
and
more at home and in your enterprise.
The Nextcloud snap package is a community-supported project.
commands:
- nextcloud.disable-https
- nextcloud.enable-https
- nextcloud.export
- nextcloud.import
- nextcloud.manual-install
- nextcloud.mysql-client
- nextcloud.mysqldump
- nextcloud.occ
services:
nextcloud.apache: simple, enabled, active
nextcloud.logrotate: simple, enabled, inactive
nextcloud.mysql: simple, enabled, active
nextcloud.nextcloud-cron: simple, enabled, active
nextcloud.nextcloud-fixer: simple, enabled, active
nextcloud.php-fpm: simple, enabled, active
nextcloud.redis-server: simple, enabled, active
nextcloud.renew-certs: simple, enabled, active
snap-id: njObIbGQEaVx1H4nyWxchk1i8opy4h54
tracking: latest/stable
refresh-date: today at 19:02 JST
channels:
latest/stable: 35.0.3snap2 2026-11-19 (54909) 389MB -
latest/candidate: ^
latest/beta: 35.0.3snap2+git3.57e0dad 2026-11-19 (54913) 389MB -
latest/edge: master-2026-11-22 2026-11-22 (54934) 390MB -
34/stable: 34.0.6snap2 2026-11-20 (54924) 385MB -
# NIC 参照
$ nmcli connection show
NAME UUID TYPE DEVICE
"Wired connection 1" xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ethernet eth0
lo xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx loopback lo
# NIC CONNECTION名確認
$ nmcli device status
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected Wired connection 1
lo loopback connected (externally) lo
wlan0 wifi unavailable --
# NIC 設定
$ sudo nmcli con mod "Wired connection 1" ipv4.address "192.168.xx.xx/24"
$ sudo nmcli con mod "Wired connection 1" ipv4.gateway "192.168.xx.1"
$ sudo nmcli con mod "Wired connection 1" ipv4.dns "8.8.8.8 1.1.1.1"
$ sudo nmcli con mod "Wired connection 1" ipv4.dns-search "startpage.com"
$ sudo nmcli con mod "Wired connection 1" ipv4.method "manual"
$ sudo nmcli con mod "Wired connection 1" ipv6.method "disabled"
$ sudo nmcli con up "Wired connection 1"
Nextcloud 設定
IP 固定化まで終われば、ブラウザからログインして初期設定(管理者情報を登録して、ログインするところまで)を済ませます。
※Nextcloud の内部設定にサーバIP を持っているので、IP 固定化前に設定すると面倒。