反应堆模式he Reactor:An Object-Oriented Wrapper for Event-Driven Port Monitoring and Service Demultiplexing反应堆模式:一种应用于事件驱动的端口监控和服务多路化的面向对象封装器Douglas C. Sch...
分类:
其他好文 时间:
2015-07-05 23:47:05
阅读次数:
152
The Reactor:An Object-Oriented Wrapper for Event-Driven Port Monitoring and Service Demultiplexing反应堆模式:一种应用于事件驱动的端口监控和服务多路化的面向对象封装器Douglas C. Schmidt...
分类:
其他好文 时间:
2015-07-04 23:22:26
阅读次数:
207
1.启动服务/srv/salt/service/nfs.slsrpcbind: service.running: - enable: True# - enable: Falsenfs: service.running: - enable: True - require: ...
分类:
其他好文 时间:
2015-07-03 13:57:14
阅读次数:
189
You should never do your asynchronous work alone.— Jon Brisbin完成Reactor 1后写到You should never do your asynchronous work alone.— Stephane Maldini完成React...
分类:
其他好文 时间:
2015-07-03 09:11:32
阅读次数:
1306
1.managed文件管理/srv/salt/file/managed.sls/tmp/hyxc: file.managed: - source: - salt://files/hyxc - salt://files/hwg - makedirs: True# ...
分类:
其他好文 时间:
2015-07-02 15:20:46
阅读次数:
116
proactor vs reactor先发几本proactor 与 reactor 相关的电子书:http://files.cnblogs.com/files/f1194361820/reactor_3.pdfhttp://files.cnblogs.com/files/f1194361820/Pr...
分类:
其他好文 时间:
2015-07-01 21:57:20
阅读次数:
184
添加文件文本在文件尾部salt.states.file.append(name, text=None, makedirs=False, source=None, source_hash=None, template='jinja', sources=None, source_hashes=None,...
分类:
移动开发 时间:
2015-07-01 17:55:00
阅读次数:
167
managed管理一个模板文件,载入到各个节点并运行相应配置salt.states.file.managed(name, source=None, source_hash='', user=None, group=None, mode=None, template=None, makedirs=Fa...
分类:
其他好文 时间:
2015-07-01 15:48:32
阅读次数:
217
shadow用于命令行管理shadow文件salt.modules.shadow.default_hash()用户未设置密码的默认哈希例:salt '*' shadow.default_hashsalt.modules.shadow.del_password(name)删除用户密码例:salt '*...
分类:
其他好文 时间:
2015-06-30 18:02:18
阅读次数:
184
linux crypt函数1. crypt定义
#define _XOPEN_SOURCE /* See feature_test_macros(7) */
#include
char *crypt(const char *key, const char *salt);
上面是man 3 crypt看到的crypt函数定义。
从定义中看到要想...
分类:
系统相关 时间:
2015-06-29 10:18:17
阅读次数:
408