{"id":271,"date":"2011-10-31T07:27:35","date_gmt":"2011-10-31T07:27:35","guid":{"rendered":"http:\/\/blog.toyzon.com\/?p=271"},"modified":"2011-10-31T07:27:35","modified_gmt":"2011-10-31T07:27:35","slug":"nagios-compile-%ec%8b%9c-%ec%98%a4%eb%a5%98","status":"publish","type":"post","link":"https:\/\/www.toyzon.com\/?p=271","title":{"rendered":"nagios compile \uc2dc \uc624\ub958"},"content":{"rendered":"<p>\nnagios-3.3.1.tar.gz<br \/>\nOS : CentOS 5.6 32BIT<\/p>\n<p>nagios \ucef4\ud30c\uc77c\uc2dc \ub2e4\uc74c\uacfc \uac19\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc5ec \ub354 \uc774\uc0c1 \ucef4\ud30c\uc77c\uc744 \uc9c4\ud589\ud560 \uc218\uac00 \uc5c6\uc5c8\ub2e4.<\/p>\n<p><TABLE style=\"BORDER-COLLAPSE: collapse\" cellSpacing=1 cellPadding=1 width=590 bgColor=#ffffff><br \/>\n<TBODY><br \/>\n<TR><br \/>\n<TD style=\"BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid\" width=\"100%\">&nbsp;[root@localhost nagios]# <STRONG><U><FONT color=#e31600>make fullinstall<\/FONT><br \/>\n<\/U><\/STRONG>cd .\/.\/base &amp;&amp; make install<br \/>\nmake[1]: Entering directory `\/root\/nagios\/nagios\/base&#8217;<br \/>\nmake install-basic<br \/>\nmake[2]: Entering directory `\/root\/nagios\/nagios\/base&#8217;<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/bin<br \/>\n\/usr\/bin\/install -c -m 774 -o nagios -g nagios nagios \/usr\/local\/nagios\/bin<br \/>\n\/usr\/bin\/install -c -m 774 -o nagios -g nagios nagiostats \/usr\/local\/nagios\/bin<br \/>\nmake[2]: Leaving directory `\/root\/nagios\/nagios\/base&#8217;<br \/>\nmake strip-post-install<br \/>\nmake[2]: Entering directory `\/root\/nagios\/nagios\/base&#8217;<br \/>\n\/usr\/bin\/strip \/usr\/local\/nagios\/bin\/nagios<br \/>\n\/usr\/bin\/strip \/usr\/local\/nagios\/bin\/nagiostats<br \/>\nmake[2]: Leaving directory `\/root\/nagios\/nagios\/base&#8217;<br \/>\nmake[1]: Leaving directory `\/root\/nagios\/nagios\/base&#8217;<br \/>\ncd .\/.\/cgi &amp;&amp; make install<br \/>\nmake[1]: Entering directory `\/root\/nagios\/nagios\/cgi&#8217;<br \/>\nmake install-basic<br \/>\nmake[2]: Entering directory `\/root\/nagios\/nagios\/cgi&#8217;<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/sbin<br \/>\nfor file in *.cgi; do \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/usr\/bin\/install -c -m 775 -o nagios -g nagios $file \/usr\/local\/nagios\/sbin; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; done<br \/>\nmake[2]: Leaving directory `\/root\/nagios\/nagios\/cgi&#8217;<br \/>\nmake strip-post-install<br \/>\nmake[2]: Entering directory `\/root\/nagios\/nagios\/cgi&#8217;<br \/>\nfor file in *.cgi; do \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/usr\/bin\/strip \/usr\/local\/nagios\/sbin\/$file; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; done<br \/>\nmake[2]: Leaving directory `\/root\/nagios\/nagios\/cgi&#8217;<br \/>\nmake[1]: Leaving directory `\/root\/nagios\/nagios\/cgi&#8217;<br \/>\ncd .\/.\/html &amp;&amp; make install<br \/>\nmake[1]: Entering directory `\/root\/nagios\/nagios\/html&#8217;<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/media<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/stylesheets<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/contexthelp<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/docs<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/docs\/images<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/images<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/images\/logos<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/includes<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/includes\/rss<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/includes\/rss\/extlib<br \/>\n\/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/share\/ssi<br \/>\n\/usr\/bin\/install -c -m 664 -o nagios -g nagios robots.txt \/usr\/local\/nagios\/share<br \/>\nrm -f \/usr\/local\/nagios\/share\/index.html<br \/>\nrm -f \/usr\/local\/nagios\/share\/main.html<br \/>\nrm -f \/usr\/local\/nagios\/share\/side.html<br \/>\nfor file in *.php; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share; done<br \/>\nfor file in stylesheets\/*.css; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share\/stylesheets; done<br \/>\nfor file in contexthelp\/*.html; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share\/contexthelp; done<br \/>\nfor file in images\/*.gif; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share\/images; done<br \/>\nfor file in images\/*.jpg; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share\/images; done<br \/>\nfor file in images\/*.png; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share\/images; done<br \/>\nfor file in images\/*.ico; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share\/images; done<br \/>\nfor file in images\/logos\/*.*; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share\/images\/logos; done<br \/>\nfor file in includes\/*.*; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share\/includes; done<br \/>\nfor file in includes\/rss\/*; \\<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do \/usr\/bin\/install -c -m 664 -o nagios -g nagios $file \/usr\/local\/nagios\/share\/includes\/rss; done<br \/>\n<FONT color=#e31600><STRONG>\/usr\/bin\/install: omitting directory `includes\/rss\/extlib&#8217;<br \/>\n\/usr\/bin\/install: omitting directory `includes\/rss\/htdocs&#8217;<br \/>\n\/usr\/bin\/install: omitting directory `includes\/rss\/scripts&#8217;<br \/>\nmake[1]: *** [install] \uc624\ub958 1<br \/>\nmake[1]: Leaving directory `\/root\/nagios\/nagios\/html&#8217;<\/STRONG><\/FONT><\/TD><\/TR><\/TBODY><\/TABLE><br \/>\n\ub514\ub809\ud1a0\ub9ac \uad8c\ud55c\ubb38\uc81c\ub85c \uc778\ud574 \ubc1c\uc0dd\ud558\uc600\uc73c\uba70, \uac80\uc0c9\ud55c \uacb0\uacfc \ub2e4\uc74c\uacfc \uac19\uc740 \ubc29\ubc95\uc73c\ub85c \ud574\uacb0\ud560 \uc218 \uc788\ub2e4.<\/p>\n<p>1. .\/configure<br \/>\n2. sed -i &#8216;s:for file in includes\/rss\/\\*;:for file in includes\/rss\/\\*.\\*;:g&#8217; .\/html\/Makefile<br \/>\n&nbsp;&nbsp; sed -i &#8216;s:for file in includes\/rss\/extlib\/\\*;:for file in includes\/rss\/extlib\/\\*.\\*;:g&#8217; .\/html\/Makefile<br \/>\n3. make all<br \/>\n4. make fullinstall<\/p>\n<p>\uc704\uc640 \uac19\uc774 configure \ud6c4 Makefile\uc758 \ub0b4\uc6a9 \uc218\uc815\ud6c4 \ub2e4\uc2dc make\uc2dc \uc815\uc0c1\uc801\uc73c\ub85c \ucef4\ud30c\uc77c\uc744 \ub9c8\uce60 \uc218 \uc788\ub2e4.<\/p>\n <!-- AdSense Now! Lite: WP is not in the loop.  -->\n","protected":false},"excerpt":{"rendered":"<p>nagios-3.3.1.tar.gz OS : CentOS 5.6 32BIT nagios \ucef4\ud30c\uc77c\uc2dc \ub2e4\uc74c\uacfc \uac19\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc5ec \ub354 \uc774\uc0c1 \ucef4\ud30c\uc77c\uc744 \uc9c4\ud589\ud560 \uc218\uac00 \uc5c6\uc5c8\ub2e4. &nbsp;[root@localhost nagios]# make fullinstall cd .\/.\/base &amp;&amp; make install make[1]: Entering directory `\/root\/nagios\/nagios\/base&#8217; make install-basic make[2]: Entering directory `\/root\/nagios\/nagios\/base&#8217; \/usr\/bin\/install -c -m 775 -o nagios -g nagios -d \/usr\/local\/nagios\/bin \/usr\/bin\/install -c -m 774 -o nagios -g nagios [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"nagios compile \uc2dc \uc624\ub958 - ToyZon","description":"nagios-3.3.1.tar.gz OS : CentOS 5.6 32BIT nagios \ucef4\ud30c\uc77c\uc2dc \ub2e4\uc74c\uacfc \uac19\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc5ec \ub354 \uc774\uc0c1 \ucef4\ud30c\uc77c\uc744 \uc9c4\ud589\ud560 \uc218\uac00 \uc5c6\uc5c8\ub2e4. &nbsp;[root@localhost nagios]# make fullinstall cd .\/.\/base &amp;&am"},"footnotes":""},"categories":[243],"tags":[124,125,126],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-linux-","tag-compile","tag-nagios","tag-omitting-directory"],"_links":{"self":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=271"}],"version-history":[{"count":0,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}