Ubuntu 14.10 安裝 zabbix 2.4

#apt-get install ntp

#vim /etc/ntp.conf


server 1.cn.pool.ntp.org

server 1.asia.pool.ntp.org

server 0.asia.pool.ntp.org


# mv /etc/apt/sources.list sources.list.bak 

# vim /etc/apt/sources.list 


 deb http://mirrors.aliyun.com/ubuntu/ utopic main restricted universe multiverse  

deb http://mirrors.aliyun.com/ubuntu/ utopic-security main restricted universe multiverse  

deb http://mirrors.aliyun.com/ubuntu/ utopic-updates main restricted universe multiverse  

deb http://mirrors.aliyun.com/ubuntu/ utopic-proposed main restricted universe multiverse  

deb http://mirrors.aliyun.com/ubuntu/ utopic-backports main restricted universe multiverse  

deb-src http://mirrors.aliyun.com/ubuntu/ utopic main restricted universe multiverse  

deb-src http://mirrors.aliyun.com/ubuntu/ utopic-security main restricted universe multiverse  

deb-src http://mirrors.aliyun.com/ubuntu/ utopic-updates main restricted universe multiverse  

deb-src http://mirrors.aliyun.com/ubuntu/ utopic-proposed main restricted universe multiverse  

deb-src http://mirrors.aliyun.com/ubuntu/ utopic-backports main restricted universe multiverse


 # wget http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4-1+trusty_all.deb 

# dpkg -i zabbix-release_2.4-1+trusty_all.deb # apt-get update 

# apt-get install zabbix-server-mysql zabbix-frontend-php 

# apt-get install zabbix-agent

# vim /etc/php5/apache2/php.ini 

  

data.timezone = Asia/Shanghai


 # service apache2 restart

 # vim /usr/share/zabbix/include/locales.inc.php 

  

'zh_CN' => array('name' => _('Chinese (zh_CN)'), 'display' => true),


 # apt-get install language-pack-zh-hans

 # service apache2 restart

 # cp ~/simhei.ttf /usr/share/zabbix/fonts/simhei.ttf

 # mv /usr/share/zabbix/fonts/graphfont.ttf graphfont.ttf.bak

 # mv /usr/share/zabbix/fonts/simhei.ttf graphfont.ttf

 # service apache2 restart

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章