Last active
June 22, 2018 07:43
-
-
Save improve100/3ed011aba8b750a74a204eb1f0fa56df to your computer and use it in GitHub Desktop.
snap nextcloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo snap set nextcloud ports.http=81 ports.https=444 | |
sudo apt-get update | |
sudo apt-get install snap | |
sudo apt-get install snapd | |
sudo snap install nextcloud | |
但修改域名后,nextcloud登录有问题,修改这个文件sudo vim /var/snap/nextcloud/7658/nextcloud/config/config.php | |
'trusted_domains' => | |
array ( | |
0 => 'cloud.qq.com',//修改更改域名 | |
), | |
'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data', | |
'overwrite.cli.url' => 'http://cloud.qq.com',//修改更改域名 | |
'dbtype' => 'mysql', | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment