zoukankan      html  css  js  c++  java
  • openoffice centos7.4 安装

     其他是配置好java环境后操作

    1、下载软件

    http://www.openoffice.org/download/other.html

    2、安装

    tar xf Apache_OpenOffice_4.1.5_Linux_x86-64_install-rpm_zh-CN.tar.gz

    cd zh-CN/RPMS

    /usr/local/src/zh-CN/RPMS

    rpm -Uvh *.rpm desktop-integration/openoffice4.1.5-redhat-menus-4.1.5-9789.noarch.rpm

    3、启动

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

    4、检测

    [root@tomcat01 desktop-integration]# ps -ef|grep openoffice
    root     16648 16402  0 16:39 pts/0    00:00:00 /bin/sh /opt/openoffice4/program/soffice -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard
    root     16657 16648  0 16:39 pts/0    00:00:00 /opt/openoffice4/program/soffice.bin -headless -accept=socket,host=127.0.0.1,port=8100;urp; -nofirststartwizard
    root     16684 16402  0 16:52 pts/0    00:00:00 grep --color=auto openoffice
    [root@tomcat01 desktop-integration]# netstat -luntp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
    tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      -                   
    tcp        0      0 0.0.0.0:53635           0.0.0.0:*               LISTEN      1084/sshd           
    tcp        0      0 127.0.0.1:8100          0.0.0.0:*               LISTEN      16657/soffice.bin   
    tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      789/rpcbind         
    tcp        0      0 0.0.0.0:20048           0.0.0.0:*               LISTEN      1511/rpc.mountd     

    5、启动失败

    错误解决办法:
    
         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找不到
  • 相关阅读:
    9、二叉排序树的创建、插入、遍历
    8、判断两个链表是否相交
    7、判断链表是否有环
    6、查找单链表中倒数第n个节点
    5、单链表的反转
    4、KMP(看毛片)算法
    3、希尔排序
    2、快速排序
    json字符串转为json对象
    json对象转化为字符串过程分析
  • 原文地址:https://www.cnblogs.com/huangyanqi/p/9675440.html
Copyright © 2011-2022 走看看