{"id":825,"date":"2026-02-07T22:19:52","date_gmt":"2026-02-07T13:19:52","guid":{"rendered":"http:\/\/www.igoni.kr\/?p=825"},"modified":"2026-02-07T22:20:55","modified_gmt":"2026-02-07T13:20:55","slug":"centos%ec%97%90%ec%84%9c-zabbix%ec%84%a4%ec%b9%98%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"http:\/\/www.igoni.kr\/?p=825","title":{"rendered":"Centos\uc5d0\uc11c zabbix\uc124\uce58\ud558\uae30"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>OS : Centos6<\/li>\n<li>\uc0ac\uc804\uc5d0 \ud544\uc694\ud55c \ud234 : apache, php, mysql\n<pre><code class=\"language-shell\">$&gt; yum install httpd mysql-server -y<\/code><\/pre>\n<\/li>\n<li>\ud544\uc694\ud328\ud0a4\uc9c0 \uc124\uce58\n<pre><code class=\"language-shell\">$&gt; yum install -y net-snmp net-snmp-devel net-snmp-utils curl-devel libxml2-devel<\/code><\/pre>\n<\/li>\n<li>\ucef4\ud30c\uc77c&amp;\uc124\uce58\n<pre><code class=\"language-shell\">$&gt; groupadd zabbix\r\n$&gt; useradd -g zabbix zabbix\r\n\r\n$&gt; tar -zxvf zabbix-2.4.5.tar.gz\r\n$&gt; cd zabbix-2.4.5\r\n$&gt; .\/configure \\\r\n--prefix=\/usr\/local\/zabbix \\\r\n--with-mysql=\/usr\/local\/mysql\/bin\/mysql_config \\\r\n--with-net-snmp \\\r\n--with-libcurl \\\r\n--with-libxml2 \\\r\n--enable-server \\\r\n--enable-agent\r\n$&gt; make;make install<\/code><\/pre>\n<div>\n<div class=\"box\">\n<div class=\"code\">\n<div class=\"linenoswrapper\">\n<div>* \uc124\uce58\uacbd\ub85c\ub294 \/usr\/local\/zabbix, mysql\uc124\uce58 \uacbd\ub85c\ub294 \/usr\/local\/mysql<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>DB\uad6c\uc131\n<pre><code class=\"language-SQL\">$&gt; mysql -u root\r\nmysql&gt; create database zabbix;\r\nmysql&gt; grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix1';\r\nmysql&gt; flush privileges;\r\nmysql&gt; quit<\/code><\/pre>\n<div>\n<div>\n<div class=\"box\">\n<div class=\"code\">\n<div class=\"linenoswrapper\">\n<div><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><code class=\"language-shell\">$&gt; cd database\/mysql\/\r\n$&gt; mysql -u zabbix -p zabbix &lt; schema.sql\r\n$&gt; mysql -u zabbix -p zabbix &lt; images.sql\r\n$&gt; mysql -u zabbix -p zabbix &lt; data.sql<\/code><\/pre>\n<div>\n<div class=\"box\">\n<div class=\"code\">\n<div class=\"linenoswrapper\">\n<div>* MYSQL import\ub294 \uc21c\uc11c\ub300\ub85c \ud558\uba74 \ub428<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>Frontent \uc801\uc6a9\n<pre><code class=\"language-shell\">$&gt; vi \/usr\/local\/zabbix\/etc\/zabbix_server.conf\r\n...\r\nDBName=zabbix\r\nDBUser=zabbix\r\nDBPassword=zabbix1<\/code><\/pre>\n<div>\n<div class=\"box\">\n<div class=\"code\">\n<div class=\"linenoswrapper\">\n<div>*\uae30\uc874\ub0b4\uc6a9\uc5d0\uc11c DBName, DBUser, DBPassword\ub97c \uc704\uc5d0\uc11c \uc124\uc815\ud55c \ub0b4\uc6a9\uc73c\ub85c \uc801\uc6a9\ud558\uba74 \ub418\uc694<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>Frontend \ubcf5\uc0ac\n<pre><code class=\"language-shell\">$&gt; cp -ar {\uc18c\uc2a4\uacbd\ub85c}\/frontends\/php \/usr\/local\/apache2\/htdocs\/zabbix<\/code><\/pre>\n<\/li>\n<li>\uc6f9 \ube0c\ub77c\uc6b0\uc838\ub85c \uc811\uc18d (\uae30\ubcf8\ub85c\uadf8\uc778 ID\ub294 Admin, \ud328\uc2a4\uc6cc\ub4dc\ub294 zabbix)\n<pre><code class=\"language-shell\">http:\/\/\uc11c\ubc84IP\/zabbix<\/code><\/pre>\n<\/li>\n<\/ol>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<colgroup>\n<col style=\"width: 99.881%;\" \/><\/colgroup>\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-827\" src=\"http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/02\/3aca3ca4-4deb-494a-88a8-2b07a1551cf2.png\" alt=\"\" width=\"1024\" height=\"1024\" srcset=\"http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/02\/3aca3ca4-4deb-494a-88a8-2b07a1551cf2.png 1024w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/02\/3aca3ca4-4deb-494a-88a8-2b07a1551cf2-300x300.png 300w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/02\/3aca3ca4-4deb-494a-88a8-2b07a1551cf2-150x150.png 150w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/02\/3aca3ca4-4deb-494a-88a8-2b07a1551cf2-768x768.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/td>\n<\/tr>\n<tr>\n<td class=\"align-right\">perplexity\uc5d0\uc11c \uc0dd\uc131\ud55c AI\uc774\ubbf8\uc9c0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; OS : Centos6 \uc0ac\uc804\uc5d0 \ud544\uc694\ud55c \ud234 : apache, php, mysql $&gt; yum install httpd&hellip;<\/p>\n","protected":false},"author":1,"featured_media":827,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[235],"tags":[],"class_list":["post-825","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-235"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=825"}],"version-history":[{"count":2,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/825\/revisions"}],"predecessor-version":[{"id":831,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/825\/revisions\/831"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/media\/827"}],"wp:attachment":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=825"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}