openoffice 安装 linux and windows

openoffice下载路径
http://www.openoffice.org/download/other.html#tested-full


这里都以openoffice.org3.4为例,openoffice.org3.4需要glibc-2.11版本,升级这个基础库,建议在redhat 6.0以上版本的操作系统上安装
windows:

1.下载openoffice.org3.4 windows版本,安装都是下一步,这里就不说了


2.写openoffice.org3.4启动脚本
新建一个文件,并命名为"openoffice.bat",内容为:


@echo off
cd  C:\Program Files\OpenOffice.org 3\program 
soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard


3.windows openoffice.org3.4就已经配置好了,要用到openoffice.org3.4时,只需用启动openoffice.bat就行


Linux:
一、下载下载openoffice.org3.4 linux版本


二、安装openOffice
1.使用tar -xzvf Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_zh-CN.tar.gz解压缩后,会得到zh-CN


目录。
2.进入openoffice.org3.4安装文件目录,命令:cd zh-CN/RPMS
3.安装命令,执行 rpm –ivh *rpm(安装所有rpm文件)
4.进入到desktop-integration目录 cd desktop-integration
5.执行 rpm -ivh openoffice.org3.4-redhat-menus-3.4-9593.noarch.rpm
这时openOffice己经安装完成,默认安装在/opt下


三、启动openOffice
#vi /usr/sbin/openoffice.sh
内容如下:
ps -ef|grep -i openoffice|grep -v grep|awk '{print $2}' |xargs kill -9
/opt/openoffice.org3/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard&


#chmod 775 /usr/sbin/openoffice.sh


四、linux openoffice.org3.4就已经配置好了,要用到openoffice.org3.4时,只需用执行命令 openoffice.sh
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值