摘要: liunx dd 读取系统文件生成指定文件大小 阅读全文
posted @ 2016-07-19 23:51 Joelwang 阅读(329) 评论(0) 推荐(0) 编辑
摘要: linux比较普通文件是否完全相同 md5sum file1>f1 md5sum file2>f2 md5sum file1>f1 md5sum file2>f2 比较md5值f1与f2是否相同 windowns比较两个文件是否完全相同 certutil -hashfile filename1 MD 阅读全文
posted @ 2016-07-19 23:40 Joelwang 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://www.cxyteam.com/2015/12/17/siege%E5%8E%8B%E6%B5%8B%E5%B7%A5%E5%85%B7%E7%9A%84%E5%AE%89%E8%A3%85%E4%B8%8E%E4%BD%BF%E7%94%A8/ 阅读全文
posted @ 2016-05-04 13:09 Joelwang 阅读(239) 评论(0) 推荐(0) 编辑
摘要: innobackupex --stream=tar /home/backup | gzip - > date+%F_%H-%S.tar.gz 阅读全文
posted @ 2016-04-08 18:51 Joelwang 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 复制地址:https://www.linuxyw.com/download/xtrabackup.pdf http://www.linuxyw.com Email:63780668@qq.com xtrabackup 对 MySQL 数据库的备份及恢复 此文档,只是简单地研究了下,用于数据库全备和增 阅读全文
posted @ 2016-04-08 18:48 Joelwang 阅读(807) 评论(0) 推荐(0) 编辑
摘要: 1.克隆rally的git仓库到本地 2.切换到rally的目录下,执行bash自动安装脚本 . 在这个步骤中,rally 的安装脚本会自动安装需要的依赖。. 安装完成后,提示如下: 到这里就安装完成了 阅读全文
posted @ 2016-04-06 18:42 Joelwang 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 依次运行以下命令 # -->代表root权限 # vim /var/lib/locales/supported.d/local 将zh_CN GB2312添加进去 #dpkg-reconfigure locales 阅读全文
posted @ 2016-04-05 18:49 Joelwang 阅读(354) 评论(0) 推荐(0) 编辑
摘要: nova boot --flavor m1.small --image a4ff2884-6871-4f08-b9aa-ae2e4f8b112d --block-device source=image,dest=volume,id=11e278ad-4d83-45e7-ab56-1649e5739f0f,bus=ide,type=cdrom,size=1,bootindex=1 --block-... 阅读全文
posted @ 2016-04-01 18:23 Joelwang 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 一行命令升级所有pip安装的Python包 pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -U 建议在执行前先执行: pip install -U distribute 由于使用了mysql-connector-python的包,在安装时要使用 --allow-external mys... 阅读全文
posted @ 2016-03-31 15:10 Joelwang 阅读(9751) 评论(0) 推荐(0) 编辑
摘要: http://bbs.csdn.net/topics/391024072 阅读全文
posted @ 2016-03-30 18:54 Joelwang 阅读(168) 评论(0) 推荐(0) 编辑