一、环境
centos6.9
安装jdk1.6及以上
二、安装依赖
yum install libXext.x86_64 -y yum install freetype -y yum groupinstall "X Window System"
三、下载安装包
登录linux的服务器opt目录
cd /opt wget https://jaist.dl.sourceforge.net/project/openofficeorg.mirror/4.1.5/binaries/zh-CN/Apache_OpenOffice_4.1.5_Linux_x86-64_install-rpm_zh-CN.tar.gz
四、安装
tar -zxvf Apache_OpenOffice_4.1.5_Linux_x86-64_install-rpm_zh-CN.tar.gz cd zh-CN/ cd RPMS/ rpm -ivh *.rpm
cd desktop-integration/
rpm -ivh openoffice4.1.5-redhat-menus-4.1.5-9789.noarch.rpm
五、启动
/opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &
六、查看监听
[root@program]# netstat -nap|grep 8100 tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN 4192/soffice.bin