[摘要:间接登录openoffice民网下载硬件包,但跳转的页里却不停挨没有开。末了只能正在末端里干活下了: 1. 挑选得当的版本:http://www.openoffice.org/download/other.html 2. 翻开末端:wget url 最先下载 3.]

直接登录openoffice官网下载软件包,但跳转的页面却一直打不开。最后只能在终端里干活下了:

1. 选择适合的版本:http://www.openoffice.org/download/other.html

2. 打开终端:wget url 开始下载

3. 下完解压:

tar -zxvf Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_zh-CN.tar.gz  

4. 安装:

[root@localhost RPMS]# rpm -Uvh *.rpm desktop-integration/openoffice4.1.1-redhat-menus-4.1.1-9775.noarch.rpm

安装完后,运行:openoffice4,

 

5. 启动

nohup  /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &

本地报错:

 

[root@localhost zh-CN]# openoffice4 No protocol specified No protocol specified /opt/openoffice4/program/soffice.bin X11 error: Can't open display:     Set DISPLAY environment variable, use -display option    or check permissions of your X-Server    (See "man X" resp. "man xhost" for details)


重启后,就OK了。