http://hi.baidu.com/ryq1xiuluo/item/6d37e658f1b90b13db16351d
- 错误记录
./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl 或
./configure --prefix=/usr/local/zabbix --enable-server --enable-proxy --enable-agent --with-mysql --with-net-snmp --with-libcurl --with-openipmi
configure: error: MySQL library not found
the problem is not installed mysql-devel
#apt-get install libghc6-hsql-mysql-dev (ubuntu )
configure: error: Jabber library not found
the problem is not installed jabber lib
#apt-get install libphp-jabber
#apt-get install libnet-jabber-loudmouth-perl
#apt-get install jabber-dev
#apt-get install libiksemel-dev (* this packet important)
configure: error: Not found curl Library
the problem is not installed libcurl4-openssl-dev
#apt-get install libcurl4-openssl-dev
configure: error : Not found NET-SNMP library
#apt-get install libsnmp-dev
#apt-get install snmp
Invalid OPENIPMI directory - unable to find ipmiif.h
apt-get install openipmi openipmitool freeipmi-tools libopenipmi-dev
6.msgfmt: command not found
apt-get install gettext
- 安装apache2/php/phpmyadmin
https://www.cnblogs.com/2016xt/p/5517049.html
1.安装之前先更新系统
1 sudo apt update
2.安装Apache2
1 sudo apt install apache2
3.安装PHP
1 sudo apt install php
2 sudo apt-get install libapache2-mod-php
4.安装MySQL
1 sudo apt install mysql-server php7.0-mysql
2 sudo apt-get install mysql-client
3 mysql_secure_installation
5.安装phpmyadmin
1 sudo apt-get install phpmyadmin
2 sudo apt-get install php-mbstring
3 sudo apt-get install php-gettext
4 sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
配置phpmyadmin
1 nano /etc/php/7.0/apache2/php.ini
display_errors = On(显示错误日志,出现两次,都要改,不然无效)
extension=php_mbstring.dll (开启mbstring)