Это старая версия документа!
Шаг 1. Установите Collabora Online на Ubuntu из официального репозитория. Collabora имеет официальный репозиторий пакетов для Ubuntu 22.04, 20.04 и 18.04. Выполните следующую команду, чтобы добавить его в вашу систему Ubuntu.
Ubuntu 22.04
echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu2204 ./' | sudo tee /etc/apt/sources.list.d/collabora.list
Ubuntu 20.04
echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu2004 ./' | sudo tee /etc/apt/sources.list.d/collabora.list
Ubuntu 18.04
echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu1804 ./' | sudo tee /etc/apt/sources.list.d/collabora.list
Then run the following command to download and import Collabora public key, which allows APT package manager to verify the integrity of packages downloaded from this repository.
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 0C54D189F4BA284D
Last Updated: May 28th, 2022 Xiao Guoan (Admin) 49 Comments Ubuntu
This tutorial is going to show you how to install Collabora Online on Ubuntu and then integrate it with an existing Nextcloud server without using Docker.
Collabora Online is a self-hostable and LibreOffice-based open-source online office suite. Its features include:
Basic editing High fidelity, WYSIWYG rendering Supports DOC, DOCX, PPT, PPTX, XLS, XLSX, ODF document format Import and view Visio, Publisher and 100+ more Shared Editing
Collabora is a big contributor to the LibreOffice project. All of the Collabora Online codes will be eventually included in LibreOffice.
Note: This tutorial works on Ubuntu 22.04, 20.04 and 18.04. If you are using another Ubuntu version, you can install Collobaora Online with Docker.
collabora online nextcloud server Prerequisites
It’s assumed that you have already set up a Nextcloud server, which can be on any Linux distribution. If you haven’t already done so, then you can check out the following easy-to-understand guides.
Install NextCloud on Ubuntu 22.04 (Nginx + PostgreSQL + PHP8) How to Install Nextcloud on Ubuntu 20.04 with LAMP Stack How to Install Nextcloud on CentOS 8 with LEMP Stack How to set up Nextcloud on Arch Linux
The Collabora Online server and Nextcloud server can be on the same machine or on two different machines. This tutorial shows how to install Collabora online server on Ubuntu without using Docker. Then integrate it with an existing Nextcloud server. Step 1: Install Collabora Online on Ubuntu From the Official Repository
Collabora has an official package repository for Ubuntu 22.04, 20.04 and 18.04. Run the following command to add it to your Ubuntu system.
Ubuntu 22.04
echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu2204 ./' | sudo tee /etc/apt/sources.list.d/collabora.list
Ubuntu 20.04
echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu2004 ./' | sudo tee /etc/apt/sources.list.d/collabora.list
Ubuntu 18.04
echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu1804 ./' | sudo tee /etc/apt/sources.list.d/collabora.list
Then run the following command to download and import Collabora public key, which allows APT package manager to verify the integrity of packages downloaded from this repository.
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 0C54D189F4BA284D
ubuntu Collabora public key
If you can’t import the public key with the above command, you can use the following command to download and import the key.
wget https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key && sudo apt-key add repomd.xml.key
Since this repository uses HTTPS connection, we need to install the apt-transport-https and ca-certificates package, so the APT package manager can establish secure connection to the repository.
sudo apt install apt-transport-https ca-certificates
Now update local package index and install Collabora Online. coolwsd is the Collabora Online WebSocket Daemon.
sudo apt update sudo apt install coolwsd code-brand
