{"id":331,"date":"2017-01-19T11:07:58","date_gmt":"2017-01-19T03:07:58","guid":{"rendered":"http:\/\/www.rao-bing.cn\/?p=331"},"modified":"2020-01-06T16:13:33","modified_gmt":"2020-01-06T08:13:33","slug":"zabbix-base-on-oracle","status":"publish","type":"post","link":"http:\/\/www.rao-bing.cn\/index.php\/2017\/01\/19\/331\/","title":{"rendered":"\u57fa\u4e8eOracle\u5b89\u88c5Zabbix"},"content":{"rendered":"<h3><\/h3>\n<h4>\u8f6f\u4ef6\u7248\u672c<\/h4>\n<p>Oracle Enterprise Linux 7.1 64bit<\/p>\n<p>Oracle Enterprise Edition 12.1.0.2 64bit<\/p>\n<p>Zabbix 3.2.1<\/p>\n<h4>\u51c6\u5907\u5de5\u4f5c<\/h4>\n<h5>\u4e0a\u4f20\u8f6f\u4ef6<\/h5>\n<p>\u6211\u4eec\u9009\u7528Zabbix 3.2.1<\/p>\n<p>\u89e3\u538b\u8def\u5f84\u4e3a\/u01\/stage\/zabbix-3.2.1<\/p>\n<h5>\u51c6\u5907\u9700\u8981\u7684\u8f6f\u4ef6<\/h5>\n<h6>\u5b89\u88c5Oracle 12.1.0.2<\/h6>\n<p>\u5b89\u88c5\u548c\u521b\u5efa\u6570\u636e\u5e93\u8fc7\u7a0b\u7565\uff0c\u6570\u636e\u5e93\u5b57\u7b26\u96c6\u6ce8\u610f\u4e00\u5b9a\u8981\u662fUTF8\u6216AL32UTF8\u3002<\/p>\n<h6>Apache<\/h6>\n<p>Zabbix\u7684frontend\u9700\u8981apache \uff0c\u6211\u4eec\u4f7f\u7528OL7.1\u81ea\u5e26\u7684http\u670d\u52a1\uff0c\u5e94\u8be5\u662fapache2.4<\/p>\n<h6>PHP \u53ca\u5176\u4ed6\u6269\u5c55<\/h6>\n<p>\u7684\u76f8\u5173\u5305\u7684\u5177\u4f53\u8981\u6c42\uff0c\u53c2\u89c1\uff1a<a href=\"https:\/\/www.zabbix.com\/documentation\/3.2\/manual\/installation\/requirements\">https:\/\/www.zabbix.com\/documentation\/3.2\/manual\/installation\/requirements<\/a><\/p>\n<p>\u6ce8\u610fPHP\u4e00\u5b9a\u89815.4\u4ee5\u4e0a\u7684\uff0c\u56e0\u4e3aOL7.1\u81ea\u5e26\u7684PHP\u5df2\u7ecf\u662f5.4\u4e86\uff0c\u6240\u4ee5\u7701\u53bb\u4e86PHP\u5b89\u88c5\u7684\u8fc7\u7a0b\u3002<\/p>\n<p>\u5177\u4f53\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\uff1a<\/p>\n<p>#rpm -Uvh php-5.4.16-23.el7_0.3.x86_64.rpm php-cli-5.4.16-23.el7_0.3.x86_64.rpm php-common-5.4.16-23.el7_0.3.x86_64.rpm libzip-0.10.1-8.el7.x86_64.rpm<\/p>\n<p>#rpm -Uvh php-gd-5.4.16-23.el7_0.3.x86_64.rpm t1lib-5.1.2-14.el7.x86_64.rpm<\/p>\n<p>#rpm -Uvh libxml2-2.9.1-5.0.1.el7_0.1.x86_64.rpm<\/p>\n<p>#rpm \u2013Uvh libxml2-devel-2.9.1-5.0.1.el7_0.1.x86_64.rpm xz-devel-5.1.2-9alpha.el7.x86_64.rpm zlib-devel-1.2.7-13.el7.x86_64.rpm<\/p>\n<p>#rpm -Uvh php-xml-5.4.16-23.el7_0.3.x86_64.rpm<\/p>\n<p>#rpm -Uvh php-xmlrpc-5.4.16-23.el7_0.3.x86_64.rpm<\/p>\n<p>(<a href=\"ftp:\/\/bo.mirror.garr.it\/1\/slc\/centos\/7.0.1406\/updates\/x86_64\/Packages\/php-mbstring-5.4.16-23.el7_0.3.x86_64.rpm\">ftp:\/\/bo.mirror.garr.it\/1\/slc\/centos\/7.0.1406\/updates\/x86_64\/Packages\/php-mbstring-5.4.16-23.el7_0.3.x86_64.rpm<\/a>)<\/p>\n<p># rpm -Uvh php-mbstring-5.4.16-23.el7_0.3.x86_64.rpm<\/p>\n<p>(<a href=\"ftp:\/\/bo.mirror.garr.it\/1\/slc\/centos\/7.0.1406\/updates\/x86_64\/Packages\/php-bcmath-5.4.16-23.el7_0.3.x86_64.rpm\">ftp:\/\/bo.mirror.garr.it\/1\/slc\/centos\/7.0.1406\/updates\/x86_64\/Packages\/php-bcmath-5.4.16-23.el7_0.3.x86_64.rpm<\/a>)<\/p>\n<p># rpm -Uvh php-bcmath-5.4.16-23.el7_0.3.x86_64.rpm<\/p>\n<h6>OCI8\u6269\u5c55<\/h6>\n<p>\u4e3a\u4e86\u5b89\u88c5OCI8\uff0c\u8fd8\u9700\u8981\u5148\u5b89\u88c5\u4e0b\u5217\u5305\uff1a<\/p>\n<p>autoconf-2.69-11.el7.noarch.rpm<\/p>\n<p>automake-1.13.4-3.el7.noarch.rpm<\/p>\n<p>pcre-devel-8.32-14.el7.x86_64.rpm<\/p>\n<p>php-devel-5.4.16-23.el7_0.3.x86_64.rpm (OS\u5b89\u88c5DVD\u4e2d\u6ca1\u6709\uff0c\u4e0b\u8f7d\u5730\u5740\uff1a<\/p>\n<p><a href=\"http:\/\/rpm.pbone.net\/index.php3\/stat\/4\/idpl\/27829696\/dir\/centos_7\/com\/php-devel-5.4.16-23.el7_0.3.x86_64.rpm.html\">http:\/\/rpm.pbone.net\/index.php3\/stat\/4\/idpl\/27829696\/dir\/centos_7\/com\/php-devel-5.4.16-23.el7_0.3.x86_64.rpm.html<\/a>\uff0c\u8fd9\u4e2a\u5305\u5305\u542bphpize\uff09<\/p>\n<p>OCI8 2.0 \u4e0b\u8f7d\u5730\u5740\uff1a<\/p>\n<p><a href=\"http:\/\/pecl.php.net\/package\/oci8\">http:\/\/pecl.php.net\/package\/oci8<\/a><\/p>\n<p>PHP 5.4 \u5e94\u8be5\u75282.0.X\u7248\u672c\u7684oci8\uff0c\u66f4\u65b0\u7248\u672c\u662f\u548cPHP 7 \u642d\u914d\u4f7f\u7528\u7684<\/p>\n<p># tar -xzf oci8-2.0.11.tgz<\/p>\n<p># cd oci8-2.0.11<\/p>\n<p># phpize<\/p>\n<p># .\/configure &#8211;with-oci8=\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1<\/p>\n<p># make install<\/p>\n<p>\u4fee\u6539\/etc\/php.ini<\/p>\n<p>\u5728\u6587\u4ef6\u6700\u540e\u6dfb\u52a0\u4e00\u884c\uff1a<\/p>\n<p>extension=oci8.so<\/p>\n<p>\u5728\/etc\/ld.so.conf\u4e2d\u6dfb\u52a0oci8.so\u6240\u5728\u7684\u8def\u5f84\uff0c\u4f8b\u5982\uff1a<\/p>\n<p>include ld.so.conf.d\/*.conf<\/p>\n<p>\/root\/oci8-2.0.11\/modules<\/p>\n<p>\u5728\/etc\/sysconfig\/httpd\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5fc5\u8981\u7684\u73af\u5883\u53d8\u91cf\uff08\u4e0d\u8981\u52a0export\uff09\uff1a<\/p>\n<p>ORACLE_HOME=\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1<\/p>\n<p>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME\/lib<\/p>\n<p>NLS_LANG=AMERICAN_AMERICA.AL32UTF8<\/p>\n<h6>\u6d4b\u8bd5<\/h6>\n<p>#service httpd start<\/p>\n<p>\u5c06\u4e0b\u5217\u811a\u672c\u5b58\u6210ocitest.php\uff0c\u653e\u5728\/var\/www\/html \u76ee\u5f55\u4e0b\uff0c\u4fdd\u8bc1\u53ef\u6267\u884c\u6743\u9650\uff1a<\/p>\n<p>&lt;?php<\/p>\n<p>error_reporting(E_ALL);<\/p>\n<p>ini_set(&#8216;display_errors&#8217;, &#8216;On&#8217;);<\/p>\n<p>$conn = oci_connect(&#8216;system&#8217;, &#8216;welcome&#8217;, &#8216;localhost\/orcl&#8217;);<\/p>\n<p>$stid = oci_parse($conn, &#8216;select table_name from user_tables&#8217;);<\/p>\n<p>oci_execute($stid);<\/p>\n<p>echo &#8220;&lt;table&gt;\\n&#8221;;<\/p>\n<p>while (($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS)) != false) {<\/p>\n<p>echo &#8220;&lt;tr&gt;\\n&#8221;;<\/p>\n<p>foreach ($row as $item) {<\/p>\n<p>echo &#8221; &lt;td&gt;&#8221;.($item !== null ? htmlspecialchars($item, ENT_QUOTES) : &#8220;&amp;nbsp;&#8221;).&#8221;&lt;\/td&gt;\\n&#8221;;<\/p>\n<p>}<\/p>\n<p>echo &#8220;&lt;\/tr&gt;\\n&#8221;;<\/p>\n<p>}<\/p>\n<p>echo &#8220;&lt;\/table&gt;\\n&#8221;;<\/p>\n<p>?&gt;<\/p>\n<p>\u8bbf\u95eehttp:\/\/&lt;hostname&gt;:&lt;port&gt;\/ocitest.php\uff0c\u6b63\u5e38\u5e94\u8be5\u5728\u9875\u9762\u4e0a\u8fd4\u56desystem\u7528\u6237\u7684\u6240\u6709\u8868\u3002<\/p>\n<h6>\u4fee\u6539\u5176\u4ed6PHP\u53c2\u6570<\/h6>\n<p>\u4fee\u6539\/etc\/php.ini\u6587\u4ef6\u4e2d\u7684\u4e0b\u5217\u53c2\u6570\uff1a<\/p>\n<p>post_max_size = 16M<\/p>\n<p>max_execution_time = 300<\/p>\n<p>max_input_time = 300<\/p>\n<p>date.timezone = Asia\/Shanghai<\/p>\n<h5>\u521b\u5efa\u6570\u636e\u5e93schema<\/h5>\n<h6>\u5efa\u6570\u636e\u5e93\u7528\u6237<\/h6>\n<p>SQL&gt; create tablespace zabbix datafile &#8216;\/u01\/app\/oracle\/oradata\/orcl\/zabbix01.dbf&#8217; size 500M;<\/p>\n<p>Tablespace created.<\/p>\n<p>SQL&gt; create user zabbix identified by welcome1 default tablespace zabbix;<\/p>\n<p>User created.<\/p>\n<p>SQL&gt; grant connect,resource,unlimited tablespace to zabbix;<\/p>\n<p>Grant succeeded.<\/p>\n<p>SQL&gt; grant create any directory to zabbix;<\/p>\n<p>Grant succeeded.<\/p>\n<p>SQL&gt; grant drop any directory to zabbix;<\/p>\n<p>Grant succeeded.<\/p>\n<h6>\u521b\u5efa\u8868\u7ed3\u6784<\/h6>\n<p>\u8fdb\u5165zabbix\u89e3\u538b\u7f29\u76ee\u5f55\u4e0b\u7684database\/oracle\u76ee\u5f55\uff0c\u4ee5zabbix\u7528\u6237\u8eab\u4efd\u767b\u5f55\u6570\u636e\u5e93\uff0c\u8fd0\u884c3\u4e2asql\u811a\u672c\uff0c\u521b\u5efa\u8868\u7ed3\u6784\u53ca\u5143\u6570\u636e\uff1a<\/p>\n<p>[oracle@rhelvm1 oracle]$ id<\/p>\n<p>uid=500(oracle) gid=501(dba) groups=501(dba)<\/p>\n<p>[oracle@rhelvm1 oracle]$ pwd<\/p>\n<p>\/u01\/stage\/zabbix-3.2.1\/database\/oracle<\/p>\n<p>[oracle@rhelvm1 oracle]$ sqlplus zabbix\/welcome1<\/p>\n<p>SQL*Plus: Release 12.1.0.2.0 Production on Thu Nov 10 11:20:43 2016<\/p>\n<p>Copyright (c) 1982, 2014, Oracle. All rights reserved.<\/p>\n<p>Last Successful login time: Thu Nov 10 2016 11:19:12 -08:00<\/p>\n<p>Connected to:<\/p>\n<p>Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 &#8211; 64bit Production<\/p>\n<p>With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options<\/p>\n<p>SQL&gt;<\/p>\n<p>schema.sql\u9700\u8981\u4fee\u6539\uff0c\u5c06\u5176\u4e2dnvarchar2(2048)\u90fd\u6539\u6210nvarchar2(2000)\uff0c\u8fd9\u662f12c\u7684\u9650\u5236\uff0c\u6700\u5927\u53ea\u80fd2000\u4e86\u3002<\/p>\n<p>SQL&gt;@schema.sql<\/p>\n<p>images.sql\u9700\u8981\u4fee\u6539\uff0c\u7b2c\u4e00\u884c\u7684\u76ee\u5f55\u6307\u5411zabbix\u89e3\u538b\u76ee\u5f55\u4e0b\u7684misc\/images\u76ee\u5f55\uff0c\u6211\u8fd9\u91cc\u662f\/u01\/stage\/zabbix-3.2.1\/misc\/images<\/p>\n<p>SQL&gt;@images.sql<\/p>\n<p>\u63d2\u5165\u5143\u6570\u636e\uff1a<\/p>\n<p>SQL&gt;@data.sql<\/p>\n<h5>\u521b\u5efaOS\u7528\u6237<\/h5>\n<p>groupadd zabbix<\/p>\n<p>useradd -g zabbix zabbix<\/p>\n<p>\u4e3a\u4e86\u4fdd\u8bc1\u8fd0\u884czabbix\u7a0b\u5e8f\u65f6\u53ef\u4ee5\u6b63\u5e38\u5f15\u7528Oracle\u5e93\u6587\u4ef6\uff0c\u9700\u8981\u8bbe\u7f6eORACLE_HOME\u7b49\u73af\u5883\u53d8\u91cf\uff0c\u4fee\u6539zabbix\u7684.bash_profile\u8bbe\u7f6e\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff1a<\/p>\n<p>ORACLE_BASE=\/u01\/app\/oracle<\/p>\n<p>export ORACLE_BASE<\/p>\n<p>ORACLE_HOME=\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1<\/p>\n<p>export ORACLE_HOME<\/p>\n<p>ORACLE_SID=orcl<\/p>\n<p>export ORACLE_SID<\/p>\n<p>PATH=$ORACLE_HOME\/bin:$PATH<\/p>\n<p>export PATH<\/p>\n<p>LD_LIBRARY_PATH=$ORACLE_HOME\/lib:$LD_LIBRARY_PATH<\/p>\n<p>export LD_LIBRARY_PATH<\/p>\n<h4>\u7f16\u8bd1Zabbix<\/h4>\n<h5>\u5b89\u88c5\u5176\u4ed6\u4f9d\u8d56\u5305<\/h5>\n<p>\u4eceOL7\u7684DVD\u4e2d\u5b89\u88c5\u4e0b\u5217\u5305\uff0c\u4fdd\u8bc1zabbix\u7684\u7f16\u8bd1\u80fd\u8fc7\u591f\u6210\u529f\u3002<\/p>\n<p>l &#8211;with-net-snmp<\/p>\n<p>#rpm -Uvh net-snmp-devel-5.7.2-20.el7.x86_64.rpm elfutils-devel-0.160-1.el7.x86_64.rpm elfutils-libelf-devel-0.160-1.el7.x86_64.rpm lm_sensors-devel-3.3.4-11.el7.x86_64.rpm net-snmp-agent-libs-5.7.2-20.el7.x86_64.rpm openssl-devel-1.0.1e-42.el7.x86_64.rpm perl-devel-5.16.3-285.el7.x86_64.rpm rpm-devel-4.11.1-25.el7.x86_64.rpm tcp_wrappers-devel-7.6-77.el7.x86_64.rpm krb5-devel-1.12.2-14.el7.x86_64.rpm gdbm-devel-1.10-8.el7.x86_64.rpm libdb-devel-5.3.21-17.el7_0.1.x86_64.rpm systemtap-sdt-devel-2.6-8.0.1.el7.x86_64.rpm popt-devel-1.13-16.el7.x86_64.rpm libselinux-devel-2.2.2-6.el7.x86_64.rpm libverto-devel-0.2.5-4.el7.x86_64.rpm pyparsing-1.5.6-9.el7.noarch.rpm libcom_err-devel-1.42.9-7.el7.x86_64.rpm keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm libsepol-devel-2.1.9-3.el7.x86_64.rpm perl-ExtUtils-Install-1.58-285.el7.noarch.rpm perl-ExtUtils-MakeMaker-6.68-3.el7.noarch.rpm perl-ExtUtils-ParseXS-3.18-2.el7.noarch.rpm perl-ExtUtils-Manifest-1.61-244.el7.noarch.rpm<\/p>\n<p>l &#8211;with-libxml2<\/p>\n<p>#rpm -Uvh libxml2-devel-2.9.1-5.0.1.el7_0.1.x86_64.rpm<\/p>\n<p>l &#8211;with-libcurl<\/p>\n<p>#rpm -Uvh libcurl-devel-7.29.0-19.el7.x86_64.rpm<\/p>\n<p>l &#8211;with-libssh2<\/p>\n<p>#rpm -Uvh libssh2-devel-1.4.3-8.el7.x86_64.rpm<\/p>\n<p>\uff08<a href=\"ftp:\/\/bo.mirror.garr.it\/1\/slc\/centos\/7.1.1503\/os\/x86_64\/Packages\/libssh2-devel-1.4.3-8.el7.x86_64.rpm\">ftp:\/\/bo.mirror.garr.it\/1\/slc\/centos\/7.1.1503\/os\/x86_64\/Packages\/libssh2-devel-1.4.3-8.el7.x86_64.rpm<\/a>\uff09<\/p>\n<h5>\u7f16\u8bd1\u5b89\u88c5<\/h5>\n<p>#su \u2013 zabbix<\/p>\n<p>$cd \/u01\/stage\/zabbix-<\/p>\n<p>$.\/configure \u2013prefix=\/home\/zabbix &#8211;enable-server &#8211;enable-agent &#8211;with-oracle=\/u01\/app\/oracle\/product\/12.1.0\/dbhome_1 &#8211;with-net-snmp &#8211;with-libcurl &#8211;with-libxml2 &#8211;with-ssh2<\/p>\n<p>$make install<\/p>\n<p>\u6267\u884c\u4e0a\u8ff0\u547d\u4ee4\u540e\uff0cZabbix\u4f1a\u88ab\u5b89\u88c5\u5728\/home\/zabbix\u76ee\u5f55\u4e0b\uff0c\u8fd0\u884c\u547d\u4ee4\u542f\u52a8server\u548c\u672c\u673aagentd\uff1a<\/p>\n<p>\uff08\u5728\u542f\u52a8\u4e4b\u524d\u8981\u4fee\u6539etc\/zabbix_server.conf\u6587\u4ef6\uff0c\u4fee\u6539dbname\uff0cdbuser\uff0cdbpassword\u51e0\u4e2a\u53c2\u6570\uff09<\/p>\n<p>$cd<\/p>\n<p>$sbin\/zabbix_server<\/p>\n<p>$sbin\/zabbix_agentd<\/p>\n<h4>\u5b89\u88c5PHP\u5e94\u7528<\/h4>\n<p>\u5b89\u88c5\u8fc7\u7a0b\u5c31\u662f\u5c06PHP\u6587\u4ef6\u590d\u5236\u5230apache http server\u5bf9\u5e94\u7684\u76ee\u5f55\u4e2d\uff1a<\/p>\n<p>#cd \/var\/www\/html<\/p>\n<p>#mkdir zabbix<\/p>\n<p># cd \/u01\/stage\/zabbix-3.2.1\/frontends\/php<\/p>\n<p># cp -a . \/var\/www\/html\/zabbix<\/p>\n<h4>\u914d\u7f6eZabbix<\/h4>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8bbf\u95eehttp:\/\/&lt;server_ip_or_name&gt;\/zabbix<\/p>\n<p><a href=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image002.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"clip_image002\" src=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image002_thumb.jpg\" alt=\"clip_image002\" width=\"859\" height=\"512\" border=\"0\" \/><\/a><\/p>\n<p>\u786e\u4fdd\u6240\u6709pre-requisites\u90fd\u662fOK\u7684\uff1a<\/p>\n<p><a href=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image003.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"clip_image003\" src=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image003_thumb.png\" alt=\"clip_image003\" width=\"856\" height=\"510\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image004.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"clip_image004\" src=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image004_thumb.png\" alt=\"clip_image004\" width=\"857\" height=\"513\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image005.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"clip_image005\" src=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image005_thumb.png\" alt=\"clip_image005\" width=\"857\" height=\"510\" border=\"0\" \/><\/a><\/p>\n<p>\u540e\u9762\u4f1a\u63d0\u793a\u95ef\u5c06\u914d\u7f6e\u6587\u4ef6\u5931\u8d25\uff0c\u6211\u60f3\u662f\u56e0\u4e3a\u6211\u4eec\u4f7f\u7528OS\u81ea\u5e26\u7684HTTPD\u7684\u539f\u56e0\uff0c\u8fd0\u884chttpd\u7684\u7528\u6237\u6ca1\u6709\u76f8\u5e94\u7684\u76ee\u5f55\u8bbf\u95ee\u6743\u9650\uff0c\u53ef\u4ee5\u6309\u7167\u63d0\u793a\u5c06\u914d\u7f6e\u6587\u4ef6\u53e6\u5b58\uff0c\u5e76\u624b\u5de5\u590d\u5236\u5230\u6307\u5b9a\u4f4d\u7f6e\u3002<\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e\u76f4\u63a5\u8f6c\u5165\u767b\u5f55\u9875\u9762\u3002\u7f3a\u7701\u7528\u6237\u548c\u53e3\u4ee4\u662fAdmin\/zabbix<\/p>\n<p><a href=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image007.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"clip_image007\" src=\"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image007_thumb.jpg\" alt=\"clip_image007\" width=\"907\" height=\"490\" border=\"0\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8f6f\u4ef6\u7248\u672c Oracle Enterprise Linux 7.1 64bit Oracle Enterprise Edition 12.1.0.2 64bit &#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"http:\/\/www.rao-bing.cn\/index.php\/2017\/01\/19\/331\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":321,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[6,19],"tags":[9,21],"class_list":["post-331","post","type-post","status-publish","format-aside","has-post-thumbnail","hentry","category-oracle","category-tools","tag-oracle","tag-zabbix","post_format-post-format-aside"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"http:\/\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image002.jpg","jetpack_shortlink":"https:\/\/wp.me\/p8gSFq-5l","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":719,"url":"http:\/\/www.rao-bing.cn\/index.php\/2017\/05\/26\/719\/","url_meta":{"origin":331,"position":0},"title":"\u7b80\u5316\u5728Oracle Linux 6\u4e0a\u5b89\u88c5Oracle\u8f6f\u4ef6\u7684\u51c6\u5907\u5de5\u4f5c","author":"raobing","date":"2017-05-26","format":"aside","excerpt":"\u00a0 \u6700\u8fd1\u624d\u53d1\u73b0\uff0cOracle\u65e9\u5c31\u51fa\u4e86\u5bf9\u5e94\u7684rpm\u5305\uff0coracle-rdbms-server\u2026","rel":"","context":"\u5728\u201cOracle\u201d\u4e2d","block_context":{"text":"Oracle","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/oracle\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":895,"url":"http:\/\/www.rao-bing.cn\/index.php\/2018\/10\/11\/895\/","url_meta":{"origin":331,"position":1},"title":"install ceph 13.2.1 without internet","author":"raobing","date":"2018-10-11","format":"aside","excerpt":"Ceph\u7684rpm\u5305\u5b89\u88c5\u65b9\u5f0f\uff0c\u9700\u8981\u4f7f\u7528yum\uff0c\u5728\u5185\u7f51\u73af\u5883\u4e2d\uff0c\u5f80\u5f80\u6ca1\u6709internet\u8fde\u63a5\u3002\u672c\u6587\u4ecb\u7ecd\u4e00\u79cd\u2026","rel":"","context":"\u7c7b\u4f3c\u6587\u7ae0","block_context":{"text":"\u7c7b\u4f3c\u6587\u7ae0","link":""},"img":{"alt_text":"clip_image002","src":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2018\/10\/clip_image002_thumb.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2018\/10\/clip_image002_thumb.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2018\/10\/clip_image002_thumb.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":872,"url":"http:\/\/www.rao-bing.cn\/index.php\/2018\/08\/25\/872\/","url_meta":{"origin":331,"position":2},"title":"install ansible 2.5 on Oracle Linux 7.4 (redhat kernel)","author":"raobing","date":"2018-08-25","format":"aside","excerpt":"1. setup local yum source using OL7.4 iso file 2. \u2026","rel":"","context":"\u5728\u201cTools\u201d\u4e2d","block_context":{"text":"Tools","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/tools\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":348,"url":"http:\/\/www.rao-bing.cn\/index.php\/2017\/01\/19\/348\/","url_meta":{"origin":331,"position":3},"title":"\u4f7f\u7528Zabbix\u76d1\u63a7Oracle\u6570\u636e\u5e93","author":"raobing","date":"2017-01-19","format":"aside","excerpt":"\u4f7f\u7528Zabbix\u76d1\u63a7Oracle\u6570\u636e\u5e93 Orabbix\u4ecb\u7ecd \u76d1\u63a7Oracle\u6570\u636e\u5e93\u6211\u4eec\u9700\u8981\u5b89\u88c5\u7b2c\u4e09\u65b9\u2026","rel":"","context":"\u5728\u201cOracle\u201d\u4e2d","block_context":{"text":"Oracle","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/oracle\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image001.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image001.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image001.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image001.png?resize=700%2C400 2x"},"classes":[]},{"id":480,"url":"http:\/\/www.rao-bing.cn\/index.php\/2017\/01\/22\/480\/","url_meta":{"origin":331,"position":4},"title":"\u901a\u8fc7RDS\u5907\u4efd\uff1aOracle Secure Backup\u7b80\u4ecb","author":"raobing","date":"2017-01-22","format":"aside","excerpt":"\u00a0 \u80cc\u666f \u6700\u65e9\u542c\u8bf4\u8fd9\u4e2a\u540d\u5b57\u662f\u5728\u51e0\u5e74\u524d\u5b9e\u65bd\u7b2c\u4e00\u53f0EXADATA\u7684\u65f6\u5019\uff0c\u5f53\u65f6\u53ea\u662f\u5728\u6295\u6807\u6587\u4ef6\u91cc\u8ba4\u2026","rel":"","context":"\u5728\u201cOracle\u201d\u4e2d","block_context":{"text":"Oracle","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/oracle\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/Oracle-Security-Backup.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":305,"url":"http:\/\/www.rao-bing.cn\/index.php\/2017\/01\/19\/305\/","url_meta":{"origin":331,"position":5},"title":"Zabbix\u57fa\u672c\u914d\u7f6e\u53ca\u76d1\u63a7\u4e3b\u673a","author":"raobing","date":"2017-01-19","format":"aside","excerpt":"\u76d1\u63a7\u4e3b\u673a\u4e00\u7248\u9700\u8981\u5728\u88ab\u76d1\u63a7\u7684\u4e3b\u673a\u4e0a\u5b89\u88c5Zabbix Agent \u76d1\u63a7\u4e3b\u673a \u5b89\u88c5zabbix-agent\u2026","rel":"","context":"\u5728\u201cTools\u201d\u4e2d","block_context":{"text":"Tools","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/tools\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/011917_0223_Zabbix5.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/011917_0223_Zabbix5.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/011917_0223_Zabbix5.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/011917_0223_Zabbix5.png?resize=700%2C400 2x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/011917_0223_Zabbix5.png?resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/posts\/331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/comments?post=331"}],"version-history":[{"count":2,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/posts\/331\/revisions"}],"predecessor-version":[{"id":333,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/posts\/331\/revisions\/333"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/media\/321"}],"wp:attachment":[{"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/media?parent=331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/categories?post=331"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/tags?post=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}