{"id":155655,"date":"2012-10-22T18:29:03","date_gmt":"2012-10-22T14:29:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=155655"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=155655","title":{"rendered":"<span class=\"post_title\">\u0410\u0432\u0442\u043e\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0432 \u043e\u0431\u043b\u0430\u043a\u0435 Amazon \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Chef-Solo<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435! <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431 \u0430\u0432\u0442\u043e\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432 \u043e\u0431\u043b\u0430\u043a\u0435. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c ec2-\u0438\u043d\u0441\u0442\u0430\u043d\u0441, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u00ab\u043f\u0440\u0438\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0441\u044f\u00bb WordPress. <\/p>\n<p>  \u041f\u043e\u0434 \u0430\u0432\u0442\u043e\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u0431\u0435\u0437 \u043b\u043e\u0433\u0438\u043d\u0430 \u043f\u043e ssh \u043d\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u0438\u043d\u0441\u0442\u0430\u043d\u0441, \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2d4\/b88\/7a5\/2d4b887a554e6b11bc35e473dee6718a.jpg\"\/><\/p>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0441\u0442\u0430\u043d\u0441 \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c WordPress, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f <a href=\"http:\/\/aws.amazon.com\/developertools\/Amazon-EC2\/351\">Amazon EC2 API Tools<\/a> \u0438 <a href=\"http:\/\/wiki.opscode.com\/display\/chef\/Chef+Solo\">Chef-Solo<\/a>, \u0430 \u0442\u0430\u043a\u0436\u0435 <a href=\"http:\/\/wiki.opscode.com\/display\/chef\/Cookbooks\">cookbook-\u0438<\/a> \u0434\u043b\u044f \u043d\u0435\u0433\u043e.<br \/>  Cookbook \u2014 \u044d\u0442\u043e \u0441\u0431\u043e\u0440\u043d\u0438\u043a \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u0432, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c Chef-Solo \u0431\u0443\u0434\u0435\u0442 \u201c\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c\u201d \u0441\u0435\u0440\u0432\u0435\u0440 (\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e). \u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043a\u0438\u0445 \u00ab\u043f\u043e\u0432\u0430\u0440\u0435\u043d\u043d\u044b\u0445 \u043a\u043d\u0438\u0433\u00bb, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e:   <\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/opscode-cookbooks\/apache2\">apache2<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/opscode-cookbooks\/mysql\">mysql<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/opscode-cookbooks\/openssl\">openssl<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/opscode-cookbooks\/php\">php<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/opscode-cookbooks\/subversion\">subversion<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/morkot\/cookbooks\/tree\/master\/wp\">wp<\/a><\/li>\n<\/ul>\n<p>  \u0412\u0441\u0435, \u043a\u0440\u043e\u043c\u0435 wp, \u2014 \u044d\u0442\u043e cookbook-\u0438 \u0438\u0437 <a href=\"https:\/\/github.com\/opscode-cookbooks\">\u043a\u043e\u043c\u044c\u044e\u043d\u0438\u0442\u0438-\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/a>. wp \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 cookbook, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0435\u0446\u0435\u043f\u0442\u0430, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e Chef-Solo \u0441\u043a\u0430\u0447\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e WordPress \u0438\u0437 svn, \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0435\u0433\u043e. \u0412\u0441\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 cookbook-\u0438 \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0432 <a href=\"https:\/\/github.com\/morkot\/cookbooks\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/a> \u043d\u0430 git.<br \/>  \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 Chef-Solo \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0434\u0432\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430 solo.rb \u0438 node.json.<\/p>\n<p>  <b>solo.rb:<\/b>  <\/p>\n<pre><code class=\"bash\">file_cache_path &quot;\/var\/chef-solo&quot; cookbook_path &quot;\/var\/chef-solo\/cookbooks&quot; <\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u043a cookbook-\u0430\u043c.<\/p>\n<p>  <b>node.json:<\/b>  <\/p>\n<pre><code class=\"ruby\">{   &quot;run_list&quot;: [     &quot;recipe[php::package]&quot;,     &quot;recipe[php::module_mysql]&quot;,     &quot;recipe[apache2]&quot;,     &quot;recipe[apache2::mod_php5]&quot;,     &quot;recipe[subversion]&quot;,     &quot;recipe[mysql::server]&quot;,     &quot;recipe[wp]&quot;   ],   &quot;php&quot;    : { &quot;conf_dir&quot; : &quot;\/etc\/&quot; },   &quot;mysql&quot;  : { &quot;server_root_password&quot; : &quot;xxxie0AiquaiX&quot;,                &quot;service_name&quot; : &quot;mysqld&quot;,                &quot;platform&quot; : &quot;amazon&quot; } } <\/code><\/pre>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u0430\u043a\u0438\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0438 \u0437\u0430\u0434\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b.<\/p>\n<p>  \u041f\u0440\u0438\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u043a\u043e\u043d\u0447\u0435\u043d\u044b, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c. \u0412\u0441\u0435, \u0447\u0442\u043e \u043d\u0430\u043c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c, \u044d\u0442\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0438\u043d\u0441\u0442\u0430\u043d\u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430 Amazon EC2 API Tools:<\/p>\n<pre><code class=\"bash\">ec2-run-instances {ami} -t {instance shape} -k {key_name}, <\/code><\/pre>\n<p>  \u0441\u043a\u0430\u0447\u0430\u0442\u044c cookbook-\u0438 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0438, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c chef-solo.<br \/>  \u041d\u043e! \u041c\u044b \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438\u0441\u044c, \u0447\u0442\u043e \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e ssh \u043d\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441 \u043d\u0435 \u0431\u0443\u0434\u0435\u043c. \u041a\u0430\u043a \u043d\u0430\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u0430\u043d\u0434 \u043d\u0435 \u043b\u043e\u0433\u0438\u043d\u044f\u0441\u044c \u043d\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441? \u041d\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f AWS \u2014 <a href=\"http:\/\/docs.amazonwebservices.com\/AWSEC2\/latest\/UserGuide\/AESDG-chapter-instancedata.html\">user-data<\/a>. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0435\u0451, \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c bash-\u0441\u043a\u0440\u0438\u043f\u0442\u044b.<\/p>\n<p>  <b>chef-solo-inst.sh:<\/b>  <\/p>\n<pre><code class=\"bash\">#!\/bin\/bash -x  #write logs LOGS=&quot;\/root\/autoconf-log.$(date -I)&quot; exec &gt; $LOGS 2&gt;&1  SOLODIR=&quot;\/var\/chef-solo&quot; CFGDIR=&quot;$SOLODIR\/wp-aws-chef-solo&quot;  #install Chef  rpm -ivh http:\/\/opscode-omnitruck-release.s3.amazonaws.com\/el\/6\/x86_64\/chef-10.14.4-2.el6.x86_64.rpm  #install git yum -y install git  #create dir and download cookbooks mkdir &quot;$SOLODIR&quot; cd &quot;$SOLODIR&quot; git clone https:\/\/github.com\/morkot\/wp-aws-chef-solo git clone https:\/\/github.com\/morkot\/cookbooks  #run chef-solo chef-solo -c &quot;$CFGDIR&quot;\/solo.rb -j &quot;$CFGDIR&quot;\/node.json <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0433\u043e\u0442\u043e\u0432\u044b \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0430\u0432\u0442\u043e\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u0438\u043d\u0441\u0442\u0430\u043d\u0441:<\/p>\n<pre><code class=\"bash\">ec2-run-instances ami-1624987f -t t1.micro -k {your_key_name} --user-data-file chef-solo-inst.sh <\/code><\/pre>\n<p>\u0433\u0434\u0435 &#8212;user-data-file chef-solo-inst.sh \u2014 \u044d\u0442\u043e \u043e\u043f\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 user-data \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 bash-\u0441\u043a\u0440\u0438\u043f\u0442.<br \/>  \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043d\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 ec2-describe-instances, \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c dns-\u0438\u043c\u044f \u043f\u043e\u0434\u043d\u044f\u0442\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 http:\/\/{instance_dns_name}\/wp, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u044c\u0441\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 WordPress:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/dd3\/b47\/9ef\/dd3b479eff2d576726053f4ac12cd40e.png\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430, \u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a. \u0427\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0432 log-\u0444\u0430\u0439\u043b autoconf-log.{date}, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043b\u0435\u0436\u0430\u0442\u044c \u043d\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0435 \u0432 \/root \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438.<\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0438 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043a \u0440\u0430\u0431\u043e\u0442\u0435 \u0438\u043d\u0441\u0442\u0430\u043d\u0441. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f chef-\u0440\u0435\u0446\u0435\u043f\u0442\u044b \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 user-data \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043b\u044e\u0431\u043e\u0439 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438. \u041f\u0440\u0438\u0447\u0435\u043c, \u0440\u0435\u0446\u0435\u043f\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043a\u0440\u043e\u0441\u0441-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u0438 \u0441 \u0438\u0445 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u044b \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u041e\u0421.<\/p>\n<p>  \u0421\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u0432 \u0442\u0430\u043a\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439, \u043a\u0430\u043a \u0441 \u043a\u043e\u0434\u043e\u043c (Infrastructure as a Code). \u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435 \u0436\u0435 \u043c\u0435\u0442\u043e\u0434\u0438\u043a\u0438, \u0447\u0442\u043e \u0438 \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u041f\u041e (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%A0%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%BA%D0%B0_%D1%87%D0%B5%D1%80%D0%B5%D0%B7_%D1%82%D0%B5%D1%81%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5\">TDD<\/a>).<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0430\u0432\u0442\u043e\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u0434\u0430\u043b\u044c\u0448\u0435: \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437\u044b \u0441 \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c chef-\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0438\u043d\u0441\u0442\u0430\u043d\u0441, \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435, \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b\u0441\u044f chef-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u043e\u043b\u0438. \u041d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438. \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/155655\/\"> http:\/\/habrahabr.ru\/post\/155655\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435! <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431 \u0430\u0432\u0442\u043e\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432 \u043e\u0431\u043b\u0430\u043a\u0435. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c ec2-\u0438\u043d\u0441\u0442\u0430\u043d\u0441, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u00ab\u043f\u0440\u0438\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0441\u044f\u00bb WordPress. <\/p>\n<p>  \u041f\u043e\u0434 \u0430\u0432\u0442\u043e\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u0431\u0435\u0437 \u043b\u043e\u0433\u0438\u043d\u0430 \u043f\u043e ssh \u043d\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u0438\u043d\u0441\u0442\u0430\u043d\u0441, \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2d4\/b88\/7a5\/2d4b887a554e6b11bc35e473dee6718a.jpg\"\/><\/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-155655","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/155655","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=155655"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/155655\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=155655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=155655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=155655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}