openOffice Linux安裝部署

CentOS 6.5 Linux 安裝 openoffice

資源準備:

Apache_OpenOffice_4.1.5_Linux_x86-64_install-rpm_zh-CN.tar.gz

編譯安裝:

本人資源包放在 /opt/moudles 中, 解壓後放在 /opt/softwares 中

解壓 openoffice 包

[root@localhost moudles]# tar -zxvf Apache_OpenOffice_4.1.5_Linux_x86-64_install-rpm_zh-CN.tar.gz  -C ../softwares/

解壓之後會在 /opt/softwares 中生成  文件夾,進入文件夾

[root@localhost moudles]# cd /opt/softwares/zh-CN/RPMS

 運行 yum localinstall *.rpm

[root@localhost RPMS]# yum localinstall *.rpm

成功之後會在當前目錄生成 文件夾,運行 yum localinstall 。

[root@localhost desktop-integration]# yum localinstall openoffice4.1.5-redhat-menus-4.1.5-9788.noarch.rpm

安裝成功會在 /opt 目錄下生成  文件夾。

 

啓動:

臨時啓動: 臨時啓動之後畫面就不會動了, 不要認爲是死機。只要不報錯就是好現象。

[root@localhost desktop-integration]# /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

永久啓動:

[root@localhost desktop-integration]# nohup /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &

 

查看是否啓動成功:

[root@localhost opt]# ps -ef|grep openoffice

 

 查看端口:

[root@localhost opt]# netstat -lnp |grep 8100

說明啓動成功, 大功告成!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章