{"id":213995,"date":"2014-02-26T19:09:03","date_gmt":"2014-02-26T15:09:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=213995"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=213995","title":{"rendered":"<span class=\"post_title\">Linux-vserver \u0438\u043b\u0438 \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0438\u0441\u0443 \u043f\u043e \u043f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u0435<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u043e openvz \u0438 lxc. \u042d\u0442\u043e \u043d\u0430\u043f\u043e\u043c\u043d\u0438\u043b\u043e \u043c\u043d\u0435, \u0447\u0442\u043e \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0432\u0441\u0451 \u0435\u0449\u0435 \u0432\u0430\u043b\u044f\u0435\u0442\u0441\u044f \u0432 sandbox&#8217;\u0435\u2026<\/p>\n<p>  \u0414\u043b\u044f \u0446\u0435\u043b\u0435\u0439 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u044f \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e \u0442\u0430\u043a\u0443\u044e \u0441\u0445\u0435\u043c\u0443: \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0432 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435: \u0431\u043e\u0435\u0432\u043e\u0439 \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0438\u044f \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0432\u0435\u0431 \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e. \u042d\u0442\u043e \u0441\u043d\u0438\u0436\u0430\u0435\u0442 \u0440\u0438\u0441\u043a\u0438 \u0432\u0437\u043b\u043e\u043c\u0430 \u0441\u0438\u0441\u0442\u0435\u043c, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u0430\u043a\u0430\u043f\u0438\u0442\u044c \u0432\u0441\u0451 \u0438 \u0432\u0441\u044f \u043e\u0434\u043d\u0438\u043c rsync&#8217;\u043e\u043c \u043d\u0430 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u043a\u0440\u043e\u043d\u0443, \u0430 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u043b\u0451\u0442\u0430 \u0436\u0435\u043b\u0435\u0437\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u043d\u0430 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u043c \u0436\u0435\u043b\u0435\u0437\u0435. (\u0410 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 drbd + corosync \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u044c \u0435\u0449\u0435 \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438)<\/p>\n<p>  \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u0430, \u0438\u043c\u0435\u043d\u0443\u0435\u043c\u044b\u0435 VDS (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u0443\u0440\u044b) \u0438 VPS\/jail (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430).<\/p>\n<p>  \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f VDS \u0438\u0437\u043e\u043b\u044f\u0446\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442 XEN, VirtualBox, VMWare \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b.<br \/>  \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f VPS \u043d\u0430 linux \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043b\u0438\u0431\u043e linux-vserver, \u043b\u0438\u0431\u043e openvz, \u043b\u0438\u0431\u043e lxc.<\/p>\n<p>  \u041f\u043b\u044e\u0441\u044b VDS: \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043b\u044e\u0431\u043e\u0439, \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f\u0434\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u0440\u0443\u0433\u0443\u044e \u041e\u0421.<br \/>  \u041c\u0438\u043d\u0443\u0441\u044b VDS: \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u043f\u043e\u0442\u0435\u0440\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 IO, \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 CPU \u0438 RAM \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u041e\u0421.<\/p>\n<p>  \u041f\u043b\u044e\u0441\u044b VPS: \u043a\u0440\u0430\u0439\u043d\u0435 \u043d\u0438\u0437\u043a\u0430\u044f \u043f\u043e\u0442\u0435\u0440\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0438\u0437\u043e\u043b\u044f\u0446\u0438\u044e, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b.<br \/>  \u041c\u0438\u043d\u0443\u0441\u044b VPS: \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e linux \u0438 \u044f\u0434\u0440\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u0447\u0442\u043e \u0443\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043e.<\/p>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u043d\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0440\u0430\u0437\u043d\u044b\u0435 \u041e\u0421, \u0442\u043e \u0432\u0441\u044e\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e linux-vserver (\u0442\u0430\u043a \u0443\u0436 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e \u0441 2004\u0433\u043e \u0433\u043e\u0434\u0430, \u0430 openvz \u0432\u044b\u0448\u0435\u043b \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0432 2005\u043c), \u0430 lxc \u0432 \u043c\u043e\u0451\u043c \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438 \u0435\u0449\u0435 \u043d\u0435 \u0434\u043e\u0440\u043e\u0441 \u0434\u043e \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0430 (\u0445\u043e\u0442\u044f \u0438 \u043e\u0447\u0435\u043d\u044c \u0431\u043b\u0438\u0437\u043e\u043a \u0443\u0436\u0435).<\/p>\n<p>  \u041d\u0438\u0436\u0435 \u044f \u043e\u043f\u0438\u0448\u0443 \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0443 LAMP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041e\u0421: debian-stable, 64bit<br \/>  \u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 Wheezy \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 vserver \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 debian \u0443\u0431\u0440\u0430\u043d\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u044f\u0434\u0440\u0430 \u0441 <a href=\"http:\/\/repo.psand.net\/info\/\">repo.psand.net\/info\/<\/a><\/p>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 linux-vserver<\/h4>\n<p>  <\/p>\n<pre><code class=\"bash\">  echo &quot;deb http:\/\/repo.psand.net\/ wheezy main&quot; &gt; \/etc\/apt\/sources.list.d\/psand.list   wget -O - http:\/\/repo.psand.net\/pubkey.txt | sudo apt-key add -   aptitude update   aptitude search linux-image-vserver # \u0418\u0449\u0435\u043c \u0442\u0443\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u044f\u0434\u0440\u0430   aptitude install linux-image-vserver-3.13-beng util-vserver curl bzip2 # \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c 3.13 \u043d\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0434\u043b\u044f \u0432\u0430\u0441 \u0432\u0435\u0440\u0441\u0438\u044e   curl http:\/\/dev.call2ru.com\/vs\/nss_vserver_64.tar.bz2 | tar xfj -   cd nss_vserver_64   make   make install   ln -s var\/lib\/vservers \/   curl curl http:\/\/dev.call2ru.com\/vs\/vserverauth.tar.gz | tar xfz -   cd vserverauth\/vslogin\/   make   cp vslogin \/sbin\/   chmod u+s \/sbin\/vslogin   echo \/sbin\/vslogin &gt;&gt; \/etc\/shells   echo -e &quot;auto dummy0\\niface dummy0 inet static\\n\\taddress 192.168.1.250\\n\\tnetmask 255.255.255.0\\n&quot; &gt;&gt; \/etc\/network\/interfaces   echo -e &quot;\\tpre-up \/sbin\/iptables -t nat -A POSTROUTING -s 192.168.1.0\/24 ! -d 192.168.1.0\/24 -j MASQUERADE\\n&quot;  &gt;&gt; \/etc\/network\/interfaces   echo -e &quot;\\tpost-down \/sbin\/iptables -t nat -D POSTROUTING -s 192.168.1.0\/24 ! -d 192.168.1.0\/24 -j MASQUERADE\\n&quot;  &gt;&gt; \/etc\/network\/interfaces <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u2014 \u0440\u0435\u0431\u0443\u0442 \u0432 \u043d\u043e\u0432\u043e\u0435 \u044f\u0434\u0440\u043e.<\/p>\n<p>  \u0427\u0442\u043e \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438:  <\/p>\n<ul>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u044f\u0434\u0440\u043e \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 linux-vserver, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f\/\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f vserver&#8217;\u0430\u043c\u0438.<\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u043c\u043e\u0439 \u043c\u043e\u0434\u0443\u043b\u044c nss_vserver[1] \u0438 vslogin, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u043e\u0433\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u043f\u043e ssh \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432\u043d\u0443\u0442\u0440\u044c vserver&#8217;\u0430<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 dummy0, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u00ab\u043f\u0440\u0438\u0432\u0430\u0442\u043d\u0443\u044e\u00bb \u0441\u0435\u0442\u044c \u0434\u043b\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d.<\/li>\n<\/ul>\n<p>  \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d IP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044f \u0438\u0445 \u043f\u043e \u043b\u043e\u0433\u0438\u043d\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u0439\u0442\u0438 \u0440\u0443\u0442\u043e\u043c \u0432 \u0432\u0438\u0440\u0443\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 web \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043b\u043e\u0433\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u043a\u0430\u043a web-root \u043b\u0438\u0431\u043e \u043a\u0430\u043a root@web).<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u044f \u0438\u0445 \u043a dummy0 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443.<br \/>  \u0412\u0441\u0451 \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u043d\u0430 192.168.1.x, \u0430 \u043d\u0430\u0434\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0438\u0437\u0432\u043d\u0435.<\/p>\n<p>  \u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e, \u043d\u0430 \u0440\u0443\u0442\u0435 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0435\u0449\u0435 nginx:  <\/p>\n<pre><code class=\"bash\">  aptitude install ngin   cat &gt; \/etc\/nginx\/sites-available\/proxy &lt;&lt;END server {         listen 80; # \u041b\u0438\u0431\u043e IP:PORT         proxy_set_header Host  $host;          proxy_set_header X-Forwarded-For  $proxy_add_x_forwarded_for;         proxy_set_header X-SSL  no;          if ($http_host ~ &quot;(?i)(somesite\\.ru)$&quot;) {                 rewrite ^(.*)   \/web\/$1 last;         }         # \u0422\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 if'\u044b \u0434\u043b\u044f \u0440\u0430\u0441\u043a\u0438\u0434\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0430\u043c          # \u0422\u0443\u0442 catch-all \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0447\u0438\u0445         rewrite ^(.*)     \/web\/$1    last;          # \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0444\u043e\u0440\u0432\u0430\u0440\u0434\u044b \u0432\u043d\u0443\u0442\u0440\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043e\u043a         location \/web\/\/ {                 proxy_pass http:\/\/192.168.1.57\/;                 proxy_read_timeout 500;         } } END   ln -s ..\/sites-available\/proxy \/etc\/nginx\/sites-enabled\/   \/etc\/init.d\/nginx reload <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0441\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0430 80\u0439 \u043f\u043e\u0440\u0442 \u0440\u0430\u0441\u043a\u0438\u0434\u044b\u0432\u0430\u0442\u044c \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u043c\u0430\u0448\u0438\u043d\u0430\u043c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0438\u043c\u0435\u043d\u0438.<br \/>  \u041f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c proxy_pass \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 IP, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u043c\u0430\u0448\u0438\u043d\u0430\u043c \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0436\u0438\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f DNS \u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u043d\u043e \u044d\u0442\u043e \u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u0430.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 (\u043d\u043e\u043c\u0435\u0440 57, \u0438\u043c\u044f web) \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c LAMP.<\/p>\n<h4>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e vserver&#8217;\u0430<\/h4>\n<p>  <\/p>\n<pre><code class=\"bash\">  MIRROR=http:\/\/ftp.de.debian.org\/debian   NAME=web   DOMAIN=mydom.ru   CONTEXT=57   vserver $NAME build -m debootstrap --context $CONTEXT --hostname $NAME.$DOMAIN --interface dummy0:192.168.1.$CONTEXT\/24 -- -d squeeze -m $MIRROR   echo default &gt; \/etc\/vservers\/$NAME\/app\/init\/mark   vserver $NAME start   vserver $NAME enter   aptitude update   aptitude install locales   echo -e &quot;en_US.UTF-8 UTF-8\\nru_RU.UTF-8 UTF-8\\n&quot; &gt;&gt; \/etc\/locale.gen   locale-gen   echo -e &quot;127.0.0.1 localhost.localdomain localhost vhost\\n192.168.1.250 vroot\\n&quot; &gt; \/etc\/hosts <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0451 \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u043e\u0439 \u043f\u0440\u0438 \u0440\u0435\u0431\u0443\u0442\u0435 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0430 \u0433\u043e\u0442\u043e\u0432\u0430 \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432 \u043d\u0435\u0451 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0441\u043e\u0444\u0442\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0431\u044b\u0447\u043d\u044b\u0439 LAMP:  <\/p>\n<pre><code class=\"bash\">   aptitude install apache2 libapache2-mod-php5 mysql-server php5-mysql php5-mysqli libapache2-mod-rpaf    editor \/etc\/apache2\/mods-available\/rpaf.conf    #  (\u0432 \u0441\u0442\u0440\u043e\u043a\u0435 &quot;RPAFproxy_ips 127.0.0.1&quot; \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0449\u0435 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b \u0432 \u043a\u043e\u043d\u0446\u0435 192.168.1.57 (IP \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0438))   a2enmod rpaf   \/etc\/init.d\/apache2 restart   exit <\/code><\/pre>\n<p>  \u0412\u0441\u0451! \u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u0432\u0430\u0441 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0430\u043f\u0430\u0447 \u0432 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435.<\/p>\n<h5>\u041a \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f:<\/h5>\n<p>   1. \u041f\u0440\u044f\u043c\u043e\u0439 \u0432\u0445\u043e\u0434 \u0432\u043d\u0443\u0442\u0440\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043f\u0430\u0440\u043e\u043b\u044e.<br \/>   2. \u041d\u0430 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043d\u0438\u043a\u043e\u043c\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u0434\u0430\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0442\u043e\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0439 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0441\u043e\u0444\u0442\u0430 (ssh, nginx, iptables \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0438\u0447\u0435\u0433\u043e).<br \/>   3. \u041f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043e \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u043f\u043e\u0440\u0442\u043e\u0432 \u0432\u043d\u0443\u0442\u0440\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d, \u043f\u0440\u043e\u0431\u0440\u043e\u0441 \u043d\u0443\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e iptables.<\/p>\n<h5>\u041c\u043e\u043c\u0435\u043d\u0442\u044b, \u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0437\u0430 \u043a\u0430\u0434\u0440\u043e\u043c \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u0441\u0442\u0430\u0442\u044c\u0438<\/h5>\n<p>   1. \/var\/lib\/vservers\/* \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u043d\u0430 lvm, \u0447\u0442\u043e\u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e.<br \/>   2. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438: \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0430\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u043c\u043e\u0436\u0435\u0442 \u0441\u044a\u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043c\u0430\u0448\u0438\u043d\u044b. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043b\u0438\u043c\u0438\u0442\u043e\u0432 <a href=\"http:\/\/linux-vserver.org\/Resource_Limits\">linux-vserver.org\/Resource_Limits<\/a><br \/>   3. \/tmp\/. \u0412\u043d\u0443\u0442\u0440\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043e\u043a \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \/tmp\/ \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043a\u0430\u043a ramdisk \u0432 16m \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c. \u041b\u0438\u0431\u043e \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0434 \u00abvserver $NAME start\u00bb \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \/etc\/vservers\/$NAME\/fstab<br \/>   4. \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f, \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438 \u043f\u0440\u043e\u0447\u0435\u0435 \u043f\u0440\u043e linux-vserver \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 <a href=\"http:\/\/linux-vserver.org\/\">linux-vserver.org\/<\/a><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u043d\u0438\u0445 \u0431\u0443\u0434\u0443 \u0432\u044b\u043d\u043e\u0441\u0438\u0442\u044c \u0432 \u0442\u043e\u043f\u0438\u043a.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/213995\/\"> http:\/\/habrahabr.ru\/post\/213995\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u043e openvz \u0438 lxc. \u042d\u0442\u043e \u043d\u0430\u043f\u043e\u043c\u043d\u0438\u043b\u043e \u043c\u043d\u0435, \u0447\u0442\u043e \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0432\u0441\u0451 \u0435\u0449\u0435 \u0432\u0430\u043b\u044f\u0435\u0442\u0441\u044f \u0432 sandbox&#8217;\u0435\u2026<\/p>\n<p>  \u0414\u043b\u044f \u0446\u0435\u043b\u0435\u0439 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u044f \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e \u0442\u0430\u043a\u0443\u044e \u0441\u0445\u0435\u043c\u0443: \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0432 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435: \u0431\u043e\u0435\u0432\u043e\u0439 \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0438\u044f \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0432\u0435\u0431 \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e. \u042d\u0442\u043e \u0441\u043d\u0438\u0436\u0430\u0435\u0442 \u0440\u0438\u0441\u043a\u0438 \u0432\u0437\u043b\u043e\u043c\u0430 \u0441\u0438\u0441\u0442\u0435\u043c, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u0430\u043a\u0430\u043f\u0438\u0442\u044c \u0432\u0441\u0451 \u0438 \u0432\u0441\u044f \u043e\u0434\u043d\u0438\u043c rsync&#8217;\u043e\u043c \u043d\u0430 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u043a\u0440\u043e\u043d\u0443, \u0430 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u043b\u0451\u0442\u0430 \u0436\u0435\u043b\u0435\u0437\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u043d\u0430 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u043c \u0436\u0435\u043b\u0435\u0437\u0435. (\u0410 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 drbd + corosync \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u044c \u0435\u0449\u0435 \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438)<\/p>\n<p>  \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u0430, \u0438\u043c\u0435\u043d\u0443\u0435\u043c\u044b\u0435 VDS (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u0443\u0440\u044b) \u0438 VPS\/jail (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430).<\/p>\n<p>  \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f VDS \u0438\u0437\u043e\u043b\u044f\u0446\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442 XEN, VirtualBox, VMWare \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b.<br \/>  \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f VPS \u043d\u0430 linux \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043b\u0438\u0431\u043e linux-vserver, \u043b\u0438\u0431\u043e openvz, \u043b\u0438\u0431\u043e lxc.<\/p>\n<p>  \u041f\u043b\u044e\u0441\u044b VDS: \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043b\u044e\u0431\u043e\u0439, \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f\u0434\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u0440\u0443\u0433\u0443\u044e \u041e\u0421.<br \/>  \u041c\u0438\u043d\u0443\u0441\u044b VDS: \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u043f\u043e\u0442\u0435\u0440\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 IO, \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 CPU \u0438 RAM \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u041e\u0421.<\/p>\n<p>  \u041f\u043b\u044e\u0441\u044b VPS: \u043a\u0440\u0430\u0439\u043d\u0435 \u043d\u0438\u0437\u043a\u0430\u044f \u043f\u043e\u0442\u0435\u0440\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0438\u0437\u043e\u043b\u044f\u0446\u0438\u044e, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b.<br \/>  \u041c\u0438\u043d\u0443\u0441\u044b VPS: \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e linux \u0438 \u044f\u0434\u0440\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u0447\u0442\u043e \u0443\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043e.<\/p>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u043d\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0440\u0430\u0437\u043d\u044b\u0435 \u041e\u0421, \u0442\u043e \u0432\u0441\u044e\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e linux-vserver (\u0442\u0430\u043a \u0443\u0436 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e \u0441 2004\u0433\u043e \u0433\u043e\u0434\u0430, \u0430 openvz \u0432\u044b\u0448\u0435\u043b \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0432 2005\u043c), \u0430 lxc \u0432 \u043c\u043e\u0451\u043c \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438 \u0435\u0449\u0435 \u043d\u0435 \u0434\u043e\u0440\u043e\u0441 \u0434\u043e \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0430 (\u0445\u043e\u0442\u044f \u0438 \u043e\u0447\u0435\u043d\u044c \u0431\u043b\u0438\u0437\u043e\u043a \u0443\u0436\u0435).<\/p>\n<p>  \u041d\u0438\u0436\u0435 \u044f \u043e\u043f\u0438\u0448\u0443 \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0443 LAMP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-213995","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/213995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=213995"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/213995\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=213995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=213995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=213995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}