安装docker: yum install docker-io
启动docker: systemctl start docker
下载镜像: docker pull onlyoffice/documentserver
启动服务:sudo docker run -i -t -d -p 7001:80 --restart=always onlyoffice/documentserver
然后我们访问ip:7001 如果看到下面这个说明安装成功
然后我们进行配置
如果报错Error when trying to connect (Host violates local access rules)那么配置文件记得加上\'allow_local_remote_servers\' => true,