CentOS 7 Linux 安装 openoffice

安装介质:

 https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.4/binaries/zhCN/Apache_OpenOffice_4.1.4_Linux_x86-64_install-rpm_zh-CN.tar.gz/download

编译安装:

      本人资源包放在 /opt/aa中, 解压后放在 /opt/softwares 中

解压 openoffice 包

[root@localhost aa]# tar -zxvf Apache_OpenOffice_4.1.4_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.4-redhat-menus-4.1.4-9788.noarch.rpm

安装成功会在 /opt 目录下生成  文件夹。

注意:安装过程中 会提示Is this ok?直接选择y即可。

启动: 

    临时启动: 临时启动之后画面就不会动了, 不要认为是死机,不报错就行。

[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


说明启动成功, 大功告成!

参考:https://www.cnblogs.com/goodcheap/p/7929986.html




    

猜你喜欢

转载自blog.csdn.net/m0_37039484/article/details/80008519
今日推荐