自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(161)
  • 资源 (6)
  • 收藏
  • 关注

转载 Pythoner的福利,豆瓣的PyPI源

转 http://www.isaced.com/post-228.htmlPythoner的福利,豆瓣的PyPI源Python下用的最多的包安装工具就是easy_install和pip,但是他们都是从Python官方的Pypi源上寻找并下载资源,由于国内网络原因,有时候连接和速度就不是那么理想,跟淘宝的RubyGems镜像源一样,于是便有了国内的PyPi镜像源,如今天说的豆瓣PyPi镜像。豆瓣PyP

2017-03-27 10:21:16 794

原创 四舍五入

printf sprintf 四舍五入#include<stdio.h>char buf[16]; a=(float)6.66; sprintf(buf,"%.1f",a); printf("%.1f\n",a); printf("%s\n",buf);

2016-10-26 08:55:39 601

转载 Newton Series Release Notes neutron

9.0.0-4 Upgrade NotesA new option ha_keepalived_state_change_server_threads has been added to configure the number of concurrent threads spawned for keepalived server connection requests. Higher value

2016-10-10 11:50:38 1132

原创 iperf

wget http://downloads.es.net/pub/iperf/iperf-3.0.6.tar.gz tar zxvf iperf-3.0.6.tar.gz cd iperf-3.0.6 ./configure make make install

2016-10-09 14:26:17 641

转载 使用 etcdctl

http://www.phperz.com/article/15/0922/158727.html 发布于 2015-09-22 23:32:56 | 626 次阅读 | 评论: 0 | 来源: 网络整理etcdctl 是一个命令行客户端,它能提供一些简洁的命令,供用户直接跟 etcd 服务打交道,而无需基于 HTTP API 方式。这在某些情况下将很方便,例如用户对服务进行测试或者手动修改数据库

2016-10-08 11:38:23 8249

原创 docker 基本使用

