Edit DNS settings for Docker version - RPM systems
This commit is contained in:
parent
96721b1cb4
commit
40e4fae8f7
@ -95,7 +95,18 @@
|
||||
Docker specifies Google DNS servers by default. If your <b>ONLYOFFICE Docs</b> is not going to have access to the Internet, we recommend that you change the default Docker DNS address to the address of your local DNS server. To do that go to the <code>/etc/default/docker</code> file and change the IP address in the following line to the IP address of a DNS server in your local network:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>For the RPM based operating systems like CentOS, the configuration file can be located here: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>For the RPM based operating systems like CentOS:</p>
|
||||
<ol>
|
||||
<li>Create the <code>/etc/docker/daemon.json</code> configuration file with the following contents:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Restart the Docker service:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p>After you have Docker installed, run it and execute the following command:</p>
|
||||
<div class="community_display">
|
||||
|
@ -93,7 +93,18 @@
|
||||
Docker specifies Google DNS servers by default. If your <b>ONLYOFFICE Docs</b> is not going to have access to the Internet, we recommend that you change the default Docker DNS address to the address of your local DNS server. To do that go to the <code>/etc/default/docker</code> file and change the IP address in the following line to the IP address of a DNS server in your local network:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>For the RPM based operating systems like CentOS, the configuration file can be located here: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>For the RPM based operating systems like CentOS:</p>
|
||||
<ol>
|
||||
<li>Create the <code>/etc/docker/daemon.json</code> configuration file with the following contents:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Restart the Docker service:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p>After you have Docker installed, run it and execute the following command:</p>
|
||||
<div class="community_display">
|
||||
|
@ -92,7 +92,18 @@
|
||||
В Docker по умолчанию указаны DNS-серверы Google. Если ваш <b>ONLYOFFICE Docs</b> не будет иметь доступа в Интернет, рекомендуется изменить заданный в Docker по умолчанию адрес DNS-сервера на адрес вашего локального DNS-сервера. Для этого откройте файл <code>/etc/default/docker</code> и замените IP-адрес в следующей строке на IP-адрес DNS-сервера в вашей локальной сети:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS, файл конфигурации может находиться здесь: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS:</p>
|
||||
<ol>
|
||||
<li>Создайте файл конфигурации <code>/etc/docker/daemon.json</code> со следующим содержанием:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Перезапустите сервис Docker:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p>После того, как Docker будет установлен, запустите его и выполните следующую команду:</p>
|
||||
<div class="community_display">
|
||||
|
@ -102,7 +102,18 @@
|
||||
Docker specifies Google DNS servers by default. If your <b><%= ((BasePage)Page).EditionVersion %></b> server is not going to have access to the Internet, we recommend that you change the default Docker DNS address to the address of your local DNS server. To do that go to the <code>/etc/default/docker</code> file and change the IP address in the following line to the IP address of a DNS server in your local network:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>For the RPM based operating systems like CentOS, the configuration file can be located here: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>For the RPM based operating systems like CentOS:</p>
|
||||
<ol>
|
||||
<li>Create the <code>/etc/docker/daemon.json</code> configuration file with the following contents:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Restart the Docker service:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -98,7 +98,18 @@
|
||||
В Docker по умолчанию указаны DNS-серверы Google. Если ваш сервер <b><%= ((BasePage)Page).EditionVersion %></b> не будет иметь доступа в Интернет, рекомендуется изменить заданный в Docker по умолчанию адрес DNS-сервера на адрес вашего локального DNS-сервера. Для этого откройте файл <code>/etc/default/docker</code> и замените IP-адрес в следующей строке на IP-адрес DNS-сервера в вашей локальной сети:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS, файл конфигурации может находиться здесь: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS:</p>
|
||||
<ol>
|
||||
<li>Создайте файл конфигурации <code>/etc/docker/daemon.json</code> со следующим содержанием:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Перезапустите сервис Docker:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -75,7 +75,18 @@
|
||||
Docker specifies Google DNS servers by default. If your <b><%= ((BasePage)Page).EditionVersion %></b> server is not going to have access to the Internet, we recommend that you change the default Docker DNS address to the address of your local DNS server. To do that go to the <code>/etc/default/docker</code> file and change the IP address in the following line to the IP address of a DNS server in your local network:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>For the RPM based operating systems like CentOS, the configuration file can be located here: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>For the RPM based operating systems like CentOS:</p>
|
||||
<ol>
|
||||
<li>Create the <code>/etc/docker/daemon.json</code> configuration file with the following contents:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Restart the Docker service:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -75,7 +75,18 @@
|
||||
В Docker по умолчанию указаны DNS-серверы Google. Если ваш сервер <b><%= ((BasePage)Page).EditionVersion %></b> не будет иметь доступа в Интернет, рекомендуется изменить заданный в Docker по умолчанию адрес DNS-сервера на адрес вашего локального DNS-сервера. Для этого откройте файл <code>/etc/default/docker</code> и замените IP-адрес в следующей строке на IP-адрес DNS-сервера в вашей локальной сети:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS, файл конфигурации может находиться здесь: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS:</p>
|
||||
<ol>
|
||||
<li>Создайте файл конфигурации <code>/etc/docker/daemon.json</code> со следующим содержанием:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Перезапустите сервис Docker:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
<h2 id="InstallDocServer">Установка Сервера документов</h2>
|
||||
|
@ -6,7 +6,18 @@
|
||||
Docker specifies Google DNS servers by default. If your <b>ONLYOFFICE Groups</b> is not going to have access to the Internet, we recommend that you change the default Docker DNS address to the address of your local DNS server. To do that go to the <code>/etc/default/docker</code> file and change the IP address in the following line to the IP address of a DNS server in your local network:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>For the RPM based operating systems like CentOS, the configuration file can be located here: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>For the RPM based operating systems like CentOS:</p>
|
||||
<ol>
|
||||
<li>Create the <code>/etc/docker/daemon.json</code> configuration file with the following contents:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Restart the Docker service:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p>Before you start the installation you need to create the following folders:</p>
|
||||
<ol>
|
||||
|
@ -6,7 +6,18 @@
|
||||
В Docker по умолчанию указаны DNS-серверы Google. Если ваш <b>ONLYOFFICE Groups</b> не будет иметь доступа в Интернет, рекомендуется изменить заданный в Docker по умолчанию адрес DNS-сервера на адрес вашего локального DNS-сервера. Для этого откройте файл <code>/etc/default/docker</code> и замените IP-адрес в следующей строке на IP-адрес DNS-сервера в вашей локальной сети:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS, файл конфигурации может находиться здесь: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS:</p>
|
||||
<ol>
|
||||
<li>Создайте файл конфигурации <code>/etc/docker/daemon.json</code> со следующим содержанием:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Перезапустите сервис Docker:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p>Прежде чем начинать установку, надо создать следующие папки:</p>
|
||||
<ol>
|
||||
|
@ -6,7 +6,18 @@
|
||||
Docker specifies Google DNS servers by default. If your <b>ONLYOFFICE Groups</b> is not going to have access to the Internet, we recommend that you change the default Docker DNS address to the address of your local DNS server. To do that go to the <code>/etc/default/docker</code> file and change the IP address in the following line to the IP address of a DNS server in your local network:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>For the RPM based operating systems like CentOS, the configuration file can be located here: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>For the RPM based operating systems like CentOS:</p>
|
||||
<ol>
|
||||
<li>Create the <code>/etc/docker/daemon.json</code> configuration file with the following contents:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Restart the Docker service:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p>Before you start the installation you need to create the following folders:</p>
|
||||
<ol>
|
||||
|
@ -6,7 +6,18 @@
|
||||
В Docker по умолчанию указаны DNS-серверы Google. Если ваш <b>ONLYOFFICE Groups</b> не будет иметь доступа в Интернет, рекомендуется изменить заданный в Docker по умолчанию адрес DNS-сервера на адрес вашего локального DNS-сервера. Для этого откройте файл <code>/etc/default/docker</code> и замените IP-адрес в следующей строке на IP-адрес DNS-сервера в вашей локальной сети:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS, файл конфигурации может находиться здесь: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS:</p>
|
||||
<ol>
|
||||
<li>Создайте файл конфигурации <code>/etc/docker/daemon.json</code> со следующим содержанием:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Перезапустите сервис Docker:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p>Прежде чем начинать установку, надо создать следующие папки:</p>
|
||||
<ol>
|
||||
|
@ -6,7 +6,18 @@
|
||||
Docker specifies Google DNS servers by default. If your <b>ONLYOFFICE Groups</b> is not going to have access to the Internet, we recommend that you change the default Docker DNS address to the address of your local DNS server. To do that go to the <code>/etc/default/docker</code> file and change the IP address in the following line to the IP address of a DNS server in your local network:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>For the RPM based operating systems like CentOS, the configuration file can be located here: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>For the RPM based operating systems like CentOS:</p>
|
||||
<ol>
|
||||
<li>Create the <code>/etc/docker/daemon.json</code> configuration file with the following contents:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Restart the Docker service:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p>Before you start the installation you need to create the following folders:</p>
|
||||
<ol>
|
||||
|
@ -6,7 +6,18 @@
|
||||
В Docker по умолчанию указаны DNS-серверы Google. Если ваш <b>ONLYOFFICE Groups</b> не будет иметь доступа в Интернет, рекомендуется изменить заданный в Docker по умолчанию адрес DNS-сервера на адрес вашего локального DNS-сервера. Для этого откройте файл <code>/etc/default/docker</code> и замените IP-адрес в следующей строке на IP-адрес DNS-сервера в вашей локальной сети:
|
||||
<pre><code>docker_OPTS="--dns 8.8.8.8"
|
||||
</code></pre>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS, файл конфигурации может находиться здесь: <code>/etc/docker/daemon.json</code></p>
|
||||
<p>Для операционных систем на основе RPM, например, CentOS:</p>
|
||||
<ol>
|
||||
<li>Создайте файл конфигурации <code>/etc/docker/daemon.json</code> со следующим содержанием:
|
||||
<pre><code>{ "dns" : [ "8.8.8.8" ] }
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>Перезапустите сервис Docker:
|
||||
<pre><code>
|
||||
sudo systemctl restart docker.service
|
||||
</code></pre>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p>Прежде чем начинать установку, надо создать следующие папки:</p>
|
||||
<ol>
|
||||
|
Loading…
Reference in New Issue
Block a user