Artículos con :
Cerrar
Changelog
Cerrar
Pruébelo en la nube
Centro de ayuda
ONLYOFFICE Docs Enterprise Edition for Linux

Installing ONLYOFFICE Docs Enterprise Edition on CentOS or RHEL for the 64-bit ARM architecture

ONLYOFFICE Docs v8.2 ONLYOFFICE Docs changelog

Version 8.2.1

Release date: 11/12/2024

Version 8.2.0

Release date: 10/17/2024

Version 8.1.1

Release date: 07/15/2024

Version 8.1.0

Release date: 06/19/2024

Version 8.0.1

Release date: 02/26/2024

Version 8.0.0

Release date: 01/30/2024

Version 7.5.1

Release date: 11/08/2023

Version 7.5.0

Release date: 10/17/2023

Version 7.4.1

Release date: 07/31/2023

Version 7.4.0

Release date: 06/13/2023

Version 7.3.3

Release date: 03/15/2023

Version 7.3.2

Release date: 02/14/2023

Version 7.3.0

Release date: 01/31/2023

Version 7.2.2

Release date: 12/20/2022

Version 7.2.1

Release date: 10/21/2022

Version 7.2.0

Release date: 09/22/2022

Version 7.1.1

Release date: 06/02/2022

Version 7.1.0

Release date: 05/12/2022

Version 7.0.1

Release date: 02/22/2022

Version 7.0.0

Release date: 01/18/2022

Version 6.4.2

Release date: 10/14/2021

Version 6.4.1

Release date: 09/28/2021

Version 6.4.0

Release date: 08/26/2021

Version 6.3.2

Release date: 08/10/2021

Version 6.3.1

Release date: 06/08/2021

Version 6.3.0

Release date: 05/20/2021

Version 6.2.2

Release date: 04/19/2021

Version 6.2.1

Release date: 03/31/2021

Version 6.2.0

Release date: 03/01/2021

Version 6.1.1

Release date: 01/28/2021

Version 6.1.0

Release date: 12/02/2020

Version 6.0.2

Release date: 11/12/2020

Version 6.0.1

Release date: 10/28/2020

Version 6.0.0

Release date: 10/14/2020

Version 5.6.5

Release date: 09/21/2020

Version 5.6.4

Release date: 09/08/2020

Version 5.6.3

Release date: 08/17/2020

Version 5.6.2

Release date: 08/07/2020

Version 5.6.1

Release date: 08/05/2020

Version 5.6.0

Release date: 07/29/2020

Version 5.5.3

Release date: 05/22/2020

Version 5.5.1

Release date: 04/09/2020

Version 5.5.0

Release date: 03/05/2020

Version 5.4.2

Release date: 11/27/2019

Version 5.4.1

Release date: 10/02/2019

Version 5.4.0

Release date: 09/03/2019

Version 5.3.4

Release date: 07/16/2019

Version 5.3.2

Release date: 06/24/2019

Version 5.3.1

Release date: 06/06/2019

Version 5.3.0

Release date: 05/28/2019

Version 5.2.8

Release date: 02/05/2019

Version 5.2.7

Release date: 01/16/2019

Version 5.2.6

Release date: 12/25/2018

Version 5.2.4

Release date: 12/12/2018

Version 5.2.3

Release date: 10/31/2018

Version 5.2.2

Release date: 10/05/2018

Version 5.2.0

Release date: 09/28/2018

Version 5.1.5

Release date: 07/18/2018

Version 5.1.4

Release date: 05/24/2018

Version 5.1.3

Release date: 04/27/2018

Version 5.1.2

Release date: 04/11/2018

Version 5.1.1

Release date: 04/05/2018

Version 5.1.0

Release date: 03/28/2018

Version 5.0.7

Release date: 01/16/2018

Version 5.0.6

Release date: 12/11/2017

Version 5.0.5

Release date: 11/28/2017

Version 5.0.4

Release date: 11/14/2017

Version 5.0.3

Release date: 11/02/2017

Version 5.0.2 SaaS only

Release date: 10/13/2017

Version 5.0.1 SaaS only

Release date: 10/05/2017

Version 5.0.0 SaaS only

Release date: 09/23/2017

Version 4.4.4

Release date: 09/13/2017

Windows-only release

See changelog on GitHub

Version 4.4.3

Release date: 08/14/2017

Version 4.4.2

Release date: 07/24/2017

Version 4.4.1

Release date: 07/05/2017

Version 4.3.6

Release date: 06/14/2017

Version 4.3.5

Release date: 06/05/2017

Version 4.3.4

Release date: 05/16/2017

Version 4.3.3

Release date: 04/28/2017

Version 4.3.2

Release date: 04/17/2017

Version 4.3.1

Release date: 04/06/2017

Version 4.3.0

Release date: 04/03/2017

Version 4.2.11

