运维那点事6:安装其他必要软件之安装openOffice

目录

1 解压并安装两个位置的安装包即可完成安装。安装完成后路径在/opt/。

2 启动服务

 

内容

  •         解压并安装两个位置的安装包即可完成安装。安装完成后路径在/opt/。
写道
解压:
[root@localhost 下载]# tar -zxvf Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_zh-CN.tar.gz
 
写道
进入zh_CN/RPMS文件夹,这里有一堆rpm和一个desktop-integration文件夹:
[root@localhost zh-CN]# ls
licenses readmes RPMS

[root@localhost zh-CN]# cd RPMS/
[root@localhost RPMS]# ls
 
写道
安装全部rpm

[root@localhost RPMS]# rpm -ivh *rpm
准备中... ################################# [100%]
正在升级/安装...
 
写道
到刚刚那个文件夹中执行其中一个安装包(自己看情况找哈)

[root@localhost desktop-integration]# rpm -ivh openoffice.org3.4-redhat-menus-3.4-9593.noarch.rpm
准备中... ################################# [100%]
正在升级/安装...
1:openoffice.org3.4-redhat-menus-3.################################# [100%]
/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
 
  •       启动服务
写道
这里两个目录,一个是openoffice.org,一个是openoffice.org3。进入openoffice.org3目录中的program目录。

然后执行如下来完成启动。

[root@localhost program]# soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard&
[1] 7655
[root@localhost program]# Fontconfig warning: "/opt/openoffice.org/basis3.4/share/fonts/truetype/fc_local.conf", line 33: Having multiple <family> in <alias> isn't supported and may not work as expected
 

猜你喜欢

转载自alex-cheung.iteye.com/blog/2089017