openoffice相关命令

下载安装包之后的安装过程

1 tar -zxvf Apache_OpenOffice_4.1.6 对应的压缩包名字
2 cd 进入解压后的 /zh-cn/RPMS
3 yum localinstall *.rpm
4 cd desktop-integration
5 rpm -ivh openoffice4.1.6-redhat-menus-4.1.6-9790.noarch.rpm

启动命令

/opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &

自动启动设置

修改配置文件
vi /etc/rc.local 添加如下命令 soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &
原文地址:https://www.cnblogs.com/nxjblog/p/10481929.html