在Ubuntu Server 22.04环境下安装。
sudo snap install nextcloud
sudo nextcloud.manual-install Username Password (NextCloud登陆用户)
sudo nextcloud.occ config:system:set trusted_domains 1 --value=1.2.3.4 (IP地址)
然后即可通过IP地址登录
如果需要修改默认的80端口,步骤如下
Edit /etc/apache2/ports.conf
1. Change the port numbers as required or add new
Edit /etc/apache2/sites-available/yournextcloud.conf
2. Change 80/443 there to the ports in <VirtualHost *:80> (or 443) to what you specified in 1.
Restart Apache: sudo service apache2 restart
标签:sudo,apache2,etc,Ubuntu,80,安装,Change,NextCloud From: https://blog.51cto.com/helpdesk/6029828