<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[我不是大神]]></title><description><![CDATA[记录学习与开发的点滴~]]></description><link>https://blog.csdn.net/dashon2011</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; dashon2011]]></copyright><item><title><![CDATA[Wireshark抓包工具使用教程]]></title><link>https://blog.csdn.net/dashon2011/article/details/42261691</link><guid>https://blog.csdn.net/dashon2011/article/details/42261691</guid><author>dashon2011</author><pubDate>Tue, 30 Dec 2014 10:01:08 +0800</pubDate><description><![CDATA[1. 抓包环境搭建

关键需要一个集线器。将入口网线连到集线器，再从集线器分出两条线，一条线连接盒端，一条线连接电脑。
硬件上需要准备的完成后，就可以开始使用wireshark抓包工具抓包。


2. 详细抓包教程

2.1 进入wireshark主菜单

 首先启动程序看到主菜单(图1)
 
图1

界面菜单简单介绍如下：
1. 菜单——用于开始操作。
2. 主工]]></description><category></category></item><item><title><![CDATA[CDN——内容分发网络简介]]></title><link>https://blog.csdn.net/dashon2011/article/details/41800683</link><guid>https://blog.csdn.net/dashon2011/article/details/41800683</guid><author>dashon2011</author><pubDate>Mon, 08 Dec 2014 10:40:49 +0800</pubDate><description><![CDATA[1、CDN概述
CDN的全称是Content Delivery Network，即内容分发网络。其目的是通过在现有的Internet中增加一层新的网络架构，将网站的内容发布到最接近用户的网络"边缘"，使用户可以就近取得所需的内容，解决Internet网络拥塞状况，提高用户访问网站的响应速度。从技术上全面解决由于网络带宽小、用户访问量大、网点分布不均等原因，解决用户访问网站的响应速度慢的根本原因。]]></description><category></category></item><item><title><![CDATA[使用tcpdump和wireshark进行网络抓包与分析]]></title><link>https://blog.csdn.net/dashon2011/article/details/41723959</link><guid>https://blog.csdn.net/dashon2011/article/details/41723959</guid><author>dashon2011</author><pubDate>Thu, 04 Dec 2014 14:54:57 +0800</pubDate><description><![CDATA[网络抓包与分析方法
1、hub+wireshark
使用hub+wireshark抓包保存为文件，然后再使用wireshark来分析。
该方法适用大多数情况。


2、tcpdump+wireshark
在linux下使用tcpdump来抓包非常方便，而且tcpdump也能简单分析。但是最方便还是用wirewhark来分析
抓包命令：
tcpdump -i wlan0 -s 0]]></description><category></category></item><item><title><![CDATA[Linux负载均衡软件LVS之一（概念篇）]]></title><link>https://blog.csdn.net/dashon2011/article/details/41673443</link><guid>https://blog.csdn.net/dashon2011/article/details/41673443</guid><author>dashon2011</author><pubDate>Tue, 02 Dec 2014 08:53:05 +0800</pubDate><description><![CDATA[原创作品，允许转载，转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://ixdba.blog.51cto.com/2895551/552947






一、 LVS简介
LVS是Linux Virtual Server的简称，也就是Linux虚拟服务器, 是一个由章文嵩博士发起的自由软件项目，它的官方站点是www.linuxvirt]]></description><category></category></item><item><title><![CDATA[建立git仓库及同步SDK]]></title><link>https://blog.csdn.net/dashon2011/article/details/41643769</link><guid>https://blog.csdn.net/dashon2011/article/details/41643769</guid><author>dashon2011</author><pubDate>Mon, 01 Dec 2014 10:12:49 +0800</pubDate><description><![CDATA[建立git仓库
服务器:
a@ubuntu:/home/git$ su - git
$ cd /home/prj_git
$ mkdir teamwork.git
$ cd teamwork.git
$ git init --bare


开发者：
若没有git仓库情况下，需要先建立仓库：
cd my_project 
git init 
git add . -f //将]]></description><category></category></item><item><title><![CDATA[git常见操作命令]]></title><link>https://blog.csdn.net/dashon2011/article/details/41643709</link><guid>https://blog.csdn.net/dashon2011/article/details/41643709</guid><author>dashon2011</author><pubDate>Mon, 01 Dec 2014 10:06:28 +0800</pubDate><description><![CDATA[git常见操作命令


在工作目录初始化git仓库
git init


从现有仓库克隆
git clone [url]


查看文件状态
git status


跟踪新文件
git add 


暂存已修改文件
git add


删除暂存文件
git rm --cached


提交修改到仓库
git commit,然后vim提交信息。]]></description><category></category></item><item><title><![CDATA[Linux服务器用户管理]]></title><link>https://blog.csdn.net/dashon2011/article/details/41643535</link><guid>https://blog.csdn.net/dashon2011/article/details/41643535</guid><author>dashon2011</author><pubDate>Mon, 01 Dec 2014 09:55:39 +0800</pubDate><description><![CDATA[服务器开通帐户
增加用户：
adduser username


