zoukankan      html  css  js  c++  java
  • linux下的openoffice安装和服务自启动

    • openoffice下载并安装
          wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/zh-CN/Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_zh-CN.tar.gz 
          tar -xzvf Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_zh-CN.tar.gz
          cd zh-CN
          cd RPMS
          rmp -ivh *.rpm
    • openoffice服务自启动
    1. 创建自启动脚本/etc/init.d/openoffice,并添加以下脚本内容
           #!/bin/bash 
           #chkconfig: 2345 80 90
           #description:auto_run
           #openoffice4 start service
           /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &
    
    1. 设置openoffice为linux服务模式
           chmod 755 openoffice
           chkconfig  ––add openoffice
           chkconfig openoffice on
           chkconfig –list
           ps aux|grep openoffice
    



  • 相关阅读:
    BiLiBiLi爬虫
    12-UE4-控件类型
    11-UE4-UMG UI设计器
    10-UE4-蓝图定义简介
    UE4-目录结构简介
    UE4-字符串
    UE4-基类
    Redis-事物
    Redis的主从配置
    Redis持久化-AOF
  • 原文地址:https://www.cnblogs.com/wala-wo/p/5119218.html
Copyright © 2011-2022 走看看