<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>晓风听雨轩</title>
		<link>http://suddymail.org//</link>
		<description>时光流逝，岁月飞沙，记录下的，才是真实的脚印~</description>
		<copyright>Copyright (C) 2004 Security Angel Team [S4T] All Rights Reserved.</copyright>
		<generator>SaBlog-X Version 1.6 Build 20080806</generator>
		<lastBuildDate>Mon, 06 Sep 2010 22:19:28 +0000</lastBuildDate>
		<ttl></ttl>
		<item>
			<guid>http://suddymail.org//show-201-1.html</guid>
			<title>Redhat/CentOS下安装freenx</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>同事推荐谁nomachine nx 不错，记录下安装使用过程。<br />
<br />
freenx是linux下远程X访问的一个服务端程序的开源实现<br />
项目地址：http://freenx.berlios.de<br />
<br />
redhat/centOS下Server端安装相对简单<br />
[code] yum&nbsp;-y&nbsp;groupinstall&nbsp;&quot;KDE&nbsp;(K&nbsp;Desktop&nbsp;Environment)&quot;&nbsp;--nogpgcheck(剽窃某家伙的，安装全套kde环境)<br />
yum install freenx nx [/code]<br />
客户端直接去nomachine nx官方下载他的客户端就可以了：<br />
http://64.34.161.181/download/3.4.0/Windows/nxclient-3.4.0-5.exe<br />
<br />
下载安装</p>
<p>接下来有个关键的地方，需要下载服务器上nx用户下的client.id_dsa.key到客户端进行导入<br />
大致的原因如下：<br />
nxclient通过key认证登录到服务器的nx用户（安装过程自动添加）上。所以本地需要一个私钥来完成这个认证。默认安装freenx的时候会生成一对密钥，公钥已经放入/var/lib/nxserver/home/.ssh/authorized_keys2中，我们需要做的只是把这里面的私钥导入客户端：<br />
configure - general - key - import&nbsp; 选择下载回来的client.id_dsa.key导入即可。<br />
注：如果不行请检查/etc/shadow中的nx用户是否被锁定，如果锁定请解锁即可。<br />
<br />
完成后直接连接，除了默认的KDE比较挫点，别的貌似还不错</p>]]></description>
			<link>http://suddymail.org//show-201-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2009-10-29 15:25</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-196-1.html</guid>
			<title>BT4 硬盘启动initrd.gz更新（bugfix）</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>去除了启动脚本中无用的41apt_cdrom<br />
这个脚本在/cdrom为非光驱的mount的时候没有进行判断，<br />
在使用光盘启动的时候不会有问题，修改为硬盘镜像启动后，<br />
某些时候会导致系统启动过程陷入死循环的等待中。<br />
偷懒没做修改，直接去除，主要是因为更新是的话也是走网络，没有CDROM中读取源。<br />
修正后解决启动时出现死循环黑屏的问题。<br />
详细使用请参考</p>
<p><a href="http://suddymail.org/show-194-1.html">修改initrd实现BackTrack 4 Pre 从硬盘ISO文件启动</a></p>
<p><a href="/attachment.php?id=100">initrd.gz</a></p>]]></description>
			<link>http://suddymail.org//show-196-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2009-08-30 17:38</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-194-1.html</guid>
			<title>修改initrd实现BackTrack 4 Pre 从硬盘ISO文件启动</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>主要实现了BackTrack 4 Pre Release从硬盘ntfs等分区上的ISO启动 <br />
（非安装，直接从iso启动）<br />
并且启动后对系统的修改能够被保存下来<br />
（即：可以和安装的linux一样直接修改密码。update等）</p>
<p>支持自定义ISO路径（不需要在根目录下）</p>
<p>仅需要使用的同学请直接看&ldquo;<strong><font size="5">简单的使用方法</font></strong>&rdquo;一节</p><br /><br /><a href="http://suddymail.org//show-194-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-194-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2009-07-20 06:40</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-186-1.html</guid>
			<title>使用apache做目录加密以及自定义错误页面</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>因为sablogx不能全站加密。手动hack的话比较痛苦，就想到了用空间提供的.htaccess 来做下限制和认证。<br />
