Grafana-zabbix是zabbix的一个插件,通过调用API接口呈现酷炫的图表系统:Centos6.1、安装grafana[root@Monitor~]#wgethttps://grafanarel.s3.amazonaws.com/builds/grafana-2.0.2-1.x86_64.rpm[root@Monitor~]#yum–yinstallgrafana-2.0.2-1.x86_64.rpm安装之后会有如下文件?.
分类:
其他好文 时间:
2015-08-05 13:14:00
阅读次数:
589
LVS简介LVS(LinuxVirtualServer),即Linux上虚拟的服务器集群系统。其实LVS就是一个前端的负载调度器,它在软件层次上实现了负载均衡,将接收到的请求均衡地转移至多个不同的服务器上运行,用较低的成本实现了将一组服务器构建成高性能、高可用的服务器集群。LVS由两部分组成..
分类:
其他好文 时间:
2015-08-05 13:11:24
阅读次数:
200
crond计划任务服务crontab-l查看当前用户的计划任务-e编辑产前用户的计划任务crontab-uwyp-l查看指定用户的计划任务计划任务配置文件路径/var/spool/cron/用户名备份计划任务,1:复制/var/spool/cron/用户名2:crontabl-l>1.txt计划任务中,时间的含义:按照分时日月周排列..
分类:
其他好文 时间:
2015-08-05 13:10:24
阅读次数:
144
调整系统服务,开机启动。共2种方法:1:ntsysv类似图形界面安装包ntsysv修改完成后,重启系统生效。2:chkconfig命令设置chkconfig--list列出系统服务的启动信息chkconfighttpdon/off开启关闭httpd系统服务,只针对2-5级别。chkconfig--listhttpd查看指定的服务启动信息chkconf..
分类:
其他好文 时间:
2015-08-05 13:12:42
阅读次数:
114
这篇文章可以供初学者参考.第一:mysql的安装1):下载mysql的安装包,我习惯把安装包放到/usr/local/src/这个目录下cd/usr/local/src/wgethttp://syslab.comsenz.com/downloads/linux/mysql-5.1.40-linux-i686-icc-glibc23.tar.gz2):解压:tarzxvf/usr/local/src/mysql-5.1...
分类:
其他好文 时间:
2015-08-05 13:09:46
阅读次数:
126
在工作中发现配置完DFS后,一段时间后发现D盘空间不足。开始查找那个文件夹会那么大,最后找到罪魁祸首D:\Inetpub\wwwroot\newshop.ourgame.com\DfsrPrivate这个文件不停在增长查询微软问题,给出指导https://support.microsoft.com/zh-cn/kb/951010ConflictAndDeleted文件夹大..
分类:
其他好文 时间:
2015-08-05 13:08:59
阅读次数:
161
//设置为主页functionSetHome(obj,url){try{obj.style.behavior=‘url(#default#homepage)‘;obj.setHomePage(url);}catch(e){if(window.netscape){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");}catch(e){alert("您好,您的浏览器不支持自动设..
分类:
其他好文 时间:
2015-08-05 13:09:10
阅读次数:
135
一.安装方法:1.RPM包安装:mount/dev/cdrom/media/rpm-ivh/media/centos/ntp/-4.XXXX.rpm2.源码编译安装:wgethttp://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.6p4.tar.gztar-zxvfntp-4.2xx.tar.gz-C/usr/localcdntp-4.2.xx./configure--prefix=/usr/local/nt..
分类:
其他好文 时间:
2015-08-05 13:10:17
阅读次数:
172
如果你的IPTABLES基础知识还不了解,建议先去看看.开始配置我们来配置一个filter表的防火墙.(1)查看本机关于IPTABLES的设置情况[root@tp~]#iptables-L-nChainINPUT(policyACCEPT)targetprotoptsourcedestinationChainFORWARD(policyACCEPT)targetprotoptsourcedestinationChainO..
分类:
其他好文 时间:
2015-08-05 13:07:55
阅读次数:
144
系统环境:lsb_release-a
NoLSBmodulesareavailable.
DistributorID:Ubuntu
Description:Ubuntu12.04.5LTS
Release:12.04
Codename:precise下载nginx_lua_module下载ngx_devel_kit安装luajit
apt-getinstalllibluajit-5.1-devluajit
ls/opt/nginx_comp
lua-nginx-module-0.9...
分类:
其他好文 时间:
2015-08-05 13:09:24
阅读次数:
169
有很多人整天用电脑,但是碰到问题就不知所措,好像从来没有用过互联网一样。互联网给了我们最多的知识,但是也给我了最大的诱惑,也给了我们最多的垃圾。如果迅速找到自己想要的知识,取其精华,弃其糟粕是一个非常有用的学问。还是举例子:比如我要学习一门新的语言scala,列..
分类:
其他好文 时间:
2015-08-05 13:09:46
阅读次数:
140
该程序实现了链表的增、删、遍历、排序等大部分功能,仅供参考。理解链表的原理,对后面栈、队列、二叉树、图等数据结构的学习有很大帮助。
链表的实现:
# include
# include
# include
typedef struct Node
{
int data;
struct Node * pNext;
}NODE, *PNODE;
PNODE create_list(vo...
分类:
其他好文 时间:
2015-08-05 13:08:33
阅读次数:
82
之前已经介绍过如何使用solr和mysql建立索引,但索引一旦建立,之后新增的数据便不能插入了,除非每次新增数据都重新建立一遍索引,但这样太过耗时费力,故而,本章将介绍如何增量更新索引
1、 找到之前data-config.xml文件,打开并在query后面加入
deltaQuery="select TOPIC_ID,TOPIC_CONTENT from t_topicwhere TOPIC...
分类:
其他好文 时间:
2015-08-05 13:06:27
阅读次数:
159
Biorhythms
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 2010 Accepted Submission(s): 861
Problem Description
Some people believe that t...
分类:
其他好文 时间:
2015-08-05 13:05:37
阅读次数:
107
题目地址:HDU 5349
很水的优先队列就能搞好,只不过注意如果2操作结束后的队列为空,那么Max的值为-inf。#include
#include
#include
#include
#include
#include
#include
#incl...
分类:
其他好文 时间:
2015-08-05 13:07:55
阅读次数:
136
问题:Push failed: Failed with error: fatal: Could not read from remote repository.
解决:
将SSH Executable 更换为Native
另外参考:
http://stackoverflow.com/questions/24688700/android-studio-push-failed-fat...
分类:
其他好文 时间:
2015-08-05 13:05:33
阅读次数:
538
Angularjs ui-router - 组件:
$state / $stateProvider:管理状态定义、当前状态和状态转换。包含触发状态转换的事件和回调函数,异步解决目标状态的任何依赖项,更新$location到当前状态。由于状态包含关联的 url,通过$urlRouterProvider生成一个路由规则来执行转换的状态。...
分类:
其他好文 时间:
2015-08-05 13:06:16
阅读次数:
142