<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Настройка конфигурации CentOS7 + Apache]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=40226&amp;type=atom" />
	<updated>2019-09-28T20:13:06Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=40226</id>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465393#p465393" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>diablero пишет:</cite><blockquote><p>Перевел с NAT на BRIDGE,</p></blockquote></div><p>Подсеть одна? Маршрут и DNS одни?<br />Что говорит браузер в виртуалке при попытке захода по IP?</p>]]></content>
			<author>
				<name><![CDATA[DiabloPC]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35386</uri>
			</author>
			<updated>2019-09-28T20:13:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465393#p465393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465358#p465358" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>DiabloPC пишет:</cite><blockquote><div class="quotebox"><cite>Rizado пишет:</cite><blockquote><p>Если сетевая карта на виртуальной машине в режиме моста, то в одной подсети как раз.</p></blockquote></div><div class="quotebox"><cite>diablero пишет:</cite><blockquote><p>На VmWare настроен NAT</p></blockquote></div><div class="quotebox"><cite>diablero пишет:</cite><blockquote><p>Ethernet adapter VMware Network Adapter VMnet1:<br />   IPv4 Address. . . . . . . . . . . : 192.168.59.1</p><p>Ethernet adapter VMware Network Adapter VMnet8:<br />   IPv4 Address. . . . . . . . . . . : 192.168.133.1</p><p>Wireless LAN adapter Wi-Fi:<br />   IPv4 Address. . . . . . . . . . . : 192.168.1.3</p></blockquote></div></blockquote></div><p>Перевел с NAT на BRIDGE, но это не помогло. Пинги по-прежнему идут в оба направления. SELinux вырубил, в iptables для трех основных цепочек установил политику ACCEPT.</p>]]></content>
			<author>
				<name><![CDATA[diablero]]></name>
				<uri>https://linuxforum.ru/profile.php?id=41359</uri>
			</author>
			<updated>2019-09-18T16:49:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465358#p465358</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465354#p465354" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Rizado пишет:</cite><blockquote><p>Если сетевая карта на виртуальной машине в режиме моста, то в одной подсети как раз.</p></blockquote></div><div class="quotebox"><cite>diablero пишет:</cite><blockquote><p>На VmWare настроен NAT</p></blockquote></div><div class="quotebox"><cite>diablero пишет:</cite><blockquote><p>Ethernet adapter VMware Network Adapter VMnet1:<br />   IPv4 Address. . . . . . . . . . . : 192.168.59.1</p><p>Ethernet adapter VMware Network Adapter VMnet8:<br />   IPv4 Address. . . . . . . . . . . : 192.168.133.1</p><p>Wireless LAN adapter Wi-Fi:<br />   IPv4 Address. . . . . . . . . . . : 192.168.1.3</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[DiabloPC]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35386</uri>
			</author>
			<updated>2019-09-17T18:29:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465354#p465354</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465352#p465352" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>DiabloPC пишет:</cite><blockquote><p>хост и гостевая находятся в разных подсетях</p></blockquote></div><p>Если сетевая карта на виртуальной машине в режиме моста, то в одной подсети как раз.</p>]]></content>
			<author>
				<name><![CDATA[Rizado]]></name>
				<uri>https://linuxforum.ru/profile.php?id=23158</uri>
			</author>
			<updated>2019-09-17T07:06:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465352#p465352</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465351#p465351" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Rizado пишет:</cite><blockquote><p>А где секция VirtualHost?</p></blockquote></div><p>в минимальной конфигурации оно и не нужно.</p><p><strong>diablero</strong>, хост и гостевая находятся в разных подсетях, так что оно и не заработает. Здесь два варианта: либо настраивать нормально NAT и port forwarding ,либо включать виртуалку в ту же подсеть. Как сделать первое для вмвари да ещё и под окнами я понятия не имею, здесь гугл в помощь, но ИМХО второй вариант самый правильный в данной ситуации</p>]]></content>
			<author>
				<name><![CDATA[DiabloPC]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35386</uri>
			</author>
			<updated>2019-09-17T04:23:07Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465351#p465351</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465350#p465350" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>diablero пишет:</cite><blockquote><p>Конфиг апача</p></blockquote></div><p>А где секция VirtualHost? Посмотрите-ка файлы в папках /etc/apache2/sites-available и /etc/apache2/sites-enabled. Возможно, придётся включить через <span class='Ubuntu Monospace' style="font-family: Terminus; position: relative; height: auto; width: auto; overflow: auto; background: #000000; color: #4EF44E; line-height:1.0; padding: 3px 6px; font-size: 1rem; font-weight: 300;">a2ensite</span>.</p>]]></content>
			<author>
				<name><![CDATA[Rizado]]></name>
				<uri>https://linuxforum.ru/profile.php?id=23158</uri>
			</author>
			<updated>2019-09-16T17:08:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465350#p465350</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465349#p465349" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Rizado пишет:</cite><blockquote><p><strong>diablero</strong>, выложите вывод команды <span class='Ubuntu Monospace' style="font-family: Terminus; position: relative; height: auto; width: auto; overflow: auto; background: #000000; color: #4EF44E; line-height:1.0; padding: 3px 6px; font-size: 1rem; font-weight: 300;">ifconfig</span> на хосте и гостевой ОС, также конфиг Apache. Желательно под спойлер.</p></blockquote></div><p>Хост<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>Windows IP Configuration</p><br /><p>Ethernet adapter Ethernet:</p><p>&nbsp; &nbsp;Media State . . . . . . . . . . . : Media disconnected<br />&nbsp; &nbsp;Connection-specific DNS Suffix&nbsp; . : Home</p><p>Wireless LAN adapter Local Area Connection* 7:</p><p>&nbsp; &nbsp;Media State . . . . . . . . . . . : Media disconnected<br />&nbsp; &nbsp;Connection-specific DNS Suffix&nbsp; . :</p><p>Ethernet adapter VMware Network Adapter VMnet1:</p><p>&nbsp; &nbsp;Connection-specific DNS Suffix&nbsp; . :<br />&nbsp; &nbsp;Link-local IPv6 Address . . . . . : fe80::4c83:6b0e:1e80:62f%13<br />&nbsp; &nbsp;IPv4 Address. . . . . . . . . . . : 192.168.59.1<br />&nbsp; &nbsp;Subnet Mask . . . . . . . . . . . : 255.255.255.0<br />&nbsp; &nbsp;Default Gateway . . . . . . . . . :</p><p>Ethernet adapter VMware Network Adapter VMnet8:</p><p>&nbsp; &nbsp;Connection-specific DNS Suffix&nbsp; . :<br />&nbsp; &nbsp;Link-local IPv6 Address . . . . . : fe80::bd5b:2fb9:1c68:d06d%9<br />&nbsp; &nbsp;IPv4 Address. . . . . . . . . . . : 192.168.133.1<br />&nbsp; &nbsp;Subnet Mask . . . . . . . . . . . : 255.255.255.0<br />&nbsp; &nbsp;Default Gateway . . . . . . . . . :</p><p>Wireless LAN adapter Wi-Fi:</p><p>&nbsp; &nbsp;Connection-specific DNS Suffix&nbsp; . : Home<br />&nbsp; &nbsp;Link-local IPv6 Address . . . . . : fe80::f11d:100f:90c4:208c%7<br />&nbsp; &nbsp;IPv4 Address. . . . . . . . . . . : 192.168.1.3<br />&nbsp; &nbsp;Subnet Mask . . . . . . . . . . . : 255.255.255.0<br />&nbsp; &nbsp;Default Gateway . . . . . . . . . : 192.168.1.1</p></div></div><br /><p>Гостевая ОС<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>ens33: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;&nbsp; mtu 1500<br />&nbsp; &nbsp; &nbsp; &nbsp; inet 192.168.133.129&nbsp; netmask 255.255.255.0&nbsp; broadcast 192.168.133.255<br />&nbsp; &nbsp; &nbsp; &nbsp; inet6 fe80::20c:29ff:fe72:d060&nbsp; prefixlen 64&nbsp; scopeid 0x20&lt;link&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; ether 00:0c:29:72:d0:60&nbsp; txqueuelen 1000&nbsp; (Ethernet)<br />&nbsp; &nbsp; &nbsp; &nbsp; RX packets 432&nbsp; bytes 30077 (29.3 KiB)<br />&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0&nbsp; dropped 0&nbsp; overruns 0&nbsp; frame 0<br />&nbsp; &nbsp; &nbsp; &nbsp; TX packets 84&nbsp; bytes 9459 (9.2 KiB)<br />&nbsp; &nbsp; &nbsp; &nbsp; TX errors 0&nbsp; dropped 0 overruns 0&nbsp; carrier 0&nbsp; collisions 0</p><p>lo: flags=73&lt;UP,LOOPBACK,RUNNING&gt;&nbsp; mtu 65536<br />&nbsp; &nbsp; &nbsp; &nbsp; inet 127.0.0.1&nbsp; netmask 255.0.0.0<br />&nbsp; &nbsp; &nbsp; &nbsp; inet6 ::1&nbsp; prefixlen 128&nbsp; scopeid 0x10&lt;host&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; loop&nbsp; txqueuelen 1000&nbsp; (Local Loopback)<br />&nbsp; &nbsp; &nbsp; &nbsp; RX packets 0&nbsp; bytes 0 (0.0 B)<br />&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0&nbsp; dropped 0&nbsp; overruns 0&nbsp; frame 0<br />&nbsp; &nbsp; &nbsp; &nbsp; TX packets 0&nbsp; bytes 0 (0.0 B)<br />&nbsp; &nbsp; &nbsp; &nbsp; TX errors 0&nbsp; dropped 0 overruns 0&nbsp; carrier 0&nbsp; collisions 0</p></div></div><p>Конфиг апача:<br /><a href="https://hello-site.ru/share/httpdconf/">https://hello-site.ru/share/httpdconf/</a></p>]]></content>
			<author>
				<name><![CDATA[diablero]]></name>
				<uri>https://linuxforum.ru/profile.php?id=41359</uri>
			</author>
			<updated>2019-09-16T15:22:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465349#p465349</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465341#p465341" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>mozgfx пишет:</cite><blockquote><p>Скажем так виртуальная машина имеет свою подсеть, но может видеть сеть физической машины.<br />А вот наоборот увидеть сеть виртульной машины с физической нельзя в таком случае.</p></blockquote></div><p>стандартное поведение любого NAT&#039;a, возьми к примеру любой домашний роутер с дефолтными настройками без проброса портов - ровно такая-же ситуация будет.</p>]]></content>
			<author>
				<name><![CDATA[DiabloPC]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35386</uri>
			</author>
			<updated>2019-09-14T04:48:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465341#p465341</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465337#p465337" />
			<content type="html"><![CDATA[<p>Скажем так виртуальная машина имеет свою подсеть, но может видеть сеть физической машины.<br />А вот наоборот увидеть сеть виртульной машины с физической нельзя в таком случае.<br />Поэтому и нужен сетевой мост (Bridge) как советовали выше.</p>]]></content>
			<author>
				<name><![CDATA[MozgFx]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25783</uri>
			</author>
			<updated>2019-09-13T10:44:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465337#p465337</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465332#p465332" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>diablero пишет:</cite><blockquote><p>VmWare настроен NAT</p></blockquote></div><p>Ну и на кой чёрт? <br />Bridge в руки, для виртуалки выставляем IP из той же зоны что и у хоста и радуемся жизни.<br /><strong>*** Добавлено: Sep 12 2019 9:42:48 pm ***</strong></p><div class="quotebox"><cite>diablero пишет:</cite><blockquote><p>Подскажите, пожалуйста, что я упустил.</p></blockquote></div><p>то что хост и виртуальная машина находятся в двух разных сетях.<br /></p>]]></content>
			<author>
				<name><![CDATA[DiabloPC]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35386</uri>
			</author>
			<updated>2019-09-12T18:42:48Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465332#p465332</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465331#p465331" />
			<content type="html"><![CDATA[<p><strong>diablero</strong>, выложите вывод команды <span class='Ubuntu Monospace' style="font-family: Terminus; position: relative; height: auto; width: auto; overflow: auto; background: #000000; color: #4EF44E; line-height:1.0; padding: 3px 6px; font-size: 1rem; font-weight: 300;">ifconfig</span> на хосте и гостевой ОС, также конфиг Apache. Желательно под спойлер.</p>]]></content>
			<author>
				<name><![CDATA[Rizado]]></name>
				<uri>https://linuxforum.ru/profile.php?id=23158</uri>
			</author>
			<updated>2019-09-12T17:45:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465331#p465331</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Настройка конфигурации CentOS7 + Apache]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=465330#p465330" />
			<content type="html"><![CDATA[<p>Всем привет! Ситуация такая. Есть виртуальная машина CentOS в минимальной поставке. Настроена на прием параметров по DHCP. На VmWare настроен NAT, и пинг проходит по доменным именам до внешних ресурсов. На линукс я установил Apache, запустил его, и теперь пытаюсь увидеть посадочную страницу Apache по адресу http://&lt;ip&gt; на хостовой ОС. Но страница не загружается. Подскажите, пожалуйста, что я упустил.</p>]]></content>
			<author>
				<name><![CDATA[diablero]]></name>
				<uri>https://linuxforum.ru/profile.php?id=41359</uri>
			</author>
			<updated>2019-09-12T13:47:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=465330#p465330</id>
		</entry>
</feed>
