由于 OS X El Capitan 采用了System Integrity Protection保护技术,导致 sudo pip install 安装python包时会产生报错:1 File "/System/Library/Frameworks/Python.framework/Versio.....
控制节点Before you configure the OpenStack Networking (neutron) service, you must create a database, service credentials, and API endpoint.一、创建neutron数据库并...
分类:
其他好文 时间:
2015-12-17 19:17:35
阅读次数:
1398
控制节点Before you install and configure the Compute service, you must create a database, service credentials, and API endpoint.一、创建nova数据库并授权1.登陆数据库mysql...
分类:
其他好文 时间:
2015-12-17 15:39:06
阅读次数:
122
1.三种保护模式 – Maximum protection在Maximum protection下, 可以保证从库和主库数据完全一样,做到zero data loss.事务同时在主从两边提交完成,才算事务完成。如果从库宕机或者网络出现问题,主从库不能通讯,主库也立即宕机。在这种方式下,具有最高的保....
分类:
其他好文 时间:
2015-12-16 21:26:06
阅读次数:
1254
最近在做cas单点登录时,由于是单点登录。必然会涉及到单点注销,然而在做单点注销时由于对cas注销机制不了解加之测试条件所致,所有测试都是在本机下完成(机器性能较低,没用虚拟机);导致折腾了很久。网上说的原因也各式各样,大部分原因集中在: 1:你的CAS服务器将cookie设置成了浏览器有效...
分类:
Web程序 时间:
2015-12-10 19:10:57
阅读次数:
379
完全面向资源,API以复数形式表示路径(Endpoint)http://example.com/libraries //列出所有图书馆http://example.com/books //列出所有图书http://example.com/l...
先贴一点有关的flask代码,时间有限,我慢慢扩充以下是flask源码中app.py中add_url_rule的代码。主要是view_func -- endpoint -- url 之间的对应关系。flask中,view_func与url并不是直接对应的,是url先找到endpoint, 然后通过e...
分类:
其他好文 时间:
2015-12-07 07:14:46
阅读次数:
304
天气预报Web服务,数据来源于中国气象局Endpoint : http://www.webxml.com.cn/WebServices/WeatherWebService.asmxDisco : http://www.webxml.com.cn/WebServices/WeatherWebS...
分类:
Web程序 时间:
2015-12-03 18:55:21
阅读次数:
150
The Ephemeral Port RangeA TCP/IPv4 connection consists of two endpoints, and each endpoint consists of an IP address and a port number. Therefore, whe...
分类:
其他好文 时间:
2015-12-03 13:36:51
阅读次数:
1022
docker push 提交时错误提示;docker push 125.210.141.35:5000/redisError response from daemon: invalid registry endpoint https://125.210.141.35:5000/v0/: unable...
分类:
其他好文 时间:
2015-12-03 11:43:32
阅读次数:
220