Fork me on GitHub

启动OpenOffice服务

下载安装

安装OpenOffice 4.1.6:下载路径:http://www.openoffice.org/zh-cn/download/

启动

用以下命令启动OpenOffice服务,注意ip,如果需要给局域网内其他人连接需要写局域网ip

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=127.0.0.1,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &

测试

telnet 127.0.0.1 8100

 

posted @ 2019-08-13 11:44  秋夜雨巷  阅读(4756)  评论(0编辑  收藏  举报