yum install docker
Systemctl start docker
docker pull onlyoffice/documentserver
docker run -i -t -d -p 9000:80 onlyoffice/documentserver
上传windows字体(在c:\windows\fonts\下)到centos下的/fonts(上传前务必把后缀TTF改成小写ttf)
Docker ps
如图所示:
tar cv * | docker exec -i c88b8da77498 tar x -C /usr/share/fonts/
docker exec c88b8da77498 documentserver-generate-allfonts.sh
> 在nextcloud下安装apps onlyoffice,并打设置-其他设置,按图配置: