window安装
下载安装包之后,傻瓜式安装-下载安装包,点击下一步
linux安装(centos+xshell)
- 下载安装包-Apache_OpenOffice_4.1.7_Linux_x86-64_install-rpm_zh-CN.tar.gz
进入linux任意目录下,上传安装包到服务器
输入指令rz , #rz
- 解压安装包
# tar -zxvf Apache_OpenOffice_4.1.7_Linux_x86-64_install-rpm_zh-CN.tar.gz
- 安装
# cd zh-CN/RPMS
# rpm -ivh *rpm -安装
- 安装desktop(centos使用redhat)
# cd desktop-integration
# rpm -ivh openoffice4.1.7-redhat-menus-4.1.7-9800.noarch.rpm
- 启动服务
会默认被安装在/opt目录下
# cd /opt/openoffice4/program
# soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &
查看服务启动
# netstat -lnp |grep 8100
显示如下信息,则服务启动成功
tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN 13903/soffice.bin
问题
1.启动时出现:error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory
yum install libXext.x86_64(64位) (yum install libXext.i686 32位)
2.启动时提醒:no suitable windowing system found, exiting
yum groupinstall “X Window System”