Techdee
No Result
View All Result
Thursday, May 22, 2025
  • Home
  • Business
  • Tech
  • Internet
  • Gaming
  • AI
    • Data Science
    • Machine Learning
  • Crypto
  • Digital Marketing
  • Contact Us
Subscribe
Techdee
  • Home
  • Business
  • Tech
  • Internet
  • Gaming
  • AI
    • Data Science
    • Machine Learning
  • Crypto
  • Digital Marketing
  • Contact Us
No Result
View All Result
Techdee
No Result
View All Result
Home Software

How to Install ONLYOFFICE Docs on Debian and Ubuntu

by msz991
July 9, 2021
in Software, Tech
6 min read
0
How to Install ONLYOFFICE Docs on Debian and Ubuntu -
224
SHARES
2.8k
VIEWS
Share on FacebookShare on Twitter

ONLYOFFICE Docs is an open-source collaborative office suite. It contains three editors for text documents, spreadsheets, and presentations, fully compatible with Office Open XML formats and enabling collaborative editing in real-time. 

Table of Contents

  • Features fo Onlyoffice
  • Hardware Requirements
  • Install ONLYOFFICE Docs using .deb package
    • Step 1. Installing and configuring PostgreSQL
    • Step 2. Installing rabbitmq:
    • Step 3. Changing the port
    • Step 4. Installing ONLYOFFICE Docs
  • Alternative Ways of Installing ONLYOFFICE Docs
  • Running ONLYOFFICE Docs 

Features fo Onlyoffice

Onlyoffice Doсs Features The Following:

  • Compatibility with MS Office and OpenDocument formats : .docx, .xlsx, .pptx, .odt, .ods, .odp, etc.
  • Editing and styling feature hyperlinks, customizable tables and charts, pictures, auto shapes, formulas or text objects, multi-level bulleted or numbered lists, and more.
  • Pivot tables, slicers, data validation, over 400 available functions and formulas, filters, and sorting in spreadsheets.
  • Collaborating capabilities: two co-editing modes (Fast, in which you can see what everyone is typing in real-time, and Strict, in which you can lock the paragraph you are working with), document comparison, commenting, reviewing, tracking changes, integrated chat.
  • Document sharing permissions: full access, read-only, review, comment, form filling, download, and custom filter.
  • Extending functionality with existing plugins: Mendeley and Zotero for creating bibliographies, Google Translate,  word counter to count words and characters in the selected part of the document, text to HTML converter, Telegram chat, and Typograph for quick text correction.
  • ONLYOFFICE Docs can be integrated into various productivity solutions and content management applications via ready-to-use connectors: Nextcloud, ownCloud, Nuxeo, Plone, Moodle, Chamilo, Confluence, Alfresco, SharePoint, Liferay, HumHub, etc.
You May Also Like  Training Reinvented: Why VR is the Ultimate Learning Tool for Safety Trainings

Let’s look at how to install ONLYOFFICE Docs Community Edition Linux version on Debian, Ubuntu, and derivates.

Hardware Requirements

  • CPU: dual-core 2 GHz or better
  • RAM 2: GB or more
  • HDD: at least 40 GB of free space
  • Additional requirements: at least 4 GB of swap
  • Additional requirements:
  • PostgreSQL: version 9.1 or later
  • NGINX: version 1.3.13 or later
  • libstdc++6: version 4.8.4 or later
  • Redis
  • RabbitMQ

Install ONLYOFFICE Docs using .deb package

Installation with Debian-based distributions also requires the presence of libstdc++6, NGINX, and PostgreSQL in the system.

There are other dependencies installed automatically when you use Ubuntu 14.04 LTS or later: 

  • libcurl3
  • libxml2
  • supervisor
  • fonts-dejavu
  • fonts-liberation
  • ttf-mscorefonts-installer
  • fonts-crosextra-carlito
  • fonts-takao-gothic
  • fonts-opensymbol

Earlier distributions might require manual installation.

Step 1. Installing and configuring PostgreSQL

ONLYOFFICE Docs uses NGINX and PostgreSQL as databases. Dependencies found in the system repository will be installed automatically at ONLYOFFICE Docs installation using the apt-get install command.

To install the PostgreSQL version included in your version of Ubuntu, run the command:

  • sudo apt-get install postgresql

Create the PostgreSQL database and user:

