您的位置:首页 > 其它

Ubuntu 14.10 安装 zabbix 2.4

2015-01-20 21:03 405 查看
#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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  restricted