Zabbix Server 安裝詳解
Zabbix Server 安裝是比較簡單的,大家可以跟我一起來操作下!
創(chuàng)建一個叫zabbix的賬戶
照著手冊裝好需要預(yù)安裝的包和MySQL(建議用yum,真好使),配置好MySQL 后
- #tar -vxzf zabbix-1.6.1.tar.gz
- #./configure --prefix=/Data/apps/zabbix --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --enable-proxy --with-ldap
(這個配置比較全 #./configure --enable-server --with-mysql --with-net-snmp --with-jabber --with-libcurl --enable-proxy --enable-agent --with-openipmi --with-ldap)
這里解釋一下幾下幾個選項
--prefix=/Data/apps/zabbix //默認是安裝在/var/zabbix 下面的
--with-jabber //enable Jabber 即時通訊功能。Jabber 是著名的Linux即時通訊服務(wù)服務(wù)器,它是一個自由開源軟件,能讓用戶自己架即時通訊服務(wù)器,可以在Internet上應(yīng)用,也可以在局域網(wǎng)中應(yīng)用。Jabber最有優(yōu)勢的就是其通信協(xié)議,可以和多種即時通訊對接。比如有第三方插件,能讓jabber用戶和MSN 、Yahoo、ICQ等IM用戶相互通訊。
--with-openipmi //智能平臺管理接口 (IPMI) 是一種開放標準的硬件管理接口規(guī)格,定義了嵌入式管理子系統(tǒng)進行通信的特定方法。具體可以查看百度百科。
--with-libcurl //我也不知道怎么解釋,來一段 libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more!
libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more...
應(yīng)該可以理解了吧
- #make && make install
就這么簡單
配置好zabbixz_server.conf
#su - zabbix -c "/Data/apps/zabbix/sbin/zabbix_server" # 安全著見,也是好的習(xí)慣,請以zabbix用戶來run zabbix_server 和zabbix_agentd 進程。
通過上面的完整配置,我們學(xué)會了安裝Zabbix Server!希望對你們有幫助!
【編輯推薦】