Release date: 03/13/2017

Version 4.2.10

Release date: 02/20/2017

Version 4.2.9

Release date: 02/14/2017

Version 4.2.8

Release date: 02/06/2017

Version 4.2.7

Release date: 02/01/2017

Version 4.2.5

Release date: 01/16/2017

Version 4.2.4

Release date: 01/09/2017

Version 4.2.3

Release date: 12/23/2016

Version 4.2.2

Release date: 12/21/2016

Version 4.2.1

Release date: 12/06/2016

Version 4.2.0

Release date: 12/01/2016

Version 4.1.8

Release date: 11/03/2016

Version 4.1.7

Release date: 11/01/2016

Version 4.1.6

Release date: 10/26/2016

Version 4.1.5

Release date: 10/13/2016

Version 4.1.4

Release date: 10/07/2016

Version 4.1.3

Release date: 09/28/2016

Version 4.1.2

Release date: 09/22/2016

Version 4.0.3

Release date: 08/04/2016

Version 4.0.2

Release date: 08/03/2016

Introduction

Starting from version 7.1, ONLYOFFICE Docs can be installed on CentOS or RHEL for the 64-bit ARM architecture.

Enterprise Edition allows you to install ONLYOFFICE Docs on your local server and integrate online editors with your web applicationONLYOFFICE 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
  • Mobile web editors
  • 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 Enterprise Edition.

Integrating it with ONLYOFFICE Groups 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.
If you want to use ONLYOFFICE Docs together with ONLYOFFICE Groups, they must be installed on two different machines.

This guide will show you how to install ONLYOFFICE Docs Enterprise Edition Linux version 7.1 and later on CentOS Stream 9, RHEL 8, and RHEL 9 for the 64-bit ARM architecture.

System requirements

  • CPU
    64-bit ARM processors
  • RAM
    2 GB o más
  • HDD
    al menos 40 GB de espacio libre
  • Requisitos adicionales
    at least 4 GB of swap
  • OS
    CentOS Stream 9, RHEL 8, or RHEL 9 for arm64
  • Requisitos adicionales
    • PostgreSQL: versión 12.9 o posterior
    • NGINX: versión 1.3.13 o posterior
    • Redis: versión 4 o posterior
    • RabbitMQ: versión 3.13

Installing dependencies

Installing the up-to-date NGINX package version

To set up the yum repository for RHEL/CentOS, create the file named /etc/yum.repos.d/nginx.repo with the following contents:

