OpenOffice的简单安装

1. OpenOffice的下载

http://www.openoffice.org/download/

没有找到arm和龙芯版本的 可能需要二进制编译方式安装, 暂时还没学习处理.

 

 2. 将下载好的文件上传到linux机器上面

 

 直接选择一次性安装即可

 yum localinstall *.rpm -y

安装完成之后 自动会在 /opt目录下面创建出一个目录来

[root@centos76 openoffice4]# pwd
/opt/openoffice4
[root@centos76 openoffice4]# ll
total 40
drwxr-xr-x  3 root root    89 Jan 21 08:33 help
drwxr-xr-x 16 root root   217 Oct 23  2018 presets
drwxr-xr-x  6 root root 12288 Jan 21 08:33 program
-r--r--r--  1 root root  9925 Oct 23  2018 README
-r--r--r--  1 root root 10470 Oct 23  2018 README.html
drwxr-xr-x  2 root root    51 Jan 21 08:33 readmes
drwxr-xr-x 22 root root   305 Oct 23  2018 share
[root@centos76 openoffice4]# 

注意  rpm安装包 分了 四个文件出来. 分别对应使用rpm 的四个操作系统类型, 我这里直接将redhat的从子文件夹里面抽出来了

 

 3. 启动验证

进入目录 
cd  /opt/openoffice4/program
执行命令
nohup soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &

4. 验证是否启动可用

[root@centos76 program]# lsof -i:8100
COMMAND     PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
soffice.b 26819 root   14u  IPv4 8334424      0t0  TCP localhost:xprint-server (LISTEN)
[root@centos76 program]# 
posted @ 2020-01-21 08:42  济南小老虎  阅读(754)  评论(0编辑  收藏  举报