{"id":209934,"date":"2014-01-27T10:05:03","date_gmt":"2014-01-27T06:05:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=209934"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=209934","title":{"rendered":"<span class=\"post_title\">\u00ab\u0418\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439\u00bb \u043a\u043b\u0430\u0441\u0442\u0435\u0440. \u0427\u0430\u0441\u0442\u044c 2.2: \u0412\u044b\u0441\u043e\u043a\u043e\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u044b\u0439 web-\u0441\u0435\u0440\u0432\u0435\u0440, \u043b\u0443\u0447\u0448\u0438\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u0436\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u0431\u0438\u0437\u043d\u0435\u0441\u0430<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/870\/2a4\/467\/8702a4467b4a4be626e04e1c48d73dc8.jpg\"\/><\/p>\n<h4>\u0412 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0446\u0438\u043a\u043b\u0430 \u0441\u0442\u0430\u0442\u0435\u0439 \u043e\u0431 \u00ab\u0418\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u043c\u00bb \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435, \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0440\u0435\u0446\u0435\u043f\u0442\u0430\u043c\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0445, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u0445 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f web-\u0441\u0438\u0441\u0442\u0435\u043c. <\/h4>\n<p>  <b>\u0414\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0439 \u0438 \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0430\u0439\u0442\u043e\u0432 \u0438 web-\u0441\u0438\u0441\u0442\u0435\u043c, \u0432 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0430 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0438\u0437\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043d\u0430 \u0440\u044b\u043d\u043a\u0435 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432. \u041c\u044b \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0446\u0435\u043b\u044c\u044e: \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u044c \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u0438 \u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0448\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c.<\/p>\n<p>  \u041a\u043b\u0430\u0441\u0442\u0435\u0440, \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0431\u044b\u043b \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u0441 \u043d\u0443\u043b\u044f. \u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0430 frontend-backend \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430. \u0411\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u0432 MariaDB Galera, \u0432\u0441\u0435 \u0441\u0430\u0439\u0442\u044b \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b\u0438 \u043d\u0430 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 web-\u043d\u043e\u0434\u044b.<\/p>\n<p>  \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0434\u043e\u043b\u0433\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u0441\u043f\u043e\u0440\u043e\u0432 \u0438 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0439 \u0440\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f <a href=\"http:\/\/habrahabr.ru\/company\/acronis\/\">Acronis<\/a> \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u0441 \u0412\u0430\u043c\u0438. \u041c\u044b \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u043c \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u043e\u0433\u0430\u0442\u044c.<\/b><\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/company\/acronis\/blog\/204190\/\">\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u043d\u0430 hetzner<\/a><br \/>  \u042f \u043f\u043e\u0434\u0435\u043b\u0438\u043b\u0441\u044f \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043f\u043e \u0446\u0435\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u043d\u0435\u043c\u0435\u0446\u043a\u043e\u043c \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0435 hetzner.<\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/company\/acronis\/blog\/198934\/\">Frontend: NGINX + Keepalived (vrrp) \u043d\u0430 CentOS<\/a><br \/>  \u041c\u044b \u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 nginx<\/p>\n<h5>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0432\u0430\u0436\u043d\u044b\u0445 \u0430\u0441\u043f\u0435\u043a\u0442\u0430\u0445:<\/h5>\n<ul>\n<li>\u041a\u0430\u043a \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0443\u044e, \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u0443\u044e web-\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u0432 Hetzner \u043d\u0430 \u0431\u0430\u0437\u0435 Proxmox<\/li>\n<li>\u041a\u0430\u043a \u043b\u0435\u0433\u043a\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0441\u0435\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0438 \u0443\u0434\u043e\u0431\u043d\u043e\u0439 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/li>\n<li>\u041a\u0430\u043a, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0430\u043c\u044b\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438, \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438<\/li>\n<\/ul>\n<h5>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c, \u0447\u0435\u043c \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043e\u0442 \u0441\u043e\u0442\u043d\u0438 \u0434\u0440\u0443\u0433\u0438\u0445?<\/h5>\n<ul>\n<li> \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f web-\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 ISPConfig \u043d\u0430 \u0431\u0430\u0437\u0435 CentOS (\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0430\u043d\u0435\u043b\u0438 \u0432 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 Debian)<\/li>\n<li> \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0430\u043c\u0443 web \u043f\u0430\u043d\u0435\u043b\u044c ISPConfig \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0431\u0435\u0437 apache2 (\u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0441 apache2)<\/li>\n<li>\u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 php \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c nginx+php-phm \u0438 apache2+php-fpm\/mod_ph\u0440 \u0431\u0435\u043a\u0435\u043d\u0434\u043e\u0432.<\/li>\n<li>\u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 MariaDB, \u0432\u043c\u0435\u0441\u0442\u043e MySQL<\/li>\n<\/ul>\n<h5>\u041a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f:<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u0415\u0441\u0442\u044c \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b Proxmox<\/li>\n<li>\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u043b\u0443\u0436\u0431\u044b \u0441\u0432\u043e\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0431\u0430\u0437\u0435 OpenVZ (\u0441\u043f\u0430\u0441\u0438\u0431\u043e \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u0438\u0437 <a href=\"http:\/\/habrahabr.ru\/company\/parallels\/\">Parallels<\/a> \u0437\u0430 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442)<\/li>\n<li>\u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 gw.local, \u043e\u043d \u043f\u0440\u043e\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b \u043a \u0434\u0440\u0443\u0433\u0438\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 iptables<\/li>\n<li>\u0415\u0441\u0442\u044c isp. local \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f ISPConfig \u043d\u0430 \u0431\u0430\u0437\u0435 nginx+php-fpm<\/li>\n<li>\u0415\u0441\u0442\u044c front01.local \u043d\u0430 \u043d\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 nginx \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u043d\u0430 \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 upstream (\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0448\u0438\u0445 \u0441\u0430\u0439\u0442\u043e\u0432)<\/li>\n<li>\u0415\u0441\u0442\u044c app01.local \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0436\u0438\u0432\u0435\u0442 \u0441\u0440\u0435\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f php \u043f\u043e\u0434\u0430. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c apache + php-fpm\/mod_php \u0438\u043b\u0438 nginx+php-fpm<\/li>\n<li>\u0415\u0441\u0442\u044c db.local \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0436\u0438\u0432\u0435\u0442 \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 MariaDB<\/li>\n<\/ul>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041d\u0430 \u0432\u0441\u0435\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 \u043a\u0440\u043e\u043c\u0435 app01.local, \u0443\u0434\u0430\u043b\u0435\u043d\u044b \u0432\u0441\u0435 \u043d\u0435\u0437\u0430\u0434\u0435\u0439\u0441\u0442\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u043b\u0443\u0436\u0431\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 ssh, \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0440\u0443\u044e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u0443\u044e \u0441\u0435\u0442\u044c. \u0412 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u0443\u044e \u0441\u0435\u0442\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044b \u043b\u0438\u0448\u044c \u0442\u0435 \u043f\u043e\u0440\u0442\u044b, \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0448\u0438\u0445 \u0441\u0430\u0439\u0442\u043e\u0432 (80, 443 \u0438 \u0434\u0440)<\/p>\n<h4>Proxmox Known issues<\/h4>\n<p>  \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/b06\/ad0\/e28\/b06ad0e289ea665dae2522358f6bbadf.png\"\/><\/p>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0435 \u0441\u0435\u0442\u044c \u0434\u043b\u044f \u043c\u043e\u0441\u0442\u0430 <b>vmbr1<\/b>, Proxmox \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u0435\u043c\u0443 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u044f <b>eth0<\/b>, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0435\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/89e\/ee1\/cdc\/89eee1cdc4005222fba9f0b374bc63a9.png\"\/><\/p>\n<p>  \u0427\u0442\u043e \u0431\u044b \u0432\u043e\u0439\u0442\u0438 \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440, \u0435\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0432\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <b>vzctl enter \u043d\u043e\u043c\u0435\u0440_\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430<\/b><\/p>\n<p>  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e Proxmox (\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043d\u0435\u0435 \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435), \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0444\u0430\u0439\u043b, \u0433\u0434\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0444\u0430\u0435\u0440\u0432\u043e\u043b\u0430 \u043d\u0430\u0448\u0435\u0439 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0439 \u0441\u0435\u0442\u0438, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432 \u0438\u0434\u0435\u0430\u043b\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u043d\u0430\u0442\u044c \u043d\u0438\u043a\u0442\u043e, \u043a\u0440\u043e\u043c\u0435 \u043d\u0430\u0441.<\/p>\n<pre><code class=\"bash\">nano \/etc\/iptables.up.rules<\/code><\/pre>\n<pre><code class=\"bash\">*nat :PREROUTING ACCEPT [2164:136969] :POSTROUTING ACCEPT [58:3659] :OUTPUT ACCEPT [0:0]  # Nat -A POSTROUTING -o vmbr0 -j MASQUERADE  # ISPConfig Web Panel -A PREROUTING -d *.*.*182\/32 -p tcp -m tcp --dport 8080 -j DNAT --to-destination 192.168.8.3:8080 -A PREROUTING -d *.*.*.182\/32 -p tcp -m tcp --dport 8081 -j DNAT --to-destination 192.168.8.3:8081  # app01. ssh server -A PREROUTING -d *.*.*.182\/32 -p tcp -m tcp --dport 22 -j DNAT --to-destination 192.168.8.4:22  COMMIT<\/code><\/pre>\n<p>  <b># \u041c\u0435\u043d\u044f\u0435\u043c \u043f\u043e\u0440\u0442 ssh \u043d\u0430\u0448\u0435\u0433\u043e \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430 \u043d\u0430 2222<\/b><\/p>\n<pre><code class=\"bash\">nano \/etc\/ssh\/sshd_config<\/code><\/pre>\n<pre><code class=\"bash\">Port 2222<\/code><\/pre>\n<h4>\u041e\u0431\u0449\u0438\u0435 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043d\u0430\u0448\u0438\u0445 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432<\/h4>\n<p>  <b># \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 hosts \u0444\u0430\u0439\u043b, \u043d\u0430 \u0432\u0441\u0435\u0445 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u0445, \u0433\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u0430\u0433\u0435\u043d\u0442\u044b ISPConfig, \u044d\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438:<\/b><\/p>\n<pre><code class=\"bash\">nano \/etc\/hosts<\/code><\/pre>\n<pre><code class=\"bash\">192.168.8.1 gw.local 192.168.8.2 front01.local 192.168.8.3 isp.local 192.168.8.4 app01.local 192.168.8.5 db01.local<\/code><\/pre>\n<p>  <b># \u041c\u0435\u043d\u044f\u0435\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0437\u043e\u043d\u0443 \u043d\u0430 \u0412\u0430\u0448\u0443 <\/b><\/p>\n<pre><code class=\"bash\">ln -sf \/usr\/share\/zoneinfo\/Europe\/Moscow \/etc\/localtime<\/code><\/pre>\n<pre><code class=\"bash\">yum install wget nano wget ntpdate -y<\/code><\/pre>\n<p>  <b># \u042d\u0442\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0437\u0434\u0435\u0441\u044c \u043c\u044b \u043d\u0430\u0439\u0434\u0435\u043c \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u0442 \u0432 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445.<\/b><\/p>\n<pre><code class=\"bash\">wget http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm wget http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm rm *.rpm -f<\/code><\/pre>\n<p>  <b># \u042d\u0442\u043e\u0442 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043d\u0430\u043c \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u043e \u043c\u044b \u0435\u0433\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u043c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <\/b>  <\/p>\n<pre><code class=\"bash\">rpm --import http:\/\/dag.wieers.com\/rpm\/packages\/RPM-GPG-KEY.dag.txt cd \/tmp wget http:\/\/dag.wieers.com\/rpm\/packages\/rpmforge-release\/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm && rpm -ivh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm<\/code><\/pre>\n<p>  <b># \u0412\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c, \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 &#8212;enablerepo=rpmforge <\/b><\/p>\n<pre><code class=\"bash\">sed -i 's\/enabled = 1\/enabled = 0\/g' \/etc\/yum.repos.d\/rpmforge.repo<\/code><\/pre>\n<p>  <b># \u0410 \u0432\u043e\u0442 \u044d\u0442\u043e \u0436\u0435\u043c\u0447\u0443\u0436\u0438\u043d\u0430 \u0434\u043b\u044f web \u0441\u0438\u0441\u0442\u0435\u043c \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e, \u0442\u0443\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0435\u0441\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443 \u0432 \u0441\u0432\u043e\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u0435. MustHave<\/b><\/p>\n<pre><code class=\"bash\">wget -q -O - http:\/\/www.atomicorp.com\/installers\/atomic | sh<\/code><\/pre>\n<p>  <b># \u0421\u0442\u0430\u0432\u0438\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0441\u043e\u0444\u0442 <\/b><\/p>\n<pre><code class=\"bash\">yum install nano mc screen sudo nscd htop ntp zip unzip pigz iotop sysstat lsof strace atop multitail -y yum --enablerepo=rpmforge install htop -y<\/code><\/pre>\n<p>  <b># \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043d\u0435\u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0441\u043b\u0443\u0436\u0431\u044b <\/b><\/p>\n<pre><code class=\"bash\">yum remove -y sendmail httpd sshd samba bind openssh -y<\/code><\/pre>\n<p>  <b># \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443<\/b><\/p>\n<pre><code class=\"bash\">yum update -y<\/code><\/pre>\n<p>  <b># \u0423\u0434\u0430\u043b\u044f\u0435\u043c mysql<\/b><\/p>\n<pre><code class=\"bash\">yum remove mysql* mysql-*<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c mariadb \u0434\u043b\u044f \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439 ISPConfig <\/b><\/p>\n<pre><code class=\"bash\">yum install mariadb-server mariadb-devel mariadb-client -y<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u043b\u0432\u0438\u0432\u0430\u0435\u043c cron <\/b><\/p>\n<pre><code class=\"bash\">yum install -y cronie cronie-anacron crontabs sysstat -y<\/code><\/pre>\n<p>  <b># \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c cron \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <\/b><\/p>\n<pre><code class=\"bash\"> \/etc\/init.d\/crond start && chkconfig crond on<\/code><\/pre>\n<p>  <b># \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c mariadb<\/b><\/p>\n<pre><code class=\"bash\">nano \/etc\/my.cnf<\/code><\/pre>\n<pre><code class=\"bash\">[mysqld] default_storage_engine=InnoDB innodb_file_per_table = 1  # network connect_timeout                 = 60 wait_timeout                    = 28800 max_connections                 = 200 max_allowed_packet              = 512M max_connect_errors              = 1000  log_error                       = \/var\/log\/mysql\/mysql-error.log #slow_query_log_file             = \/var\/log\/mysql\/mysql-slow.log  <\/code><\/pre>\n<p>  <b># \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c mariadb \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443<\/b><\/p>\n<pre><code class=\"bash\">chkconfig --levels 235 mysqld on && \/etc\/init.d\/mysqld start<\/code><\/pre>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f gw.local <\/h4>\n<p>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 OpenVZ (New CT) \u0441 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c CentOS 64. \u042d\u0442\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0443 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u0443\u044e \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u0443\u044e \u0441\u0435\u0442\u044c.<\/p>\n<p>  <b>\u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b vmbr0 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c eth0 (\u043d\u0430\u0448\u0430 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u0430\u044f \u0441\u0435\u0442\u044c \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430) \u0438 vmbr1 \u0434\u043b\u044f \u0441\u0435\u0442\u0438 eth1 (\u043f\u0440\u0438\u0432\u0430\u0442\u043d\u0430\u044f \u0441\u0435\u0442\u044c \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c\u0438).<\/b><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/36b\/1a9\/9c8\/36b1a99c85e3f8d162c39a34c3ac3613.png\"\/><br \/>  <b>\u0414\u043b\u044f \u044d\u0442\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 128 \u041c\u0411 \u041e\u0417\u0423 <\/b><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/bd0\/a36\/5d4\/bd0a365d4a3a339ccd2fbb613e01b47a.png\"\/><\/p>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u0435\u0442\u0438 \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 gw.local<\/p>\n<p>  <b>\u0421\u0435\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430: <\/b><\/p>\n<pre><code class=\"bash\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth0<\/code><\/pre>\n<pre><code class=\"bash\">DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPADDR=x.x.x.237 NETMASK=255.255.255.0 GATEWAY=x.x.x.1<\/code><\/pre>\n<pre><code class=\"bash\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth1<\/code><\/pre>\n<pre><code class=\"bash\">DEVICE=eth1 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.8.1 NETWORK=192.168.8.0<\/code><\/pre>\n<p>  <b># \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 iptables<\/b><\/p>\n<pre><code class=\"bash\"> \/etc\/init.d\/iptables save<\/code><\/pre>\n<p>  <b># \u0414\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b *nat \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u0441\u0430 <\/b><\/p>\n<pre><code class=\"bash\">vi \/etc\/sysconfig\/iptables<\/code><\/pre>\n<pre><code class=\"bash\">-A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.8.2:80 -A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 443 -j DNAT --to-destination 192.168.8.2:443 -A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 25 -j DNAT --to-destination 192.168.8.5:25 -A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 110 -j DNAT --to-destination 192.168.8.5:110 -A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 145 -j DNAT --to-destination 192.168.8.5:145 -A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 995 -j DNAT --to-destination 192.168.8.5:995 -A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 465 -j DNAT --to-destination 192.168.8.5:465 -A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 587 -j DNAT --to-destination 192.168.8.5:587 -A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 143 -j DNAT --to-destination 192.168.8.5:143 -A PREROUTING -d *.*.*.237\/32 -p tcp -m tcp --dport 993 -j DNAT --to-destination 192.168.8.5:993 -A POSTROUTING -o eth0 -j MASQUERADE<\/code><\/pre>\n<p>  <b># \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0444\u043e\u0440\u0432\u0430\u0440\u0434\u0438\u043d\u0433 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 <\/b><\/p>\n<pre><code class=\"bash\">echo &quot;net.ipv4.ip_forward = 1&quot; &gt;&gt; \/etc\/sysctl.conf sysctl -p<\/code><\/pre>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f front01.local <\/h4>\n<p>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 OpenVZ (New CT) \u0441 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c CentOS 64. \u042d\u0442\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0442\u044c \u043f\u043e\u0440\u0442\u044b 80 \u0438 443, \u043f\u0440\u043e\u0431\u0440\u043e\u0448\u0435\u043d\u043d\u044b\u0435 \u0441 \u043d\u0430\u0448\u0435\u0433\u043e gw.local. \u041d\u0430 \u044d\u0442\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d nginx, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u043d\u0430\u0448\u0438\u043c \u0441\u0430\u0439\u0442\u0430\u043c \u043d\u0430 app01.local<br \/>  \u0421\u0430\u043c\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 nginx \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 <a href=\"http:\/\/habrahabr.ru\/company\/acronis\/blog\/198934\/\">\u00ab\u0418\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439\u00bb www \u043a\u043b\u0430\u0441\u0442\u0435\u0440. \u0427\u0430\u0441\u0442\u044c 1. Frontend: NGINX + Keepalived (vrrp) \u043d\u0430 CentOS<\/a><\/p>\n<p>  \u0423 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 (<b>vmbr1<\/b>) <b>192.168.8.2<\/b>, \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 <b>1024<\/b> \u0413\u0411 \u041e\u0417\u0423<\/p>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u0435\u0442\u044c \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435: <\/p>\n<pre><code class=\"bash\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth1<\/code><\/pre>\n<pre><code class=\"bash\">DEVICE=eth1 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.8.2 NETWORK=192.168.8.0 GATEWAY=192.168.8.1<\/code><\/pre>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f isp. <\/h4>\n<p>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 OpenVZ (New CT) \u0441 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c CentOS 64. \u042d\u0442\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0443 \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f ISPConfig. \u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043c\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u043f\u0430\u043d\u0435\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u043c \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u0438 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043d\u0430 \u043f\u043e\u0440\u0442\u0430\u0445 8080 \u0438 8081.<\/p>\n<p>  \u0423 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 (<b>vmbr1<\/b>) <b>192.168.8.3<\/b>, \u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u043a\u043e\u043b\u043e 384 \u041c\u0411 \u041e\u0417\u0423.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/bfa\/3d3\/e82\/bfa3d3e82cfc289e95392bc4067892af.png\"\/><\/p>\n<p>  <b># \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0435\u0442\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430: <\/b><\/p>\n<pre><code class=\"bash\">\/etc\/sysconfig\/network-scripts\/ifcfg-eth1<\/code><\/pre>\n<pre><code class=\"bash\">DEVICE=eth1 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.8.3 NETWORK=192.168.8.0 GATEWAY=192.168.8.100<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043f\u0430\u043d\u0435\u043b\u0438 ISPConfig<\/b><\/p>\n<pre><code class=\"bash\">yum install php-mysql php nginx php-fpm postfix patch -y<\/code><\/pre>\n<p>  <b># \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435\u043c nginx <\/b><\/p>\n<pre><code class=\"bash\">rm -f \/etc\/nginx\/conf.d\/default.conf rm -f \/etc\/nginx\/conf.d\/virtual.conf rm -f \/etc\/nginx\/conf.d\/ssl.conf<\/code><\/pre>\n<p>  <b># \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c nginx \u0438 php-fpm \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c<\/b><\/p>\n<pre><code class=\"bash\">chkconfig --levels 235 php-fpm on && \/etc\/init.d\/php-fpm start chkconfig --levels 235 nginx on && \/etc\/init.d\/nginx start<\/code><\/pre>\n<p>  <b># \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0430\u0433\u0435\u043d\u0442\u0430\u043c ISPConfig, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 isp.local \u0437\u0430 \u0441\u0432\u043e\u0438\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438<\/b><\/p>\n<pre><code class=\"bash\">mysql<\/code><\/pre>\n<pre><code class=\"bash\">CREATE USER 'root'@'192.168.8.%' IDENTIFIED BY 'c2HZqsMmiBKa'; GRANT ALL PRIVILEGES ON * . * TO 'root'@'192.168.8.%' IDENTIFIED BY 'c2HZqsMmiBKa' WITH GRANT OPTION; flush privileges;<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c phpMyAdmin<\/b><\/p>\n<pre><code class=\"bash\">yum install phpmyadmin -y<\/code><\/pre>\n<p>  <b># \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0438\u043c\u043b\u0438\u043d\u043a phpMyAdmin \u043d\u0430 phpmyadmin<\/b><\/p>\n<pre><code class=\"bash\">ln -s \/usr\/share\/phpMyAdmin\/ \/usr\/share\/phpmyadmin<\/code><\/pre>\n<pre><code class=\"bash\">nano \/etc\/phpMyAdmin\/config.inc.php<\/code><\/pre>\n<pre><code class=\"bash\">$cfg['blowfish_secret'] = '46a30e4ed1cf83.14522379'; \/* YOU MUST FILL IN THIS FOR COOKIE AUTH! *\/ $cfg['Servers'][$i]['host']          = 'db01.local'; \/\/ MySQL hostname or IP address $cfg['Servers'][$i]['port']          = '3306';          \/\/ MySQL port - leave blank for default port $cfg['Servers'][$i]['auth_type']     = 'cookie';      \/\/ Authentication method (config, http or cookie based)?<\/code><\/pre>\n<p>  <b># \u0420\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u0435\u043a\u0446\u0438\u044e, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0443\u044e \u0437\u0430 phpMyAdmin<\/b><\/p>\n<pre><code class=\"bash\">nano \/etc\/nginx\/sites-enabled\/000-ispconfig.vhost<\/code><\/pre>\n<pre><code class=\"bash\">location \/phpmyadmin {                root \/usr\/share\/;                index index.php index.html index.htm;                location ~ ^\/phpmyadmin\/(.+\\.php)$ {                        try_files $uri =404;                        root \/usr\/share\/;                        include \/etc\/nginx\/fastcgi_params;                        fastcgi_pass unix:\/var\/lib\/php5-fpm\/ispconfig.sock;                        fastcgi_param  HTTPS on;                        fastcgi_index index.php;                        fastcgi_param SCRIPT_FILENAME $request_filename;                }                location ~* ^\/phpmyadmin\/(.+\\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {                        root \/usr\/share\/;                }         }         location \/phpMyAdmin {                rewrite ^\/* \/phpmyadmin last;         }<\/code><\/pre>\n<pre><code class=\"bash\"> \/etc\/init.d\/nginx reload<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c ISPConfig<\/b><\/p>\n<pre><code class=\"bash\">cd \/usr\/src\/ wget http:\/\/www.ispconfig.org\/downloads\/ISPConfig-3-stable.tar.gz tar xfz ISPConfig-3-stable.tar.gz cd ispconfig3_install\/install\/ php -q install.php<\/code><\/pre>\n<p>  <b># \u041e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0442\u0435\u0440\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/b>  <\/p>\n<blockquote><p>&gt;&gt; Initial configuration<\/p>\n<p>  Operating System: Redhat or compatible, unknown version.<\/p>\n<p>  Following will be a few questions for primary configuration so be careful.<br \/>   Default values are in [brackets] and can be accepted with .<br \/>   Tap in \u00abquit\u00bb (without the quotes) to stop the installer.<\/p>\n<p>  Select language (en,de) [<b>en<\/b>]:<\/p>\n<p>  Installation mode (standard,expert) [standard]: <b>expert<\/b><\/p>\n<p>  Full qualified hostname (FQDN) of the server, eg server1.domain.tld [<b>isp.local<\/b>]:<\/p>\n<p>  MySQL server hostname [<b>localhost<\/b>]:<\/p>\n<p>  MySQL root username [<b>root<\/b>]:<\/p>\n<p>  MySQL root password []:<\/p>\n<p>  MySQL database to create [<b>dbispconfig<\/b>]:<\/p>\n<p>  MySQL charset [<b>utf8<\/b>]:<\/p>\n<p>  The next two questions are about the internal ISPConfig database user and password.<br \/>  It is recommended to accept the defaults which are &#8216;ispconfig&#8217; as username and a random password.<br \/>  If you use a different password, use only numbers and chars for the password.<\/p>\n<p>  ISPConfig mysql database username [<b>ispconfig<\/b>]:<\/p>\n<p>  ISPConfig mysql database password [<b>1850fcffe2fc0b1ca2707c3e27c5eec4<\/b>]:<\/p>\n<p>  Shall this server join an existing ISPConfig multiserver setup (y,n) [<b>n<\/b>]:<\/p>\n<p>  Apache and nginx detected. Select server to use for ISPConfig: (apache,nginx) [apache]: <b>nginx<\/b><\/p>\n<p>  Adding ISPConfig server record to database.<\/p>\n<p>  Configure Mail (y,n) [y]: <b>n<\/b><\/p>\n<p>  Configure Jailkit (y,n) [y]: <b>n<\/b><\/p>\n<p>  Configure FTP Server (y,n) [y]: <b>y<\/b><\/p>\n<p>  Configuring Pureftpd<br \/>  Configure DNS Server (y,n) [y]: <b>n<\/b><\/p>\n<p>  Hint: If this server shall run the ISPConfig interface, select &#8216;y&#8217; in the &#8216;Configure nginx Server&#8217; option.<\/p>\n<p>  Configure nginx Server (y,n) [y]: <b>y<\/b><\/p>\n<p>  Configuring nginx<br \/>  Configuring Apps vhost<br \/>  Configure Firewall Server (y,n) [y]: <b>y<\/b><\/p>\n<p>  Configuring Bastille Firewall<br \/>  Install ISPConfig Web Interface (y,n) [y]: <b>y<\/b><\/p>\n<p>  Installing ISPConfig<br \/>  ISPConfig Port [<b>8080<\/b>]:<\/p>\n<p>  Enable SSL for the ISPConfig web interface (y,n) [y]: <b>y<\/b><\/p>\n<p>  Generating RSA private key, 4096 bit long modulus<br \/>  &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.++<br \/>  &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..++<br \/>  e is 65537 (0x10001)<br \/>  You are about to be asked to enter information that will be incorporated<br \/>  into your certificate request.<br \/>  What you are about to enter is what is called a Distinguished Name or a DN.<br \/>  There are quite a few fields but you can leave some blank<br \/>  For some fields there will be a default value,<br \/>  If you enter &#8216;.&#8217;, the field will be left blank.<br \/>   \u2014 Country Name (2 letter code) [XX]:<b>Ru<\/b><br \/>  State or Province Name (full name) []:<b>Moscow<\/b><br \/>  Locality Name (eg, city) [Default City]:<b>Moscow<\/b><br \/>  Organization Name (eg, company) [Default Company Ltd]:<b>isp.local<br \/>  <\/b>Organizational Unit Name (eg, section) []:<b>IT<\/b><br \/>  Common Name (eg, your name or your server&#8217;s hostname) []:<b>isp.local<\/b><br \/>  Email Address []:<\/p>\n<p>  Please enter the following &#8216;extra&#8217; attributes<br \/>  to be sent with your certificate request<br \/>  A challenge password []:<br \/>  An optional company name []:<br \/>  writing RSA key<br \/>  Configuring DBServer<br \/>  Installing ISPConfig crontab<br \/>  no crontab for root<br \/>  Reloading php-fpm: [ OK ]<br \/>  Reloading nginx: [ OK ]<br \/>  <b>Installation completed.<\/b><\/p>\n<\/blockquote>\n<p>  <b># \u0423 \u043d\u0430\u0441 \u043f\u0430\u043d\u0435\u043b\u044c ISPConfig \u043f\u0440\u043e\u0431\u0440\u043e\u0448\u0435\u043d\u0430 \u043d\u0430 \u043f\u043e\u0440\u0442 8080 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u043e\u0433\u043e \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430<\/b> <\/p>\n<pre><code class=\"bash\">https:\/\/\u0432\u0430\u0448_\u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0439_ip:8080\/<\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/4eb\/d63\/931\/4ebd63931808fcab8727ef1c5a112d87.png\"\/><\/p>\n<p>  \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c: <b>admin<\/b><\/p>\n<p>  <b># \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ISPConfig \u043d\u0430 <a href=\"http:\/\/www.ispconfig.org\/page\/en\/ispconfig\/patches.html\">\u044d\u0442\u043e\u043c<\/a> \u0441\u0430\u0439\u0442\u0435. \u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u043f\u0430\u0442\u0447\u0438 \u0441 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0438\u0445<\/b><\/p>\n<pre><code class=\"bash\">cd \/usr\/local\/ispconfig\/server\/scripts wget http:\/\/www.ispconfig.org\/downloads\/ispconfig_patch chmod 700 ispconfig_patch chown root:root ispconfig_patch ln -s \/usr\/local\/ispconfig\/server\/scripts\/ispconfig_patch \/usr\/local\/bin\/ispconfig_patch<\/code><\/pre>\n<p>  <b># \u0412\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445, \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f, \u0437\u0430\u043f\u043b\u0430\u0442\u043e\u043a <\/b>  <\/p>\n<blockquote><p>Patches for <b>ISPConfig 3.0.5.3<\/b><\/p>\n<p>  Patch ID: <b>3053_langedit<\/b><br \/>  Date: 2013-09-25<br \/>  Description: This patch solves a UTF-8 encoding issue in the language file editor.<\/p>\n<p>  Patch ID: <b>3053_langimport<\/b><br \/>  Description: This patch adds a strict parsing routine to the language file importer.<\/p>\n<p>  Patch ID: <b>3053_backupdownload<\/b><br \/>  Description: This patch fixes an issue with downloading and restoring website backups.<\/p>\n<p>  Patch ID: <b>3053_apsdelete<\/b><br \/>  Description: This patch fixes an issue when deleting APS instances.<\/p>\n<p>  Patch ID: <b>3053_ftpuser<\/b><br \/>  Description: This patch fixes FS#3089 \u2013 FTP User Options \u2013 ERROR You have no permission for this domain.<\/p>\n<p>  Patch ID: <b>3053_phpversion<\/b><br \/>  Description: This patch fixes an issue that prevents clients from changing the php version for their website. The only php select option that is presented in the client interface is \u201cdefault\u201d.<\/p>\n<p>  Patch ID: <b>3053_sysini<\/b><br \/>  Description: This patch fixes FS#3086 \u2013 SQL query warning about sys_ini access in multiserver setups.<\/p>\n<p>  Patch ID: <b>3053_dashboard<\/b><br \/>  Description: This patch fixes a display issue (overlapping quota tables) on the dashboard.<\/p><\/blockquote>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f app01.local (apache2+php-fpm) <\/h4>\n<p>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 OpenVZ (New CT) \u0441 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c CentOS 64. \u042d\u0442\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u0441\u0430\u0439\u0442\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b\u0435 \u043d\u0430 php. \u0412\u043e\u043e\u0431\u0449\u0435, apache2 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435 nginx-\u0430 \u043e\u0442\u0434\u0430\u0435\u0442 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0430\u0439\u043b\u044b (\u0433\u0440\u0430\u0444\u0438\u043a\u0443, \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0441\u0442\u0438\u043b\u0438 \u0438 \u0434\u0440.), \u0430 \u0432 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0438 \u0441 mod_php \u0435\u0449\u0435 \u0438 \u0442\u0440\u0430\u0442\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u042d\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 \u0441\u0430\u043c\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043e\u0439 apache2. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0440\u0430\u0441\u0445\u043e\u0434\u0430 \u043f\u0430\u043c\u044f\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f php-fpm, \u0442\u043e \u0441 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0438\u043a\u043e\u0439 \u043d\u0430\u043c \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u0441\u043c\u0438\u0440\u0438\u0442\u044c\u0441\u044f \u0438 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u043a\u043e\u043c\u043f\u0435\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u043a\u0435\u0448\u0435\u043c \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 nginx \u0432 front.local.<br \/>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c apache2 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u043b\u0438\u0448\u044c \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c .htaccess \u0438\u043b\u0438 \u043c\u043e\u0434\u0443\u043b\u0438 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0435 \u0442\u043e\u043b\u044c\u043a\u043e apache2.<br \/>  \u0414\u043b\u044f \u044d\u0442\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0441 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u043e\u0433\u043e \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u0441\u0430 \u043f\u0440\u043e\u0431\u0440\u043e\u0448\u0435\u043d \u043f\u043e\u0440\u0442 ssh, 80 \u043f\u043e\u0440\u0442 \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441 \u043d\u0430\u0448\u0435\u0433\u043e front.local<\/p>\n<p>  \u0423 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 (<b>vmbr1<\/b>) <b>192.168.8.4<\/b>, \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u043d\u0430 \u041e\u0417\u0423 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u043d\u0435 \u0441\u0442\u043e\u0438\u0442, \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f \u0441\u0442\u0430\u0432\u043b\u044e \u043e\u0442 4 \u0434\u043e 20 \u0413\u0411.<\/p>\n<p>  <b># \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0435\u0442\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430: <\/b><\/p>\n<pre><code class=\"bash\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth1<\/code><\/pre>\n<pre><code class=\"bash\">DEVICE=eth1 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.8.4 NETWORK=192.168.8.0 GATEWAY=192.168.8.100<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/b><\/p>\n<pre><code class=\"bash\">yum install mod_rpaf memcached ntp httpd php php-mysql php-mbstring php-mcrypt rpm-build openssl-devel cyrus-sasl-devel pkgconfig zlib-devel pcre-devel openldap-devel postgresql-devel expect libtool-ltdl-devel openldap-servers libtool gdbm-devel pam-devel gamin-devel mod_ssl php-fpm php-cli php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-pecl-apc php-magpierss php-snmp php-tidy spawn-fcgi openssl perl-TimeDate httpd-devel ruby ruby-devel webalizer perl-DateTime-Format-HTTP perl-DateTime-Format-Builder perl-TimeDate libevent-devel php-pecl-memcache mod_fcgid  subversion git php-soap -y yum install --enablerepo=rpmforge mod_fastcgi mod_suphp -y<\/code><\/pre>\n<p>  <b># \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043b\u0443\u0436\u0431\u044b \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0438\u0445<\/b><\/p>\n<pre><code class=\"bash\">chkconfig --levels 235 php-fpm on && \/etc\/init.d\/php-fpm start chkconfig --levels 235 httpd on && \/etc\/init.d\/httpd start chkconfig --levels 235 memcached on && \/etc\/init.d\/memcached start<\/code><\/pre>\n<p>  <b># \u0414\u043b\u044f \u0440\u0443\u0447\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 php, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432<\/b><\/p>\n<pre><code class=\"bash\">yum groupinstall 'Development Tools' -y<\/code><\/pre>\n<p>  <b># \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 php.ini<\/b><\/p>\n<pre><code class=\"bash\">nano \/etc\/php.ini<\/code><\/pre>\n<pre><code class=\"bash\">error_reporting = E_ALL & ~E_NOTICE cgi.fix_pathinfo=1 short_open_tag = On date.timezone = &quot;Europe\/Moscow&quot; max_execution_time = 600 max_input_time = 600 memory_limit = 512M post_max_size = 500M upload_max_filesize = 2000M max_file_uploads = 200<\/code><\/pre>\n<p>  <b># \u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u044c xdebug (\u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043a\u043e\u0434\u0430 \u0438 \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c)<\/b><\/p>\n<pre><code class=\"bash\">yum install php-devel php-pear pecl install Xdebug<\/code><\/pre>\n<pre><code class=\"bash\">nano \/etc\/php.d\/xdebug.ini<\/code><\/pre>\n<pre><code class=\"bash\">[xdebug] zend_extension=&quot;\/usr\/lib64\/php\/modules\/xdebug.so&quot; xdebug.remote_enable = 1<\/code><\/pre>\n<pre><code class=\"bash\">php -v<\/code><\/pre>\n<pre><code class=\"bash\">No log handling enabled - turning on stderr logging Created directory: \/var\/lib\/net-snmp\/mib_indexes PHP 5.4.24 (cli) (built: Jan 13 2014 12:36:47) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies     with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Retha<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u044c php \u2014 Zend Guard<\/b><\/p>\n<pre><code class=\"bash\">cd \/usr\/src\/ && wget wget http:\/\/downloads.zend.com\/guard\/6.0.0\/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz tar xzvf  ZendGuardLoader-7* -C \/usr\/local\/ chmod -R 755 \/usr\/local\/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64\/ mv \/usr\/local\/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64\/ \/usr\/local\/Zend<\/code><\/pre>\n<pre><code class=\"bash\">nano \/etc\/php.d\/zend.ini<\/code><\/pre>\n<pre><code class=\"bash\">zend_extension=\/usr\/local\/Zend\/php-5.4.x\/ZendGuardLoader.so<\/code><\/pre>\n<pre><code class=\"bash\">php -v<\/code><\/pre>\n<pre><code class=\"bash\">PHP 5.4.24 (cli) (built: Jan 13 2014 12:36:47) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies     with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans     with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies<\/code><\/pre>\n<p>  <b># \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u044c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f opcode \u0434\u043b\u044f php \u2014 apc<\/b><\/p>\n<pre><code class=\"bash\">nano \/etc\/php.d\/apc.ini<\/code><\/pre>\n<pre><code class=\"bash\">apc.enabled=1 apc.shm_size=512M<\/code><\/pre>\n<p>  <b># \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u044c suphp<\/b><\/p>\n<pre><code class=\"bash\">mkdir -p \/root\/backup\/etc mv \/etc\/httpd\/conf.d\/suphp.conf \/root\/backup\/ && nano \/etc\/httpd\/conf.d\/suphp.conf<\/code><\/pre>\n<pre><code class=\"bash\">LoadModule suphp_module modules\/mod_suphp.so suPHP_Engine on  suPHP_ConfigPath \/etc\/suphp.conf<\/code><\/pre>\n<pre><code class=\"bash\">mv \/etc\/suphp.conf \/root\/backup\/etcsuphp.conf && nano \/etc\/suphp.conf<\/code><\/pre>\n<pre><code class=\"bash\">[global] ;Path to logfile logfile=\/var\/log\/httpd\/suphp.log ;Loglevel loglevel=info ;User Apache is running as webserver_user=apache ;Path all scripts have to be in docroot=\/ ;Path to chroot() to before executing script ;chroot=\/mychroot ; Security options allow_file_group_writeable=true allow_file_others_writeable=false allow_directory_group_writeable=true allow_directory_others_writeable=false ;Check wheter script is within DOCUMENT_ROOT check_vhost_docroot=true ;Send minor error messages to browser errors_to_browser=false ;PATH environment variable env_path=\/bin:\/usr\/bin ;Umask to set, specify in octal notation umask=0077 ; Minimum UID min_uid=100 ; Minimum GID min_gid=100  [handlers] ;Handler for php-scripts x-httpd-suphp=&quot;php:\/usr\/bin\/php-cgi&quot; ;Handler for CGI-scripts x-suphp-cgi=&quot;execute:!self&quot;<\/code><\/pre>\n<p>  <b># \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c mod_rpaf, \u0442\u0440\u0435\u0442\u0438\u0439 \u0430\u0434\u0440\u0435\u0441 \u2014 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 web-\u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/b><\/p>\n<pre><code class=\"bash\">nano \/etc\/httpd\/conf.d\/mod_rpaf.conf<\/code><\/pre>\n<pre><code class=\"bash\">&lt;IfModule mod_rpaf.c&gt;   RPAF_Enable       On   RPAF_ProxyIPs     127.0.0.1 192.168.8.2 *.*.*.237   RPAF_Header       X-Forwarded-For   RPAF_SetHostName  On   RPAF_SetHTTPS     On   RPAF_SetPort      On &lt;\/IfModule&gt;<\/code><\/pre>\n<p>  <b># \u0412\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c FastCgiWrapper<\/b><\/p>\n<pre><code class=\"bash\">nano \/etc\/httpd\/conf.d\/fastcgi.conf<\/code><\/pre>\n<pre><code class=\"bash\">FastCgiWrapper off<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c ISPConfig<\/b><\/p>\n<pre><code class=\"bash\">cd \/usr\/src\/ wget http:\/\/www.ispconfig.org\/downloads\/ISPConfig-3-stable.tar.gz tar xfz ISPConfig-3-stable.tar.gz cd ispconfig3_install\/install\/ php -q install.php<\/code><\/pre>\n<p>  <b># \u041e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0442\u0435\u0440\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/b><\/p>\n<blockquote><p>&gt;&gt; Initial configuration<\/p>\n<p>  Operating System: Redhat or compatible, unknown version.<\/p>\n<p>  Following will be a few questions for primary configuration so be careful.<br \/>   Default values are in [brackets] and can be accepted with .<br \/>   Tap in \u00abquit\u00bb (without the quotes) to stop the installer.<\/p>\n<p>  Select language (en,de) [<b>en<\/b>]:<\/p>\n<p>  Installation mode (standard,expert) [standard]: <b>expert<\/b><\/p>\n<p>  Full qualified hostname (FQDN) of the server, eg server1.domain.tld [<b>app01.local<\/b>]:<\/p>\n<p>  MySQL server hostname [<b>localhost<\/b>]:<\/p>\n<p>  MySQL root username [<b>root<\/b>]:<\/p>\n<p>  MySQL root password []:<\/p>\n<p>  MySQL database to create [<b>dbispconfig<\/b>]:<\/p>\n<p>  MySQL charset [<b>utf8<\/b>]:<\/p>\n<p>  The next two questions are about the internal ISPConfig database user and password.<br \/>  It is recommended to accept the defaults which are &#8216;ispconfig&#8217; as username and a random password.<br \/>  If you use a different password, use only numbers and chars for the password.<\/p>\n<p>  ISPConfig mysql database username [<b>ispconfig<\/b>]:<\/p>\n<p>  ISPConfig mysql database password [<b>8b8295ae2a50a39a1a00da65df0bee72<\/b>]:<\/p>\n<p>  Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: <b>y<\/b><\/p>\n<p>  MySQL master server hostname []: <b>isp.local<\/b><\/p>\n<p>  MySQL master server root username [<b>root<\/b>]:<\/p>\n<p>  MySQL master server root password []: <b>c2HZqsMmiBKa<\/b><\/p>\n<p>  MySQL master server database name [<b>dbispconfig<\/b>]:<\/p>\n<p>  Adding ISPConfig server record to database.<\/p>\n<p>  Configure Mail (y,n) [y]: <b>n<\/b><\/p>\n<p>  Configure Jailkit (y,n) [y]: <b>n<\/b><\/p>\n<p>  Configure FTP Server (y,n) [y]: <b>y<\/b><\/p>\n<p>  Configuring Pureftpd<br \/>  Stopping pure-ftpd: [ OK ]<br \/>  Starting pure-ftpd: [ OK ]<br \/>  Configure DNS Server (y,n) [y]: <b>n<\/b><\/p>\n<p>  Hint: If this server shall run the ISPConfig interface, select &#8216;y&#8217; in the &#8216;Configure Apache Server&#8217; option.<\/p>\n<p>  Configure Apache Server (y,n) [y]: <b>y<\/b><br \/>  Configuring Apache<br \/>  Configuring Vlogger<br \/>  Configuring Apps vhost<br \/>  Configure Firewall Server (y,n) [y]: <b>y<\/b><\/p>\n<p>  Configuring Bastille Firewall<br \/>  Install ISPConfig Web Interface (y,n) [n]: <b>n<\/b><\/p>\n<p>  Configuring DBServer<br \/>  Installing ISPConfig crontab<br \/>  no crontab for root<br \/>  Stopping httpd: [ OK ]<br \/>  [Thu Jan 23 13:46:44 2014] [warn] NameVirtualHost *:80 has no VirtualHosts<br \/>  [Thu Jan 23 13:46:44 2014] [warn] NameVirtualHost *:443 has no VirtualHosts<br \/>  [Thu Jan 23 13:46:44 2014] [warn] NameVirtualHost *:80 has no VirtualHosts<br \/>  Starting httpd: [ OK ]<br \/>  <b>Installation completed.<\/b>  <\/p><\/blockquote>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f db01. <\/h4>\n<p>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 OpenVZ (New CT) \u0441 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c CentOS 64. \u041d\u0430 \u044d\u0442\u043e\u0439 \u0432\u0438\u0442\u0440\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f mariadb \u0434\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u0441\u0430\u0439\u0442\u043e\u0432.<br \/>  \u042f \u043e\u043f\u0438\u0448\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u0443\u0437\u043b\u0430 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440 ISPConfig. \u0412\u043e\u043f\u0440\u043e\u0441\u044b \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 MySQL \u044f \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u0435\u0439.<\/p>\n<p>  \u0423 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 (<b>vmbr1<\/b>) <b>192.168.8.5<\/b>, \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u043d\u0430 \u043e\u0431\u044a\u0435\u043c\u0435 \u041e\u0417\u0423 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0443\u0441\u0442\u044c \u0431\u0443\u0434\u0435\u0442 <b>4084<\/b> \u0413\u0411 \u041e\u0417\u0423, \u043d\u043e \u043d\u0430 \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445 \u0438 20 \u0413\u0411 \u0431\u0443\u0434\u0435\u0442 \u043c\u0430\u043b\u043e.<\/p>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u0435\u0442\u044c \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435: <\/p>\n<pre><code class=\"bash\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth1<\/code><\/pre>\n<pre><code class=\"bash\">DEVICE=eth1 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.8.5 NETWORK=192.168.8.0 GATEWAY=192.168.8.100<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b php \u0434\u043b\u044f \u043f\u0430\u043d\u0435\u043b\u0438 ISPConfig<\/b><\/p>\n<pre><code class=\"bash\">yum install php-mysql php -y<\/code><\/pre>\n<p>  <b># \u0423\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u0437 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c apache2 <\/b><\/p>\n<pre><code class=\"bash\">chkconfig httpd off && \/etc\/init.d\/httpd stop<\/code><\/pre>\n<p>  <b># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c ISPConfig<\/b><\/p>\n<pre><code class=\"bash\">cd \/usr\/src\/ wget http:\/\/www.ispconfig.org\/downloads\/ISPConfig-3-stable.tar.gz tar xfz ISPConfig-3-stable.tar.gz cd ispconfig3_install\/install\/ php -q install.php<\/code><\/pre>\n<p>  <b># \u041e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0442\u0435\u0440\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/b><\/p>\n<blockquote><p>&gt;&gt; Initial configuration<\/p>\n<p>  Operating System: Redhat or compatible, unknown version.<\/p>\n<p>  Following will be a few questions for primary configuration so be careful.<br \/>   Default values are in [brackets] and can be accepted with .<br \/>   Tap in \u00abquit\u00bb (without the quotes) to stop the installer.<\/p>\n<p>  Select language (en,de) [en]: <b>en<\/b><\/p>\n<p>  Installation mode (standard,expert) [standard]: <b>expert<\/b><\/p>\n<p>  Full qualified hostname (FQDN) of the server, eg server1.domain.tld [<b>db01.local<\/b>]:<\/p>\n<p>  MySQL server hostname [<b>localhost<\/b>]:<\/p>\n<p>  MySQL root username [<b>root<\/b>]:<\/p>\n<p>  MySQL root password []:<\/p>\n<p>  MySQL database to create [<b>dbispconfig<\/b>]:<\/p>\n<p>  MySQL charset [<b>utf8<\/b>]:<\/p>\n<p>  The next two questions are about the internal ISPConfig database user and password.<br \/>  It is recommended to accept the defaults which are &#8216;ispconfig&#8217; as username and a random password.<br \/>  If you use a different password, use only numbers and chars for the password.<\/p>\n<p>  ISPConfig mysql database username [<b>ispconfig<\/b>]:<\/p>\n<p>  ISPConfig mysql database password [<b>06cd6c11370b50a83eb0a3d3907a3581<\/b>]:<\/p>\n<p>  Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: <b>y<\/b><\/p>\n<p>  MySQL master server hostname []: <b>isp.local<\/b><\/p>\n<p>  MySQL master server root username [<b>root<\/b>]:<\/p>\n<p>  MySQL master server root password []: <b>c2HZqsMmiBKa<\/b><\/p>\n<p>  MySQL master server database name [<b>dbispconfig<\/b>]:<\/p>\n<p>  Adding ISPConfig server record to database.<\/p>\n<p>  Configure Mail (y,n) [y]: <b>n<\/b><\/p>\n<p>  Configure Jailkit (y,n) [y]: <b>n<\/b><\/p>\n<p>  Configure FTP Server (y,n) [y]: <b>n<\/b><\/p>\n<p>  Configure DNS Server (y,n) [y]: <b>n<\/b><\/p>\n<p>  Hint: If this server shall run the ISPConfig interface, select &#8216;y&#8217; in the &#8216;Configure Apache Server&#8217; option.<\/p>\n<p>  Configure Apache Server (y,n) [y]: <b>n<\/b><\/p>\n<p>  Configure Firewall Server (y,n) [y]: <b>y<\/b><\/p>\n<p>  Configuring Bastille Firewall<br \/>  Install ISPConfig Web Interface (y,n) [n]: <b>n<\/b><\/p>\n<p>  Configuring DBServer<br \/>  Installing ISPConfig crontab<br \/>  no crontab for root<br \/>  Stopping httpd: [FAILED]<br \/>  Starting httpd: [ OK ]<br \/>  <b>Installation completed.<\/b>  <\/p><\/blockquote>\n<h5>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 ISPConfig:<\/h5>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 web-\u043f\u0430\u043d\u0435\u043b\u0438 ISPConfig \u0432\u044b \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u043d\u0430 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1dd\/eb4\/4b8\/1ddeb44b86ed6e83557e7d2800e91d6a.png\"\/><\/p>\n<p>  <b>Tools<\/b> \u2014 <b>Password and Language<\/b>, \u043c\u0435\u043d\u044f\u0435\u043c \u044f\u0437\u044b\u043a \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0438\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p>  <b>\u0421\u0438\u0441\u0442\u0435\u043c\u0430<\/b> \u2014 <b>\u0421\u043b\u0443\u0436\u0431\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/b>, \u0443\u0431\u0438\u0440\u0430\u0435\u043c \u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043b\u0438\u0448\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u0438\u0445 \u0440\u043e\u043b\u0438.<br \/>  \u0425\u043e\u0447\u0443 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0412\u0430\u0448\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e ISPConfig \u0443\u043c\u0435\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0443\u0437\u0435\u043b \u0437\u0435\u0440\u043a\u0430\u043b\u043e\u043c \u0434\u0440\u0443\u0433\u043e\u0433\u043e. \u0422.\u0435. \u0443 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0441\u043b\u0443\u0436\u0431 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e. \u041d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u0438\u0437 \u0443\u0437\u043b\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u0435\u0440\u043a\u0430\u043b\u043e\u043c \u0432 <b>\u0417\u0435\u0440\u043a\u0430\u043b\u0435 \u0421\u0435\u0440\u0432\u0435\u0440\u0430<\/b><\/p>\n<p>  <b>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/b> \u2014 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <b>\u0441\u0435\u0440\u0432\u0435\u0440<\/b> \u0441\u0442\u0430\u0432\u0438\u043c <b>Loglevel<\/b> \u043d\u0430 Debug. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 ISPConfig \u043d\u0430 \u0443\u0437\u043b\u0430\u0445 \u043d\u0430\u0448\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430<\/p>\n<pre><code class=\"bash\">tail -f -n 1000 \/var\/log\/ispconfig\/ispconfig.log<\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u0436\u0435 \u0432 <b>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/b> \u0435\u0441\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b <b>Web<\/b>, \u0432 \u043d\u0435\u043c <b>Permissions<\/b>, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0435\u0440\u043a\u0430\u043b web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 (ceph, ocfs2 \u0438 \u043f\u0440.) \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0433\u0430\u043b\u043e\u0447\u043a\u0438 <b>Set folder permissions on update<\/b> \u0438 <b>Connect Linux userid to webid<\/b>. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0435\u043c guid\/uid \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u0433\u0440\u0443\u043f\u043f \u0438 \u0438\u0445 \u0438\u043c\u0435\u043d\u0430\u043c\u0438\/\u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0437\u0435\u0440\u043a\u0430\u043b\u0430\u0445. \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043f\u0430\u043f\u043e\u043a \u0443 \u0441\u0432\u043e\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0442\u043e \u0441\u043d\u0438\u043c\u0438\u0442\u0435 \u0433\u0430\u043b\u043e\u0447\u043a\u0443 <b>Make web folders immutable (extended attributes)<\/b>. \u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u0431\u044b\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e, \u0442\u043e \u0432\u0430\u043c \u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0439\u0434\u0435\u0442 \u043a\u043e\u043c\u043c\u0430\u043d\u0434\u0430 <b>chattr -i<\/b>. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0430\u0436\u043d\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b: <b>Rescue<\/b>, \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u0430\u0436\u043d\u044b\u0445 \u0441\u043b\u0443\u0436\u0431 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0445 \u043f\u0430\u0434\u0435\u043d\u0438\u044f, \u043d\u043e \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u0442\u0435\u0445 \u0441\u043b\u0443\u0436\u0431, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f. <\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: <b>\u041a\u043b\u0438\u0435\u043d\u0442<\/b> \u2014 <b>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0430<\/b>, <b>\u0410\u0434\u0440\u0435\u0441<\/b>, \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c <b>\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u043e\u0435 \u043b\u0438\u0446\u043e<\/b>, <b>\u041b\u043e\u0433\u0438\u043d<\/b> \u0438 <b>\u041f\u0430\u0440\u043e\u043b\u044c<\/b> (\u0442\u0443\u0442 \u0436\u0435 \u0435\u0441\u0442\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043f\u0430\u0440\u043e\u043b\u0435\u0439). \u0414\u0430\u043b\u044c\u0448\u0435 \u0432 <b>\u041b\u0438\u043c\u0438\u0442\u044b<\/b>: \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c <b>Web-\u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/b> \u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0436\u0438\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u044b web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430: <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/dfd\/503\/8c7\/dfd5038c7cd2440bd758d6c48fc15ec7.png\"\/><br \/>  \u041c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 app01.local \u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 php-fpm \u0438 mod_php \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u0441\u043f\u0438\u0441\u043a\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0438 \u0432\u0445\u043e\u0434\u0438\u043c \u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/a05\/d4b\/823\/a05d4b823c115458c40f771d661433f6.png\"\/><br \/>  <b>\u0421\u0430\u0439\u0442\u044b<\/b> \u2014 <b>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0432\u0435\u0431\u0441\u0430\u0439\u0442<\/b><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/c9b\/b5c\/cdc\/c9bb5ccdce1942def51541a393e6c4b7.png\"\/><br \/>  \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u0441\u0430\u0439\u0442\u0430 \u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 php-\u0431\u0435\u043a\u0435\u043d\u0434. <\/p>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, ISPConfig \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/c75\/e25\/98f\/c75e2598fc009b9c4c87f1c7bf1af679.png\"\/><\/p>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u043d\u0430\u0448\u0438\u0445 \u0441\u0430\u0439\u0442\u043e\u0432, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f <b>ssh<\/b>, \u043f\u043e\u0434 windows \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"http:\/\/winscp.net\/eng\/download.php\">WinSCP<\/a>. \u0422\u0430\u043a\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0435\u0439, \u0447\u0435\u043c \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0439 FTP. <br \/>  \u0414\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f SSH, \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <b>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c Shell<\/b>.<br \/>  \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043d, \u043f\u0430\u0440\u043e\u043b\u044c \u0438 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u2014 \u043a\u043b\u044e\u0447. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u043a \u0432\u0430\u0448\u0435\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u0432\u0430\u0448\u0435\u0439 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435 ISPConfig.<\/p>\n<p>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 MySQL \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0435\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <b>Database users<\/b>, \u043a \u043b\u043e\u0433\u0438\u043d\u0443 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0432\u0430\u0448 ID \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 ISPConfig. <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/95d\/4c0\/083\/95d4c0083167a65be81ff6d53abd933e.png\"\/><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 \u0441\u0430\u0439\u0442\u043e\u0432 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <b>\u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/b>, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043c\u044f \u043d\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0430\u0439\u0442, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u044d\u0442\u0430 \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u0433\u0430\u043b\u043e\u0447\u043a\u0443 <b>\u0423\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f<\/b> (\u0443 \u043d\u0430\u0441 \u0441\u0435\u0440\u0432\u0435\u0440 \u0411\u0414 \u044d\u0442\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044e \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439). \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u043a \u0438\u043c\u0435\u043d\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0444\u0438\u043a\u0441.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/54b\/a92\/236\/54ba92236ed55ad4d67c0389d510ea55.png\"\/><\/p>\n<p>  \u0414\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 phpMyAdmin \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0437\u043d\u0430\u0447\u043e\u043a \u0432\u043e\u0437\u043b\u0435 \u043b\u044e\u0431\u043e\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <b>\u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/b><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/61b\/bef\/c26\/61bbefc261cf82d6b09a527f85d16a29.png\"\/><\/p>\n<p>  \u0438 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u0441\u044f \u0432 phpMyAdmin<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/b08\/307\/677\/b08307677760c3421495495ca1e0dd6b.png\"\/><\/p>\n<h5>\u0424\u0438\u043d\u0430\u043b<\/h5>\n<p>  <b>app01.local<\/b> \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0436\u0438\u0432\u0443\u0442 \u043d\u0430\u0448\u0438 \u0441\u0430\u0439\u0442\u044b, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u043d\u0430 \u043f\u043e\u0440\u0442\u0443 <b>22<\/b>. \u0412 \u043e\u043a\u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a <b>WinSCP<\/b> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/01f\/66d\/af1\/01f66daf18a9b4fb708d785459b95899.png\"\/><\/p>\n<p>  \u041e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043d\u0430\u0448 \u0441\u0430\u0439\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0435 <b>web<\/b><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2a9\/17d\/8e0\/2a917d8e0251351a544ad79fe8c7b2ee.png\"\/><\/p>\n<p>  \u0423\u0434\u0430\u043b\u0438\u043c \u0444\u0430\u0439\u043b <b>index.html<\/b> \u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c <b>index.php<\/b><\/p>\n<pre><code class=\"bash\">&lt;?php  \/\/ \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e INFO_ALL phpinfo();  \/\/ \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u044f\u0445. \/\/ phpinfo(8) \u0432\u044b\u0434\u0430\u0435\u0442 \u0442\u043e\u0442 \u0436\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. phpinfo(INFO_MODULES);  ?&gt;<\/code><\/pre>\n<p>  \u0423\u0431\u0435\u0436\u0434\u0430\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 php-fpm\/mod_php \u0441\u0430\u0439\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0438 \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/b30\/392\/bde\/b30392bdee66ba329ff439561f5755ad.png\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/b74\/71a\/74d\/b7471a74d552287eda7505f039d7b208.png\"\/><\/p>\n<p>  <b>\u0412\u043e\u0442 \u0438 \u0432\u0441\u0435! <\/b><\/p>\n<p>  <b>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0438\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043a\u0430\u0437\u043a\u0443 \u0431\u044b\u043b\u044c\u044e \u2014 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043f\u043e\u043c\u043e\u0447\u044c! \u043c\u043e\u0438 <a href=\"http:\/\/habrahabr.ru\/users\/sycraft\/\">\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b<\/a> \u2014 welcome <\/b>    \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\/company\/acronis\/blog\/209934\/\"> http:\/\/habrahabr.ru\/company\/acronis\/blog\/209934\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/870\/2a4\/467\/8702a4467b4a4be626e04e1c48d73dc8.jpg\"\/><\/p>\n<h4>\u0412 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0446\u0438\u043a\u043b\u0430 \u0441\u0442\u0430\u0442\u0435\u0439 \u043e\u0431 \u00ab\u0418\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u043c\u00bb \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435, \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0440\u0435\u0446\u0435\u043f\u0442\u0430\u043c\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0445, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u0445 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f web-\u0441\u0438\u0441\u0442\u0435\u043c. <\/h4>\n<p>  <b>\u0414\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0439 \u0438 \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0430\u0439\u0442\u043e\u0432 \u0438 web-\u0441\u0438\u0441\u0442\u0435\u043c, \u0432 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0430 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0438\u0437\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043d\u0430 \u0440\u044b\u043d\u043a\u0435 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432. \u041c\u044b \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0446\u0435\u043b\u044c\u044e: \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u044c \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u0438 \u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0448\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c.<\/p>\n<p>  \u041a\u043b\u0430\u0441\u0442\u0435\u0440, \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0431\u044b\u043b \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u0441 \u043d\u0443\u043b\u044f. \u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0430 frontend-backend \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430. \u0411\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u0432 MariaDB Galera, \u0432\u0441\u0435 \u0441\u0430\u0439\u0442\u044b \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b\u0438 \u043d\u0430 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 web-\u043d\u043e\u0434\u044b.<\/p>\n<p>  \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0434\u043e\u043b\u0433\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u0441\u043f\u043e\u0440\u043e\u0432 \u0438 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0439 \u0440\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f <a href=\"http:\/\/habrahabr.ru\/company\/acronis\/\">Acronis<\/a> \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u0441 \u0412\u0430\u043c\u0438. \u041c\u044b \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u043c \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u043e\u0433\u0430\u0442\u044c.<\/b><\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/company\/acronis\/blog\/204190\/\">\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u043d\u0430 hetzner<\/a><br \/>  \u042f \u043f\u043e\u0434\u0435\u043b\u0438\u043b\u0441\u044f \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043f\u043e \u0446\u0435\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u043d\u0435\u043c\u0435\u0446\u043a\u043e\u043c \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0435 hetzner.<\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/company\/acronis\/blog\/198934\/\">Frontend: NGINX + Keepalived (vrrp) \u043d\u0430 CentOS<\/a><br \/>  \u041c\u044b \u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 nginx<\/p>\n<h5>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0432\u0430\u0436\u043d\u044b\u0445 \u0430\u0441\u043f\u0435\u043a\u0442\u0430\u0445:<\/h5>\n<ul>\n<li>\u041a\u0430\u043a \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0443\u044e, \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u0443\u044e web-\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u0432 Hetzner \u043d\u0430 \u0431\u0430\u0437\u0435 Proxmox<\/li>\n<li>\u041a\u0430\u043a \u043b\u0435\u0433\u043a\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0441\u0435\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0438 \u0443\u0434\u043e\u0431\u043d\u043e\u0439 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/li>\n<li>\u041a\u0430\u043a, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0430\u043c\u044b\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438, \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438<\/li>\n<\/ul>\n<h5>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c, \u0447\u0435\u043c \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043e\u0442 \u0441\u043e\u0442\u043d\u0438 \u0434\u0440\u0443\u0433\u0438\u0445?<\/h5>\n<ul>\n<li> \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f web-\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 ISPConfig \u043d\u0430 \u0431\u0430\u0437\u0435 CentOS (\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0430\u043d\u0435\u043b\u0438 \u0432 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 Debian)<\/li>\n<li> \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0430\u043c\u0443 web \u043f\u0430\u043d\u0435\u043b\u044c ISPConfig \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0431\u0435\u0437 apache2 (\u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0441 apache2)<\/li>\n<li>\u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 php \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c nginx+php-phm \u0438 apache2+php-fpm\/mod_ph\u0440 \u0431\u0435\u043a\u0435\u043d\u0434\u043e\u0432.<\/li>\n<li>\u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 MariaDB, \u0432\u043c\u0435\u0441\u0442\u043e MySQL<\/li>\n<\/ul>\n<h5>\u041a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f:<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u0415\u0441\u0442\u044c \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b Proxmox<\/li>\n<li>\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u043b\u0443\u0436\u0431\u044b \u0441\u0432\u043e\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0431\u0430\u0437\u0435 OpenVZ (\u0441\u043f\u0430\u0441\u0438\u0431\u043e \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u0438\u0437 <a href=\"http:\/\/habrahabr.ru\/company\/parallels\/\">Parallels<\/a> \u0437\u0430 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442)<\/li>\n<li>\u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 gw.local, \u043e\u043d \u043f\u0440\u043e\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b \u043a \u0434\u0440\u0443\u0433\u0438\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 iptables<\/li>\n<li>\u0415\u0441\u0442\u044c isp. local \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f ISPConfig \u043d\u0430 \u0431\u0430\u0437\u0435 nginx+php-fpm<\/li>\n<li>\u0415\u0441\u0442\u044c front01.local \u043d\u0430 \u043d\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 nginx \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u043d\u0430 \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 upstream (\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0448\u0438\u0445 \u0441\u0430\u0439\u0442\u043e\u0432)<\/li>\n<li>\u0415\u0441\u0442\u044c app01.local \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0436\u0438\u0432\u0435\u0442 \u0441\u0440\u0435\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f php \u043f\u043e\u0434\u0430. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c apache + php-fpm\/mod_php \u0438\u043b\u0438 nginx+php-fpm<\/li>\n<li>\u0415\u0441\u0442\u044c db.local \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0436\u0438\u0432\u0435\u0442 \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 MariaDB<\/li>\n<\/ul>\n<p>  <\/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-209934","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/209934","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=209934"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/209934\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=209934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=209934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=209934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}