摘要: #!/bin/bashbasedir=/home/app/db/mysqldatadir=$basedir/dataconf=$basedir/etc/my.cnfpid_file=$datadir/`/bin/hostname`.pidMYSQLD="$basedir/bin/mysqld_safe --defaults-file=$conf"usage(){ echo "usage:" echo " $0 start|stop|reload|status " exit 1 }if test -z $1 then usagefiST 阅读全文
posted @ 2013-12-16 23:49 silence.li 阅读(260) 评论(0) 推荐(0)
摘要: 1.怎样支持中文:https://www.zabbix.org/wiki/How_to/install_locale官方解决方法实际操作中,进入/var/lib/locales/supported.d/,修改local文件添加zh_CN.UTF-8 UTF-8然后执行locale-gen或者dpkg-reconfigure locales使用locale -a查看安装的字符集2.图形中怎么显示中文http://pengyao.org/zabbix-frontend-graph-chinese.html# wget 'http://downloads.sourceforge.net/pr 阅读全文
posted @ 2013-12-16 22:50 silence.li 阅读(842) 评论(0) 推荐(0)
摘要: 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-openipmiconfigure 阅读全文
posted @ 2013-12-16 14:48 silence.li 阅读(3346) 评论(1) 推荐(0)