<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[米刀文]]></title><description><![CDATA[记下走过的路。。。]]></description><link>https://blog.csdn.net/henulwj</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; henulwj]]></copyright><item><title><![CDATA[Linux下VMware虚拟机网卡不能运行在混杂模式解决办法]]></title><link>https://blog.csdn.net/henulwj/article/details/50347489</link><guid>https://blog.csdn.net/henulwj/article/details/50347489</guid><author>henulwj</author><pubDate>Thu, 17 Dec 2015 22:17:47 +0800</pubDate><description><![CDATA[问题描述 
在Linux如果以普通用户运行VMware Workstations，创建虚拟机后提示如下：  The virtual machine’s operating system has attempted to enable promiscuous mode on adapter ‘Ethernet0’. This is not allowed for security reasons.]]></description><category></category></item><item><title><![CDATA[OpenDayLight+Mininet测试环境搭建]]></title><link>https://blog.csdn.net/henulwj/article/details/50255919</link><guid>https://blog.csdn.net/henulwj/article/details/50255919</guid><author>henulwj</author><pubDate>Thu, 10 Dec 2015 22:29:19 +0800</pubDate><description><![CDATA[测试环境 
VMware Workstations 11  
Ubuntu14.04 Server 
OpenDayLight Lithium SR2 
JDK1.7_79 
mininet-2.2.1-150420-ubuntu-14.04-server-amd64.zip #直接用的官方提供的镜像
搭建 
mininet虚拟机直接使用官方的镜像创建就行 
Opendaylight Lithium]]></description><category></category></item><item><title><![CDATA[Opestack服务开机时开启关闭]]></title><link>https://blog.csdn.net/henulwj/article/details/50241591</link><guid>https://blog.csdn.net/henulwj/article/details/50241591</guid><author>henulwj</author><pubDate>Wed, 09 Dec 2015 21:13:58 +0800</pubDate><description><![CDATA[环境 
Ubuntu14.04+Kilo
问题描述 
关闭neutron-plugin-openvswitch-agent服务，开机也不启动
解决方法 
如果直接使用update-rc.d去关闭不行  Ubuntu 从6.10开始逐步用Upstart代替原来的SysV init。进行服务进程的管理，目前Fedora和Debian也支持Upstart。Upstart采用了完全不同的方式。它要求所有的启]]></description><category></category></item><item><title><![CDATA[ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin]]></title><link>https://blog.csdn.net/henulwj/article/details/50241391</link><guid>https://blog.csdn.net/henulwj/article/details/50241391</guid><author>henulwj</author><pubDate>Wed, 09 Dec 2015 20:58:32 +0800</pubDate><description><![CDATA[环境 
Ubuntu14.04  openstack kilo
admin-openrc.sh
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
ex]]></description><category></category></item><item><title><![CDATA[python-变量作用域]]></title><link>https://blog.csdn.net/henulwj/article/details/50163581</link><guid>https://blog.csdn.net/henulwj/article/details/50163581</guid><author>henulwj</author><pubDate>Thu, 03 Dec 2015 17:17:58 +0800</pubDate><description><![CDATA[对于python变量的作用域跟java、c语言有一些不同。具体表现在：
python能够改变变量作用域的代码段是def、class、lamda.
if/elif/else、try/except/finally、for/while 并不能涉及变量作用域的更改，也就是说他们的代码块中的变量，在外部也是可以访问的
变量搜索路径是：本地变量->全局变量
推荐阅读： 
http://www.crifan.co]]></description><category></category></item><item><title><![CDATA[波斯公主选驸马定律]]></title><link>https://blog.csdn.net/henulwj/article/details/49812791</link><guid>https://blog.csdn.net/henulwj/article/details/49812791</guid><author>henulwj</author><pubDate>Fri, 13 Nov 2015 08:55:24 +0800</pubDate><description><![CDATA[本文转自: 波斯公主选驸马定律 | Kai Zhou’s Blog波斯公主选驸马波斯公主到了适婚年龄，要选驸马。候选男子100名，都是公主没有见过的。百人以随机顺序，从公主面前逐一经过。每当一位男子在公主面前经过时，公主要么选他为驸马，要么不选。如果选他，其余那些还没有登场的男子就都遣散回家，选驸马的活动也over 了。如果不选，当下这名男子就离开，也就是pass 掉此人，下一人登场。被pass 掉]]></description><category></category></item><item><title><![CDATA[import,reload,__import__在python中的区别]]></title><link>https://blog.csdn.net/henulwj/article/details/49175385</link><guid>https://blog.csdn.net/henulwj/article/details/49175385</guid><author>henulwj</author><pubDate>Fri, 16 Oct 2015 10:21:48 +0800</pubDate><description><![CDATA[转自：像风一样自由import
作用：
导入/引入一个python标准模块，其中包括.py文件、带有__init__.py文件的目录。
import module_name[,module1,...]
from module import *|child[,child1,...]
说明：
多次重复使用import语句时，不会重新加载被指定的模块，只是把对该模块的内存地址给引用到本地变量环境。
测试：]]></description><category></category></item><item><title><![CDATA[python-ConfigParser模块学习]]></title><link>https://blog.csdn.net/henulwj/article/details/49174355</link><guid>https://blog.csdn.net/henulwj/article/details/49174355</guid><author>henulwj</author><pubDate>Fri, 16 Oct 2015 09:37:53 +0800</pubDate><description><![CDATA[介绍ConfigParser模块在python中是用来读取配置文件，配置文件的格式跟windows下的ini配置文件相似，可以包含一个或多个节（section），每个节可以有多个参数（键=值）。使用的配置文件的好处就是不用再程序中硬编码，可以是你的程序变得灵活起来。 
注意：在python 3 中ConfigParser模块名已更名为configparser函数
读取配置文件read(filenam]]></description><category></category></item><item><title><![CDATA[tcpdump抓包常见用法]]></title><link>https://blog.csdn.net/henulwj/article/details/49174225</link><guid>https://blog.csdn.net/henulwj/article/details/49174225</guid><author>henulwj</author><pubDate>Fri, 16 Oct 2015 09:02:26 +0800</pubDate><description><![CDATA[常用选项-a —— 将网络地址和广播地址转变成名字 
-d —— 将匹配信息包的代码以人们能够理解的汇编格式给出 
-dd —— 将匹配信息包的代码以c语言程序段的格式给出 
-ddd —— 将匹配信息包的代码以十进制的形式给出 
-e —— 在输出行打印出数据链路层的头部信息 
-f —— 将外部的Internet地址以数字的形式打印出来 
-l —— 使标准输出变为缓冲行形式 
-n —— 不把]]></description><category></category></item><item><title><![CDATA[程序中的除法取余]]></title><link>https://blog.csdn.net/henulwj/article/details/48967979</link><guid>https://blog.csdn.net/henulwj/article/details/48967979</guid><author>henulwj</author><pubDate>Thu, 08 Oct 2015 08:09:17 +0800</pubDate><description><![CDATA[下面八道题，估计很多人会栽在这 
(-7)/3  =  -3 
7/(-3)  =  -3 
(-7)/(-3) =  2 
7/3 =   2(-7)%3 =  2 
7%(-3) =  -2 
(-7)%(-3) =  -1  
7%3 =  1]]></description><category></category></item><item><title><![CDATA[python-字符串拼接]]></title><link>https://blog.csdn.net/henulwj/article/details/48719973</link><guid>https://blog.csdn.net/henulwj/article/details/48719973</guid><author>henulwj</author><pubDate>Fri, 25 Sep 2015 10:57:12 +0800</pubDate><description><![CDATA[Python字符串拼接
用符号拼接
用符号拼接
用join方法拼接
用format方法拼接
用string模块中的Template对象Python字符串拼接在Python的实际开发中，很多都需要用到字符串拼接，Python中字符串拼接有很多，今天总结一下：
用+符号拼接
用%符号拼接
用join()方法拼接
用format()方法拼接
用string模块中的Template对象
如果还有其他方法，欢]]></description><category></category></item><item><title><![CDATA[Liunx-目录配置标准]]></title><link>https://blog.csdn.net/henulwj/article/details/48720137</link><guid>https://blog.csdn.net/henulwj/article/details/48720137</guid><author>henulwj</author><pubDate>Thu, 24 Sep 2015 22:35:31 +0800</pubDate><description><![CDATA[Liunx-目录配置标准]]></description><category></category></item><item><title><![CDATA[Git学习记录]]></title><link>https://blog.csdn.net/henulwj/article/details/47170847</link><guid>https://blog.csdn.net/henulwj/article/details/47170847</guid><author>henulwj</author><pubDate>Thu, 24 Sep 2015 22:15:02 +0800</pubDate><description><![CDATA[之前认真的学过git，最近一直在学习其他的，没怎么用git，都有点生疏了，今天来复习一下git，加之之前学git也没有做笔记
配置git用户信息
$ git config --global user.name "henulwj"
$ git config --global user.email "henulwj@qq.com"
初始化一个git仓库
$ mkdir mygit
$ cd mygit]]></description><category></category></item><item><title><![CDATA[简明Vim练级攻略]]></title><link>https://blog.csdn.net/henulwj/article/details/48597627</link><guid>https://blog.csdn.net/henulwj/article/details/48597627</guid><author>henulwj</author><pubDate>Mon, 21 Sep 2015 09:14:47 +0800</pubDate><description><![CDATA[本文转自酷壳 http://coolshell.cn/articles/5426.htmlvim的学习曲线相当的大（参看各种文本编辑器的学习曲线），所以，如果你一开始看到的是一大堆VIM的命令分类，你一定会对这个编辑器失去兴趣的。下面的文章翻译自《Learn Vim Progressively》，我觉得这是给新手最好的VIM的升级教程了，没有列举所有的命令，只是列举了那些最有用的命令。非常不错。——]]></description><category></category></item><item><title><![CDATA[Vim的分屏功能]]></title><link>https://blog.csdn.net/henulwj/article/details/48597303</link><guid>https://blog.csdn.net/henulwj/article/details/48597303</guid><author>henulwj</author><pubDate>Sun, 20 Sep 2015 15:46:16 +0800</pubDate><description><![CDATA[本文转自酷壳 http://coolshell.cn/articles/1679.html 
本篇文章主要教你如何使用 Vim 分屏功能。   分屏启动Vim使用大写的O参数来垂直分屏。 
vim -On file1 file2 ...
使用小写的o参数来水平分屏。 
vim -on file1 file2 ... 
注释: n是数字，表示分成几个屏。  关闭分屏关闭当前窗口。 
ctrl+w c]]></description><category></category></item><item><title><![CDATA[Linux-mysql忘记root密码]]></title><link>https://blog.csdn.net/henulwj/article/details/48242555</link><guid>https://blog.csdn.net/henulwj/article/details/48242555</guid><author>henulwj</author><pubDate>Sun, 06 Sep 2015 12:23:49 +0800</pubDate><description><![CDATA[长时间未用装有mysql的虚拟机，最近用的时候，忘记mysql的root密码了，然后找了一下解决方案： 
1 . 编辑配置文件my.cnf
  [mysqld] 
  …. 
  skip-grant-tables
