在RHEL5下安裝OpenOffice流程

先取得tar檔,來源:http://zh.openoffice.org/new/zh_cn/downloads.html

step 1: 展開OOo_2.2.1_LinuxIntel_install_wJRE_zh-cn.tar.gz
# tar zxvf OOo_2.2.1_LinuxIntel_install_wJRE_zh-cn.tar.gz

step 2: 安装 Java-runtime支持包
# cd OOH680_m12_native_packed-1_zh-TW.9286
# rpm -ivh jre-6-linux-i586.rpm

step 3: 一次安装所有的OpenOffice.rpm,而可避免相依性問題
# rpm -ivh openoffice*.rpm

step 4: 安装 OpenOffice 桌面控制台 desktop-integration
# cd desktop-integration
# rpm -ivh openoffice.org-redhat-menus-2.2-9153.noarch.rpm

*step1~4參考:http://www.idcnews.net/html/edu/linux/20070101/282017.html
------------------------------------------------------------------------
step 5:
重新登入,而可在圖形介面的Application/office/看到OperOffice的程式,但點下去後毫無反應@@

step 6:
此時開啟OperOffice Writer,之後SELinux會跳出來,顯示"SELinux is preventing /opt/openoffice.org2.4/program/soffice.bin from loading /opt/openoffice.org2.4/program/libvclplug_gen680li.so.1.1 which requires text relocation."

此時,用文字介面輸入
"chcon -t textrel_shlib_t /opt/openoffice.org2.4/program/libvclplug_gen680li.so.1.1"

再開一次writer,成功啟動!

其他OperOffice程式也可執行了!

分享完畢,再來就是要努力用OperOffice取代windows office做事XDXD

留言

  1. 你好

    在 Blogger 寫了你喜歡畫畫:)

    我也喜歡畫畫, 請你到我博客來

    回覆刪除

張貼留言

這個網誌中的熱門文章

2008.10.24 廈門行第一天

用開機光碟開機後會卡在"Search for HDD devices..."而無法進入dos下的解決方法~

[體驗] ZO‧NA 渃那-美醫專科保養品-藍銅胜肽保濕面膜+神經醯胺10日修護安瓶