其他是配置好java环境后操作
1、下载软件
http://www.openoffice.org/download/other.html
2、安装
tar xf Apache_OpenOffice_4.1.5_Linux_x86-64_install-rpm_zh-CN.tar.gz
cd zh-CN/RPMS
/usr/local/src/zh-CN/RPMS
rpm -Uvh *.rpm desktop-integration/openoffice4.1.5-redhat-menus-4.1.5-9789.noarch.rpm
3、启动
nohup /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &
4、检测
[root@tomcat01 desktop-integration]# ps -ef|grep openoffice
root : pts/ :: /bin/sh /opt/openoffice4/program/soffice -headless -accept=socket,host=127.0.0.1,port=;urp; -nofirststartwizard
root : pts/ :: /opt/openoffice4/program/soffice.bin -headless -accept=socket,host=127.0.0.1,port=;urp; -nofirststartwizard
root : pts/ :: grep --color=auto openoffice
[root@tomcat01 desktop-integration]# netstat -luntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0.0.0.0: 0.0.0.0:* LISTEN -
tcp 0.0.0.0: 0.0.0.0:* LISTEN /sshd
tcp 127.0.0.1: 0.0.0.0:* LISTEN /soffice.bin
tcp 0.0.0.0: 0.0.0.0:* LISTEN /rpcbind
tcp 0.0.0.0: 0.0.0.0:* LISTEN /rpc.mountd
5、启动失败
错误解决办法: )yum install libXext.x86_64:libXext.so No such file or directory错误 )yum groupinstall "X Window System" :no suitable windowing system found错误 .服务启动验证: netstat -nlp | grep //linux netstat -ano | findstr "" //window 错误解决办法:yum install net-tools :netstat找不到