The created database must have onlyoffice both for user and password.

  • sudo -i -u postgres psql -c “CREATE DATABASE onlyoffice;”
  • sudo -i -u postgres psql -c “CREATE USER onlyoffice WITH password ‘onlyoffice’;”
  • sudo -i -u postgres psql -c “GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;”

Step 2. Installing rabbitmq:

  • sudo apt-get install rabbitmq-server
  • Ubuntu 18.04 will require to install nginx-extras. To do that, run this command:
  • sudo apt-get install nginx-extras

Step 3. Changing the port

If you want to change the port, you will need to change the default port for the debconf system, running the command:

  • echo onlyoffice-documentserver onlyoffice/ds-port select <PORT_NUMBER> | sudo debconf-set-selections
You May Also Like  Predictive Analytics Best Practices

You should write the port number instead of the <PORT_NUMBER> in the above command line.

Step 4. Installing ONLYOFFICE Docs

Add GPG key:

  • sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys CB2DE8E5
  • Add ONLYOFFICE Docs repository:
  • sudo echo “deb https://download.onlyoffice.com/repo/debian squeeze main” | sudo tee /etc/apt/sources.list.d/onlyoffice.list
  • Update the package manager cache:
  • sudo apt-get update
  • Install mscorefonts:
  • sudo apt-get install ttf-mscorefonts-installer
  • Install ONLYOFFICE Docs:
  • sudo apt-get install onlyoffice-documentserver

During the installation process, you will be asked to provide a password for the onlyoffice PostgreSQL user. Please enter the onlyoffice password that you have specified when configuring PostgreSQL.

Use the official documentation to install ONLYOFFICE Docs on CentOS with rpm package.

Alternative Ways of Installing ONLYOFFICE Docs

Installing ONLYOFFICE Docs using Docker. 

  • sudo docker run -i -t -d -p 80:80 onlyoffice/documentserver
  • If you want to change the port, use the -p command. Example for port 8080:
  • `sudo docker run -i -t -d -p 8080:80 –restart always onlyoffice/documentserver`

Installing ONLYOFFICE Docs from snap package. 

Snapd is included into most of modern distributions. You only need to either enable or install it with the commands:

  • sudo apt update
  • sudo apt install snapd

Now ONLYOFFICE Docs can be easily installed using the following command:

  • sudo snap install onlyoffice-ds

Running ONLYOFFICE Docs 

Once the installation is finished,  you can easily run ONLYOFFICE Docs using a secure connection at http://localhost.

To use ONLYOFFICE Docs, you’ll need to integrate the suite with a document management system (DMS) or your own web application.  An integration example is provided by default on the ONLYOFFICE Docs welcome page:

Follow these instructions to equip your users with online editors and collaborate on text docs, spreadsheets, and presentations within the interface of your favorite platform. For example: 

You May Also Like  How to Make your Medical App or Device HIPAA-Compliant

In this article, we have described how the Community version is installed. You can use its basic editing tools as long as you respect the GNU AGPL v.3 licenses. 

In case you are seeking for a scalable solution with pro features, priority access to security fixes and regular updates as well as professional technical assistance, you can opt for ONLYOFFICE Docs Enterprise or Developer which can be embedded into your own solution and deployed under your corporate brand.

Follow Techdee for more!

Previous Post

Essential Maintenance Needed in the Office

Next Post

How SMBs Can Improve Their Cybersecurity

Next Post
How SMBs Can Improve Their Cybersecurity--

How SMBs Can Improve Their Cybersecurity

Why Small Business Should Invest In An Invoice Generator

Why Small Business Should Invest In An Invoice Generator

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Write for us

write for us technology

About

Techdee is all in one business and technology blog. We provide latest and authentic news related to tech, marketing, gaming, business, and etc

Site Navigation

  • Home
  • Contact Us
  • Write for us
  • Terms and Condition
  • About Us
  • Privacy Policy

Google News

Google News

Search

No Result
View All Result
  • Technoroll
  • Contact

© 2021 Techdee - Business and Technology Blog.

No Result
View All Result
  • Home
  • Business
  • Tech
  • Internet
  • Gaming
  • AI
    • Data Science
    • Machine Learning
  • Crypto
  • Digital Marketing
  • Contact Us

© 2021 Techdee - Business and Technology Blog.

Login to your account below

Forgotten Password?

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.