宝塔服务器面板,一键全能部署及管理,送你10850元礼包,点我领取

官方安装文档:https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html#example-installation-on-ubuntu-16-04-lts-server

1. 安装snapd

https://docs.snapcraft.io/core/install-ubuntu

sudo apt update
sudo apt install snapd

2. 安装nextcloud

sudo snap install nextcloud

然后就可以了,直接用IP访问吧,默认是http没有s哦。