1、先从 http://www.openoffice.org/download/index.html 地址下载Linux对应系统的版本,以CentOs6.5为例,我下了这个版本Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_zh-CN.tar.gz 安装包。
2、解压安装包: tar -xzvf Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_zh-CN.tar.gz
3. 进入RPMS目录 cd RPMS ,rpm -ivh *rpm 安装以下rpm包
4. cd desktop-integration/ rpm -ivh openoffice4.1.2-redhat-menus-4.1.2-9782.noarch.rpm 默认会安装在/opt目录下。
soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard &