HowtoForge

Installing Online Editors on Debian and Ubuntu with ONLYOFFICE Document Server

This tutorial explains the installation of ONLYOFFICE and the ONLYOFFICE Document Server on Debian and Ubuntu.

System Requirements and ONLYOFFICE Dependencies

For ONLYOFFICE Document Server correct work your machine should meet some system requirements and have some additional components installed:

A detailed installation guide for the ONLYOFFICE installation on CentOS can be found here: https://www.howtoforge.com/tutorial/onlyoffice-centos/

Installing ONLYOFFICE Online Editors

Step 1. Open Terminal using Ctrl+Alt+T

Step 2. Download ONLYOFFICE GPG signing key:

sudo wget http://download.onlyoffice.com/repo/onlyoffice.key 

And add it to the system:

sudo apt-key add onlyoffice.key

Step 3. Add ONLYOFFICE repository to the list stored in the /etc/apt/sources.list file.
To do that, open the /etc/apt/sources.list file using any available text editor (e.g. nano):

sudo nano /etc/apt/sources.list

Add the following record:

deb http://download.onlyoffice.com/repo/debian squeeze main

Update the package cache:

sudo apt-get update

Step 4. Execute the following command to install online editors:

sudo apt-get install onlyoffice-documentserver

Running ONLYOFFICE Online Editors

To open the program and start editing your docs, enter localhost (http://127.0.0.1) in the address bar of your browser.

Installing Online Editors on Debian and Ubuntu with ONLYOFFICE Document Server