Recently the ownCloud collection has been updated with a new application – ONLYOFFICE. In this tutorial, we will tell you what is ONLYOFFICE, how to install it and connect to ownCloud.

Introduction to ONLYOFFICE

ONLYOFFICE offers a free and open source office suite as an alternative to Google Docs and MS Office Online. It includes full-featured text document, spreadsheet and presentation editors working within your browser and allowing you to co-edit documents in real-time using one of the available co-editing modes: Fast (like in Google Docs) and Strict when all the changes appear after saving only.

ONLYOFFICE Document Editor
ONLYOFFICE Document Editor

ONLYOFFICE Spreadsheet Editor
ONLYOFFICE Spreadsheet Editor

ONLYOFFICE Presentation Editor
ONLYOFFICE Presentation Editor

Installing ONLYOFFICE

We will need to install ONLYOFFICE Document Server.

But before you go ahead, make sure your machine meets the following system requirements:

  • CPU: dual-core 2 GHz or better,
  • RAM: 4 GB or more,
  • HDD: at least 2 GB of free space,
  • At least 2 GB of swap,
  • OS: amd64 Linux distribution with kernel version 3.10 or later,
  • Docker: version 1.10 or later. If you do not have it, please see the Installation section on Docker website to learn how to get it.

Docker will allow you to deploy ONLYOFFICE Document Server with one single command without installing the necessary dependencies one by one:

sudo docker run -i -t -d -p 8080:8080 --restart=always onlyoffice/documentserver

Connecting ONLYOFFICE to ownCloud

Step 1. Place ownCloud ONLYOFFICE integration app to your ownCloud server into the /apps directory or any other used to connect applications:

cd /apps git clone https://github.com/ONLYOFFICE/onlyoffice-owncloud.git onlyoffice

Step 2. Open ownCloud, select Apps >> Not enabled, scroll down to the ONLYOFFICE application and click Enable.

Step 3. Open the ~/index.php/settings/admin#onlyoffice page to configure the administrative settings for ONLYOFFICE. Enter the name of the server with the ONLYOFFICE installed into the corresponding address field.

That is all. Now you can edit and collaborate on documents stored on your ownCloud.

Open in ONLYOFFICE

Nextcloud

We are planning to develop the plugin to Nextcloud as well. But for now it’s only working on ownCloud.