linux
1、下载tar.gz包,下载地址:http://www.openoffice.org/zh-cn/(需要下载rpm格式)
2、解压文件: tar -zxvf Apache_OpenOffice_4.1.13_Linux_x86-64_install-rpm_zh-CN.tar.gz
,然后进入zh-CN目录中,cd zh-CN/
。
3、再进入RPMS/目录中,cd RPMS/
,里面都是rpm文件,我们需要安装这些文件。
4、安装rpm文件: rpm -ivh *.rpm
5、进入desktop-integration/目录:cd desktop-integration/
6、安装openoffice:rpm -ivh openoffice4.1.13-redhat-menus-4.1.13-9810.noarch.rpm
,安装完成后在安装地址下出现一个openoffice4文件
7、安装成功后会在/opt下出现一个openoffice4文件。进入目录cd /opt/openoffice4
,启动openoffice4: soffice --headless --accept="socket,host=127.0.0.1,port=9091;urp;" --nofirststartwizard &
后台启动
8、查看启动状态:
netstat -lnp |grep
或者 ps -ef|grep soffice
(如果想删除openoffice,在program文件夹下执行:
rpm -erpm -qa |grep openofficerpm -qa |grep ooobasis
)
9、host设置IP的别名,否则远程调用时,会出现无法解析主机名的问题,导致连接缓慢。
windows
1、按照安装包默认配置安装openOffice,相对应安装地址可自己选择。
下载地址:http://www.openoffice.org/zh-cn/
2、本地安装完以后,进入OpenOffice的安装目录下,启动OpenOffice:start soffice.exe -headless -accept="socket,host=127.0.0.1,port=8100;urp; " -nofirststartwizard