在linux服务器下安装openoffice

1.到网上下载:Apache_OpenOffice_4.1.3_Linux_x86-64_install-rpm_zh-CN.tar.gz,拷到linux下的目录下;

2.解压:tar -xzvf  Apache_OpenOffice_4.1.3_Linux_x86-64_install-rpm_zh-CN.tar.gz

3.接着:cd  zh-CN/RPMS 执行:rpm -ivh*.rpm;

4.然后: cd desktop-integration ,执行:rpm -ivh  openoffice4.1.3-redhat-menus-4.1.3-9783.noarch.rpm;

5.启动openoffice服务:cd /opt/openoffice4/program,执行:soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;"  -nofirststartwizard &

    错误解决办法:

     1)yum install libXext.x86_64:libXext.so No such file or directory错误

     2)yum groupinstall "X Window System" :no suitable windowing system found错误

6.服务启动验证:

  netstat  -nlp | grep 8100  //linux

  netstat -ano | findstr "3306" //window

  错误解决办法:yum install net-tools :netstat找不到

你可能感兴趣的:(linux,openoffice)