Zabbix Server 安裝詳解
Zabbix Server 安裝是比較簡(jiǎn)單的,大家可以跟我一起來操作下!
創(chuàng)建一個(gè)叫zabbix的賬戶
照著手冊(cè)裝好需要預(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
(這個(gè)配置比較全 #./configure --enable-server --with-mysql --with-net-snmp --with-jabber --with-libcurl --enable-proxy --enable-agent --with-openipmi --with-ldap)
這里解釋一下幾下幾個(gè)選項(xiàng)
--prefix=/Data/apps/zabbix //默認(rèn)是安裝在/var/zabbix 下面的
--with-jabber //enable Jabber 即時(shí)通訊功能。Jabber 是著名的Linux即時(shí)通訊服務(wù)服務(wù)器,它是一個(gè)自由開源軟件,能讓用戶自己架即時(shí)通訊服務(wù)器,可以在Internet上應(yīng)用,也可以在局域網(wǎng)中應(yīng)用。Jabber最有優(yōu)勢(shì)的就是其通信協(xié)議,可以和多種即時(shí)通訊對(duì)接。比如有第三方插件,能讓jabber用戶和MSN 、Yahoo、ICQ等IM用戶相互通訊。
--with-openipmi //智能平臺(tái)管理接口 (IPMI) 是一種開放標(biāo)準(zhǔn)的硬件管理接口規(guī)格,定義了嵌入式管理子系統(tǒng)進(jìn)行通信的特定方法。具體可以查看百度百科。
--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
就這么簡(jiǎn)單
配置好zabbixz_server.conf
#su - zabbix -c "/Data/apps/zabbix/sbin/zabbix_server" # 安全著見,也是好的習(xí)慣,請(qǐng)以zabbix用戶來run zabbix_server 和zabbix_agentd 進(jìn)程。
通過上面的完整配置,我們學(xué)會(huì)了安裝Zabbix Server!希望對(duì)你們有幫助!
【編輯推薦】