openoffice centos7.4 安装
其他是配置好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 16648 16402 0 16:39 pts/0 00:00:00 /bin/sh /opt/openoffice4/program/soffice -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard root 16657 16648 0 16:39 pts/0 00:00:00 /opt/openoffice4/program/soffice.bin -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard root 16684 16402 0 16:52 pts/0 00:00:00 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:2049 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:53635 0.0.0.0:* LISTEN 1084/sshd tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN 16657/soffice.bin tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 789/rpcbind tcp 0 0 0.0.0.0:20048 0.0.0.0:* LISTEN 1511/rpc.mountd
5、启动失败
错误解决办法: 1)yum install libXext.x86_64:libXext.so No such file or directory错误 2)yum groupinstall "X Window System" :no suitable windowing system found错误 6.服务启动验证: netstat -nlp | grep 8100 //linux netstat -ano | findstr "3306" //window 错误解决办法:yum install net-tools :netstat找不到
python3