增加samba用户：
smbpasswd -a username



用户与用户组管理
增加现有用户到指定组：
sudo usermod [username] -G [groupname]


修改用户所属组：
sudo usermod [username] -g [groupname]


]]></description><category></category></item><item><title><![CDATA[svn常用场景命令使用]]></title><link>https://blog.csdn.net/dashon2011/article/details/41643239</link><guid>https://blog.csdn.net/dashon2011/article/details/41643239</guid><author>dashon2011</author><pubDate>Mon, 01 Dec 2014 09:31:34 +0800</pubDate><description><![CDATA[1. svn恢复版本

svn没有恢复旧版本的直接功能，不过可以使用svn merge命令恢复。 

如：把svn 493版本的改动还原到492：
svn up
svn merge -r 492:491
svn ci -m "revert 492 to 491" 


2. svn解决冲突
svn resolve --accept working [filename]

]]></description><category></category></item><item><title><![CDATA[svn prop配置ignore与change log]]></title><link>https://blog.csdn.net/dashon2011/article/details/41643199</link><guid>https://blog.csdn.net/dashon2011/article/details/41643199</guid><author>dashon2011</author><pubDate>Mon, 01 Dec 2014 09:25:57 +0800</pubDate><description><![CDATA[svn prop配置

svn属性配置相关命令
propdel (pdel, pd) 
propedit (pedit, pe)
propget (pget, pg)
proplist (plist, pl)
propset (pset, ps)

1. 配置svn:ignore忽略指定文件
增加：
svn pe svn:ignore packages/amlogic/Lib]]></description><category></category></item><item><title><![CDATA[linux shell 字符串操作（长度、查找、替换）详解]]></title><link>https://blog.csdn.net/dashon2011/article/details/18666651</link><guid>https://blog.csdn.net/dashon2011/article/details/18666651</guid><author>dashon2011</author><pubDate>Wed, 22 Jan 2014 17:03:43 +0800</pubDate><description><![CDATA[注：原文转自http://www.cnblogs.com/chengmo/archive/2010/10/02/1841355.html，仅供学习参考！


在做shell批处理程序时候，经常会涉及到字符串相关操作。有很多命令语句，如：awk,sed都可以做字符串各种操作。 其实shell内置一系列操作符号，可以达到类似效果，大家知道，使用内部操作符会省略启动外部程序等时间，因此速度会非常的]]></description><category></category></item><item><title><![CDATA[shell脚本调试方法]]></title><link>https://blog.csdn.net/dashon2011/article/details/18666521</link><guid>https://blog.csdn.net/dashon2011/article/details/18666521</guid><author>dashon2011</author><pubDate>Wed, 22 Jan 2014 16:58:32 +0800</pubDate><description><![CDATA[在编程过程中难免会出错，有的时候，调试程序比编写程序花费的时间还要多，shell程序同样如此。

shell程序的调试主要是利用bash命令解释程序的选择项。调用bash的形式是：
    bash -选择项 shell程序文件名

几个常用的选择项是：


-e：如果一个命令失败就立即退出
-n：读入命令但是不执行它们
-u：置换时把未设置的变量看作出错
-v：当读入she]]></description><category></category></item><item><title><![CDATA[shell脚本中的 if 判断总结]]></title><link>https://blog.csdn.net/dashon2011/article/details/18666449</link><guid>https://blog.csdn.net/dashon2011/article/details/18666449</guid><author>dashon2011</author><pubDate>Wed, 22 Jan 2014 16:57:21 +0800</pubDate><description><![CDATA[shell脚本中的 if 判断总结


if [ command ];then
   符合该条件执行的语句
  elif [ command ];then
   符合该条件执行的语句
  else
   符合该条件执行的语句
fi


[-d DIR ]     如果DIR存在并且是一个目录则为真 
[ -f FILE ]   如果FILE存在且是一个普通文件则为真 
]]></description><category></category></item><item><title><![CDATA[Android中添加启动脚本]]></title><link>https://blog.csdn.net/dashon2011/article/details/18666113</link><guid>https://blog.csdn.net/dashon2011/article/details/18666113</guid><author>dashon2011</author><pubDate>Wed, 22 Jan 2014 16:46:50 +0800</pubDate><description><![CDATA[Android中添加启动脚本

 
 
Android默认的启动脚本有init.rc init.xxx.rc init.xxx.sh

 
（1）执行特定Linux程序

 
service bin path/bin
service wpa_supplicant /system/bin/wpa_supplicant
 
