安装OpenOffice 4.1.6:下载路径:http://www.openoffice.org/zh-cn/download/
用以下命令启动OpenOffice服务
windows
cd D:\ProgramFiles_QY\OpenOffice 4\program
soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
linux
cd /opt/openoffice4/program
./soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
telnet 127.0.0.1 8100
原文:https://www.cnblogs.com/aeolian/p/11344969.html