DockerfileFROM ip:8080/base/centos6.7-tomcat-7.0.54:1.8MAINTAINER [email protected] rm -rf /etc/yum.repos.d/*ADD http://ip:8080/all.repo /etc/yum.repos.d/all.repoRUN yum clean all && yum instal

2016-09-20 10:15:07 367

原创 u盘 linux 启动盘修复

fdisk /dev/upan d 删除分区格式化

2016-09-08 17:56:21 1339

原创 iptables lokkit

which lokkit /usr/sbin/lokkit

2016-09-01 11:58:50 715

原创 win 10 使用本地代理自动配置pac

win 10 使用本地代理自动配置pac1.修改注册表 以下内容保为pac.reg,双击。或手动修改注册表。Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings]"EnableLegacyAutoPro

2016-09-01 10:18:47 32777

转载 Cobbler全自动批量安装部署Linux系统

http://www.osyunwei.com/archives/7606.html 说明:Cobbler服务器系统:CentOS 5.10 64位IP地址:192.168.21.128需要安装部署的Linux系统:eth0(第一块网卡,用于外网)IP地址段:192.168.21.160-192.168.21.200eth1(第二块网卡,用于内网)IP地址段:10.0.0.160-10.0.0.2

2016-08-19 16:04:18 1276

原创 libvirt error

/etc/init.d/libvirtd start Starting libvirtd daemon: libvirtd: relocation error: libvirtd: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link

2016-08-09 09:59:25 805

转载 Chef 的安装与使用

http://www.ibm.com/developerworks/cn/cloud/library/1407_caomd_chef/Chef 是一款自动化服务器配置管理工具,可以对所管理的对象实行自动化配置,如系统管理,安装软件等。Chef 由三大组件组成:Chef Server、Chef Workstation 和 Chef Node。Chef Server 是核心服务

2016-08-02 17:06:13 1815

转载 使用 Chef 自动化部署一个 Web 服务器

http://www.ibm.com/developerworks/cn/cloud/library/1506_wangqf_chefforweb/index.html“这是一个最好的时代,也是一个最坏的时代。他们都在直奔天堂,而我们都在直奔相反的方向。”“90 后霸道总裁”的超级课程表融资千万美元、WhatsApp 被 Facebook 以 190 亿美元收购……这个时代仿佛

2016-08-02 17:04:48 2968

原创 数字大写

数字大写

2016-08-02 16:38:30 380

原创 chef

1.ERROR: RuntimeError: Please set EDITOR environment variableYou have to define EDITOR as environment variable.Tryexport EDITOR=$(which vi)To persist this, add it to ~/.bashrc or ~/.bash_profile.http:/

2016-08-02 11:09:23 408

原创 t460p

欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl

2016-07-22 08:39:40 908

原创 win7 注册表 分辨率

win7 注册表 分辨率[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\GraphicsDrivers\Configuration]Configuration 重命名[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\GraphicsDrivers\Confi

2016-06-18 21:13:19 6408

原创 rpc

rpctopicdirectfanoutt p  :topic publishert c :topic consumerd p :direct publisherd c :direct consumerf p :fanout publisherf c::fanout consumer

2016-06-13 11:06:53 326

转载 Python装饰器与面向切面编程

Python装饰器与面向切面编程http://www.cnblogs.com/huxi/archive/2011/03/01/1967600.html今天来讨论一下装饰器。装饰器是一个很著名的设计模式,经常被用于有切面需求的场景,较为经典的有插入日志、性能测试、事务处理等。装饰器是解决这类问题的绝佳设计,有了装饰器,我们就可以抽离出大量函数中与函数功能本身无关的

2016-06-06 15:04:01 342

转载 创建随机密码

http://weibo.com/2674868673/Dyd2bucxj?ref=home&rid=2_0_202_2789461781396604288创建随机密码dd if=/dev/urandom  | tr -d -c [:print:] | tr -d " " | dd count=1 bs=20  2> /dev/null;echo ''

2016-06-01 12:47:19 382

原创 centos install ryu

centos install ryuyum install -y gitgit clone git://github.com/osrg/ryu.gitcd ryugit reset --hard  xxxxxxpython setup.py install

2016-05-27 10:55:06 1430

转载 python *args and **kwargs

http://stackoverflow.com/questions/3394835/args-and-kwargsfun(callback, *args, **kwargs)    callback( *args, **kwargs)args :arguments ,tuplekwargs :keyword arguments,dict

2016-05-27 10:54:03 410

转载 数组的完全随机排列

数组的完全随机排列https://www.h5jun.com/post/array-shuffle.htmlArray.prototype.sort 方法被许多 JavaScript 程序员误用来随机排列数组。最近做的前端星计划挑战项目中,一道实现 blackjack 游戏的问题,就发现很多同学使用了 Array.prototype.sort 来洗牌。就连最近一期

2016-05-20 13:54:05 640

原创 crudini

crudini --set /etc/neutron/neutron.conf DEFAULT max_l3_agents_per_router  2crudini --get /etc/neutron/neutron.conf DEFAULT max_l3_agents_per_router

2016-05-16 15:52:10 1062

原创 neutron 更改 dns

neutron subnet-update 3d2a4f5b-a52f-4aba-ae2b-c9be8a3c199b --dns-nameserver 8.8.8.8

2016-04-29 17:20:47 1195

转载 Neutron/L3 High Availability VRRP

https://wiki.openstack.org/wiki/Neutron/L3_High_Availability_VRRPNeutron/L3 High Availability VRRP Neutron目录· 1 Abstract· 2 Use Case· 3 Implementation Overview o 3.1 VIP management

2016-04-29 15:04:41 588

原创 ntp

ntpserveryum install -y ntpvim /etc/ntp.confrestrict 192.168.0.0 mask 255.255.0.0 nomodifyserver 127.127.1.0fudge 127.127.1.0 stratum 8systemctl start ntpd.serviceclien

2016-04-28 17:09:51 406

原创 nova reset-state deleting openstack 删除 虚拟机

nova reset-state c581153e-38e3-4c4c-a13e-7e7e0224e304 --activenova delete c581153e-38e3-4c4c-a13e-7e7e0224e304[root@ctl1 ~(keystone_admin)]# nova list+-----------------------------------

2016-04-28 14:12:52 4003

原创 tee 日志 显示 写文件

teecat xxx |tee -a logfileNAME       tee - read from standard input and write to standard output and filesSYNOPSIS       tee [OPTION]... [FILE]...DESCRIPTION       Co

2016-04-27 10:26:30 2372

原创 yum 下载 源码

yum search yumdownloaderyum-utils.noarch : Utilities based around the yum package manageryum install -y yum-utilsyumdownloader --source keepalived

2016-04-26 15:05:29 504

转载 linux sort 命令详解

http://www.cnblogs.com/51linux/archive/2012/05/23/2515299.htmllinux sort 命令详解sort是在Linux里非常常用的一个命令,管排序的,集中精力,五分钟搞定sort,现在开始!1 sort的工作原理 sort将文件的每一行作为一个单位,相互比较,比较原则是从首字符向后,依次按ASCI

2016-04-25 11:21:46 293

原创 pssh 查看搜索neutron日志

neutron agent-list|grep -v cu01ct011|grep vSwitch|awk '{print $8}' >ser.txtpssh -h ser.txt -l root -i "grep 'too large' /var/log/neutron/ -rn"

2016-04-25 10:52:37 539

原创 centos install pssh

pip install pssh

2016-04-25 10:47:32 1144

原创 centos 7 pip yum

yum search pippython-pip.noarch : A tool for installing and managing Python packagesyum install -y python-pip

2016-04-25 10:46:50 350

原创 centos7 install devstack

centos7 install devstack1. git clone https://git.openstack.org/openstack-dev/devstack2.devstack/tools/create-stack-user.sh3.chown -R stack:stack devstack3.su stack4.cd devstack5.

2016-04-21 10:39:43 2790

转载 探索 OpenStack 之(8):Neutron 深入探索之 OVS + GRE 之 完整网络流程 篇

http://www.cnblogs.com/sammyliu/p/4204190.html探索 OpenStack 之(8):Neutron 深入探索之 OVS + GRE 之 完整网络流程 篇前两篇博文分别研究了Compute节点和Neutron节点内部的网络架构。本文通过一些典型流程案例来分析具体网络流程过程。0. 环境同 学习OpenStack之(7):

2016-04-19 16:08:55 444

转载 Dynamic Routing for External Networks

Dynamic Routing for External NetworksBlueprint LinkThe goal of this blueprint is to add a dynamic routing capability t

2016-04-15 17:47:37 811

转载 Mitaka Series Release Notes

http://docs.openstack.org/releasenotes/neutron/mitaka.htmlMitaka Series Release Notes8.0.0-71Several NICs per physical network can be used with SR-IOV.Bug FixesThe ‘phy

2016-04-15 17:42:49 626

转载 制作L版openstack本地yum源方法

http://blog.csdn.net/wylfengyujiancheng/article/details/500083251、环境准备: 操作系统:CentOS7.1 虚拟机或物理机一台:建议2vcpu+ 2G+内存 10G+硬盘 确保系统能够上网 2、配置缓存 修改/etc/yum.conf [main]cachedir=/var/cach

2016-04-13 16:25:00 2203

转载 制作OpenStack Windows Server 2012镜像

http://blog.csdn.net/wylfengyujiancheng/article/details/50468173一、硬件及软件准备: 1、物理机一台:要求支持硬件虚拟化,将centos7安装在物理机上,如果实在找不到多余的机器可以在windows上安装vmware。然后在vmware上创建centos7的虚拟机。2、windows2012server的I

2016-04-13 16:23:58 1103

SecureCRT_6.5.rar

SecureCRT_6.5.rar

2013-10-15

Greenshot-1.1.5.2643.exe

Greenshot-INSTALLER-1.1.5.2643.exe

2013-10-11

gvim74.exe

gvim74,windows版本的最新版,继2013年7月6号发布Beta版后进行了全面的测试。所以在今天(2013.08.10)发布了vim7.4正式版。

2013-10-11

busybox-1.15.3.tar.bz2

busybox-1.15.3.tar.bz2

2013-07-20

软件架构师的12项修炼

软件架构师 12项修炼 pdf 《软件架构师的12项修炼》将3大方面的软技能分为12项:关系技能包含文雅的举止(在任何环境下都能与人文雅相处的能力)、沟通(与人有效交互的能力)、协商(将事情办成的能力)、领导力(通过施加影响力将事情办成的能力)和政治(“政治场合”与人交互的能力)等5项;个人技能包含透明化(使自我、团队关系和项目透明化的能力)、激情(激发和保护激情的能力)和语境切换(将注意力迅速切换到新语境并保持专注的能力)等3项;商务技能包括商务知识(读懂商务语言的能力和了解产品与顾客的能力)、创新(如何通过学习和思考来创新的能力)、实用主义(抓住关键问题的能力)、认知(认知目标、战略及合作伙伴的能力)等4项。 《软件架构师的12项修炼》不仅帮助软件开发人员系统地学习如何修炼这12项软技能,而且还能让他们进一步理解软件架构师的角色和本质,使他们最终突破技术的“天花板”,成为一名合格的软件架构师。

2013-07-20

4.4BSD-Lite(1).tar.gz

4.4BSD-Lite(1).tar.gz

2012-07-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除