<br />
认证很简单.htaccess代码如下：<br />
[code]<br />
AuthType Basic<br />
AuthName &quot;Locked for mood&quot;<br />
AuthUserFile /***/***/***/***/***.***<br />
Require valid-user<br />
[/code]<br />
其中AuthUserFile指向服务器上存放密码的文件。可以用<br />
htpasswd -c filename username 生成<br />
<br />
主要是自定义错误页面碰到了一点问题。因为全站加密，而自定义的错误页面也在该加密目录下，默认情况下如果认证失败，会跳转到401页面，这时候401的那个页面也会要求认证，于是就死循环了。<br />
<br />
后面通过设置401页面单独不用认证来解决。<br />
代码如下：<br />
[code]<br />
ErrorDocument 401 /note.html<br />
<br />
SetEnvIf Request_URI &quot;/note\.html$&quot; allow_all<br />
Order allow,deny<br />
Allow from env=allow_all<br />
Satisfy any <br />
[/code]<br />
<br />
其中 用SetEnvIf给部分的url打上flg，然后设置这部分可以不需要认证。<br />
<br />
参考：<br />
http://www.htaccesselite.com/setenvif-examples-vt141.html</p>]]></description>
			<link>http://suddymail.org//show-186-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2009-03-18 12:44</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-173-1.html</guid>
			<title>CentOS下更换https证书</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>Change ssl key with apache</p>
<p>1. go to /etc/pki/tls/certs<br />
2. make mycert.pem<br />
3. Enter the information about country,state,city,host name etc, your certificate and key has been created .<br />
4.Split mycert.pem into server.crt with CERTIFICATE and server.key with RSA PRIVATE KEY.<br />
5. now go to /etc/httpd/conf.d/ssl.conf and change..<br />
SSLCACertificateFile /etc/pki/tls/certs/server.crt<br />
SSLCACertificateKeyFile /etc/pki/tls/server.key<br />
6. save changes.<br />
7. on shell prompt service httpd start</p>]]></description>
			<link>http://suddymail.org//show-173-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2008-12-25 10:54</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-162-1.html</guid>
			<title>mysql outfile的问题解决</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>最近在ubuntu下测试mysql的outfile什么的。</p>
<p>一直导出到777的目录失败。最后才发现，UBUNTU多了<span class="postbody">apparmor这东西了。-_-!</span></p>
<p>&nbsp;</p><br /><br /><a href="http://suddymail.org//show-162-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-162-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2008-07-30 20:58</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-152-1.html</guid>
			<title>Debian 4.0下安装ythtbbs</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>学校的bbs也转到webfrom了，而我这个痴人却还是想着有遭一日能够有机会恢复逝去的bbs，至少，要让往昔的数据能重现吧。</p>
<p>开始研究ythtbbs</p><br /><br /><a href="http://suddymail.org//show-152-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-152-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2008-04-16 01:08</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-150-1.html</guid>
			<title>[zz]aptitude 使用快速参考</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>aptitude 与 apt-get 一样，是 Debian 及其衍生系统中功能极其强大的包管理工具。与 apt-get 不同的是，aptitude 在处理依赖问题上更佳一些。举例来说，aptitude 在删除一个包时，会同时删除本身所依赖的包。这样，系统中不会残留无用的包，整个系统更为干净。以下是笔者总结的一些常用 aptitude 命令，仅供参考。</p>
<table>
    <tbody>
        <tr>
            <td>命令</td>
            <td>作用</td>
        </tr>
        <tr>
            <td>aptitude update</td>
            <td>更新可用的包列表</td>
        </tr>
        <tr>
            <td>aptitude upgrade</td>
            <td>升级可用的包</td>
        </tr>
        <tr>
            <td>aptitude dist-upgrade</td>
            <td>将系统升级到新的发行版</td>
        </tr>
        <tr>
            <td>aptitude install pkgname</td>
            <td>安装包</td>
        </tr>
        <tr>
            <td>aptitude remove pkgname</td>
            <td>删除包</td>
        </tr>
        <tr>
            <td>aptitude purge pkgname</td>
            <td>删除包及其配置文件</td>
        </tr>
        <tr>
            <td>aptitude search string</td>
            <td>搜索包</td>
        </tr>
        <tr>
            <td>aptitude show pkgname</td>
            <td>显示包的详细信息</td>
        </tr>
        <tr>
            <td>aptitude clean</td>
            <td>删除下载的包文件</td>
        </tr>
        <tr>
            <td>aptitude autoclean</td>
            <td>仅删除过期的包文件</td>
        </tr>
        <tr>
        </tr>
    </tbody>
</table>
<p>当然，你也可以在文本界面模式中使用 aptitude。</p>]]></description>
			<link>http://suddymail.org//show-150-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2008-04-08 02:43</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-123-1.html</guid>
			<title>关于debian下安装旧版软件</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>最近看overflow相关的，实验需要旧版本的libc库</p>
<p>可以使用命令 </p>
<p>apt-get install <var>binary-package</var>=<var>version</var></p>
<p><var>apt-get source <var>package</var>=<var>version</var></var></p>
<p>version来指定版本号。</p>
<p><a href="http://snapshot.debian.net/cgi-bin/packages.cgi">http://snapshot.debian.net/cgi-bin/packages.cgi</a>&nbsp;这个站点收集了满多以前旧包</p>
<p>ps，不过似乎有风险，我安装libc-2.5.1后就把偶的ls啊vm啊什么都干鸟了，郁闷。</p>
<p>so，还是去找个旧版本的redhat好了</p>]]></description>
			<link>http://suddymail.org//show-123-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2007-09-13 15:09</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-120-1.html</guid>
			<title>关于ununtu下用源代码安装wu-ftp的问题</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>因为做The Shellcoder's Handbook实验，要安装wu-ftp 2.6.0</p>
<p>&nbsp;</p><br /><br /><a href="http://suddymail.org//show-120-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-120-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2007-08-13 17:06</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-118-1.html</guid>
			<title>ubuntu下numlock和vim 数字键问题的解决</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[默认用SecureCRT 等连接上的时候numlock是不亮的，而且，在vim里也没办法使用小键盘的数字键。修改后可以了。<br /><br /><a href="http://suddymail.org//show-118-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-118-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2007-08-08 14:04</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-107-1.html</guid>
			<title>关于linux下的一些东东</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>sshd -v 查看ssh服务器版本</p>
<p>netstat -nlp 查看进程端口的对应关系</p>
<p>ps -e 看所有进程，用grep查找</p>
<p>ps -e -f |grep sock 全路径进程查找sock</p>]]></description>
			<link>http://suddymail.org//show-107-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2007-05-28 14:55</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-75-1.html</guid>
			<title>linux下删除子目录里某通配符文件</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>使用命令</p>
<p>find -name '*.txt' |xargs rm -v </p>
<p>find -name '*.txt' 为找出后缀为txt的格式</p>
<p>xargs为重定向输出结果</p>
<p>-v是显示删除的详细结果.</p>]]></description>
			<link>http://suddymail.org//show-75-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2006-10-18 18:17</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-69-1.html</guid>
			<title>Debian Desktop的安装</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>Debian desktop安装过程</p>
<p>记录下。以免忘记</p><br /><br /><a href="http://suddymail.org//show-69-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-69-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2006-08-20 05:15</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-68-1.html</guid>
			<title>[zz]Debian下编译内核</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>关于ubuntu下编译内核的，debian下也适用，转过来记录下。</p><br /><br /><a href="http://suddymail.org//show-68-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-68-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2006-08-20 02:18</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-67-1.html</guid>
			<title>debain 下声卡驱动安装</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[apt-get install alsa-base libasound2-dev alsa-utils<br />然后手动把静音去掉并把音量调大，ok，<br />如果有问题可以参考：<br />http://www.linuxsir.org/bbs/showthread.php?t=242174&amp;highlight=alsa]]></description>
			<link>http://suddymail.org//show-67-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2006-08-17 19:52</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-66-1.html</guid>
			<title>关于debian下某文件缺少某文件查找包的方法</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[关于debian下某文件缺少某文件，需要查找其所需要安装的包的方法<br /><br /><a href="http://suddymail.org//show-66-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-66-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2006-08-17 19:06</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-63-1.html</guid>
			<title>关于Debian下resin的安装</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>记录下安装过程</p><br /><br /><a href="http://suddymail.org//show-63-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-63-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2006-08-14 15:41</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-56-1.html</guid>
			<title>使用grub启动windows</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[<p>同学弄了个6G的硬盘装了debian来学java</p>
<p>安装过程还算顺利，使用官方的源后终于gnome的依赖问题没了。</p>
<p>但是全部完成后。使用grub想进入windows却失败，网络找了下。好象说windows不能在第二硬盘启动？</p>
<p>不知道是不是这个原因。改了下menu.lst后终于成功启动了</p>
<p>有关windows的部分如下：</p>
<p>title Microsoft Windows XP (注:表示Microsoft Windows XP的菜单项) <br />map (hd0) (hd1) (注:map是命令,详细如下) <br />map (hd1) (hd0) <br />root (hd1,0) (注:这是指第二个硬盘(从硬盘)上第一个分区) <br />chainloader (hd1,0)+1 (注:链式装入器,装入一个扇区的数据然后把引导 权交给它。详细说明如下) <br />makeactive <br />boot </p>
<p>自己记录下。 已备后用</p>]]></description>
			<link>http://suddymail.org//show-56-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2006-07-17 03:22</pubDate>
		</item>
		<item>
			<guid>http://suddymail.org//show-54-1.html</guid>
			<title>在debian desktop下构建eclipse+myeclipse环境</title>
			<author>╰☆往事如风</author>
			<description><![CDATA[主要是默认使用apt-get安装eclipse后再安装myeclipse问题的解决<br /><br /><a href="http://suddymail.org//show-54-1.html" target="_blank">阅读全文</a><br /><br />]]></description>
			<link>http://suddymail.org//show-54-1.html</link>
			<category domain="http://suddymail.org//category-6-1.html">Linux学习</category>
			<pubDate>2006-07-12 22:23</pubDate>
		</item>
	</channel>
</rss>
