<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vagrant &#8212; ploshadka.net</title>
	<atom:link href="https://ploshadka.net/tag/vagrant/feed/" rel="self" type="application/rss+xml" />
	<link>https://ploshadka.net</link>
	<description>Мир интернет технологий</description>
	<lastBuildDate>Sat, 12 Dec 2020 18:23:24 +0000</lastBuildDate>
	<language>ru-RU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1</generator>
	<item>
		<title>VBoxNetAdpCtl: Error while adding new interface</title>
		<link>https://ploshadka.net/vboxnetadpctl-error-while-adding-new-interface/</link>
					<comments>https://ploshadka.net/vboxnetadpctl-error-while-adding-new-interface/#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Wed, 25 Nov 2020 15:38:50 +0000</pubDate>
				<category><![CDATA[Mac OS Errors]]></category>
		<category><![CDATA[Software Errors]]></category>
		<category><![CDATA[Vagrant]]></category>
		<guid isPermaLink="false">https://ploshadka.net/?p=7066</guid>

					<description><![CDATA[Ошибка в Virtual Box в Big Sur Mac Os. Ошибка VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory Kernel driver not installed (rc=-1908)  Make sure the kernel module has been loaded successfully.  where: suplibOsInit what:...]]></description>
										<content:encoded><![CDATA[<p>Ошибка в Virtual Box в Big Sur Mac Os. <span id="more-7066"></span></p>
<h2>Ошибка</h2>
<blockquote><p>VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory</p>
<p>Kernel driver not installed (rc=-1908)  Make sure the kernel module has been loaded successfully.  where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) &#8212; The support driver is not installed. On linux, open returned ENOENT.</p></blockquote>
<h2>Исправление</h2>
<p>Скачиваем <strong>VirtualBox-версия-OSX.dmg</strong> с официального сайта. Открываем его и там видим файл <strong>VirtualBox_Uninstall.tool</strong>. С его помощью удаляем Виртуалбокс с компьютера.</p>
<p><a href="https://ploshadka.net/wp-content/uploads/7066/VirtualBox.jpg" rel="lightbox-0"><img decoding="async" loading="lazy" src="https://ploshadka.net/wp-content/uploads/7066/VirtualBox-577x400.jpg" alt="" width="577" height="400" class="aligncenter size-medium wp-image-7068" srcset="https://ploshadka.net/wp-content/uploads/7066/VirtualBox-577x400.jpg 577w, https://ploshadka.net/wp-content/uploads/7066/VirtualBox-1155x800.jpg 1155w, https://ploshadka.net/wp-content/uploads/7066/VirtualBox-289x200.jpg 289w, https://ploshadka.net/wp-content/uploads/7066/VirtualBox.jpg 1406w" sizes="(max-width: 577px) 100vw, 577px" /></a></p>
<p>Затем из этого же установочного пакета устанавливаем его заново. В конце будет такая картинка:</p>
<p><a href="https://ploshadka.net/wp-content/uploads/7066/System-Extension-Updated.jpg" rel="lightbox-1"><img decoding="async" loading="lazy" src="https://ploshadka.net/wp-content/uploads/7066/System-Extension-Updated-333x400.jpg" alt="" width="333" height="400" class="aligncenter size-medium wp-image-7069" srcset="https://ploshadka.net/wp-content/uploads/7066/System-Extension-Updated-333x400.jpg 333w, https://ploshadka.net/wp-content/uploads/7066/System-Extension-Updated-665x800.jpg 665w, https://ploshadka.net/wp-content/uploads/7066/System-Extension-Updated-166x200.jpg 166w, https://ploshadka.net/wp-content/uploads/7066/System-Extension-Updated.jpg 712w" sizes="(max-width: 333px) 100vw, 333px" /></a></p>
<p>Переходим в настройки безопасности. Здесь появится надпись, что программа <strong>Oracal</strong> запрашивает разрешение. Разрешаем. </p>
<p><a href="https://ploshadka.net/wp-content/uploads/7066/oracle1.jpg" rel="lightbox-2"><img decoding="async" loading="lazy" src="https://ploshadka.net/wp-content/uploads/7066/oracle1-455x400.jpg" alt="" width="455" height="400" class="aligncenter size-medium wp-image-7133" srcset="https://ploshadka.net/wp-content/uploads/7066/oracle1-455x400.jpg 455w, https://ploshadka.net/wp-content/uploads/7066/oracle1-910x800.jpg 910w, https://ploshadka.net/wp-content/uploads/7066/oracle1-228x200.jpg 228w, https://ploshadka.net/wp-content/uploads/7066/oracle1.jpg 1336w" sizes="(max-width: 455px) 100vw, 455px" /></a></p>
<p>После чего будет предложено перезагрузить компьютер, соглашаемся.</p>
<p><a href="https://ploshadka.net/wp-content/uploads/7066/oracle2.jpg" rel="lightbox-3"><img decoding="async" loading="lazy" src="https://ploshadka.net/wp-content/uploads/7066/oracle2-455x400.jpg" alt="" width="455" height="400" class="aligncenter size-medium wp-image-7134" srcset="https://ploshadka.net/wp-content/uploads/7066/oracle2-455x400.jpg 455w, https://ploshadka.net/wp-content/uploads/7066/oracle2-910x800.jpg 910w, https://ploshadka.net/wp-content/uploads/7066/oracle2-228x200.jpg 228w, https://ploshadka.net/wp-content/uploads/7066/oracle2.jpg 1336w" sizes="(max-width: 455px) 100vw, 455px" /></a></p>
<p>После этого ошибка исчезнет.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ploshadka.net/vboxnetadpctl-error-while-adding-new-interface/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Can&#8217;t start listening for connections from &#8216;xdebug&#8217;: Port 9000 is busy</title>
		<link>https://ploshadka.net/cant-start-listening-for-connections-from-xdebug-port-9000-is-busy/</link>
					<comments>https://ploshadka.net/cant-start-listening-for-connections-from-xdebug-port-9000-is-busy/#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Sun, 10 May 2020 08:00:15 +0000</pubDate>
				<category><![CDATA[Software Errors]]></category>
		<category><![CDATA[PhpStorm]]></category>
		<category><![CDATA[Vagrant]]></category>
		<category><![CDATA[xdebug]]></category>
		<guid isPermaLink="false">https://ploshadka.net/?p=5693</guid>

					<description><![CDATA[Исправляем ошибку в xdebug, когда занят порт для работы дебага. Меняем порт в настройках PhpStorm Если xdebug настроен через Vagrant, то порт следует поменять и в вагранте. Заходим на сервер vagrant ssh Находим свою версию php php -v Переходим в...]]></description>
										<content:encoded><![CDATA[<p>Исправляем ошибку в xdebug, когда занят порт для работы дебага. <span id="more-5693"></span></p>
<p>Меняем порт в настройках PhpStorm</p>
<p><a href="https://ploshadka.net/wp-content/uploads/5693/phpstorm.jpg" rel="lightbox-0"><img decoding="async" loading="lazy" src="https://ploshadka.net/wp-content/uploads/5693/phpstorm-589x400.jpg" alt="" width="589" height="400" class="aligncenter size-medium wp-image-5696" srcset="https://ploshadka.net/wp-content/uploads/5693/phpstorm-589x400.jpg 589w, https://ploshadka.net/wp-content/uploads/5693/phpstorm-1179x800.jpg 1179w, https://ploshadka.net/wp-content/uploads/5693/phpstorm-1536x1042.jpg 1536w, https://ploshadka.net/wp-content/uploads/5693/phpstorm-295x200.jpg 295w, https://ploshadka.net/wp-content/uploads/5693/phpstorm.jpg 1920w" sizes="(max-width: 589px) 100vw, 589px" /></a></p>
<p>Если xdebug настроен через Vagrant, то порт следует поменять и в вагранте.</p>
<p>Заходим на сервер</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">vagrant ssh</div></div>
<p>Находим свою версию php</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">php -v</div></div>
<p>Переходим в конфигурацию xdebug</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">cd /etc/php/7.4/cli/conf.d</div></div>
<p>Открываем файл</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">sudo nano 20-xdebug.ini</div></div>
<p>Добавляем строку с новым портом:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">xdebug.remote_port = 9003</div></div>
<p>Выходит из вагранта и перезагружаем его:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">exit<br />
vagrant reload</div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://ploshadka.net/cant-start-listening-for-connections-from-xdebug-port-9000-is-busy/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ssh_exchange_identification: read: Connection reset by peer</title>
		<link>https://ploshadka.net/ssh_exchange_identification-read-connection-reset-by-peer/</link>
					<comments>https://ploshadka.net/ssh_exchange_identification-read-connection-reset-by-peer/#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Mon, 15 Apr 2019 16:36:41 +0000</pubDate>
				<category><![CDATA[Localhost]]></category>
		<category><![CDATA[Vagrant]]></category>
		<guid isPermaLink="false">https://ploshadka.net/?p=5045</guid>

					<description><![CDATA[Ошибка при подключении к vagrant через ssh. Ошибка при команде: vagrant ssh Ошибка ssh_exchange_identification: read: Connection reset by peer Решение Нужно перезапустить сервер: vagrant reload]]></description>
										<content:encoded><![CDATA[<p>Ошибка при подключении к vagrant через ssh. <span id="more-5045"></span></p>
<p>Ошибка при команде:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">vagrant ssh</div></div>
<h2>Ошибка</h2>
<blockquote><p>ssh_exchange_identification: read: Connection reset by peer</p></blockquote>
<h2>Решение</h2>
<p>Нужно перезапустить сервер:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">vagrant reload</div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://ploshadka.net/ssh_exchange_identification-read-connection-reset-by-peer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>The VirtualBox VM was created with a user that&#8230;</title>
		<link>https://ploshadka.net/the-virtualbox-vm-was-created-with-a-user-that/</link>
					<comments>https://ploshadka.net/the-virtualbox-vm-was-created-with-a-user-that/#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Fri, 12 Apr 2019 08:00:30 +0000</pubDate>
				<category><![CDATA[Server Errors]]></category>
		<category><![CDATA[Vagrant]]></category>
		<guid isPermaLink="false">https://ploshadka.net/?p=5039</guid>

					<description><![CDATA[Ошибка возникающая при переносе папки с одного компьютера на другой или при любых других переименованиях папки. Ошибка при команде: vagrant up Ошибка ==> vagrant: A new version of Vagrant is available: 2.2.4 (installed version: 2.2.3)! ==> vagrant: To upgrade visit:...]]></description>
										<content:encoded><![CDATA[<p>Ошибка возникающая при переносе папки с одного компьютера на другой или при любых других переименованиях папки. <span id="more-5039"></span></p>
<p>Ошибка при команде:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">vagrant up</div></div>
<h2>Ошибка</h2>
<blockquote><p>==> vagrant: A new version of Vagrant is available: 2.2.4 (installed version: 2.2.3)!<br />
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html</p>
<p>The VirtualBox VM was created with a user that doesn&#8217;t match the<br />
current user running Vagrant. VirtualBox requires that the same user<br />
be used to manage the VM that was created. Please re-run Vagrant with<br />
that user. This is not a Vagrant issue.</p>
<p>The UID used to create the VM was: 503<br />
Your UID is: 501</p></blockquote>
<h2>Решение</h2>
<p>Открыть файл:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">.vagrant/machines/default/virtualbox/creator_uid</div></div>
<p>И поменять там значение на 501. Попробовать запустить снова.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ploshadka.net/the-virtualbox-vm-was-created-with-a-user-that/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Vagrant (Вагрант)</title>
		<link>https://ploshadka.net/vagrant/</link>
					<comments>https://ploshadka.net/vagrant/#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Sat, 09 Mar 2019 08:00:28 +0000</pubDate>
				<category><![CDATA[Support]]></category>
		<category><![CDATA[Vagrant]]></category>
		<guid isPermaLink="false">https://ploshadka.net/?p=4779</guid>

					<description><![CDATA[Vagrant &#8212; программное обеспечение, позволяющее настроить виртуальную среду для разработки. Полезные команды Зайти на сервер Вагранта: vagrant ssh Завершить сеанс SSH: exit Сброс кэша (нужно быть залогиненым через SSH) wp cache flush Запустить Вагрант: vagrant up Импорт базы данных Зайти...]]></description>
										<content:encoded><![CDATA[<p>Vagrant &#8212; программное обеспечение, позволяющее настроить виртуальную среду для разработки. <span id="more-4779"></span></p>
<h2>Полезные команды</h2>
<p>Зайти на сервер Вагранта:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">vagrant ssh</div></div>
<p>Завершить сеанс SSH:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">exit</div></div>
<p>Сброс кэша (нужно быть залогиненым через SSH)</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">wp cache flush</div></div>
<p>Запустить Вагрант:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">vagrant up</div></div>
<h2>Импорт базы данных</h2>
<p>Зайти в нужную директорию:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">cd vagrant</div></div>
<p>Затем импортировать файл (он должен лежать в папке из которой будет импорт):</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">sudo mysql -uvagrant -ppassword dase_name &lt; /srv/tmp/base_name.sql</div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://ploshadka.net/vagrant/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
