码迷,mamicode.com
首页 >  
搜索关键字:ping unknown host    ( 24738个结果
RabbitMQ PHP操作类,守护进程及相关测试数据
封装类如下:$host,'port'=>5672,'username'=>$username,'password'=>$password,'vhost'=>'/') */ public function __construct($configs = array(), $exchange...
分类:Web程序   时间:2014-07-22 00:33:35    阅读次数:384
xampp 虚拟机配置
目标:本地某端口根目录映射到htdoc的一个位置方法:1.修改D:\xampp\apache\conf 下的httpd文件,给里面的virtual host增加监听端口## Listen: Allows you to bind Apache to specific IP addresses and/...
分类:其他好文   时间:2014-07-22 00:32:35    阅读次数:203
php程序突然不能用file_get_contents()访问远程网址了?
php程序用file_get_contents("http://www.***.com"),一直以来好好的,突然间就不能链接远程网址了,在shell下可以ping通远程网址,可是用php的file_get_contents()或者php的curl()函数就不能访问了,而是莫名把远程网址解析成本地12...
分类:Web程序   时间:2014-07-22 00:17:36    阅读次数:233
mysql-python socket连接错误
前提: cygwin 里通过 mysql-python模块 连接 windows版本的mysql 通过 socket不能连接 , 改为tcp 如下连接 ?conn?=?MySQLdb.connect(host=‘localhost‘,port=3306,user=‘xxx‘,passwd=‘xxx‘,db=‘xxx‘,charset=‘...
分类:数据库   时间:2014-07-22 00:05:36    阅读次数:271
node mysql
varmysql=require(‘mysql‘);varclient=mysql.createConnection({host:‘112.124.54.74‘,port:3306,user:‘yin‘,password:‘691331‘,database:‘hu‘});client.connect(function(error,results){if(error){console.log(‘ConnectionError:‘+error.message);return;}console.log(‘Conne..
分类:数据库   时间:2014-07-21 19:48:22    阅读次数:263
Zabbix监控windows系统服务方法
key:service_state[service]Stateofservice.0-running,1-paused,2-startpending,3-pausepending,4-continuepending,5-stoppending,6-stopped,7-unknown,255-nosuchservice
分类:Windows程序   时间:2014-07-21 19:15:32    阅读次数:739
MySQL:unknown variable 'master-host=masterIP' [ERROR] Aborting
MySQL:unknown variable 'master-host=masterIP' [ERROR] Aborting...
分类:数据库   时间:2014-07-21 15:15:06    阅读次数:221
Search in Rotated Sorted Array leetcode java
题目:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are given a target ....
分类:编程语言   时间:2014-07-21 14:37:05    阅读次数:266
Nova和Heat中的servergroup
现在nova可以通过命令创建一个server group,在server group中的vm可以指定一些policy。 这些policy包括affinity和anti-affinity。affinity表示尽量把vm都安排到一个host上面,anti-ffinity表示尽量把vm安排到不同的host上面。 创建server-group的命令如下: nova server-group-crea...
分类:其他好文   时间:2014-07-21 13:43:36    阅读次数:214
常用的CMD命令
一、ping它是用来检查网络是否通畅或者网络连接速度的命令。作为一个生活在网络上的管理员或者黑客来说,ping命令是第一个必须掌握的DOS命令,它所利用的原理是这样的:网络上的机器都有唯一确定的IP地址,我们给目标IP地址发送一个数据包,对方就要返回一个同样大小的数据包,..
分类:其他好文   时间:2014-07-21 12:25:35    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!