本文章参考 特此说明
https://blog.youkuaiyun.com/sadcd/article/details/104832779
无法连接OFFICE
用docker安装Nextcloud 出现无法连接外部数据库以及集成onlyoffice时报错的解决方法_lggirls的博客-优快云博客_nextcloud连接不上数据库
帮助文档
NextCloud实现文件在线预览和编辑 · 自建企业网盘:镜像部署与使用实战 · 看云
Memory caching — Nextcloud latest Administration Manual latest documentation
1.在使用nextcloud 集成onlyoffice时,会出现提示 :host violates local access rules
需要在配置文件 config.php 中增加下列语句:
'allow_local_remote_servers' => true,
写此文章记录自己搭建过程
1.服务器硬件准备
CPU:根据自己需求选择
内存:2G以上
硬盘:2T以上(最后讲如何扩容)
1.安装Centos系统/Ubuntu系统
本文章采用Centos7系统
安装完成后更新一下系统
yum update # (Centos)
//Ubuntu需要两条指令来升级
apt-get update -y # (Ubuntu)
apt-get upgrade -y # (Ubuntu)
2.安装宝塔控制面板(安装LAMP环境)
宝塔控制面板官网 宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板 感兴趣的可以看看
使用命令安装
//Centos指令
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
//Ubuntu指令
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
启用外部存储管理
在应用中开启 External storage support 插件