ZABBIX安装
一、基础环境安装
zabbix安装需要LAMP或者LNMP环境,本次使用LNMP
1Nginx安装
1)源码获取地址http://www.doczj.com/doc/d74a1518b42acfc789eb172ded630b1c59ee9bf7.html/download/nginx-1.8.0.tar.gz
2)安装
#yum-y install pcre-devel
#tar xf nginx-1.8.0.tar.gz
#cd nginx-1.8.0/
#./configure--prefix=/usr/local/nginx--user=nginx--group=nginx --with-http_ssl_module--with-http_stub_status_module--with-http_gzip_static_module --with-pcre
#make&&make install
2php安装
1)源码获取地址
http://www.doczj.com/doc/d74a1518b42acfc789eb172ded630b1c59ee9bf7.html/get/php-5.6.15.tar.gz/from/this/mirror 2)安装
#yum-y install bzip2-devel libcurl-devel libxml2-devel gd-devel jpeg-devel
#tar xf php-5.6.15.tar.gz
#cd php-5.6.15
#./configure--prefix=/usr/local/php-5.6.15--with-config-file-path--with-bz2--with-curl --enable-ftp--enable-sockets--disable-ipv6--with-gd--with-jpeg-dir--with-png-dir --with-freetype-dir--enable-gd-native-ttf--with-iconv-dir--enable-mbstring --enable-calendar--with-gettext--with-libxml-dir--with-zlib--with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd--with-mysql=mysqlnd--enable-dom--enable-xml--enable-fpm --with-libdir=lib64--enable-bcmath--enable-mbstring--enable-sockets
#make&&make install