發表文章

目前顯示的是 8月 24, 2008的文章

在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.org