Installing ONLYOFFICE Docs using the provided script

Introduction

Community Edition allows you to install ONLYOFFICE Docs on your local server and integrate online editors with ONLYOFFICE collaboration platform or other popular systems.

ONLYOFFICE Docs is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.

Functionality

  • Document Editor
  • Spreadsheet Editor
  • Presentation Editor
  • Mobile web viewers
  • Collaborative editing
  • Hieroglyph support
  • Support for all the popular formats: DOC, DOCX, TXT, ODT, RTF, ODP, EPUB, ODS, XLS, XLSX, CSV, PPTX, HTML

See the detailed list of features available for ONLYOFFICE Docs Community Edition.

Using it within ONLYOFFICE Workspace, you will be able to:

  • share files;
  • manage access rights to documents;
  • embed documents on a website;
  • view and edit files stored on Drive, Box, Dropbox, OneDrive, ownCloud connected to ONLYOFFICE.

ONLYOFFICE Docs Community Edition can be installed using an automatic installation script for Linux operating systems with Docker installed. The script will set up Docker container with all the components necessary for ONLYOFFICE Docs Community Edition correct work and is easy to run, manage and update.

This guide will show you how to install ONLYOFFICE Docs Community Edition to your machine using the provided Docker script. Alternatively, you can run this script and select an option to install ONLYOFFICE Docs Community Edition from RPM/DEB packages.

System requirements
  • CPU: dual-core 2 GHz or better
  • RAM: 4 GB or more
  • HDD: at least 40 GB of free space
  • SWAP: at least 4 GB, but depends on the host OS. More is better
  • OS: amd64 Linux distribution with kernel version 3.10 or later

Getting ONLYOFFICE Docs script

Download ONLYOFFICE Docs Community Edition Docker script file:

wget https://download.onlyoffice.com/docs/docs-install.sh

Once the download is finished, you can start the installation process.

Installing ONLYOFFICE Docs

Please note that all installation actions must be performed with root rights.

To install ONLYOFFICE Docs Community Edition, run the following command:

bash docs-install.sh

You will be prompted to select the way you want to install ONLYOFFICE Docs. Type Y and press Enter to install ONLYOFFICE Docs using Docker.

Installing ONLYOFFICE Docs with script parameters

You might need to run the script specifying some additional parameters, for example, if you want to install ONLYOFFICE Docs on a certain port etc.

To display the list of all available script parameters, use the following command:

bash docs-install.sh -h

Below, there are some examples on how to perform certain tasks using script parameters.

To install ONLYOFFICE Docs on a certain port, use the -dp parameter. By default, port 80 is used.

bash docs-install.sh -dp 8080

To install ONLYOFFICE Docs from a certain Docker image stored in the repository, use the -di parameter.

bash docs-install.sh -di onlyoffice/documentserver

To install a certain version of ONLYOFFICE Docs, use the -dv parameter. If this parameter is omitted, the latest version available in the repository will be installed.

A certain version can be installed if you select installation with Docker. If you select installation from DEB/RPM packages, the latest version will be installed.
bash docs-install.sh -dv 6.2.2

To update ONLYOFFICE Docs, use the -u parameter specifying the true value.

bash docs-install.sh -u true

Installing ONLYOFFICE Docs from DEB/RPM packages

To install ONLYOFFICE Docs Community Edition, run the following command:

bash docs-install.sh

You will be prompted to select the way you want to install ONLYOFFICE Docs. Type N and press Enter to install ONLYOFFICE Docs from DEB/RPM packages.

Installing ONLYOFFICE Docs as a part of ONLYOFFICE Workspace

ONLYOFFICE Docs is a part of ONLYOFFICE Workspace that comprises also ONLYOFFICE Community Server, ONLYOFFICE Control Panel and ONLYOFFICE Mail. In case you want to install all of them using the script, read these instructions.

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags