From 8bff462712e408e44a2a1d43988150beb7deba20 Mon Sep 17 00:00:00 2001 From: svetlana maleeva Date: Thu, 3 Nov 2022 17:33:33 +0300 Subject: [PATCH] Update LinuxInstallationCentOS.ascx --- .../LinuxInstallationCentOS.ascx | 17 +++++++++++------ .../LinuxInstallationCentOS.ru.ascx | 19 ++++++++++++------- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ascx b/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ascx index 295bf1813..d711e1895 100644 --- a/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ascx +++ b/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ascx @@ -127,6 +127,10 @@ http {
Installing EPEL repository
sudo yum install epel-release
 
+

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

+
sudo dnf config-manager --set-enabled crb
+sudo dnf install epel-release epel-next-release
+
Installing and configuring PostgreSQL

Install the PostgreSQL version included in your version of CentOS:

sudo yum install postgresql postgresql-server
@@ -136,6 +140,8 @@ http {
             
sudo service postgresql initdb 
 sudo chkconfig postgresql on
 
+

On CentOS 9, chkconfig is not installed by default. Install it using the following command:

+
sudo yum install chkconfig

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:

@@ -168,11 +174,14 @@ sudo systemctl enable redis
Installing RabbitMQ
sudo yum install rabbitmq-server
 
-

To install RabbitMQ on CentOS 8, please refer to the official instruction.

+

To install RabbitMQ on CentOS 8 or CentOS 9, please refer to the official instruction.

Start the rabbitmq service and enable start on boot:

sudo service rabbitmq-server start
 sudo systemctl enable rabbitmq-server
 
+
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 mscorefonts

Install the cabextract and xorg-x11-font-utils packages:

sudo yum install cabextract xorg-x11-font-utils
@@ -181,7 +190,7 @@ sudo systemctl enable rabbitmq-server
             
sudo yum install fontconfig
 

Install the msttcore fonts package:

-
sudo rpm -i https://deac-ams.dl.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
+
sudo rpm -i https://sourceforge.net/projects/mscorefonts2/files/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
 
@@ -189,10 +198,6 @@ sudo systemctl enable 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
diff --git a/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ru.ascx b/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ru.ascx
index aaaeb6f6c..d7512e7ec 100644
--- a/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ru.ascx
+++ b/Web/Controls/Help/Server/Linux/Document/LinuxInstallationCentOS/LinuxInstallationCentOS.ru.ascx
@@ -126,7 +126,11 @@ http {
 }
Установка репозитория EPEL
sudo yum install epel-release
-
+
+

Для установки EPEL на CentOS 9 используйте следующие команды:

+
sudo dnf config-manager --set-enabled crb
+sudo dnf install epel-release epel-next-release
+
Установка и настройка PostgreSQL

Установите версию PostgreSQL, включенную в вашу версию CentOS:

sudo yum install postgresql postgresql-server
@@ -136,6 +140,8 @@ http {
 
sudo service postgresql initdb 
 sudo chkconfig postgresql on
 
+

На CentOS 9 chkconfig по умолчанию не установлен. Установите его с помощью следующей команды:

+
sudo yum install chkconfig

Включите метод аутентификации 'trust' для адреса localhost в формате IPv4 и IPv6

Откройте файл /var/lib/pgsql/data/pg_hba.conf в текстовом редакторе.

Найдите строку host all all 127.0.0.1/32 ident и замените ее на следующую:

@@ -168,11 +174,14 @@ sudo systemctl enable redis
Установка RabbitMQ
sudo yum install rabbitmq-server
 
-

Чтобы установить RabbitMQ на CentOS 8, пожалуйста, обратитесь к официальной инструкции.

+

Чтобы установить RabbitMQ на CentOS 8 или CentOS 9, пожалуйста, обратитесь к официальной инструкции.

Запустите сервис rabbitmq и добавьте его в автозагрузку:

sudo service rabbitmq-server start
 sudo systemctl enable rabbitmq-server
 
+
Добавление репозитория ONLYOFFICE Docs
+

Добавьте yum-репозиторий ONLYOFFICE Docs с помощью следующей команды:

+
sudo yum install https://download.onlyoffice.com/repo/centos/main/noarch/onlyoffice-repo.noarch.rpm
Установка mscorefonts

Установите пакеты cabextract и xorg-x11-font-utils:

sudo yum install cabextract xorg-x11-font-utils
@@ -181,7 +190,7 @@ sudo systemctl enable rabbitmq-server
             
sudo yum install fontconfig
 

Установите пакет шрифтов msttcore:

-
sudo rpm -i https://deac-ams.dl.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
+
sudo rpm -i https://sourceforge.net/projects/mscorefonts2/files/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
 
@@ -189,10 +198,6 @@ sudo systemctl enable rabbitmq-server

Установка ONLYOFFICE Docs

-
Добавление репозитория ONLYOFFICE Docs
-

Добавьте yum-репозиторий ONLYOFFICE Docs с помощью следующей команды:

-
sudo yum install https://download.onlyoffice.com/repo/centos/main/noarch/onlyoffice-repo.noarch.rpm
-
Установка ONLYOFFICE Docs

Выполните следующую команду:

sudo yum install onlyoffice-documentserver