Update LinuxInstallationCentOS.ascx

This commit is contained in:
Svetlana Maleeva 2022-11-03 17:33:33 +03:00
parent 180eb99bf1
commit 8bff462712
2 changed files with 23 additions and 13 deletions

View File

@ -127,6 +127,10 @@ http {
<h5>Installing EPEL repository</h5>
<pre><code>sudo yum install epel-release
</code></pre>
<p>To install EPEL on CentOS 9, use the following commands:</p>
<pre><code>sudo dnf config-manager --set-enabled crb
sudo dnf install epel-release epel-next-release
</code></pre>
<h5>Installing and configuring PostgreSQL</h5>
<p><b>Install the PostgreSQL</b> version included in your version of CentOS:</p>
<pre><code>sudo yum install postgresql postgresql-server
@ -136,6 +140,8 @@ http {
<pre><code>sudo service postgresql initdb
sudo chkconfig postgresql on
</code></pre>
<p>On CentOS 9, <code>chkconfig</code> is not installed by default. Install it using the following command:</p>
<pre><code>sudo yum install chkconfig</code></pre>
<p><b>Turn on the 'trust' authentication method</b> for IPv4 and IPv6 localhost</p>
<p>Open the <code>/var/lib/pgsql/data/pg_hba.conf</code> file in a text editor.</p>
<p>Find the <code>host all all 127.0.0.1/32 ident</code> string and replace it with the following one:</p>
@ -168,11 +174,14 @@ sudo systemctl enable redis
<h5>Installing RabbitMQ</h5>
<pre><code>sudo yum install rabbitmq-server
</code></pre>
<p>To install RabbitMQ on CentOS 8, please refer to the <a target="_blank" href="https://www.rabbitmq.com/install-rpm.html">official instruction</a>.</p>
<p>To install RabbitMQ on CentOS 8 or CentOS 9, please refer to the <a target="_blank" href="https://www.rabbitmq.com/install-rpm.html">official instruction</a>.</p>
<p>Start the rabbitmq service and enable start on boot:</p>
<pre><code>sudo service rabbitmq-server start
sudo systemctl enable rabbitmq-server
</code></pre>
<h5>Adding the ONLYOFFICE Docs repository</h5>
<p>Add the yum <b>ONLYOFFICE Docs</b> repository with the following command:</p>
<pre><code>sudo yum install https://download.onlyoffice.com/repo/centos/main/noarch/onlyoffice-repo.noarch.rpm</code></pre>
<h5>Installing mscorefonts</h5>
<p>Install the <code>cabextract</code> and <code>xorg-x11-font-utils</code> packages:</p>
<pre><code>sudo yum install cabextract xorg-x11-font-utils
@ -181,7 +190,7 @@ sudo systemctl enable rabbitmq-server
<pre><code>sudo yum install fontconfig
</code></pre>
<p>Install the msttcore fonts package:</p>
<pre><code>sudo rpm -i https://deac-ams.dl.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
<pre><code>sudo rpm -i https://sourceforge.net/projects/mscorefonts2/files/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
</code></pre>
</div>
</div>
@ -189,10 +198,6 @@ sudo systemctl enable rabbitmq-server
<h2 id="InstallingDocumentServer">Installing ONLYOFFICE Docs</h2>
<div class="block_of_step">
<div class="screen_text">
<h5>Adding the ONLYOFFICE Docs repository</h5>
<p>Add the yum <b>ONLYOFFICE Docs</b> repository with the following command:</p>
<pre><code>sudo yum install https://download.onlyoffice.com/repo/centos/main/noarch/onlyoffice-repo.noarch.rpm</code></pre>
<h5>Installing ONLYOFFICE Docs</h5>
<p>Execute the following command:</p>
<div class="community_display">
<pre><code>sudo yum install onlyoffice-documentserver

View File

@ -126,7 +126,11 @@ http {
}</code></pre>
<h5>Установка репозитория EPEL</h5>
<pre><code>sudo yum install epel-release
</code></pre>
</code></pre>
<p>Для установки EPEL на CentOS 9 используйте следующие команды:</p>
<pre><code>sudo dnf config-manager --set-enabled crb
sudo dnf install epel-release epel-next-release
</code></pre>
<h5>Установка и настройка PostgreSQL</h5>
<p><b>Установите версию PostgreSQL</b>, включенную в вашу версию CentOS:</p>
<pre><code>sudo yum install postgresql postgresql-server
@ -136,6 +140,8 @@ http {
<pre><code>sudo service postgresql initdb
sudo chkconfig postgresql on
</code></pre>
<p>На CentOS 9 <code>chkconfig</code> по умолчанию не установлен. Установите его с помощью следующей команды:</p>
<pre><code>sudo yum install chkconfig</code></pre>
<p><b>Включите метод аутентификации 'trust'</b> для адреса localhost в формате IPv4 и IPv6</p>
<p>Откройте файл <code>/var/lib/pgsql/data/pg_hba.conf</code> в текстовом редакторе.</p>
<p>Найдите строку <code>host all all 127.0.0.1/32 ident</code> и замените ее на следующую:</p>
@ -168,11 +174,14 @@ sudo systemctl enable redis
<h5>Установка RabbitMQ</h5>
<pre><code>sudo yum install rabbitmq-server
</code></pre>
<p>Чтобы установить RabbitMQ на CentOS 8, пожалуйста, обратитесь к <a target="_blank" href="https://www.rabbitmq.com/install-rpm.html">официальной инструкции</a>.</p>
<p>Чтобы установить RabbitMQ на CentOS 8 или CentOS 9, пожалуйста, обратитесь к <a target="_blank" href="https://www.rabbitmq.com/install-rpm.html">официальной инструкции</a>.</p>
<p>Запустите сервис rabbitmq и добавьте его в автозагрузку:</p>
<pre><code>sudo service rabbitmq-server start
sudo systemctl enable rabbitmq-server
</code></pre>
<h5>Добавление репозитория ONLYOFFICE Docs</h5>
<p>Добавьте yum-репозиторий <b>ONLYOFFICE Docs</b> с помощью следующей команды:</p>
<pre><code>sudo yum install https://download.onlyoffice.com/repo/centos/main/noarch/onlyoffice-repo.noarch.rpm</code></pre>
<h5>Установка mscorefonts</h5>
<p>Установите пакеты <code>cabextract</code> и <code>xorg-x11-font-utils</code>:</p>
<pre><code>sudo yum install cabextract xorg-x11-font-utils
@ -181,7 +190,7 @@ sudo systemctl enable rabbitmq-server
<pre><code>sudo yum install fontconfig
</code></pre>
<p>Установите пакет шрифтов msttcore:</p>
<pre><code>sudo rpm -i https://deac-ams.dl.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
<pre><code>sudo rpm -i https://sourceforge.net/projects/mscorefonts2/files/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
</code></pre>
</div>
</div>
@ -189,10 +198,6 @@ sudo systemctl enable rabbitmq-server
<h2 id="InstallingDocumentServer">Установка ONLYOFFICE Docs</h2>
<div class="block_of_step">
<div class="screen_text">
<h5>Добавление репозитория ONLYOFFICE Docs</h5>
<p>Добавьте yum-репозиторий <b>ONLYOFFICE Docs</b> с помощью следующей команды:</p>
<pre><code>sudo yum install https://download.onlyoffice.com/repo/centos/main/noarch/onlyoffice-repo.noarch.rpm</code></pre>
<h5>Установка ONLYOFFICE Docs</h5>
<p>Выполните следующую команду:</p>
<div class="community_display">
<pre><code>sudo yum install onlyoffice-documentserver