{"id":199302,"date":"2013-10-28T13:58:03","date_gmt":"2013-10-28T09:58:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=199302"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=199302","title":{"rendered":"<span class=\"post_title\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 squid+sams+ntlm \u043d\u0430 centos 6.4 \u043f\u043e \u0448\u0430\u0433\u0430\u043c<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/309\/2f3\/6ea\/3092f36eaf174584f533da9a2d603654.jpg\"\/><br \/>  \u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0433\u043e\u0441\u043f\u043e\u0434\u0430, \u0434\u0443\u043c\u0430\u044e, \u044f \u043d\u0435 \u043e\u0442\u043a\u0440\u043e\u044e \u0410\u043c\u0435\u0440\u0438\u043a\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u043f\u0440\u043e \u043f\u0440\u043e\u0435\u043a\u0442 SAMS (Squid Accaunt Management System), \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u043d\u0435\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043d\u0430 \u0425\u0430\u0431\u0440\u0430\u0445\u0430\u0431\u0440\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u0445\u043e\u0442\u044f \u044f \u043d\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432\u0430\u043c \u043c\u043d\u043e\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e, \u043d\u043e \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0433\u043e. <br \/>  <a name=\"habracut\"><\/a><br \/>  \u041f\u0435\u0440\u0432\u0430\u044f \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u2014 \u043f\u043e\u043c\u043e\u0447\u044c \u0441\u043e\u0431\u0440\u0430\u0442\u044c\u044f\u043c \u044d\u043d\u0438\u043a\u0435\u0439\u0449\u0438\u043a\u0430\u043c (\u0430\u0434\u043c\u0438\u043d\u0430\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0439) \u0432\u0440\u043e\u0434\u0435 \u043c\u0435\u043d\u044f, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0449\u0435 \u043e\u0434\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u043e\u0435, \u0430 \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0412\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0432\u0448\u0438\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e \u0443 \u0441\u0435\u0431\u044f, \u043f\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c HowTo \u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b, \u0447\u0442\u043e \u043e\u043d\u0438 \u043b\u0438\u0431\u043e \u043d\u0435 \u043f\u043e\u043b\u043d\u044b\u0435, \u043b\u0438\u0431\u043e \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u0438 \u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u043c\u0443 \u0441 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u043c \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u043d\u043e (\u043a\u0430\u043a \u044f) \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0442\u043e \u043b\u0438\u0431\u043e \u0431\u043e\u043b\u0435\u0435 \u043c\u0435\u043d\u0435\u0435 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0435 \u043f\u043e \u043d\u0438\u043c \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043b\u0443\u0447\u0438\u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u043d\u043e\u0432\u0438\u0447\u043a\u0430\u043c\u0438.<\/p>\n<h5>\u0417\u0430\u0434\u0430\u0447\u0438<\/h5>\n<p>  \u0418\u0442\u0430\u043a, \u0434\u0430\u043d\u043d\u043e\u0435 \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e\u0435 HowTo \u0441\u0442\u0430\u0432\u0438\u0442 \u0441\u0432\u043e\u0439 \u0446\u0435\u043b\u044c\u044e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0441 \u043a \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043d\u0430 CentOS 6.4 i386 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 Active Directory. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0438 \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u043e\u043d \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u0435\u043d (\u043a\u043e\u0433\u043e \u044f \u044d\u0442\u0438\u043c \u0445\u043e\u0447\u0443 \u0443\u0434\u0438\u0432\u0438\u0442\u044c \u0432 \u0442\u043e\u043f\u0438\u043a\u0435 \u043d\u0438\u043a\u0441\u043e\u0432?).<\/p>\n<h5>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e SAMS<\/h5>\n<p>  \u041b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0441\u0443\u0440\u0441 <a href=\"http:\/\/sams.perm.ru\">sams.perm.ru<\/a>. \u0414\u043b\u044f \u043c\u0435\u043d\u044f SAMS \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u0430\u044f \u0441\u0447\u0438\u0442\u0430\u043b\u043a\u0430 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u0438 \u043b\u043e\u0433 \u0441\u0435\u0440\u0444\u0438\u043d\u0433\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u043c \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c. \u041d\u043e \u0432\u0441\u0435 \u0436\u0435 \u043e \u043f\u043b\u044e\u0441\u0430\u0445 \u0438 \u043c\u0438\u043d\u0443\u0441\u0430\u0445 (\u0430 \u043e\u043d\u0438, \u0440\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u0435\u0441\u0442\u044c) SAMS \u0438 \u0441\u0442\u043e\u0438\u0442 \u043b\u0438 \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0443\u0434\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u043c.<\/p>\n<h5>\u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435<\/h5>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 SAMS \u0442\u043e, \u0447\u0442\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f (\u0430 \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 SAMS2, \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0443 \u043d\u0438\u0445 \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f) \u0434\u0430\u0432\u043d\u0435\u043d\u044c\u043a\u043e \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u043b\u0430\u0441\u044c \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0442\u0430\u0440\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043d\u0435 \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432. \u201c\u041a\u0430\u043a\u0430\u044f \u0433\u043b\u0443\u043f\u043e\u0441\u0442\u044c!\u201d \u2014 \u0441\u043a\u0430\u0436\u0435\u0442\u0435 \u0432\u044b \u0438 \u0431\u0443\u0434\u0435\u0442\u0435 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043f\u0440\u0430\u0432\u044b, \u0438\u0431\u043e \u043a\u0430\u043a \u044f \u0443\u0436\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u0441\u0442\u0430\u0442\u044c\u044f, \u043f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e, \u043d\u043e\u0432\u0438\u0447\u043a\u0430\u043c \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u043c \u0441 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u043c. \u0422\u0430\u043a \u0436\u0435 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441\u0442\u0430\u043b\u043e \u0442\u043e, \u0447\u0442\u043e HowTo \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043d\u0430 CentOS(\u0432\u044b\u0431\u043e\u0440 \u041e\u0421 \u043d\u0435 \u0442\u0435\u043c\u0430 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u0442\u0430\u043a \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c) \u044f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b.<\/p>\n<h5>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435<\/h5>\n<p>  \u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437 CentOS 6.4 (\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442) \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 <a href=\"http:\/\/isoredirect.centos.org\/centos\/6\/isos\/i386\/\">isoredirect.centos.org\/centos\/6\/isos\/i386\/<\/a>. \u0414\u0430\u043b\u0435\u0435 \u0432\u0441\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0434\u0438\u0441\u043a \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0432 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430 \u043d\u0430\u0448 \u0431\u0443\u0434\u0443\u0449\u0438\u0439 \u0448\u043b\u044e\u0437. \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:  <\/p>\n<ol>\n<li>\u0412\u0432\u0435\u0441\u0442\u0438 \u0438\u043c\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0442\u044c (\u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c \u0432 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435, \u0447\u0435\u043c \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u0445\u043e\u0442\u044f \u044d\u0442\u043e \u0434\u0435\u043b\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0438).<\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f root. <\/li>\n<\/ol>\n<p>  <\/p>\n<h5>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u041e\u0421<\/h5>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e\u0434 \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c. \u0414\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0436\u0443 \u043e\u0442 \u0435\u0433\u043e \u0438\u043c\u0435\u043d\u0438.  <\/p>\n<ol>\n<li> \u0415\u0441\u043b\u0438 \u0437\u0430\u0431\u044b\u043b\u0438 \u0438\u043b\u0438 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0441\u0435\u0442\u044c, \u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 ifcfg-eth0, ifcfg-eth1 (\u0443 \u043d\u0430\u0441 \u0436\u0435 \u0448\u043b\u044e\u0437 \u0442\u0430\u043a \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0434\u0432\u0443\u0445) <br \/> \n<pre><code class=\"bash\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth0  <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430:  <\/p>\n<blockquote><p>DEVICE=\u00abeth0\u00bb<br \/>  BOOTPROTO=none<br \/>  NM_CONTROLLED=\u00abyes\u00bb<br \/>  ONBOOT=\u00abyes\u00bb<br \/>  TYPE=\u00abEthernet\u00bb<br \/>  UUID=\u00ab57fb7ee8-e3da-4719-b5ec-d27e16fe0677\u00bb<br \/>  HWADDR=6C:62:6D:B7:F0:A3<br \/>  IPADDR=192.168.0.86<br \/>  PREFIX=24<br \/>  GATEWAY=192.168.0.3<br \/>  DNS1=192.168.0.2<br \/>  DNS2=192.168.0.3<br \/>  DEFROUTE=yes<br \/>  IPV4_FAILURE_FATAL=yes<br \/>  IPV6INIT=no<br \/>  NAME=\u00abSystem eth0\u00bb  <\/p><\/blockquote>\n<p>  <\/li>\n<li> \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043f\u0435\u0440\u0432\u043e\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438:<br \/> \n<pre><code class=\"bash\">yum install mc nano wget ntp -y <\/code><\/pre>\n<p>  <\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b \u0434\u043e\u043c\u0435\u043d\u0430:<br \/> \n<pre><code class=\"bash\">ntpdate ntpserver vi \/etc\/ntp.conf <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430:  <\/p>\n<blockquote><p>server 192.168.0.1  <\/p><\/blockquote>\n<p>  <\/li>\n<li> \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c iptables:<br \/> \n<pre><code class=\"bash\">service iptables stop chkconfig iptables off <\/code><\/pre>\n<p>  <\/li>\n<li> \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443:<br \/> \n<pre><code class=\"bash\">yum makecache && yum -y update <\/code><\/pre>\n<p>  <\/li>\n<li> \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c selinux. \u0412 \u0444\u0430\u0439\u043b\u0435 \/etc\/sysconfig\/selinux \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c <br \/> \n<pre><code class=\"bash\">vi \/etc\/sysconfig\/selinux <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>SELINUX=disabled  <\/p><\/blockquote>\n<p>  <\/li>\n<li> \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<br \/> \n<pre><code class=\"bash\">shutdown -r now <\/code><\/pre>\n<p>  <\/li>\n<\/ol>\n<p>  <\/p>\n<h5>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<\/h5>\n<p>  <\/p>\n<ol>\n<li>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 CentOS 5:<br \/> \n<pre><code class=\"bash\">export http_proxy=127.0.0.1:3128 rpm -Uvh http:\/\/repo.webtatic.com\/yum\/centos\/5\/latest.rpm <\/code><\/pre>\n<p>  <\/li>\n<li> \u0418 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043e\u0442\u0442\u0443\u0434\u0430 libmysqlclient15:<br \/> \n<pre><code class=\"bash\">yum install libmysqlclient15 --enablerepo=webtatic <\/code><\/pre>\n<p>  <\/li>\n<li> \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0441\u0442\u0430\u0440\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043f\u043e\u043d\u0438\u0436\u0435\u043d\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 PHP 5.3.3 \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 5.2.17. \u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u043c Atomic. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u043d\u0430 \u0441\u0432\u0435\u0436\u0435\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, \u043d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439.  <\/li>\n<li> \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 Atomic<br \/> \n<pre><code class=\"bash\">wget http:\/\/www.atomicorp.com\/installers\/atomic sh atomic <\/code><\/pre>\n<p>  <\/li>\n<li> \u0418 \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 (\u043d\u0430\u0436\u0430\u0442\u044c enter)<\/li>\n<li> \u0414\u0430\u043b\u0435\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u0444\u0430\u0439\u043b\u044b PHP. \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c \u0438 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \/etc\/yum.repos.d\/CentOS-Base.repo \u0432\u043d\u0435\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f (\u0434\u043e\u0431\u0430\u0432\u0438\u0432 exclude=php*) \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0441\u0435\u043a\u0446\u0438\u0438<br \/> \n<pre><code class=\"bash\">vi \/etc\/yum.repos.d\/CentOS-Base.repo <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p> [base]<br \/>  exclude=php*<br \/>  [updates]<br \/>  exclude=php*  <\/p><\/blockquote>\n<p>  <\/li>\n<li> \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0444\u0430\u0439\u043b (:wq) \u0438 \u0443\u0434\u0430\u043b\u0438\u0442\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e PHP 5.3.3 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432 shell<br \/> \n<pre><code class=\"bash\">yum remove php* <\/code><\/pre>\n<p>  <\/li>\n<li> \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d PHP (\u0442\u0430\u043a\u0436\u0435 \u043f\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c \u0443\u0434\u0430\u043b\u0438\u0442\u0441\u044f phpmyadmin \u0438 squirrelmail) \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u043d\u0443\u0436\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438<br \/> \n<pre><code class=\"bash\">yum install php-5.2.17 php-mcrypt-5.2.17 php-gd-5.2.17 php-mbstring-5.2.17 php-pdo-5.2.17 php-mysql-5.2.17 <\/code><\/pre>\n<p>  <\/li>\n<li> \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0438 \u043d\u0435\u0442 \u043e\u0448\u0438\u0431\u043e\u043a<br \/> \n<pre><code class=\"bash\">php -m <\/code><\/pre>\n<p>  <\/li>\n<li> \u0417\u0430\u0442\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u043e PhpMyAdmin \u0438 squirrelmail<br \/> \n<pre><code class=\"bash\">yum install phpmyadmin yum install squirrelmail <\/code><\/pre>\n<p>  <\/li>\n<li> \u0412\u0435\u0440\u043d\u0438\u0442\u0435 \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430 \u043c\u0435\u0441\u0442\u043e<br \/> \n<pre><code class=\"bash\">mv \/etc\/phpMyAdmin\/config.inc.php.rpmsave \/etc\/phpMyAdmin\/config.inc.php mv \/etc\/squirrelmail\/config.php.rpmsave \/etc\/squirrelmail\/config.php mv \/etc\/httpd\/conf.d\/squirrelmail.conf.rpmsave \/etc\/httpd\/conf.d\/squirrelmail.conf <\/code><\/pre>\n<p>  <\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 PHP \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f atomic \u0434\u043b\u044f \u0438\u0437\u0431\u0435\u0436\u0430\u043d\u0438\u044f \u043d\u0435\u0437\u0430\u043f\u043b\u0430\u043d\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u043c\u0435\u043d\u044b \u0432\u0435\u0440\u0441\u0438\u0438 PHP \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043a\u0430\u043a\u043e\u0433\u043e-\u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u2014 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \/etc\/yum.repos.d\/atomic.repo \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0444\u0430\u0439\u043b\u044b \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432<br \/> \n<pre><code class=\"bash\">vi \/etc\/yum.repos.d\/atomic.repo <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p> [atomic]<br \/>  exclude=php*  <\/p><\/blockquote>\n<p>  <\/li>\n<li> \u0418 \u0432 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 Apache \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<br \/> \n<pre><code class=\"bash\">\/etc\/init.d\/httpd restart <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f PHP \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u0447\u0435\u0440\u0435\u0437 rpm \u0441\u043a\u0430\u0447\u0430\u0432 \u0441http:\/\/www2.atomicorp.com\/channels\/atomic\/centos\/6\/i386\/RPMS\/  <\/li>\n<\/ol>\n<p>  <\/p>\n<h5>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 SAMS<\/h5>\n<p>  <\/p>\n<ol>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u041f\u041e:<br \/> \n<pre><code class=\"bash\">yum install pcre-devel squid mysql-server mysql-devel gd-devel gcc make samba-server samba-client samba bind-utils \u2013y <\/code><\/pre>\n<p>  <\/li>\n<li>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443:<br \/> \n<pre><code class=\"bash\">chkconfig mysqld on && chkconfig httpd on && chkconfig squid on <\/code><\/pre>\n<p>  <\/li>\n<li>C\u043e\u0437\u0434\u0430\u0435\u043c \u0442\u0435\u043c\u043f\u043e\u0432\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 SAMS:<br \/> \n<pre><code class=\"bash\">mkdir -p \/usr\/src\/sams cd \/usr\/src\/sams <\/code><\/pre>\n<p>  <\/li>\n<li>\u041a\u0430\u0447\u0430\u0435\u043c STABLE \u0432\u0435\u0440\u0441\u0438\u044e SAMS (\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e SAMS):<br \/> \n<pre><code class=\"bash\">wget http:\/\/nixdev.net\/release\/sams\/sams-1.0.5.tar.bz2 <\/code><\/pre>\n<p>  \u0435\u0441\u043b\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0430, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c   <\/p>\n<pre><code class=\"bash\">wget http:\/\/sams.perm.ru\/index.php\\?option=com_doqment\\&task=files.download\\&cid=12 <\/code><\/pre>\n<p>  \u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0430\u0440\u0445\u0438\u0432 \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c  <\/p>\n<pre><code class=\"bash\">tar xf sams-1.0.5.tar.bz2 cd sams-1.0.5 .\/configure && make && make install chkconfig sams on cd \/ && rm -fr \/usr\/src\/sams <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438:<\/b><\/p>\n<div class=\"spoiler_text\">\u041a\u0430\u0447\u0430\u0435\u043c STABLE \u0432\u0435\u0440\u0441\u0438\u044e SAMS (\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e SAMS), \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f CentOS (\u0441\u0430\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0435\u0431-\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0434\u043b\u044f apache)  <\/p>\n<pre><code class=\"bash\">wget http:\/\/www.nixdev.net\/release\/sams\/packages\/CentOS_5\/i386\/sams-1.0.5-91.1.i386.rpm yum localinstall \u2013nogpgcheck sams-1.0.5-91.1.i386.rpm chkconfig sams on cd \/ && rm -fr \/usr\/src\/sams <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<\/li>\n<li>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Apache, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \/etc\/httpd\/conf.d\/sams.conf<br \/> \n<pre><code class=\"bash\">vi \/etc\/httpd\/conf.d\/sams.conf <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>Alias \/sams \/usr\/local\/share\/sams<br \/>  &lt;Directory \/usr\/local\/share\/sams\/&gt;<br \/>  Order Allow,Deny<br \/>  Allow from all<br \/>  Deny from none  <\/p><\/blockquote>\n<p>  <\/p>\n<pre><code class=\"bash\">vi \/etc\/httpd\/conf\/httpd.conf <\/code><\/pre>\n<p>  \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 ServerName \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0448\u043b\u044e\u0437\u0430   <\/p>\n<blockquote><p>ServerName Proxy-????  <\/p><\/blockquote>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0415\u0441\u043b\u0438 \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 vi,<\/b><\/p>\n<div class=\"spoiler_text\"> \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c nano \u0438\u043b\u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u0430\u043b\u043e\u0432\u044b\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u043c Midnight Commander, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 mc (\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 F4). \u0427\u0442\u043e\u0431\u044b \u0432\u044b\u0439\u0442\u0438 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b vi \u043d\u0430\u0431\u0440\u0430\u0442\u044c :w q \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e :x! \u0415\u0441\u043b\u0438 \u043d\u0430\u0434\u043e \u0432\u044b\u0439\u0442\u0438 \u0431\u0435\u0437 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f, \u043d\u0430\u0431\u0440\u0430\u0442\u044c :q!  <\/p>\n<pre><code class=\"bash\">(nano \/etc\/httpd\/conf.d\/sams.conf)  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/li>\n<li> \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d sams.conf \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c Apache:<br \/> \n<pre><code class=\"bash\">service httpd restart <\/code><\/pre>\n<p>  <\/li>\n<li>\u0421\u043b\u0435\u0434\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \/etc\/sams.conf, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u0435\u043d\u044f\u0435\u043c \u0432\u0441\u0435\u0433\u043e \u0434\u0432\u0435 \u0437\u0430\u043f\u0438\u0441\u0438:<br \/> \n<pre><code class=\"bash\">vi \/etc\/sams.conf <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>MYSQLPASSWORD= \u00ab\u041f\u0410\u0420\u041e\u041b\u042c\u00bb #(\u0414\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f SAMS)<br \/>  MYSQLVERSION=5.0 #(\u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c 5 \u0432\u0435\u0440\u0441\u0438\u044e MySQL \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u0440\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0438 4.0 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b)  <\/p><\/blockquote>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0441\u0435, \u0447\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 squidguard, ldap \u0438 rejik (\u0435\u0441\u043b\u0438 \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c)  <\/li>\n<li>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 MySQL, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u0432\u0441\u0435 \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430, \u0442\u043e \u0435\u0441\u0442\u044c \u0437\u0430\u0434\u0430\u0435\u043c \u043f\u0430\u0440\u043e\u043b\u044c root \u0438 \u043f\u043e\u0441\u043b\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430:<br \/> \n<pre><code class=\"bash\">\/usr\/bin\/mysql_secure_installation service mysqld start <\/code><\/pre>\n<p>  <\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0435\u043c MySQL \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f sams \u0438 \u0434\u0430\u0435\u043c \u0435\u043c\u0443 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b:<br \/> \n<pre><code class=\"bash\">mysql -u root -p  <\/code><\/pre>\n<p>  \u0412\u0432\u0435\u0441\u0442\u0438 \u00ab\u041f\u0410\u0420\u041e\u041b\u042c\u00bb \u0434\u043b\u044f root \u0432 mysql  <\/p>\n<pre><code class=\"bash\">GRANT ALL ON squidctrl.* TO sams@localhost IDENTIFIED BY \u00ab\u041f\u0410\u0420\u041e\u041b\u042c\u00bb WITH GRANT OPTION; GRANT ALL ON squidlog.* TO sams@localhost IDENTIFIED BY \u00ab\u041f\u0410\u0420\u041e\u041b\u042c\u00bb WITH GRANT OPTION; flush privileges; quit <\/code><\/pre>\n<p>  <\/li>\n<li>\u0427\u0442\u043e\u0431\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u0430\u0437 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0438\u0441\u044c \u043d\u0430 mysql 5 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0445 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c<br \/> <br \/>\n<blockquote><p>#\u0417\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0432\u0435\u0437\u0434\u0435 TYPE=MyISAM \u043d\u0430 ENGINE=MyISAM<br \/>  \/usr\/local\/share\/sams\/data\/sams_db.sql<br \/>  \/usr\/local\/share\/sams\/data\/squid_db.sql  <\/p><\/blockquote>\n<p>  <\/li>\n<li>\u0412\u043b\u0438\u0432\u0430\u0435\u043c \u0434\u0430\u043c\u043f\u044b SAMS \u0432 \u0431\u0430\u0437\u0443:<br \/> \n<pre><code class=\"bash\">mysql -u root -p &lt; \/usr\/local\/share\/sams\/data\/sams_db.sql mysql -u root -p &lt; \/usr\/local\/share\/sams\/data\/squid_db.sql <\/code><\/pre>\n<p>  <\/li>\n<li>\u041d\u0430\u0441\u0442\u0430\u043b\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u044c Squid, \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c squid swap, \u0438 \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440.<br \/> \n<pre><code class=\"bash\">vi \/etc\/squid\/squid.conf <\/code><\/pre>\n<p>  \u043d\u0430\u0439\u0442\u0438 \u0438 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438  <\/p>\n<blockquote><p>visible_hostname Proxy-????  <\/p><\/blockquote>\n<p>  \u043f\u0440\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438  <\/p>\n<blockquote><p>redirect_program \/usr\/local\/bin\/samsredir <br \/>  redirect_children 5 <br \/>  auth_param ntlm program \/usr\/bin\/ntlm_auth &#8212;helper-protocol=squid-2.5-ntlmssp #NTLM \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <br \/>  auth_param ntlm children 150 #(\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0441\u0438\u0434\u044f\u0449\u0438\u0445 \u0432 \u0438\u043d\u0435\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439!)<br \/>  auth_param ntlm keep_alive on <br \/>  auth_param basic program \/usr\/bin\/ntlm_auth &#8212;helper-protocol=squid-2.5-basic <br \/>  auth_param basic children 20 <br \/>  auth_param basic realm Squid proxy-caching web server <br \/>  auth_param basic credentialsttl 8 hours  <\/p><\/blockquote>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u0441\u044f \u0438 \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u043c squid  <\/p>\n<pre><code class=\"bash\">squid \u2013z reboot service squid start <\/code><\/pre>\n<p>  <\/li>\n<li>C \u0432\u0435\u0440\u0441\u0438\u0438 1.0 SAMS \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 safe_mode php. \u041d\u0430\u0441\u0442\u0440\u0438\u0432\u0430\u0435\u043c php \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 safe mode<br \/> \n<pre><code class=\"bash\">vi \/etc\/php.ini <\/code><\/pre>\n<p>  \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430  <\/p>\n<blockquote><p>safe_mode = On<br \/>  safe_mode_exec_dir = &quot;\/usr\/local\/share\/sams\/bin&quot;<br \/>  disable_functions = # \u0435\u0441\u043b\u0438 \u043e\u043d \u043d\u0435 \u043f\u0443\u0441\u0442\u043e\u0439, \u0443\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u0437 \u043d\u0435\u0433\u043e \u0437\u0430\u043f\u0440\u0435\u0442 \u0432\u044b\u0437\u043e\u0432\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 phpinfo system shell_exec exec  <\/p><\/blockquote>\n<p>  <\/li>\n<li>\u041d\u0443 \u0438 \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c SAMS:<br \/> \n<pre><code class=\"bash\">service sams start <\/code><\/pre>\n<p>  <\/li>\n<\/ol>\n<p>  <\/p>\n<h5>\u0412\u0432\u043e\u0434 \u0448\u043b\u044e\u0437\u0430 \u0432 \u0434\u043e\u043c\u0435\u043d<\/h5>\n<p>  <\/p>\n<ol>\n<li>\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b (\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0441\u0432\u043e\u0435\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430)<br \/> \n<pre><code class=\"bash\">vi \/etc\/samba\/lmhosts <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>\u00abIP_\u0430\u0434\u0440\u0435\u0441_DC1\u00bb \u00ab\u0421\u0435\u0442\u0435\u0432\u043e\u0435_\u0438\u043c\u044f_DC1\u00bb #(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: 192.168.100.8 serverDC01)<br \/>  \u00abIP_\u0430\u0434\u0440\u0435\u0441_DC2\u00bb \u00ab\u0421\u0435\u0442\u0435\u0432\u043e\u0435_\u0438\u043c\u044f_DC2\u00bb  <\/p><\/blockquote>\n<p>  <\/li>\n<li>\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0441\u0430\u043c\u0431\u0430<br \/> \n<pre><code class=\"bash\">vi \/etc\/samba\/smb.conf <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>[global]<br \/>   workgroup = \u00ab\u0418\u043c\u044f_\u0414\u043e\u043c\u0435\u043d\u0430\u00bb #(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: serverDC01)<br \/>  realm = \u00abFQDN_\u0434\u043e\u043c\u0435\u043d\u0430\u00bb #(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: serverDC01.firma.ru)<br \/>  server string = Samba Server Version %v<\/p>\n<p>  netbios name = Proxy-???? #\u0438\u043c\u044f \u0448\u043b\u044e\u0437\u0430<\/p>\n<p>  interfaces = lo eth0 \u00abIP_\u0430\u0434\u0440\u0435\u0441_\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 + \u043c\u0430\u0441\u043a\u0430\u00bb #(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: 192.168.10.1\/24)<br \/>  hosts allow = 127. 192.168.<\/p>\n<p>  winbind separator = \\\\<br \/>  winbind use default domain = yes<br \/>  winbind uid = 10000-20000<br \/>  winbind gid = 10000-20000<br \/>  winbind enum users = yes<br \/>  winbind enum groups = yes<br \/>  template homedir = \/home\/winnt\/%D\/%U<br \/>  template shell = \/bin\/bash<br \/>  max log size = 50<br \/>  security = domain<br \/>  password server = \u00abIP_\u0430\u0434\u0440\u0435\u0441_DC1\u00bb \u00abIP_\u0430\u0434\u0440\u0435\u0441_DC1\u00bb #(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:192.168.100.8 192.168.100.10 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b)<br \/>  encrypt passwords = yes  <\/p><\/blockquote>\n<p>  <\/li>\n<li>\u041f\u0435\u0440\u0435\u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441 \u0438 \u0432\u0432\u0435\u0441\u0442\u0438 \u0432 \u0434\u043e\u043c\u0435\u043d<br \/> \n<pre><code class=\"bash\">service smb restart net join  \u2013w  \u00ab\u0418\u043c\u044f_\u0414\u043e\u043c\u0435\u043d\u0430\u00bb  \u2013S  \u00ab\u0421\u0435\u0442\u0435\u0432\u043e\u0435_\u0438\u043c\u044f_DC\u00bb  \u2013I  \u00abIP_\u0430\u0434\u0440\u0435\u0441_DC\u00bb  \u2013U  \u00ab\u0418\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f_\u0441_ \u043f\u0440\u0430\u0432\u0430\u043c\u0438_\u0432\u0432\u0435\u0434\u0435\u043d\u0438\u044f_\u0432_\u0434\u043e\u043c\u0435\u043d\u00bb  <\/code><\/pre>\n<p>  <\/li>\n<li>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u044b \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043e\u0442\u043a\u043b\u0438\u043a \u043e\u0442 \u0434\u043e\u043c\u0435\u043d\u0430<br \/> \n<pre><code class=\"bash\">service smb restart <\/code><\/pre>\n<p>  <\/li>\n<li>service winbind start<br \/> \n<pre><code class=\"bash\">wbinfo \u2013t wbinfo \u2013p wbinfo -u <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443  <\/p>\n<pre><code class=\"bash\">chkconfig smb on && chkconfig winbind on <\/code><\/pre>\n<p>  <\/li>\n<li>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f iptables firewall \u0432 \/etc\/sysconfig\/iptables \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e:<br \/> \n<pre><code class=\"bash\">vi \/etc\/sysconfig\/iptables <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>-A RH-Firewall-1-INPUT -p tcp -m tcp &#8212;dport 80 -j ACCEPT<br \/>  -A RH-Firewall-1-INPUT -p tcp -m tcp &#8212;dport 3128 -j ACCEPT<br \/>  \u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430:<br \/>  -A INPUT -m state \u2013state NEW -m tcp -p tcp \u2013dport 80 -j ACCEPT #\u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f 80 \u043f\u043e\u0440\u0442\u0430 \u043d\u0430 http<br \/>  -A INPUT -m state \u2013state NEW -m tcp -p tcp \u2013dport 80 -j ACCEPT #\u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f 3128 \u043f\u043e\u0440\u0442\u0430 \u043f\u0440\u043e\u043a\u0441\u0438  <\/p><\/blockquote>\n<p>  <\/p>\n<pre><code class=\"bash\">service iptables restart <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438, \u043f\u043e \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c firewall, \u0442\u043e \u043d\u0430\u0434\u043e \u043d\u0430\u0431\u0440\u0430\u0442\u044c:  <\/p>\n<pre><code class=\"bash\">chkconfig iptables off chkconfig ip6tables off <\/code><\/pre>\n<p>  <\/li>\n<\/ol>\n<p>  <\/p>\n<h5>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 SAMS<\/h5>\n<p>  <\/p>\n<ol>\n<li>\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 <a href=\"http:\/\/Proxy-????\/sams\/\">Proxy-????\/sams\/<\/a> (\u043b\u0438\u0431\u043e \u043f\u043e ip-\u0430\u0434\u0440\u0435\u0441\u0443)  <\/li>\n<li>\u041b\u043e\u0433\u0438\u043d: admin<br \/>  \u041f\u0430\u0440\u043e\u043b\u044c: qwerty<br \/>  \u041d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c.  <\/li>\n<li>\u0414\u0430\u043b\u0435\u0435 \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u0443\u0442\u043e\u043c\u043b\u044f\u0442\u044c \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0445 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0435\u0439 \u043c\u043d\u043e\u0433\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438 \u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c\u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0447\u0442\u043e \u044d\u0442\u0443 \u0440\u0430\u0431\u043e\u0442\u0443 \u0437\u0430 \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 (\u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0442\u0443\u0442 <a href=\"http:\/\/habrahabr.ru\/post\/130335\/\">habrahabr.ru\/post\/130335\/<\/a>).  <\/li>\n<\/ol>\n<p>  <\/p>\n<h5>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 <\/h5>\n<p>  \u041e\u0441\u043e\u0437\u043d\u0430\u0432\u0430\u044f, \u0447\u0442\u043e \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u043c\u043d\u043e\u0433\u043e \u0431\u0443\u043a\u043e\u0444 \u0438 \u0447\u0442\u043e \u043d\u0435\u043b\u044c\u0437\u044f \u043e\u0431\u044a\u044f\u0442\u044c \u043d\u0435\u043e\u0431\u044a\u044f\u0442\u043d\u043e\u0435, \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e \u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0430\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041c\u043e\u0438 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u0438<\/b><\/p>\n<div class=\"spoiler_text\">\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u041b\u0438\u0445\u043e\u043c\u0430\u043d\u043e\u0432\u0443 \u0410\u043d\u0442\u043e\u043d\u0443, \u041a\u043e\u0440\u0430\u0441\u0442\u044b\u043b\u0435\u0432\u0443 \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u0443 \u0438 \u041a\u043b\u044e\u0448\u0435\u043d\u043a\u043e\u0432\u0443 \u0418\u0432\u0430\u043d\u0443 \u0447\u044c\u0438\u043c\u0438 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f.<\/div>\n<\/div>\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\/199302\/\"> http:\/\/habrahabr.ru\/post\/199302\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/309\/2f3\/6ea\/3092f36eaf174584f533da9a2d603654.jpg\"\/><br \/>  \u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0433\u043e\u0441\u043f\u043e\u0434\u0430, \u0434\u0443\u043c\u0430\u044e, \u044f \u043d\u0435 \u043e\u0442\u043a\u0440\u043e\u044e \u0410\u043c\u0435\u0440\u0438\u043a\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u043f\u0440\u043e \u043f\u0440\u043e\u0435\u043a\u0442 SAMS (Squid Accaunt Management System), \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u043d\u0435\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043d\u0430 \u0425\u0430\u0431\u0440\u0430\u0445\u0430\u0431\u0440\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u0445\u043e\u0442\u044f \u044f \u043d\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432\u0430\u043c \u043c\u043d\u043e\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e, \u043d\u043e \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0433\u043e.   <\/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-199302","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/199302","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=199302"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/199302\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=199302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=199302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=199302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}