chinda

资源准备:

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

编译安装:

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

解压 openoffice 包

[root@localhost moudles]# 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 目录下生成  文件夹。

 

启动:

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

[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

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

 

分类:

技术点:

相关文章:

  • 2022-02-25
  • 2021-07-13
  • 2021-07-21
  • 2021-09-30
  • 2021-08-30
  • 2021-08-30
  • 2021-09-25
  • 2022-01-19
猜你喜欢
  • 2021-09-30
  • 2021-10-20
  • 2022-12-23
  • 2021-06-16
  • 2021-10-29
相关资源
相似解决方案