下载Oppenoffice
安装
解压
tar -xvf Apache_OpenOffice_4.1.3.tar.gz -C /TRS/APP
cd 进入解压目录.进入zh-CN目录执行:
rpm -ivh *.rpm
进入openoffice目录
cd /opt/openoffice4/program/
更新
yum install libXext.x86_64
yum groupinstall "X Window System"
开启防火墙端口
systemctl start firewalld
firewall-cmd --zone=public --add-port=8100/tcp --permanent
firewall-cmd --reload
systemctl stop firewalld
启动
启动
/opt/openoffice4/program/soffice -headless -accept="socket,host=0.0.0.0,port=8100;urp;" -nofirststartwizard &
验证是否成功
ps aux|grep openoffice
安装成功
root 23327 0.0 0.1 113284 1252 pts/0 S 15:20 0:00 /bin/sh /opt/openoffice4/program/soffice -headless -accept=socket,host=0.0.0.0,port=8100;urp; -nofirststartwizard
root 23338 19.4 3.7 624452 38236 pts/0 Sl 15:20 6:10 /opt/openoffice4/program/soffice.bin -headless -accept=socket,host=0.0.0.0,port=8100;urp; -nofirststartwizard
root 23902 0.0 0.0 112812 984 pts/0 R+ 15:51 0:00 grep --color=auto openoffice