天天看點

openoffice相關指令

下載下傳安裝包之後的安裝過程

1 tar -zxvf Apache_OpenOffice_4.1.6 對應的壓縮包名字
2 cd 進入解壓後的 /zh-cn/RPMS
3 yum localinstall *.rpm
4 cd desktop-integration
5 rpm -ivh openoffice4.1.6-redhat-menus-4.1.6-9790.noarch.rpm      

啟動指令

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

自動啟動設定

修改配置檔案
vi /etc/rc.local

添加如下指令

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