码迷,mamicode.com
首页 >  
搜索关键字:时间同步 时区 nagios    ( 4432个结果
ntp服务及时间同步问题
今有一小型项目,完全自主弄,原来以为很简单的NTP服务,我给折腾了2个多小时才整撑头(以前都是运维搞,没太注意,所以这技术的东西,在简单都需要亲尝啊),这里记录为以后别再浪费时间。       目标环境,5台linux centos 6.3, 一台作为NTPD服务与外部公共NTP服务同步时间,同时作为内网的NTPD服务器,其他机器与这台服务做时间同步。  服务器IP 角...
分类:其他好文   时间:2014-07-30 10:04:43    阅读次数:355
android 命令修改时间或程序修改系统时间
前提是手机必须先获取root; root方法见其他章节或网上都有介绍 adb shell  进入shell 终端界面 1、先设置系统的时区配置 cat /data/property/persist.sys.timezone //查看当前时区配置文件 setprop persist.sys.timezone GMT        //修改属性  2、开始设置修改当前系统时间 date...
分类:移动开发   时间:2014-07-29 17:58:32    阅读次数:1952
Hive的日期函数
1.unix时间戳转时间函数 语法: from_unixtime(bigint unixtime[, string format]) 返回值: string 说明: 转化UNIX时间戳(从1970-01-01 00:00:00 UTC到指定时间的秒数)到当前时区的时间格式 举例: hive> select from_unixtime(1323308943,‘yyyyMMdd’) from...
分类:其他好文   时间:2014-07-29 17:56:42    阅读次数:434
Cacti+Nagios监控系统(一):准备工作
一、系统环境1、设置yum源(1)使用本地源挂载光驱ISO文件确认路径/media/CentOS_6.5_Final/cd/etc/yum.repos.dmvCentOS-Base.repoCentOS-Base.repo.bakviCentOS-Base.repo[base]name=Basebaseurl=file:///media/CentOS_6.5_Final/gpgcheck=0#(1检测0不检测)enabled=1#(1启动0..
分类:移动开发   时间:2014-07-29 16:02:19    阅读次数:342
快速安装ngios
如果用源码包安装nagios比较麻烦,所以找了一个比较好办法来安装nagios,环境是CentOS6.4版本的,64位:首先,是安装网络yum源,在这里就不多说了();其次,从网络上下载epel源;安装nagioswgethttp://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.r..
分类:移动开发   时间:2014-07-29 16:02:09    阅读次数:292
centos7 httpd&php
安装httpd:http://kernal.blog.51cto.com/8136890/1531545httpd支持php安装配置:[1]Installphp#yum-yinstallphpphp-mbstringphp-pear#vi/etc/php.ini878date.timezone="Asia/Shanghai"#设置时区[2]CreateTestPage#vi/var/www/html/index.php <html> <body> <d..
分类:Web程序   时间:2014-07-29 15:55:49    阅读次数:323
Cacti+Nagios监控系统(二):安装Cacti
一、设置mysql,创建Cacti数据库和账号mysql-uroot-pmysql>createdatabasecactidb;mysql>GRANTALLONcactidb.*TOcactier@localhostIDENTIFIEDBY‘123456‘;mysql>flushprivileges;mysql>quit二、安装rrdtoolyum-yinstallrrdtoolrrdtool-develrrdtool-php三、安装配置s..
分类:移动开发   时间:2014-07-29 15:35:39    阅读次数:354
Cacti+Nagios监控系统(三):安装Nagios
一、添加用户groupaddnagcmduseradd-Gnagcmdnagiospasswdnagios123456usermod-a-Gnagcmdapache二、安装nagioscd/root/downloadwgethttp://jaist.dl.sourceforge.net/project/nagios/nagios-4.x/nagios-4.0.7/nagios-4.0.7.tar.gz也可以从这里下载:http://www.nagios.org/downl..
分类:移动开发   时间:2014-07-29 15:34:49    阅读次数:255
Cacti+Nagios监控系统(四):Cacti整合Nagios
一、原理整合cacti和nagios是利用了cacti的一个插件nagiosforcacti,它的原理是将nagios的数据通过ndo2db导入到mysql数据库(cacti的库中),然后cacti读取数据库信息将nagios的结果展示出来。二、cacti扩展模块cacti扩展模块需要下载安装cacti-plugin,cacti-0.8.8a及以后版本..
分类:移动开发   时间:2014-07-29 15:30:09    阅读次数:263
Cacti+Nagios监控系统(五):Cacti安装插件
Cacti插件说明及下载地址:http://docs.cacti.net/plugins一、Settings插件cd/root/downloadwgethttp://docs.cacti.net/_media/plugin:settings-v0.7-1.tgzmvplugin:settings-v0.7-1.tgzsettings-v0.7-1.tgztarzxvfsettings-v0.7-1.tgz-C/var/www/html/cacti/plugins/二、Thold..
分类:移动开发   时间:2014-07-29 15:28:59    阅读次数:357
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!