2 .     重新启动mysql服务
  service mysql restart
3 . 登录mysql修改root密码#mysql
mysql>use mysql;
mysql>]]></description><category></category></item><item><title><![CDATA[ubuntu14和centos7安装配置mysql]]></title><link>https://blog.csdn.net/henulwj/article/details/48241857</link><guid>https://blog.csdn.net/henulwj/article/details/48241857</guid><author>henulwj</author><pubDate>Sun, 06 Sep 2015 11:26:01 +0800</pubDate><description><![CDATA[ubuntu14安装配置mysql
安装mysql
  apt-get install mariadb-server  #ps:安装过程会提示你输入密码配置mysql 
编辑/etc/mysql/my.cnf文件
[mysqld]
...
bind-address = 10.0.0.11
default-storage-engine = innodb
innodb_file_per_table
co]]></description><category></category></item><item><title><![CDATA[解决xxx is not in the sudoers file.]]></title><link>https://blog.csdn.net/henulwj/article/details/48241373</link><guid>https://blog.csdn.net/henulwj/article/details/48241373</guid><author>henulwj</author><pubDate>Sun, 06 Sep 2015 10:57:03 +0800</pubDate><description><![CDATA[在linux下新建的用户去执行sudo命令时会提示如下错误：
  xxx is not in the sudoers file.This incident will be reported.