（2）执行特定脚本
service scriptn]]></description><category></category></item><item><title><![CDATA[Android启动脚本init.rc简介]]></title><link>https://blog.csdn.net/dashon2011/article/details/18664363</link><guid>https://blog.csdn.net/dashon2011/article/details/18664363</guid><author>dashon2011</author><pubDate>Wed, 22 Jan 2014 15:58:35 +0800</pubDate><description><![CDATA[在 Android中使用启动脚本init.rc,可以在系统的初始化过程中进行一些简单的初始化操作。这个脚本被直接安装到目标系统的根文件系统中，被 init可执行程序解析。 init.rc是在init启动后被执行的启动脚本，其语法主要包含了以下内容：
　　Commands：命令
　　Actions： 动作
　　Triggers：触发条件
　　Services：服务
　　Options：选项]]></description><category></category></item><item><title><![CDATA[Android开机执行shell脚本]]></title><link>https://blog.csdn.net/dashon2011/article/details/18663743</link><guid>https://blog.csdn.net/dashon2011/article/details/18663743</guid><author>dashon2011</author><pubDate>Wed, 22 Jan 2014 15:54:06 +0800</pubDate><description><![CDATA[往往需要在Android启动过程中去对系统做一些设置，如修改某些文件夹的属主和文件的权限，可在init.rc中增加service执行shell脚本，从而可在shell脚本中完成大部分操作。


1、在system/bin/下创建一个shell脚本init.mbx.sh，以修改mtd权限为例，内容如下：
#!/system/bin/sh
busybox chmod 666 -R /dev/]]></description><category></category></item><item><title><![CDATA[Linux下压缩工具和压缩算法的比较]]></title><link>https://blog.csdn.net/dashon2011/article/details/17611353</link><guid>https://blog.csdn.net/dashon2011/article/details/17611353</guid><author>dashon2011</author><pubDate>Fri, 27 Dec 2013 14:29:52 +0800</pubDate><description><![CDATA[注：本文转自http://blog.csdn.net/waverider2012/article/details/8514949，仅供学习参考！


压缩工具GZIP，BZIP2和LZMASH的比较：
1. 压缩效率（压缩后的文件越小，效率越高）GZIP 
2. 压缩时间：GZIP 
3. 解压缩时间：GZIP 


参考文献：
A Quick Benchmark: Gzip ]]></description><category></category></item><item><title><![CDATA[uboot启动过程完全分析(mini2440)]]></title><link>https://blog.csdn.net/dashon2011/article/details/14450065</link><guid>https://blog.csdn.net/dashon2011/article/details/14450065</guid><author>dashon2011</author><pubDate>Thu, 07 Nov 2013 13:48:54 +0800</pubDate><description><![CDATA[注：原文转自http://www.cnblogs.com/heaad/archive/2010/07/17/1779829.html。
 
1.1       U-Boot工作过程
 
U-Boot启动内核的过程可以分为两个阶段，两个阶段的功能如下：
       （1）第一阶段的功能
Ø  硬件设备初始化
Ø  加载U-Boot第二阶段代码到RAM空间
Ø  设置好栈
Ø  跳]]></description><category></category></item><item><title><![CDATA[makefile中的phony使用]]></title><link>https://blog.csdn.net/dashon2011/article/details/12968473</link><guid>https://blog.csdn.net/dashon2011/article/details/12968473</guid><author>dashon2011</author><pubDate>Wed, 23 Oct 2013 11:01:44 +0800</pubDate><description><![CDATA[注：转自http://www.2cto.com/os/201109/103587.html
       install:foo
       install   -m  644 foo  /usr/bin
.PHONY: install
 看以上makefile的片段,使用了.PHONY这个目标,下面详细介绍她的用法.
来源:点击打开链接
.PHONY是一个特殊工作目标（specia]]></description><category></category></item><item><title><![CDATA[Makefile与Kconfig和.config使用]]></title><link>https://blog.csdn.net/dashon2011/article/details/12968179</link><guid>https://blog.csdn.net/dashon2011/article/details/12968179</guid><author>dashon2011</author><pubDate>Wed, 23 Oct 2013 10:52:14 +0800</pubDate><description><![CDATA[注：转自http://blog.sina.com.cn/s/blog_4a70d5d90101261k.html

 

内核源码树的目录下都有两个文档 Kconfig （2.4版本是Config.in）和 Makefile。分布到各目录的Kconfig构成了一个分布式的内核配置数据库，每个Kconfig分别描述了所属目录源文档相关的内核配置菜单。

   在内核配置make
 me]]></description><category></category></item><item><title><![CDATA[Android的编译过程(二)]]></title><link>https://blog.csdn.net/dashon2011/article/details/12968107</link><guid>https://blog.csdn.net/dashon2011/article/details/12968107</guid><author>dashon2011</author><pubDate>Wed, 23 Oct 2013 10:48:17 +0800</pubDate><description><![CDATA[注：转自http://www.hackbase.com/tech/2012-05-09/66426.html

通过上篇文章，我们分析了编译android时source build/envsetup.sh和lunch命令，在执行完上述两个命令后， 我们就可以进行编译android了。


1. make

执行make命令的结果就是去执行当前目录下的Makefile文件，我们来看下它]]></description><category></category></item></channel></rss>