摘要:
转发:http://quenywell.com/install-glusterfs-on-centos-6-x/ 本文主要介绍如何在CentOS 6.x上快速安装GlusterFS。GlusterFS是一个开源的分布式文件系统,它可以将分散的存储空间聚合在一起,形成一个虚拟的存储池。它支持横向扩展( 阅读全文
摘要:
[root@localhost yum.repos.d]# wget http://download.gluster.org/pub/gluster/glusterfs/3.6/LATEST/CentOS/glusterfs-epel.repo--2017-07-18 15:46:43-- http 阅读全文
摘要:
法1: list =list(string.lowercase + string.uppercase) + [str(i) for i in range(10)]FH=('!','@','#','$','%','&','_')for f in FH: list.append(f)num = rand 阅读全文
摘要:
实现了python与python程序之间内存的交互 常用场景: 1 把内存的数据写到磁盘 2 socket只能传字符串,二进制,通过序列化 import pickle li = ['alex',11,22,'ok','sb']dumpsed = pickle.dumps(li)print dumps 阅读全文
摘要:
import hashlib hash= hashlib.md5()hash.update('admin')print hash.hexdigest() 阅读全文