openoffice部署

1.weblogic用户下:

[weblogic@test1openoffice]$ pwd

/usr/local/src/openoffice

[weblogic@test1openoffice]$ tar -zxvfApache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz

[weblogic@test1openoffice]$ ls

Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz  en-US

[weblogic@test1openoffice]$ cd en-US/

[weblogic@test1en-US]$ ls

licenses  readmes RPMS

[weblogic@test1en-US]$ cd RPMS/

2.root用户下:

[root@test1 RPMS]#chown weblogic:bea /usr/local/src/openoffice/en-US/  -R

[root@test1 RPMS]#chown weblogic:bea /var/lib/rpm/  -R

[root@test1 RPMS]#chown weblogic:bea /opt/  -R

3.weblogic用户下:

[weblogic@test1RPMS]$ rpm -ivh *.rpm

[weblogic@test1RPMS]$ cd desktop-integration/

[weblogic@test1desktop-integration]$ ls

openoffice4.1-freedesktop-menus-4.1-9764.noarch.rpm

openoffice4.1-mandriva-menus-4.1-9764.noarch.rpm

openoffice4.1-redhat-menus-4.1-9764.noarch.rpm

openoffice4.1-suse-menus-4.1-9764.noarch.rpm

4.root用户下:

[root@test1 RPMS]#cd /usr/local/src/openoffice/en-US/RPMS/desktop-integration

[root@test1desktop-integration]# rpm -ivh openoffice4.1-redhat-menus-4.1-9764.noarch.rpm

Preparing...               ########################################### [100%]

  1:openoffice4.1-redhat-me###########################################[100%]

/usr/bin/gtk-update-icon-cache

gtk-update-icon-cache:Cache file created successfully.

5.weblogic用户下,启动openoffice服务:

oppenoffice默认安装在/opt目录下。

启动openoffice服务:

      [weblogic@rabbitmq_master opt]$ cd /opt

      [weblogic@rabbitmq_master opt]$ pwd

/opt

[weblogic@rabbitmq_masteropt]$ soffice -headless -accept="socket,host=本机IP地址,port=8100;urp;"-nofirststartwizard -nofirststartwizard&

[1] 3149

注:出现类似如上“[1] 3149“提示,说明oppenoffice服务已启动!!