首页 > 代码库 > openOffice安装

openOffice安装

[root@rusky openOffice]# tar -zxvf  OOo_3.3.0_Linux_x86_install-rpm-wJRE_zh-CN.tar.gz 
[root@rusky openOffice]# cd OOO330_m20_native_packed-1_zh-CN.9567/
[root@rusky OOO330_m20_native_packed-1_zh-CN.9567]# ls
installdata  JavaSetup.jar  licenses  readmes  RPMS  setup  update
[root@rusky OOO330_m20_native_packed-1_zh-CN.9567]# cd RPMS/
[root@rusky RPMS]# ls
desktop-integration                                ooobasis3.3-testtool-3.3.0-9567.i586.rpm
jre-6u22-linux-i586.rpm                            ooobasis3.3-writer-3.3.0-9567.i586.rpm
ooobasis3.3-base-3.3.0-9567.i586.rpm               ooobasis3.3-xsltfilter-3.3.0-9567.i586.rpm
ooobasis3.3-binfilter-3.3.0-9567.i586.rpm          ooobasis3.3-zh-CN-3.3.0-9567.i586.rpm
ooobasis3.3-calc-3.3.0-9567.i586.rpm               ooobasis3.3-zh-CN-base-3.3.0-9567.i586.rpm
ooobasis3.3-core01-3.3.0-9567.i586.rpm             ooobasis3.3-zh-CN-binfilter-3.3.0-9567.i586.rpm
ooobasis3.3-core02-3.3.0-9567.i586.rpm             ooobasis3.3-zh-CN-calc-3.3.0-9567.i586.rpm
ooobasis3.3-core03-3.3.0-9567.i586.rpm             ooobasis3.3-zh-CN-draw-3.3.0-9567.i586.rpm
ooobasis3.3-core04-3.3.0-9567.i586.rpm             ooobasis3.3-zh-CN-help-3.3.0-9567.i586.rpm
ooobasis3.3-core05-3.3.0-9567.i586.rpm             ooobasis3.3-zh-CN-impress-3.3.0-9567.i586.rpm
ooobasis3.3-core06-3.3.0-9567.i586.rpm             ooobasis3.3-zh-CN-math-3.3.0-9567.i586.rpm
ooobasis3.3-core07-3.3.0-9567.i586.rpm             ooobasis3.3-zh-CN-res-3.3.0-9567.i586.rpm
ooobasis3.3-draw-3.3.0-9567.i586.rpm               ooobasis3.3-zh-CN-writer-3.3.0-9567.i586.rpm
ooobasis3.3-gnome-integration-3.3.0-9567.i586.rpm  openoffice.org3-3.3.0-9567.i586.rpm
ooobasis3.3-graphicfilter-3.3.0-9567.i586.rpm      openoffice.org3-base-3.3.0-9567.i586.rpm
ooobasis3.3-images-3.3.0-9567.i586.rpm             openoffice.org3-calc-3.3.0-9567.i586.rpm
ooobasis3.3-impress-3.3.0-9567.i586.rpm            openoffice.org3-dict-en-3.3.0-9567.i586.rpm
ooobasis3.3-javafilter-3.3.0-9567.i586.rpm         openoffice.org3-draw-3.3.0-9567.i586.rpm
ooobasis3.3-kde-integration-3.3.0-9567.i586.rpm    openoffice.org3-impress-3.3.0-9567.i586.rpm
ooobasis3.3-math-3.3.0-9567.i586.rpm               openoffice.org3-math-3.3.0-9567.i586.rpm
ooobasis3.3-onlineupdate-3.3.0-9567.i586.rpm       openoffice.org3-writer-3.3.0-9567.i586.rpm
ooobasis3.3-ooofonts-3.3.0-9567.i586.rpm           openoffice.org3-zh-CN-3.3.0-9567.i586.rpm
ooobasis3.3-oooimprovement-3.3.0-9567.i586.rpm     openoffice.org-ure-1.7.0-9567.i586.rpm
ooobasis3.3-ooolinguistic-3.3.0-9567.i586.rpm      userland
ooobasis3.3-pyuno-3.3.0-9567.i586.rpm

 [root@rusky RPMS]# rpm -ivh *.rpm  #执行安装

1】安装 OpenOffice 桌面控制台 desktop-integration
     cd desktop-integration/
     rpm -ivh openoffice.org3.2-redhat-menus-3.2-9502.noarch.rpm
2】openoffice的启动:部署时,请以后台服务方式启动,即:方式(1)
(1)后台服务方式启动 openoffice   /opt/openoffice.org3/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
(2)启动文本编辑 soffice -writer
(3)启动表格编辑 soffice -calc
(4)启动幻灯片 soffice -impress
(5)启动图片编辑 soffice -draw
(6)启动数据库 soffice -base

关于后台服务器方式启动openoffice

cd  /opt/openoffice.org3/

执行:soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard 

如果提示-bash:command not found,则可在该命令前加./   或修改PATH路径,export PATH=$PATH:/opt/openoffice.org3/program

参数说明:

-nofirststartwizard:

因为openoffice默认会抛出一个用户注册界面,提示用户注册产品,然后才能正常使用;一旦用户注册完毕,之后是不会再弹出这个注册框的。openoffice 2.0以上版本为避免这种情况,增加了-nofirststartwizard选项,借此绕开注册界面。

-headless 选项标明openoffice运行在headless模式下的服务器上,所谓headless服务器即无需显卡、显示器、鼠标、键盘等设备可以正常运行的服务器。

如果执行是还是报错,则在命令最后加&符号

./soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &