{"id":291,"date":"2012-04-25T13:21:00","date_gmt":"2012-04-25T13:21:00","guid":{"rendered":"http:\/\/blog.successionua.com\/?p=291"},"modified":"2012-04-25T13:21:00","modified_gmt":"2012-04-25T13:21:00","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-v-shell-%d0%be%d0%b1%d0%be%d0%bb%d0%be%d1%87%d0%ba%d0%b0-%d0%b4%d0%bb%d1%8f-nagios-%d0%b2-debianubuntu","status":"publish","type":"post","link":"https:\/\/geckich.space\/?p=291","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 V-Shell (\u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430 \u0434\u043b\u044f Nagios) \u0432 Debian\/Ubuntu"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e-\u0442\u0430\u043a\u0438 \u043f\u0440\u043e\u0441\u0442\u043e (\u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e Nagios \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442):<\/p>\n<p><b><span style=\"color: #e69138;\">sudo apt-get install php-apc<br \/>wget http:\/\/assets.nagios.com\/downloads\/exchange\/nagiosvshell\/vshell.tar.gz<br \/>tar -xzvf vshell.tar.gz<br \/>cd vshell<\/span><\/b><\/p>\n<p>\u0417\u0430\u0442\u0435\u043c \u043f\u043e\u0434\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 install.php, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438:<\/p>\n<p><span style=\"color: #e69138;\"><b>\/\/target directory where vshell&#8217;s web files will be stored<br \/>define(&#8216;TARGETDIR&#8217;,&#8221;\/usr\/local\/vshell&#8221;);<br \/>\/\/target directory where your current apache configuration directory is located<br \/>define(&#8216;APACHECONF&#8217;,&#8221;\/etc\/httpd\/conf.d&#8221;);<\/b><\/span><\/p>\n<div><a name='more'><\/a><\/div>\n<div>\u041e\u043d\u0438, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0434\u043b\u044f RHEL &#8211; \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u043d\u0430\u0448\u0438.<\/p>\n<p><b><span style=\"color: #e69138;\">define(&#8216;TARGETDIR&#8217;,&#8221;\/var\/www\/vshell&#8221;);<br \/>define(&#8216;APACHECONF&#8217;,&#8221;\/etc\/apache2\/conf.d&#8221;);<\/span><\/b><\/div>\n<div>\u0415\u0441\u043b\u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0438 Nagios \u043f\u0443\u0442\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u0430 \u043d\u0435 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0442\u043e 1\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435 \u043f\u0440\u0438\u0439\u0434\u0435\u0442\u0441\u044f. \u0417\u0430\u0442\u0435\u043c:<\/p>\n<p><b><span style=\"color: #e69138;\">chmod +x install.php<br \/>sudo .\/install.php<\/span><\/b><\/p>\n<p>\u041e\u043f\u044f\u0442\u044c \u0436\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b \u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0442\u043e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0442\u0438 \u043d\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u0432 \u0444\u0430\u0439\u043b\u0438\u043a\u0435:<\/p>\n<p><b><span style=\"color: #e69138;\">nano \/etc\/apache2\/conf.d\/vshell.conf<\/span><\/b><br \/>\u0410 \u0435\u0441\u043b\u0438 \u043f\u0443\u0442\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u0442\u043e \u0442\u0430\u043c \u0432\u0441\u0451 \u0438 \u0442\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e. \u0422\u0430\u043a\u0438\u043c \u0436\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u0441\u0451 \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u0438 \u0432 CentOS, \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043c \u043c\u0435\u043d\u044f\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0430\u043f\u0430\u0447:<\/p>\n<p><b><span style=\"color: #e69138;\">service apache2 restart<\/span><\/b><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0432 \u043d\u043e\u0432\u044b\u0439 \u0448\u0435\u043b\u043b \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <b>http:\/\/127.0.0.1\/vshell\/<\/b><br \/><b><br \/><\/b><\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/2.bp.blogspot.com\/-ZbshGEURr8E\/VQGqXp0dwbI\/AAAAAAAAEgk\/eyq6oUbA2pg\/s1600\/Screenshot%2Bfrom%2B2015-03-12%2B17%3A00%3A15.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" src=\"http:\/\/2.bp.blogspot.com\/-ZbshGEURr8E\/VQGqXp0dwbI\/AAAAAAAAEgk\/eyq6oUbA2pg\/s1600\/Screenshot%2Bfrom%2B2015-03-12%2B17%3A00%3A15.png\" height=\"231\" width=\"400\" \/><\/a><\/div>\n<p><b><br \/><\/b><\/div>\n<\/div>\n<div>http:\/\/geckich.blogspot.com\/<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e-\u0442\u0430\u043a\u0438 \u043f\u0440\u043e\u0441\u0442\u043e (\u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e Nagios \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442): sudo apt-get install php-apcwget http:\/\/assets.nagios.com\/downloads\/exchange\/nagiosvshell\/vshell.tar.gztar -xzvf vshell.tar.gzcd vshell \u0417\u0430\u0442\u0435\u043c \u043f\u043e\u0434\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 install.php, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438: \/\/target directory where vshell&#8217;s web files will be storeddefine(&#8216;TARGETDIR&#8217;,&#8221;\/usr\/local\/vshell&#8221;);\/\/target directory where your current apache configuration directory is locateddefine(&#8216;APACHECONF&#8217;,&#8221;\/etc\/httpd\/conf.d&#8221;); \u041e\u043d\u0438, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0434\u043b\u044f RHEL &#8211; \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u043d\u0430\u0448\u0438. &hellip; <a href=\"https:\/\/geckich.space\/?p=291\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 V-Shell (\u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430 \u0434\u043b\u044f Nagios) \u0432 Debian\/Ubuntu<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-291","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=291"}],"version-history":[{"count":0,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/291\/revisions"}],"wp:attachment":[{"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}