zoukankan      html  css  js  c++  java
  • 09.安装Collabora Online服务

    安装Collabora Online服务

    参考博客:http://blog.sina.com.cn/s/blog_16b158be80102xp5u.html

    一、安装docker服务

    yum install -y yum-utils

    yum install docker -y
    systemctl enable docker
    systemctl start docker
    docker ps
    systemctl status docker

    docker pull collabora/code

    docker run  -t -d -p 127.0.0.1:9980:9980 -e 'domain=cloud\.flybird\.com'    -e "username=admin" -e "password=123456" --restart always --cap-add MKNOD collabora/code

    docker run -t -d -p 0.0.0.0:9980:9980     -e 'domain=cloud\.flybird\.com' -e "username=admin" -e "password=123456" --restart always --cap-add MKNOD collabora/code

    server {
        listen       443 ssl;
        server_name  collabora.flybird.com;
    
        ssl_certificate /etc/nginx/cert/nextcloud.crt;
      ssl_certificate_key /etc/nginx/cert/nextcloud.key; # static files location ^~ /loleaflet { proxy_pass https://localhost:9980; proxy_set_header Host $http_host; } # WOPI discovery URL location ^~ /hosting/discovery { proxy_pass https://localhost:9980; proxy_set_header Host $http_host; } # main websocket location ~ ^/lool/(.*)/ws$ { proxy_pass https://localhost:9980; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $http_host; proxy_read_timeout 36000s; } # download, presentation and image upload location ~ ^/lool { proxy_pass https://localhost:9980; proxy_set_header Host $http_host; } # Admin Console websocket location ^~ /lool/adminws { proxy_pass https://localhost:9980; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $http_host; proxy_read_timeout 36000s; } }
  • 相关阅读:
    [转载]Oracle Golden Gate
    git操作命令
    logger.error完整打印错误堆栈信息
    短网址算法
    YYYY-mm-dd HH:MM:SS大小写解释
    quarz时间配置
    Freemarket语法
    Java NIO:IO与NIO的区别
    idea常用到的命令
    linux 常用命令
  • 原文地址:https://www.cnblogs.com/ericchengge677/p/10729327.html
Copyright © 2011-2022 走看看