[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true

Install NGINX:

sudo yum install nginx

Remove the following file:

sudo rm /etc/nginx/conf.d/default.conf

Official instruction

After that edit the /etc/nginx/nginx.conf NGINX configuration file, so that it looked the following way:

user                  nginx;
worker_processes      1;
error_log             /var/log/nginx/error.log warn;
pid                   /var/run/nginx.pid;
events {
  worker_connections  1024;
}
http {
  include             /etc/nginx/mime.types;
  default_type        application/octet-stream;
  log_format          main  '$remote_addr - $remote_user [$time_local] "$request" '
                            '$status $body_bytes_sent "$http_referer" '
                            '"$http_user_agent" "$http_x_forwarded_for"';
  access_log          /var/log/nginx/access.log  main;
  sendfile            on;
  #tcp_nopush         on;
  keepalive_timeout   65;
  #gzip               on;
  include             /etc/nginx/conf.d/*.conf;
}
Installing EPEL repository
sudo yum install epel-release

To install EPEL on CentOS 9, use the following commands:

sudo yum config-manager --set-enabled crb
sudo yum install epel-release epel-next-release

To install EPEL on RHEL, use the following commands:

sudo subscription-manager repos --enable codeready-builder-for-rhel-$REV-$(arch)-rpms
sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$REV.noarch.rpm

Change $REV to your OS version manually (8 for versions 8.x, 9 for versions 9.x and so on).

Initialize the PostgreSQL database

sudo service postgresql initdb 
sudo chkconfig postgresql on

Turn on the 'trust' authentication method for IPv4 and IPv6 localhost

Open the /var/lib/pgsql/data/pg_hba.conf file in a text editor.

Find the host all all 127.0.0.1/32 ident string and replace it with the following one:

host    all             all             127.0.0.1/32            trust

Then find the host all all ::1/128 ident string and replace it with the following one:

host    all             all             ::1/128                 trust

Save the changes.

Restart the PostgreSQL service:

sudo service postgresql restart

Create the PostgreSQL database and user:

You can specify any user name and password.

First run the command

cd /tmp

to prevent the could not change directory to "/root" warning if running from root. Then the database and the user must be created:

sudo -i -u postgres psql -c "CREATE USER onlyoffice WITH PASSWORD 'onlyoffice';"
sudo -i -u postgres psql -c "CREATE DATABASE onlyoffice OWNER onlyoffice;"
Installing Redis

Run the following command:

sudo rpm -ivh https://rpms.remirepo.net/enterprise/remi-release-$REV.rpm

Change $REV to your OS version manually (8 for versions 8.x, 9 for versions 9.x and so on).

sudo yum -y install redis --enablerepo=remi

Start the redis service and enable start on boot:

sudo systemctl enable --now redis
Installing RabbitMQ
sudo curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
ERLANG_LATEST_VERSION=$(curl -s https://api.github.com/repos/rabbitmq/erlang-rpm/releases | sed -n 's/.*"tag_name":\s*"v\([^"]*\)".*/\1/p' | head -1)
sudo rpm -ivh https://github.com/rabbitmq/erlang-rpm/releases/latest/download/erlang-${ERLANG_LATEST_VERSION}-1.el${REV}.aarch64.rpm

Change $REV to your OS version manually (8 for versions 8.x, 9 for versions 9.x and so on).

sudo yum install rabbitmq-server

Alternatively, you can install RabbitMQ on CentOS 8 or CentOS 9 from the official site.

Start the rabbitmq service and enable start on boot:

sudo systemctl enable --now rabbitmq-server

Installing ONLYOFFICE Docs

Adding the ONLYOFFICE Docs repository

Add the yum ONLYOFFICE Docs repository with the following command:

sudo yum install https://download.onlyoffice.com/repo/centos/main/noarch/onlyoffice-repo.noarch.rpm
Installing ONLYOFFICE Docs

Execute the following command:

sudo yum install onlyoffice-documentserver
sudo yum install onlyoffice-documentserver-ee
sudo yum install onlyoffice-documentserver-de

Start the nginx service and enable start on boot:

sudo service nginx start
sudo systemctl enable nginx

After that ONLYOFFICE Docs will be run as a process. The package will be updated just like any other rpm package.

Changing the default ONLYOFFICE Docs port

By default ONLYOFFICE Docs listens to the incoming connections using port 80. Starting with version 4.3 you can change the port for ONLYOFFICE Docs if you plan to use it instead of the default one.

If you are going to change the default port, make sure that it is open for the incoming/outgoing connections. See the complete list of the ports used by ONLYOFFICE Docs.

To do that you will need to edit the DS_PORT environment variable running the command:

export DS_PORT=<PORT_NUMBER>

Please write the port number instead of the <PORT_NUMBER> in the above command.

Warning If you want to change the ONLYOFFICE Docs protocol to HTTPS, do not change the port to 443, but use this instruction instead.

After that you can continue configuring ONLYOFFICE Docs.

Configuring ONLYOFFICE Docs

Run a configuration script
Note By default, PostgreSQL is used as a database. If you want to use MySQL instead of PostgreSQL, please add two environment variables for defining database type and port before running the documentserver-configure.sh script:
export DB_TYPE=mysql
export DB_PORT=3306

After adding these two variables, you will be able to switch the DB using the script.

Run the documentserver-configure.sh script:

bash documentserver-configure.sh

You will be asked to specify the PostgreSQL, Redis and RabbitMQ connection parameters. Use the following data:

For PostgreSQL:

  • Host: localhost
  • Database: onlyoffice
  • User: onlyoffice
  • Password: onlyoffice

For Redis:

  • Host: localhost

For RabbitMQ:

  • Host: localhost
  • User: guest
  • Password: guest
Add a firewall exception
sudo firewall-cmd --zone=public --add-port=80/tcp --permanent
sudo firewall-cmd --reload
Disable SELinux deprecated since v.5.0

Open the /etc/selinux/config file using any text editor, replace the SELINUX=enforcing or SELINUX=permissive string with the SELINUX=disabled one and save the changes.

Reboot your server for the changes to take effect.

Note For security reasons, starting from v8.1, new WOPI keys are generated in local.json when running the documentserver-configure.sh script. If you are using a WOPI connection, you need to run the script after updating ONLYOFFICE Docs:
documentserver-configure.sh --wopienabled true

Launching ONLYOFFICE Docs in a browser

Once the configuration is finished, you can enter http://localhost in your browser address bar to open the ONLYOFFICE Docs welcome page where you will find further instructions on how to enable document examples or integrate online editors into your web application using the provided API.

To connect ONLYOFFICE Docs to ONLYOFFICE Groups, please refer to this instruction.

Registering your Developer EditionEnterprise Edition version

If you bought Developer EditionEnterprise Edition and received the license.lic file, you can place it to your installation to obtain the software full version.

When you are a Red Hat based Linux distributive user, the license.lic file is placed to the following folder:

/var/www/onlyoffice/Data/license.lic

After that your version of Developer EditionEnterprise Edition will become registered and full-featured.

Download Host on your own server Available for
Docker, Windows and Linux
También le podría gustar:
Cerrar