标签: Collabora Online

  • 安装Collabora Online并与nextcloud集成

    1. 安装Collabora Online
    cd /usr/share/keyrings
    sudo wget https://collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
    cd /usr/share/keyrings
    sudo wget https://collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
    

    编辑/etc/apt/sources.list.d/collaboraonline.sources,添加如下内容:

    Types: deb
    URIs: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-deb
    Suites: ./
    Signed-By: /usr/share/keyrings/collaboraonline-release-keyring.gpg

    sudo apt update && sudo apt install coolwsd code-brand
    sudo systemctl restart coolwsd
    2. 申请证书
    
    我是使用acme.sh申请证书的,过程略
    
    3. 配置collwsd
    
    在/etc/coolwsd/coolwsd.xml中添加
    >        <remote_font_config>
                    <url>https://pan.hetao.me/apps/richdocuments/settings/fonts.json</url>
            </remote_font_config>
    
    ```shell
    ln -s /opt/certs/hetao.me/hetao.me.key key.pem
    ln -s /opt/certs/hetao.me/hetao.me.cer cert.pem
    ln -s /opt/certs/hetao.me/fullchain.cer ca-chain.cert.pem
    coolconfig set ssl.enable true
    coolconfig set ssl.termination false
    sudo systemctl restart coolwsd
    
    1. 配置nextcloud

    首先安装Nextcloud Office扩展
    然后

    1. 使用效果

    Views: 97