1.1实验环境ZabbixServer2.2.0(172.16.0.2)JBossServerEAP5.2.0或jboss-4.2.3.GA(172.16.0.2)BothserversrunningRedHatEnterpriseLinux6.31.2ZabbixServerd上Javagateway安装配置1.工作原理:Zabbixserver想知道一台主机上的特定的JMX值时,它向Zabbix-Javagateway询问,而Za..
分类:
其他好文 时间:
2014-11-16 01:59:06
阅读次数:
437
线程的生命周期分为:新建(New)、就绪(Runnable)、运行(Running)、阻塞(Blocked)、死亡(Dead)五个阶段。 线程启动后,随着CPU的调度,线程会在运行和阻塞两种状态间切换。 新建:使用new关键字创建一个线程后,线程就处于新建状态; 就绪:线程对象调用start方法后,...
分类:
编程语言 时间:
2014-11-15 23:07:07
阅读次数:
296
#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#installpackagesinstallT..
分类:
其他好文 时间:
2014-11-15 06:42:14
阅读次数:
143
Linux下mysql的双主热备作者:浩浩哥来了1、数据库同步设置主机操作系统:RedHatEnterpriseLinux6数据库版本前提:MYSQL数据库正常启动假设两台主机地址分别为:ServA:192.168.18.112ServB:192.168.18.114注意:操作前,全文查找替换,将serverA、B替换成实际IP2、配置同步账..
分类:
数据库 时间:
2014-11-15 06:39:09
阅读次数:
383
今天处理一个遗留的项目:项目使用了flex作为界面,装好flex Builder 3 并添加插件到eclipse,eclipse使用3.7版本。导入项目,编译,发现编译时候出现Errors running builder "Flex" on project "***"出现这个错误的时候,通常我们会将...
分类:
系统相关 时间:
2014-11-14 12:05:35
阅读次数:
192
#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#installpackagesinstallT..
分类:
其他好文 时间:
2014-11-14 01:44:19
阅读次数:
189
重新打开ECLIPSE运行android项目,或者一段时间为运行ECLIPSE,打开后,发现新建项目都有红叉,以前的项目重新编译也有这问题,上网搜索按下面操作解决了问题工程上有红叉,不知道少了什么,但是工程中却没有任何错误,运行程序报错为: Your project contains error(s...
分类:
移动开发 时间:
2014-11-13 10:31:58
阅读次数:
166
错误及现象Error: pg_config executable not found.Downloading/unpacking psycopg2 Downloading psycopg2-2.5.4.tar.gz (682kB): 682kB downloaded Running setup......
分类:
其他好文 时间:
2014-11-12 19:34:43
阅读次数:
1180
C is a compiled language, and as such, C programs need to be converted to executables in order to use them. ?Typically, programmers do this with some sort of build system, rather than running the ...
分类:
其他好文 时间:
2014-11-12 15:10:05
阅读次数:
299
1.执行 git pull 的时候,出现 如下 错误: If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is runnin...
分类:
其他好文 时间:
2014-11-12 12:05:18
阅读次数:
164