shine_cn

Your heart is free, so have the courage to follow it.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

linux下openoffice的安装和启动

Posted on 2014-09-23 15:49  shine_cn  阅读(5500)  评论(0编辑  收藏  举报

下载openoffice的安装包(注意选择合适的安装包):

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

 

一、安装openOffice
1.使用tar -xzvf xxxx.tar.gz解压缩后,会得到对应的解压文件 /zh-CN

目录。
2.进入/zh-CN//RPMS/目录
3.执行 rpm –ivh *rpm(安装所有rpm文件)
4.进入到desktop-integration目录 cd desktop-integration
5.执行 rpm -ivh openoffice.org3.2-redhat-menus-3.2-9472.noarch.rpm

这时openOffice己经安装完成,默认会安装在/opt下

二、启动openOffice服务 
1.进入opt目录:cd /opt
2.进入openoffice.org3目录: cd openoffice.org3
3.进入cd program目录
4.执行 soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard & 
5.完成本地启动,如果需要远程访问,需要将host地址改成机器对应IP地址;

 

三、停止openOffice服务

ps -aux | grep oppenoffice 查看是否openoffice服务是否已启动;

kill -o id1 id2