一、验证应用与正确的服务器通信 (验证 Protection Space) 在 willSendRequestForAuthenticationChallenge 回调方法中,检查 challenge,确定是否想要响应服务器的认证 challenge,同时发出适当的 challenge 响应。 防止 ...
分类:
其他好文 时间:
2016-06-23 12:31:59
阅读次数:
341
info.py [{"endpoint":"master","counter":"feng-count","consolFun":"GAUGE","step":60,"filename":"/data/6070/c0/c0c426be18bf40971d0f2b6cc4331818_GAUGE_60 ...
分类:
其他好文 时间:
2016-06-22 12:51:33
阅读次数:
180
触发graph的索引全量更新、补救手工操作带来的异常。触发方式为,运行curl -s "http://$hostname:$port/index/updateAll",其中$hostname为graph所在的服务器地址,$port为graph的http监听端口。这种方式,不会删除已上报的监控数据,但 ...
分类:
其他好文 时间:
2016-06-22 12:37:49
阅读次数:
153
OS X El Capitan 新特性(System Integrity Protection or SIP)中加强了权限,但是可以对这里进行操作 /usr/local/bin 可以尝试使用以下指令进行jekyll的安装(亲测可行,安装完毕后terminal中输入jekyll即可看到是否生效): 这 ...
分类:
其他好文 时间:
2016-06-19 10:08:04
阅读次数:
312
protobuf在windows环境下的安装 1、所需包下载地址:http://code.google.com/p/protobuf/downloads/list 。protobuf-x.x.x.tar.gz和protobuf-x.x.x-win32.zip 64位一样。 2、将protobuf-x ...
分类:
其他好文 时间:
2016-06-15 10:44:21
阅读次数:
188
1. 高可用方案
1.1 网络
网段划分:
管理网络:10.192.44.148~10.192.44.151(需要接网线,后台登陆,openstack各组件的endpoint使用)
外部网络:10.192.45.211-10.192.45.220,这里外部网络需要一个段,供虚拟机绑定浮动IP使用
虚拟机网络:192.168.0.0/24 (需要实际网卡,但不需要接网线)
存储集群网...
分类:
其他好文 时间:
2016-06-12 02:55:57
阅读次数:
2080
今天在做socket网络通信实验时,server端执行到recv函数处报错:Transport endpoint is not connected。 以下是server和client的源码: server.c client.c 错误出在recv这个函数。 首先我们来看看accept函数:int ac ...
分类:
其他好文 时间:
2016-06-11 00:31:14
阅读次数:
259
如果操作系统不使用处理器的多任务机制,它仍然需要为栈创建至少一个TSS 当程序通过调用门改变特权级的时候,处理器执行下面的步骤切换栈,并且执行被调用的程序在新的特权级 1. 使用目标代码段的DPL从TSS中选择栈段选择子和栈指针 2. 从当前TSS读取被切换的栈段选择子和栈指针。当读取栈段选择子,栈 ...
分类:
其他好文 时间:
2016-06-05 11:04:35
阅读次数:
116
在安装kilo的时候出现了一个报错 solution: add export OS_REGION_NAME=RegionOne into admin-openrc.sh ...
分类:
其他好文 时间:
2016-06-03 01:06:01
阅读次数:
189
1. Create a storage account in Azure, copy the storage account endpoint URL (with postfix of "file.core.chinacloudapi.cn") and storage access key to a ...
分类:
其他好文 时间:
2016-05-26 18:34:13
阅读次数:
100