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

    [摘要:间接登录openoffice民网下载硬件包,但跳转的页里却不停挨没有开。末了只能正在末端里干活下了: 1. 挑选得当的版本:http://www.openoffice.org/download/other.html 2. 翻开末端:wget url 最先下载 3.]

    直接登录openoffice官网下载软件包,但跳转的页面却一直打不开。最后只能在终端里干活下了:

    1. 选择适合的版本:http://www.openoffice.org/download/other.html

    2. 打开终端:wget url 开始下载

    3. 下完解压:

    tar -zxvf Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_zh-CN.tar.gz  

    4. 安装:

    [root@localhost RPMS]# rpm -Uvh *.rpm desktop-integration/openoffice4.1.1-redhat-menus-4.1.1-9775.noarch.rpm

    安装完后,运行:openoffice4,

    5. 启动

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

    本地报错:

    [root@localhost zh-CN]# openoffice4 No protocol specified No protocol specified /opt/openoffice4/program/soffice.bin X11 error: Can't open display:     Set DISPLAY environment variable, use -display option    or check permissions of your X-Server    (See "man X" resp. "man xhost" for details)


    重启后,就OK了。

  • 相关阅读:
    uwsgi+nginx+django
    uwsgi怎么启动停止
    centos7 命令
    django 配置静态文件
    centos7 安装node
    python 字符串拼接
    Python 编码
    python 文件夹递归
    ArcGIS二次开发的几种方式
    集合的操作
  • 原文地址:https://www.cnblogs.com/youlixishi/p/6083890.html
Copyright © 2011-2022 走看看