Updated a note for PostgreSQL (Docs installation articles)

This commit is contained in:
Svetlana Maleeva 2021-07-12 18:05:41 +03:00
parent a2b6b6c5bf
commit 4ee5e7fd0d
7 changed files with 13 additions and 6 deletions

View File

@ -1,6 +1,13 @@
# Changelog
## Незарелиженные правки (master)
### Исправления
* исправлены примечания по настройке PostgreSQL в статьях по установке ONLYOFFICE Docs
* /installation/docs-community-install-ubuntu.aspx
* /installation/docs-community-install-centos.aspx
* /installation/docs-community-install-windows.aspx
## 08.07.2021 - Обновление helpcenter.onlyoffice.com
### Новые статьи
* добавлены статьи по OneClickInstall-Docs
* /installation/docs-community-install-script.aspx

View File

@ -100,7 +100,7 @@
<div class="block_of_step">
<div class="screen_text">
<p>You can create a database using the <b>pgAdmin</b> tool or <b>Command Prompt</b>.</p>
<div class="notehelp nh_notice">The created database must have <b>onlyoffice</b> both for user and password.</div>
<div class="notehelp nh_notice">The database user must have the <b>onlyoffice</b> name. You can specify any password.</div>
<p><b>Method 1</b></p>
<ol>
<li>

View File

@ -100,7 +100,7 @@
<div class="block_of_step">
<div class="screen_text">
<p>Базу данных можно создать с помощью инструмента <b>pgAdmin</b> или <b>командной строки</b>.</p>
<div class="notehelp nh_notice">Пользователем и паролем для созданной базы данных должны быть <b>onlyoffice</b>.</div>
<div class="notehelp nh_notice">Пользователь базы данных должен называться <b>onlyoffice</b>. Пароль можно задать любой.</div>
<p><b>Вариант 1</b></p>
<ol>
<li>

View File

@ -150,7 +150,7 @@ sudo chkconfig postgresql on
<pre><code>sudo service postgresql restart
</code></pre>
<p><b>Create the PostgreSQL database and user</b>:</p>
<div class="notehelp nh_notice">The created database must have <b>onlyoffice</b> both for user and password.</div>
<div class="notehelp nh_notice">The database user must have the <b>onlyoffice</b> name. You can specify any password.</div>
<p>First run the command</p>
<pre><code>cd /tmp</code></pre>
<p>to prevent the <code>could not change directory to "/root"</code> warning if running from root. Then the database and the user must be created:</p>

View File

@ -150,7 +150,7 @@ sudo chkconfig postgresql on
<pre><code>sudo service postgresql restart
</code></pre>
<p><b>Создайте базу данных и пользователя PostgreSQL</b>:</p>
<div class="notehelp nh_notice">Пользователем и паролем для созданной базы данных должны быть <b>onlyoffice</b>.</div>
<div class="notehelp nh_notice">Пользователь базы данных должен называться <b>onlyoffice</b>. Пароль можно задать любой.</div>
<p>Сначала выполните команду</p>
<pre><code>cd /tmp</code></pre>
<p>для предотвращения ситуации, когда при запуске от имени суперпользователя выдаётся сообщение <code>could not change directory to "/root"</code>. После этого необходимо создать базу данных и пользователя:</p>

View File

@ -109,7 +109,7 @@
</code></pre>
<div class="notehelp">If you want to install some other <code>PostgreSQL</code> version from the PostgreSQL Repository, please see the <a target="_blank" href="https://www.postgresql.org/download/linux/ubuntu/">official PostgreSQL documentation</a> for more detail on that.</div>
<p>After PostgreSQL is installed, create the PostgreSQL database and user:</p>
<div class="notehelp nh_notice">The created database must have <b>onlyoffice</b> both for user and password.</div>
<div class="notehelp nh_notice">The database user must have the <b>onlyoffice</b> name. You can specify any password.</div>
<pre><code>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;"

View File

@ -109,7 +109,7 @@
</code></pre>
<div class="notehelp">Если вы хотите установить какую-то другую версию <code>PostgreSQL</code> из репозитория PostgreSQL, обратитесь за дополнительной информацией к <a target="_blank" href="https://www.postgresql.org/download/linux/ubuntu/">официальной документации PostgreSQL</a>.</div>
<p>После установки PostgreSQL создайте базу данных и пользователя PostgreSQL:</p>
<div class="notehelp nh_notice">Пользователем и паролем для созданной базы данных должны быть <b>onlyoffice</b>.</div>
<div class="notehelp nh_notice">Пользователь базы данных должен называться <b>onlyoffice</b>. Пароль можно задать любой.</div>
<pre><code>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;"