vivion27 发表于 2019-1-18 11:56:00

Zabbix 1.8.1 Server安装文档

Zabbix 1.8.1 Server安装文档



所需软件:ApachePHPMysqL



第一部    Apache 安装配置

Step 1:解压文件

          # tar -zxvf httpd-2.2.14.tar.gz

Step 2:编译安装

            # ./configure --prefix=/usr/local/httpd --enable-module=so

            #make ; make install

Step 3:编辑httpd.conf

            #vi /usr/local/httpd/conf/httpd.conf

            增加 AddType application/x-httpd-php .php .phtml .php4 .inc

                     DirectoryIndex index.php .php index.html

            

Step 4:编写info.php

         #vi /var/www/html/info.php

            

            

Step 5:启动Apache服务,且访问info.php

            #/usr/local/httpd/bin/httpd –f /usr/local/httpd/conf/httpd.conf

            #ps –ef | grep httpd

            #netstat –antup | grep 80

            打开浏览器:http://IP/info.php,若看到php的信息则成功



第四部
页: [1]
查看完整版本: Zabbix 1.8.1 Server安装文档