tar xf zabbix-3.4.3.tar.gz
cd zabbix-3.4.3/
./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
make && make install
创建数据库密码,导入zabbix数据库
echo "123456" |xargs mysqladmin -u root password
mysql -uroot -p123456 -e "create database if not exists zabbix default character set utf8 collate utf8_general_ci;use zabbix;source /root/zabbix-3.4.3/database/mysql/schema.sql;source /root/zabbix-3.4.3/database/mysql/images.sql;source /root/zabbix-3.4.3/database/mysql/data.sql;"
tar xf zabbix-3.4.3.tar.gz
cd zabbix-3.4.3/
./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
make && make install
Reading your article helped me a lot and I agree with you. But I still have some doubts, can you clarify for me? I'll keep an eye out for your answers.