CentOS6.6安裝OpenOffice4.0

來源:互聯網
上載者:User

CentOS6.6安裝OpenOffice4.0

最近由於項目需要,要在公司伺服器上安裝Openoffice,網上搜了一些資料後成功安裝,現分享給大家。

1、首先先下載好需要的rpm包:Apache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_zh-CN.tar.gz

或直接命令下載:wgethttp://heanet.dl.sourceforge.net/project/openofficeorg.mirror/4.0.0/binaries/zh-CN/Apache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_zh-CN.tar.gz

放到伺服器的目錄下(我放到了opt下)

2、將下載的openoffice解壓(我直接解壓到opt目錄):tar -zxvfApache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_zh-CN.tar.gz

3、解壓後組建檔案夾zh-CN 進到RPMS目錄下,直接yum localinstall *.rpm

4、再裝RPMS/desktop-integration目錄下的openoffice4.0-redhat-menus-4.0-9702.noarch.rpm:yum localinstallopenoffice4.0-redhat-menus-4.0-9702.noarch.rpm

5、安裝完成直接啟動Openoffice服務:

臨時啟動 /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
一直後台啟動 nohup /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &

6、查看服務是否啟動(連接埠8100是否被soffice佔用):netstat -lnp |grep 8100

顯示結果:tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN 19501/soffice.bin

大功告成!!!

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.