要解决该错误很简单：切换到root用户
  sudo root -
修改sudoers文件权限
  chmod u+w /etc/sudoers
编辑sudoers文件
  root ALL=(ALL) ALL]]></description><category></category></item><item><title><![CDATA[Big Endian 和 Little Endian]]></title><link>https://blog.csdn.net/henulwj/article/details/48195237</link><guid>https://blog.csdn.net/henulwj/article/details/48195237</guid><author>henulwj</author><pubDate>Thu, 03 Sep 2015 16:00:19 +0800</pubDate><description><![CDATA[最近看到一篇文章中有涉及大端存储和小段存储，不得其理，只记得本科计算机组成原理中有讲到过，然后就找到一些资料重新学习了一下。起因为什么会出现两种不同的存储方案呢，起因是由于当时CPU在涉及开发时，有两种系列的CPU
PowerPC的CPU
x86的CPU
PowerPC系列采用big endian方式存储数据，而x86系列则采用little endian方式存储数据。那么究竟什么是big endia]]></description><category></category></item><item><title><![CDATA[centos7最小化安装没有pstree]]></title><link>https://blog.csdn.net/henulwj/article/details/48140673</link><guid>https://blog.csdn.net/henulwj/article/details/48140673</guid><author>henulwj</author><pubDate>Mon, 31 Aug 2015 21:47:08 +0800</pubDate><description><![CDATA[最小化安装centos之后，使用pstree显示进程树，提示没有此命令 
原来是没有安装，需要安装psmiscyum install psmisc接下来介绍一下psmisc官方下载地址Psmisc (22.21): 
http://download.sourceforge.net/psmisc/Psmisc的内容Psmisc软件包包含三个帮助管理/proc目录的程序。安装下列程序: fuser, k]]></description><category></category></item></channel></rss>