<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lan_long840712的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/lan_long840712</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; lan_long840712]]></copyright><item><title><![CDATA[在PC机上运行脚本访问httpd服务器]]></title><link>https://blog.youkuaiyun.com/lan_long840712/article/details/43084997</link><guid>https://blog.youkuaiyun.com/lan_long840712/article/details/43084997</guid><author>lan_long840712</author><pubDate>Sat, 24 Jan 2015 14:13:28 +0800</pubDate><description><![CDATA[﻿﻿
 一、使用的工具：
        安装这个Git-1.8.3-preview20130601.exe工具。这个工具有一个可以执行脚本的bash工具，可以运行各种命令写成的脚本。 
二、脚本的例子：
#! /bin/bash
while((1))
do
        curl http://10.8.1.34/test/1.txt > 1.html
#rm 1.html
]]></description><category></category></item><item><title><![CDATA[在centos上安装http服务器]]></title><link>https://blog.youkuaiyun.com/lan_long840712/article/details/43084995</link><guid>https://blog.youkuaiyun.com/lan_long840712/article/details/43084995</guid><author>lan_long840712</author><pubDate>Sat, 24 Jan 2015 14:13:11 +0800</pubDate><description><![CDATA[﻿﻿
 一、安装方法
    yum install httpd
二、启动http服务器 
    service httpd start 
三、文件放在http服务器的目录。 
    /var/www/html/
可以在html目录下建一个目录，比如test。
例子：

[root@localhost html]# pwd
/var/www/html
[root@loc]]></description><category></category></item><item><title><![CDATA[程序没有收到数据报文]]></title><link>https://blog.youkuaiyun.com/lan_long840712/article/details/43084967</link><guid>https://blog.youkuaiyun.com/lan_long840712/article/details/43084967</guid><author>lan_long840712</author><pubDate>Sat, 24 Jan 2015 14:10:50 +0800</pubDate><description><![CDATA[﻿﻿
 一、问题描述：
在收报回调函数的入口没有收到数据报文，或者只收到一个报文。 

二、解决方法：
1、检查网络端口是否有设置成promisc，如果没有，用命令 ifconfig eth1 promisc，将网口设置成promisc模式（混杂模式）。
2、用工具flow.sh检查程序是否有passby了。如果程序passby，那程序可能是死循环或者死锁了。 
3、如果是在ESXI]]></description><category></category></item><item><title><![CDATA[万兆eth口光纤对接，但指示灯始终不亮。]]></title><link>https://blog.youkuaiyun.com/lan_long840712/article/details/43084963</link><guid>https://blog.youkuaiyun.com/lan_long840712/article/details/43084963</guid><author>lan_long840712</author><pubDate>Sat, 24 Jan 2015 14:10:49 +0800</pubDate><description><![CDATA[﻿﻿
一、 问题描述：
设备的光模块接口插入光纤，模块也换了几个，光纤也换过。但指示灯就是不亮。光纤的接口也掉换过。 

二、问题原因：
eth口没有up。

三、解决方法：
 ifconfig eth1 up
 ifconfig eth2 up
 ifconfig eth3 up
总结，将所有要用的口都up起来。]]></description><category></category></item><item><title><![CDATA[配置开机时将CentOS网口设置成promisc模式]]></title><link>https://blog.youkuaiyun.com/lan_long840712/article/details/43084955</link><guid>https://blog.youkuaiyun.com/lan_long840712/article/details/43084955</guid><author>lan_long840712</author><pubDate>Sat, 24 Jan 2015 14:08:15 +0800</pubDate><description><![CDATA[﻿﻿
 一、描述
       在重启centos系统后，让网口自动为promisc模式

二、方法
      编辑/etc/rc.local文件

[root@localhost etc]# cat rc.local 
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.]]></description><category></category></item><item><title><![CDATA[Mysql启动失败问题解决]]></title><link>https://blog.youkuaiyun.com/lan_long840712/article/details/43084937</link><guid>https://blog.youkuaiyun.com/lan_long840712/article/details/43084937</guid><author>lan_long840712</author><pubDate>Sat, 24 Jan 2015 14:07:17 +0800</pubDate><description><![CDATA[﻿﻿
一、 问题描述：
[root@localhost ~]# service mysqld start 
Another MySQL daemon already running with the same unix socket.
正在启动 mysqld：                                          [失败]

二、解决方法：

#rm /]]></description><category></category></item></channel></rss>