1、安装php
成都创新互联公司网站建设服务商,为中小企业提供成都做网站、成都网站设计、成都外贸网站建设服务,网站设计,网站托管维护等一站式综合服务型公司,专业打造企业形象网站,让您在众多竞争对手中脱颖而出成都创新互联公司。
yum install -y php php-MySQL php-gd libjpeg* php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-bcmath php-mhash vim /etc/php.ini max_input_time = 300 max_execution_time = 300 date.timezone = Asia/Shanghai post_max_size = 50M memory_limit = 128M mbstring.func_overload = 0 always_populate_raw_post_data = -1
2、安装apache
yum install -y httpd systemctl start httpd
3、安装mariadb
yum install -y mariadb mariadb-server mariadb-devel systemctl start mariadb mysql_secure_installation mysql -u root -p mysql>create database zabbix character set utf8; mysql>grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix'; mysql>flush privileges;
4、安装zabbix
yum install -y autoconf automake imake libxml2-devel expat-devel cmake gcc gcc-c++ libaio libaio-devel bzr bison libtool ncurses5-devel net-snmp\* java-1.7.0-openjdk.x86_64 java-1.7.0-openjdk-devel.x86_64 libxml2 libxml2-devel bzip2 libpng-devel freetype-devel bzip2-devel curl* curl-devel libjpeg\* openjpeg\* tar zvxf zabbix-3.0.3.tar.gz cd zabbix-3.0.3/ ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --with-libxml2 --enable-java make make install mysql -u zabbix -p zabbix将windows中的“楷体 常规”拷贝到/var/www/html/fonts
sed -i 's/DejaVuSans/simkai/g' /var/www/html/include/defines.inc.php参考博文:http://www.osyunwei.com/archives/7882.html
当前名称:CentOS7部署Zabbix3.0(apachephpmariadb)
本文链接:http://cdxtjz.cn/article/pgdcii.html