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找不到

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM