<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Blinux</title> <atom:link href="http://www.nonabyte.net/feed/" rel="self" type="application/rss+xml" /><link>http://www.nonabyte.net</link> <description></description> <lastBuildDate>Mon, 08 Mar 2010 08:50:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Virtualbox 复制vdi文件</title><link>http://www.nonabyte.net/how-to-copy-a-virtualbox-vdi/</link> <comments>http://www.nonabyte.net/how-to-copy-a-virtualbox-vdi/#comments</comments> <pubDate>Mon, 08 Mar 2010 00:58:18 +0000</pubDate> <dc:creator>Blinux</dc:creator> <category><![CDATA[VMware]]></category><guid
isPermaLink="false">http://www.nonabyte.net/?p=777</guid> <description><![CDATA[VirtualBox可不像VMware那样，直接复制虚拟磁盘文件就可以了事的，只因为VirtualBox识别虚拟磁盘文件VDI采用了uuid识别技术.由于测试需要搭建局域网环境，需要两台虚拟机同时运行。当我安装完一个虚拟系统时，我将虚拟磁盘文件复制一份重新创建虚拟系统时提示打开 虚拟硬盘 I:\VMware\VBOX\复件 RHEL5.4\5.04.vdi 失败.<span
class="readmore"><a
href="http://www.nonabyte.net/how-to-copy-a-virtualbox-vdi/" title="Virtualbox 复制vdi文件">阅读全文——共1007字</a></span>]]></description> <content:encoded><![CDATA[<p>VirtualBox可不像VMware那样，直接复制虚拟磁盘文件就可以了事的，只因为VirtualBox识别虚拟磁盘文件VDI采用了uuid识别技术.</p><p>由于测试需要搭建局域网环境，需要两台虚拟机同时运行。当我安装完一个虚拟系统时，我将虚拟磁盘文件复制一份重新创建虚拟系统时提示</p><p><code>打开 虚拟硬盘 I:\VMware\VBOX\复件 RHEL5.4\5.04.vdi 失败.<br
/> Cannot register the hard disk 'I:\VMware\VBOX\复件 RHEL5.4\5.04.vdi' with UUID {24eb969f-8c98-470d-b2dd-35318f2b8860} because a hard disk 'I:\VMware\VBOX\RHEL5.4\5.04.vdi' with UUID {24eb969f-8c98-470d-b2dd-35318f2b8860} already exists in the media registry ('C:\Documents and Settings\<span
class='wp_keywordlink'><a
href="http://www.nonabyte.net/" title="Blinux" target="_blank">Blinux</a></span>\.VirtualBox\VirtualBox.xml').</code></p><p>往Google里找寻了一番，原来Virtualbox的Windows版本也是有VBoxManage命令的.于是我决定给复制的vdi文件重新分配uuid.</p><p><code>C:\Program Files\Sun\VirtualBox&gt;VBoxManage internalcommands setvdiuuid "I:\VMware\VBOX\复件 RHEL5.4\5.04.vdi"<br
/> VirtualBox Command Line Management Interface Version 3.0.12<br
/> (C) 2005-2009 Sun Microsystems, Inc.<br
/> All rights reserved.<br
/> UUID changed to: e68bdb86-bb1f-4ccc-95da-16e9cb7a60e8</code></p><p>接着就可以使用拷贝的vdi文件正常的创建第二台虚拟机了.</p><p>当然你还可以使用Virtualbox自带的克隆vdi文件命令.</p><p><code>C:\Program Files\Sun\VirtualBox&gt;VBoxManage clonehd 'I:\VMware\VBOX\RHEL5.4\5.04.vdi' 'I:\VMware\VBOX\RHEL5.4\5.04.clone.vdi' </code></p><p>注:如果路径中存在空格可以在路径的两端添加引号.</p><ul
class="related_post"><li><a
href="http://www.nonabyte.net/vmware-keyboard-input-problem/" title="VMware键盘输入问题">VMware键盘输入问题</a> (0)</li><li><a
href="http://www.nonabyte.net/vmware-virtual-card-limit-on-the-number-of/" title="vmware虚拟网卡的数量限制">vmware虚拟网卡的数量限制</a> (0)</li><li><a
href="http://www.nonabyte.net/add-vmware-virtual-network-adapter/" title="vmware添加虚拟网卡">vmware添加虚拟网卡</a> (1)</li></ul><hr
/><p>© Blinux for <a
href="http://www.nonabyte.net">Blinux</a>, 2010. | <a
href="http://www.nonabyte.net/how-to-copy-a-virtualbox-vdi/">Permalink</a> | <a
href="http://www.nonabyte.net/how-to-copy-a-virtualbox-vdi/#comments">等你抢沙发</a> |
Add to <a
href="http://del.icio.us/post?url=http://www.nonabyte.net/how-to-copy-a-virtualbox-vdi/&title=Virtualbox 复制vdi文件">del.icio.us</a> |
Post tags: <a
href="http://www.nonabyte.net/tag/vmware/" rel="tag">VMware</a><br/></p>]]></content:encoded> <wfw:commentRss>http://www.nonabyte.net/how-to-copy-a-virtualbox-vdi/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>2010/03测试通过的Godaddy COM,NET域名优惠码</title><link>http://www.nonabyte.net/godaddy-domain-com-net-coupon/</link> <comments>http://www.nonabyte.net/godaddy-domain-com-net-coupon/#comments</comments> <pubDate>Mon, 08 Mar 2010 00:54:39 +0000</pubDate> <dc:creator>Blinux</dc:creator> <category><![CDATA[Godaddy]]></category> <category><![CDATA[godaddy优惠码]]></category><guid
isPermaLink="false">http://www.nonabyte.net/?p=784</guid> <description><![CDATA[这次对Godaddy的一个COM域名和一个NET域名进行了续费，没有使用GoDaddy.com Gift Cards! ,直接用支付宝支付的，毕竟淘宝出售的GoDaddy.com Gift Cards!并不是那么的安全.Godaddy COM 域名续费优惠码:   ZINE7Godaddy NET域名续费优惠码:     gdbb776  (NET域名的续费贵，而且优惠码还不好找)<span
class="readmore"><a
href="http://www.nonabyte.net/godaddy-domain-com-net-coupon/" title="2010/03测试通过的Godaddy COM,NET域名优惠码">阅读全文——共222字</a></span>]]></description> <content:encoded><![CDATA[<p>这次对<span
class='wp_keywordlink'><a
href="http://www.nonabyte.net/godaddy/" title="Godaddy" target="_blank">Godaddy</a></span>的一个COM域名和一个NET域名进行了续费，没有使用<em>GoDaddy</em>.com Gift <em>Cards</em>! ,直接用支付宝支付的，毕竟淘宝出售的<em>GoDaddy</em>.com Gift <em>Cards</em>!并不是那么的安全.</p><p>Godaddy COM 域名续费优惠码:   ZINE7</p><p>Godaddy NET域名续费优惠码:     gdbb776  (NET域名的续费贵，而且优惠码还不好找)</p><p>两个域名续费都是$7.68,按照当天建行的汇率折成人民币￥52.53,还是很不错的.</p><ul
class="related_post"><li><a
href="http://www.nonabyte.net/godaddy-guo-ji-yu-ming-7-zhe-you-hui-ma/" title="godaddy 国际域名7折优惠码">godaddy 国际域名7折优惠码</a> (0)</li><li><a
href="http://www.nonabyte.net/godaddy-discount-codes-20-discount-for-registration-for-two-years/" title="godaddy优惠码：注册两年优惠20%">godaddy优惠码：注册两年优惠20%</a> (0)</li></ul><hr
/><p>© Blinux for <a
href="http://www.nonabyte.net">Blinux</a>, 2010. | <a
href="http://www.nonabyte.net/godaddy-domain-com-net-coupon/">Permalink</a> | <a
href="http://www.nonabyte.net/godaddy-domain-com-net-coupon/#comments">3 评论</a> |
Add to <a
href="http://del.icio.us/post?url=http://www.nonabyte.net/godaddy-domain-com-net-coupon/&title=2010/03测试通过的Godaddy COM,NET域名优惠码">del.icio.us</a> |
Post tags: <a
href="http://www.nonabyte.net/tag/godaddy-promo-codes/" rel="tag">godaddy优惠码</a><br/></p>]]></content:encoded> <wfw:commentRss>http://www.nonabyte.net/godaddy-domain-com-net-coupon/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Blinux回来了</title><link>http://www.nonabyte.net/blinux-back-2/</link> <comments>http://www.nonabyte.net/blinux-back-2/#comments</comments> <pubDate>Mon, 08 Mar 2010 00:38:12 +0000</pubDate> <dc:creator>Blinux</dc:creator> <category><![CDATA[大杂烩]]></category> <category><![CDATA[blinux]]></category><guid
isPermaLink="false">http://www.nonabyte.net/?p=782</guid> <description><![CDATA[终于回来了，不过有点遗憾，没有兑现我在回家咯中回来的时候批量发布文章！的承诺,愧对大家，这里向大家说声对不起.有一件事情没有告诉大家，就是在年前回家之前终于获得了一个RHCE认证，不容易啊.对于本博客，Blinux依然保持主题是关于Wordpress、互联网、实用Linux教程（主要关于Linux服务器，毕竟这不是Linux Blog）<span
class="readmore"><a
href="http://www.nonabyte.net/blinux-back-2/" title="Blinux回来了">阅读全文——共187字</a></span>]]></description> <content:encoded><![CDATA[<p>终于回来了，不过有点遗憾，没有兑现我在<a
title="回家咯" rel="bookmark" href="http://www.nonabyte.net/home-strategy/">回家咯</a>中<span
style="color: #ff0000;">回来的时候批量发布文章！</span>的承诺,愧对大家，这里向大家说声对不起.</p><p>有一件事情没有告诉大家，就是在年前回家之前终于获得了一个RHCE认证，不容易啊.</p><p>对于本博客，<span
class='wp_keywordlink'><a
href="http://www.nonabyte.net/" title="Blinux" target="_blank">Blinux</a></span>依然保持主题是关于Wordpress、互联网、实用Linux教程（主要关于Linux服务器，毕竟这不是Linux Blog）</p><p>谢谢诸位博友对我一贯的支持，谢谢大家.</p><ul
class="related_post"><li><a
href="http://www.nonabyte.net/temporary-stopped-writing/" title="关于Blinux暂时性停笔的那点事">关于Blinux暂时性停笔的那点事</a> (18)</li></ul><hr
/><p>© Blinux for <a
href="http://www.nonabyte.net">Blinux</a>, 2010. | <a
href="http://www.nonabyte.net/blinux-back-2/">Permalink</a> | <a
href="http://www.nonabyte.net/blinux-back-2/#comments">9 评论</a> |
Add to <a
href="http://del.icio.us/post?url=http://www.nonabyte.net/blinux-back-2/&title=Blinux回来了">del.icio.us</a> |
Post tags: <a
href="http://www.nonabyte.net/tag/blinux/" rel="tag">blinux</a><br/></p>]]></content:encoded> <wfw:commentRss>http://www.nonabyte.net/blinux-back-2/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>回家咯</title><link>http://www.nonabyte.net/home-strategy/</link> <comments>http://www.nonabyte.net/home-strategy/#comments</comments> <pubDate>Thu, 28 Jan 2010 01:41:55 +0000</pubDate> <dc:creator>Blinux</dc:creator> <category><![CDATA[大杂烩]]></category><guid
isPermaLink="false">http://www.nonabyte.net/?p=771</guid> <description><![CDATA[终于可以回家咯，估计不少童鞋也开始动身！真是一件美妙的事情啊！一个月后再见,诸位！回来的时候批量发布文章！<span
class="readmore"><a
href="http://www.nonabyte.net/home-strategy/" title="回家咯">阅读全文——共62字</a></span>]]></description> <content:encoded><![CDATA[<p>终于可以回家咯，估计不少<span
class='wp_keywordlink'><a
href="http://www.nonabyte.net/what-is-the-meaning-of-childrens-shoes/" title="童鞋是什么意思" target="_blank">童鞋</a></span>也开始动身！真是一件美妙的事情啊！</p><p>一个月后再见,诸位！</p><p>回来的时候批量发布文章！ <img
src='http://www.nonabyte.net/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /></p><h3  class="related_post_title">随机日志</h3><ul
class="related_post"><li><a
href="http://www.nonabyte.net/add-vmware-virtual-network-adapter/" title="vmware添加虚拟网卡">vmware添加虚拟网卡</a> (1)</li><li><a
href="http://www.nonabyte.net/ozh-better-feed/" title="Ozh&#8217; Better Feed">Ozh&#8217; Better Feed</a> (29)</li><li><a
href="http://www.nonabyte.net/what-is-c2c/" title="什么是C2C">什么是C2C</a> (2)</li><li><a
href="http://www.nonabyte.net/combofix-guide/" title="ComboFix使用指南">ComboFix使用指南</a> (3)</li><li><a
href="http://www.nonabyte.net/kav-and-kis-the-difference-between/" title="kav和kis的区别">kav和kis的区别</a> (0)</li><li><a
href="http://www.nonabyte.net/free-vpn-proxy/" title="免费vpn代理">免费vpn代理</a> (6)</li><li><a
href="http://www.nonabyte.net/adverse-information-monitoring-interception-system/" title="不良信息监控拦截系统">不良信息监控拦截系统</a> (27)</li><li><a
href="http://www.nonabyte.net/wordpress-localization/" title="Wordpress 本土化">Wordpress 本土化</a> (22)</li><li><a
href="http://www.nonabyte.net/paypal-to-freeze-the-causes-and-solutions/" title="paypal冻结原因及解决办法">paypal冻结原因及解决办法</a> (0)</li><li><a
href="http://www.nonabyte.net/cgi-php-error/" title="CGI/PHP程序错误: 该脚本不允许执行">CGI/PHP程序错误: 该脚本不允许执行</a> (0)</li></ul><hr
/><p>© Blinux for <a
href="http://www.nonabyte.net">Blinux</a>, 2010. | <a
href="http://www.nonabyte.net/home-strategy/">Permalink</a> | <a
href="http://www.nonabyte.net/home-strategy/#comments">34 评论</a> |
Add to <a
href="http://del.icio.us/post?url=http://www.nonabyte.net/home-strategy/&title=回家咯">del.icio.us</a> |
Post tags: <br/></p>]]></content:encoded> <wfw:commentRss>http://www.nonabyte.net/home-strategy/feed/</wfw:commentRss> <slash:comments>34</slash:comments> </item> <item><title>无法访问Google Picasa的解决方案</title><link>http://www.nonabyte.net/access-google-picasa/</link> <comments>http://www.nonabyte.net/access-google-picasa/#comments</comments> <pubDate>Thu, 21 Jan 2010 00:39:21 +0000</pubDate> <dc:creator>Blinux</dc:creator> <category><![CDATA[Web]]></category> <category><![CDATA[google]]></category><guid
isPermaLink="false">http://www.nonabyte.net/?p=765</guid> <description><![CDATA[Google Picasa无法访问的现象已经持续很多年了，用代理又嫌太慢，Blinux这里给大家提供一种快速便捷的方法,修改hosts文件.1.Windows平台访问Picasa修改C:\WINDOWS\system32\drivers\etc\hosts文件,将#hosts文件内容中的内容添加进去<span
class="readmore"><a
href="http://www.nonabyte.net/access-google-picasa/" title="无法访问Google Picasa的解决方案">阅读全文——共425字</a></span>]]></description> <content:encoded><![CDATA[<p>Google Picasa无法访问的现象已经持续很多年了，用代理又嫌太慢，<span
class='wp_keywordlink'><a
href="http://www.nonabyte.net/" title="Blinux" target="_blank">Blinux</a></span>这里给大家提供一种快速便捷的方法,修改hosts文件.</p><p><strong>1.Windows平台访问Picasa</strong></p><p>修改C:\WINDOWS\system32\drivers\etc\hosts文件,将<strong>#hosts文件内容</strong>中的内容添加进去</p><p><strong>2.Linux平台访问Picasa</strong></p><p><code><br
/> vim /etc/hosts</code></p><p><strong>#hosts文件内容</strong></p><p><code><br
/> 203.208.39.104 picadaweb.google.com<br
/> 203.208.39.104 lh1.ggpht.com<br
/> 203.208.39.104 lh2.ggpht.com<br
/> 203.208.39.104 lh3.ggpht.com<br
/> 203.208.39.104 lh4.ggpht.com<br
/> 203.208.39.104 lh5.ggpht.com<br
/> 203.208.39.104 lh6.ggpht.com</code></p><p><strong>3.手机平台访问Picasa</strong></p><p>暂时还没有想到,不知道哪位仁兄知道 <img
src='http://www.nonabyte.net/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /></p><ul
class="related_post"><li><a
href="http://www.nonabyte.net/google-502-server-error/" title="Google 502 Server Error">Google 502 Server Error</a> (5)</li><li><a
href="http://www.nonabyte.net/google-chromium-os/" title="Google Chromium OS 亲身体验">Google Chromium OS 亲身体验</a> (18)</li><li><a
href="http://www.nonabyte.net/remove-duplicate-indexed-pages/" title="删除重复收录页面，提高页面相关性">删除重复收录页面，提高页面相关性</a> (23)</li><li><a
href="http://www.nonabyte.net/google-to-send-you-500-rmb-google-adwords/" title="谷歌送您500元Google AdWords广告费（含50元开户费用）">谷歌送您500元Google AdWords广告费（含50元开户费用）</a> (71)</li><li><a
href="http://www.nonabyte.net/google-sou-suo-zhi-de-xin-lai/" title="Google搜索,值得信赖">Google搜索,值得信赖</a> (55)</li><li><a
href="http://www.nonabyte.net/us-digital-millennium-copyright-act/" title="美国数字千年版权法案">美国数字千年版权法案</a> (1)</li><li><a
href="http://www.nonabyte.net/google-account-user-name-change/" title="Google账号 更改用户名">Google账号 更改用户名</a> (0)</li><li><a
href="http://www.nonabyte.net/reasons-can-not-log-on-googlecom/" title="登录不了google.com的原因">登录不了google.com的原因</a> (2)</li></ul><hr
/><p>© Blinux for <a
href="http://www.nonabyte.net">Blinux</a>, 2010. | <a
href="http://www.nonabyte.net/access-google-picasa/">Permalink</a> | <a
href="http://www.nonabyte.net/access-google-picasa/#comments">26 评论</a> |
Add to <a
href="http://del.icio.us/post?url=http://www.nonabyte.net/access-google-picasa/&title=无法访问Google Picasa的解决方案">del.icio.us</a> |
Post tags: <a
href="http://www.nonabyte.net/tag/google/" rel="tag">google</a><br/></p>]]></content:encoded> <wfw:commentRss>http://www.nonabyte.net/access-google-picasa/feed/</wfw:commentRss> <slash:comments>26</slash:comments> </item> <item><title>curl命令查询服务器头信息</title><link>http://www.nonabyte.net/curl-command-queries-the-server-header-information/</link> <comments>http://www.nonabyte.net/curl-command-queries-the-server-header-information/#comments</comments> <pubDate>Wed, 20 Jan 2010 10:28:53 +0000</pubDate> <dc:creator>Blinux</dc:creator> <category><![CDATA[服务器]]></category> <category><![CDATA[服务器迁移]]></category><guid
isPermaLink="false">http://www.nonabyte.net/?p=762</guid> <description><![CDATA[以前作301重定向总是需要寻找301重定向检测网页,如今Linux下的curl命令可以轻松的帮我们查询服务器头信息,告诉我们http返回码Blinux 更换域名,主机迁移至Godaddy检测时用到了这个查询服务器头信息的命令1.blinux.cn 重定向到 www.nonabyte.net<span
class="readmore"><a
href="http://www.nonabyte.net/curl-command-queries-the-server-header-information/" title="curl命令查询服务器头信息">阅读全文——共1357字</a></span>]]></description> <content:encoded><![CDATA[<p>以前作301重定向总是需要寻找301重定向检测网页,如今Linux下的curl命令可以轻松的帮我们查询服务器头信息,告诉我们http返回码</p><p><span
class='wp_keywordlink'><a
href="http://www.nonabyte.net/" title="Blinux" target="_blank">Blinux</a></span> <a
title="更换域名,主机迁移至Godaddy" rel="bookmark" href="http://www.nonabyte.net/replacement-of-domain-names-host-moved-to-godaddy/">更换域名,主机迁移至Godaddy</a>检测时用到了这个查询服务器头信息的命令</p><p><strong>1.blinux.cn 重定向到 www.nonabyte.net</strong></p><p><code><br
/> [root@Blinux ~]# curl -I blinux.cn<br
/> HTTP/1.1 301 Moved Permanently<br
/> Date: Wed, 20 Jan 2010 10:11:47 GMT<br
/> Server: Apache<br
/> Location: http://www.nonabyte.net/<br
/> Content-Type: text/html; charset=iso-8859-1</code></p><p><strong>2.www.blinux.cn 重定向到 www.nonabyte.net</strong></p><p><code><br
/> [root@Blinux ~]# curl -I www.blinux.cn<br
/> HTTP/1.1 301 Moved Permanently<br
/> Date: Wed, 20 Jan 2010 10:11:02 GMT<br
/> Server: Apache/2.2.3 (Red Hat)<br
/> Location: http://www.nonabyte.net/<br
/> Vary: Accept-Encoding<br
/> Connection: close<br
/> Content-Type: text/html; charset=iso-8859-1</code></p><p><strong>3.nonabyte.net 重定向到 www.nonabyte.net</strong></p><p><code><br
/> [root@Blinux ~]# curl -I nonabyte.net<br
/> HTTP/1.1 301 Moved Permanently<br
/> Date: Wed, 20 Jan 2010 10:11:57 GMT<br
/> Server: Apache<br
/> Location: http://www.nonabyte.net/<br
/> Content-Type: text/html; charset=iso-8859-1</code></p><p><strong>4.显示www.nonabyte.net 的http 200 码信息</strong></p><p><code><br
/> [root@Blinux ~]# curl -I www.nonabyte.net<br
/> HTTP/1.1 200 OK<br
/> Date: Wed, 20 Jan 2010 10:12:04 GMT<br
/> Server: Apache<br
/> X-Powered-By: W3 Total Cache/0.8.5.1<br
/> Set-Cookie: PHPSESSID=ee0e895d2a8eec049ed63645df844ecb; path=/<br
/> X-Pingback: http://www.nonabyte.net/xmlrpc.php<br
/> Set-Cookie: wpgb_visit_last_php-default=1263982326; expires=Thu, 20-Jan-2011 10:12:06 GMT; path=/<br
/> Pragma: public<br
/> Expires: Wed, 20 Jan 2010 20:12:08 GMT<br
/> Last-Modified: Wed, 20 Jan 2010 10:12:08 GMT<br
/> Cache-Control: max-age=35999, public, must-revalidate<br
/> Vary: Cookie<br
/> Etag: dca131344b3df2267c70cd82d77e6db3<br
/> Content-Type: text/html; charset=UTF-8</code></p><h3  class="related_post_title">随机日志</h3><ul
class="related_post"><li><a
href="http://www.nonabyte.net/home-strategy/" title="回家咯">回家咯</a> (34)</li><li><a
href="http://www.nonabyte.net/wordpress-related-posts/" title="WordPress Related Posts">WordPress Related Posts</a> (10)</li><li><a
href="http://www.nonabyte.net/163-e-mail-the-failure-of-the-recent-visit/" title="163邮箱近期登陆失败">163邮箱近期登陆失败</a> (23)</li><li><a
href="http://www.nonabyte.net/godaddy-account-the-protection-of-safety-precautions/" title="保护godaddy账号安全注意事项">保护godaddy账号安全注意事项</a> (1)</li><li><a
href="http://www.nonabyte.net/ru-he-qu-xiao-qq-xiao-you-tu-biao/" title="如何取消qq校友图标">如何取消qq校友图标</a> (1)</li><li><a
href="http://www.nonabyte.net/godaddy-discount-codes-20-discount-for-registration-for-two-years/" title="godaddy优惠码：注册两年优惠20%">godaddy优惠码：注册两年优惠20%</a> (0)</li><li><a
href="http://www.nonabyte.net/com-domain-name-e-mail-marketing-templates/" title="com域名邮件推销模板">com域名邮件推销模板</a> (0)</li><li><a
href="http://www.nonabyte.net/delete-revision/" title="Delete revision">Delete revision</a> (14)</li><li><a
href="http://www.nonabyte.net/godaddy-do-not-have-access-to/" title="godaddy无法访问">godaddy无法访问</a> (1)</li><li><a
href="http://www.nonabyte.net/access-google-picasa/" title="无法访问Google Picasa的解决方案">无法访问Google Picasa的解决方案</a> (26)</li></ul><hr
/><p>© Blinux for <a
href="http://www.nonabyte.net">Blinux</a>, 2010. | <a
href="http://www.nonabyte.net/curl-command-queries-the-server-header-information/">Permalink</a> | <a
href="http://www.nonabyte.net/curl-command-queries-the-server-header-information/#comments">13 评论</a> |
Add to <a
href="http://del.icio.us/post?url=http://www.nonabyte.net/curl-command-queries-the-server-header-information/&title=curl命令查询服务器头信息">del.icio.us</a> |
Post tags: <a
href="http://www.nonabyte.net/tag/%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%81%e7%a7%bb/" rel="tag">服务器迁移</a><br/></p>]]></content:encoded> <wfw:commentRss>http://www.nonabyte.net/curl-command-queries-the-server-header-information/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>取消上传目录php脚本执行权限</title><link>http://www.nonabyte.net/cancel-upload-directory-php-script-execute-permissions-apache/</link> <comments>http://www.nonabyte.net/cancel-upload-directory-php-script-execute-permissions-apache/#comments</comments> <pubDate>Mon, 18 Jan 2010 12:35:31 +0000</pubDate> <dc:creator>Blinux</dc:creator> <category><![CDATA[网站安全]]></category> <category><![CDATA[php]]></category><guid
isPermaLink="false">http://www.nonabyte.net/?p=744</guid> <description><![CDATA[一般CMS都支持上传图片、附件等文件,然而这个目录不需要php脚本执行支持,如果你没有加以禁止的话,会给主机带来安全隐患,Blinux的网站曾经遭遇到坏坏注入.今天介绍如何取消apache主机指定目录的php脚本执行权限,注意哦,并非Linux下文件的执行权限x.下面提供几种不同作业环境的解决方案.1.如果你只有编辑.htaccess文件的权限<span
class="readmore"><a
href="http://www.nonabyte.net/cancel-upload-directory-php-script-execute-permissions-apache/" title="取消上传目录php脚本执行权限">阅读全文——共554字</a></span>]]></description> <content:encoded><![CDATA[<p>一般CMS都支持上传图片、附件等文件,然而这个目录不需要php脚本执行支持,如果你没有加以禁止的话,会给主机带来安全隐患,<span
class='wp_keywordlink'><a
href="http://www.nonabyte.net/" title="Blinux" target="_blank">Blinux</a></span>的网站曾经遭遇到坏坏注入.</p><p>今天介绍如何取消apache主机指定目录的php脚本执行权限,注意哦,并非Linux下文件的执行权限x.下面提供几种不同作业环境的解决方案.</p><p><strong>1.如果你只有编辑.htaccess文件的权限</strong></p><p>你可以在上传目录添加一个.htaccess文件,比如在Wordpress的/wp-content/uploads/目录,Discuz的/attachments/目录,.htaccess文件的内容可以是</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>Files  ~  <span style="color: #0000ff;">&quot;.php&quot;</span><span style="color: #339933;">&gt;</span>  
       Order  allow<span style="color: #339933;">,</span>deny  
       Deny  from  all  
       <span style="color: #339933;">&lt;/</span>Files<span style="color: #339933;">&gt;</span></pre></div></div><p>或者是（这个是<a
href="http://ooxx.me">bigcat</a>透露的 <img
src='http://www.nonabyte.net/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> ）</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">RewriteEngine on
RewriteCond <span style="color: #339933;">%</span> <span style="color: #339933;">!</span>^$
RewriteRule \<span style="color: #339933;">.</span><span style="color: #009900;">&#40;</span>php<span style="color: #009900;">&#41;</span>$ <span style="color: #339933;">-</span> <span style="color: #009900;">&#91;</span>F<span style="color: #009900;">&#93;</span></pre></div></div><p><strong>2.如果你有编辑httpd.conf文件的权限</strong></p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>Directory  <span style="color: #339933;">/</span><span style="color: #000000; font-weight: bold;">var</span><span style="color: #339933;">/</span>www<span style="color: #339933;">/</span>bbs<span style="color: #339933;">/</span>attachments<span style="color: #339933;">&gt;</span>  
       <span style="color: #339933;">&lt;</span>Files  ~  <span style="color: #0000ff;">&quot;.php&quot;</span><span style="color: #339933;">&gt;</span>  
       Order  allow<span style="color: #339933;">,</span>deny  
       Deny  from  all  
       <span style="color: #339933;">&lt;/</span>Files<span style="color: #339933;">&gt;</span>  
<span style="color: #339933;">&lt;/</span>Directory<span style="color: #339933;">&gt;</span></pre></div></div><p>注:Blinux有一个论坛,目录为/var/www/bbs/attachments.</p><p>PS:Blinux以前的一个网站遭遇到注入,检查时在图片上传目录找到一个不能显示的“图片”，查之原来是一个asp文件.后来看了相关教程,得知入侵之方法,故出此教程给大家.</p><ul
class="related_post"><li><a
href="http://www.nonabyte.net/ucenter-founder-password-forgotten/" title="Ucenter创始人密码忘记了怎么办">Ucenter创始人密码忘记了怎么办</a> (2)</li><li><a
href="http://www.nonabyte.net/discuz-update-error-config-inc-php/" title="您的config.inc.php文件被覆盖&#8211;Discuz">您的config.inc.php文件被覆盖&#8211;Discuz</a> (0)</li><li><a
href="http://www.nonabyte.net/cgi-php-error/" title="CGI/PHP程序错误: 该脚本不允许执行">CGI/PHP程序错误: 该脚本不允许执行</a> (0)</li><li><a
href="http://www.nonabyte.net/php-online-zip-unzip-program/" title="php在线压缩解压程序">php在线压缩解压程序</a> (39)</li><li><a
href="http://www.nonabyte.net/using-php-remote-network-file-downloaded-to-the-server/" title="用php实现远程网络文件下载到服务器">用php实现远程网络文件下载到服务器</a> (39)</li><li><a
href="http://www.nonabyte.net/wordpress-how-to-deal-with-the-default-admin-account/" title="如何对待WordPress默认账户admin">如何对待WordPress默认账户admin</a> (31)</li><li><a
href="http://www.nonabyte.net/remove-the-background-to-prevent-a-web-site-linked-to-horse-guide/" title="删除管理后台，防止网站挂马指南一">删除管理后台，防止网站挂马指南一</a> (0)</li></ul><hr
/><p>© Blinux for <a
href="http://www.nonabyte.net">Blinux</a>, 2010. | <a
href="http://www.nonabyte.net/cancel-upload-directory-php-script-execute-permissions-apache/">Permalink</a> | <a
href="http://www.nonabyte.net/cancel-upload-directory-php-script-execute-permissions-apache/#comments">16 评论</a> |
Add to <a
href="http://del.icio.us/post?url=http://www.nonabyte.net/cancel-upload-directory-php-script-execute-permissions-apache/&title=取消上传目录php脚本执行权限">del.icio.us</a> |
Post tags: <a
href="http://www.nonabyte.net/tag/php/" rel="tag">php</a>, <a
href="http://www.nonabyte.net/tag/web-site-security/" rel="tag">网站安全</a><br/></p>]]></content:encoded> <wfw:commentRss>http://www.nonabyte.net/cancel-upload-directory-php-script-execute-permissions-apache/feed/</wfw:commentRss> <slash:comments>16</slash:comments> </item> <item><title>制作透明favicon.ico图标</title><link>http://www.nonabyte.net/produce-transparent-favicon-ico-icon/</link> <comments>http://www.nonabyte.net/produce-transparent-favicon-ico-icon/#comments</comments> <pubDate>Fri, 15 Jan 2010 03:01:55 +0000</pubDate> <dc:creator>Blinux</dc:creator> <category><![CDATA[大杂烩]]></category> <category><![CDATA[Web]]></category><guid
isPermaLink="false">http://www.nonabyte.net/?p=723</guid> <description><![CDATA[在线制作favicon.ico图标似乎不能生成透明的,专业制作favicon.ico的小工具不少带有病毒,无奈,难道做个透明的favicon.ico图标就那么难?!WindowsPhotoshop 记得曾今用过它做过,在保存的时候可以选择icon图标,好久没用了<span
class="readmore"><a
href="http://www.nonabyte.net/produce-transparent-favicon-ico-icon/" title="制作透明favicon.ico图标">阅读全文——共672字</a></span>]]></description> <content:encoded><![CDATA[<p>在线制作favicon.ico图标似乎不能生成透明的,专业制作favicon.ico的小工具不少带有病毒,无奈,难道做个透明的favicon.ico图标就那么难?! <img
src='http://www.nonabyte.net/wp-includes/images/smilies/icon_evil.gif' alt=':evil:' class='wp-smiley' /></p><p><strong><span
style="color: #000000;">Windows</span></strong></p><p><span
style="color: #993300;">Photoshop</span> 记得曾今用过它做过,在保存的时候可以选择icon图标,好久没用了</p><p><span
style="color: #993300;">Fireworks</span> 这个软件经常使用,不过它貌似不能制作favicon.ico图标</p><p><strong><span
style="color: #000000;">Linux</span></strong></p><p><strong><span
style="color: #000000;"><span
style="font-weight: normal;"><span
style="color: #993300;">GIMP</span> 嘻嘻,<span
class='wp_keywordlink'><a
href="http://www.nonabyte.net/" title="Blinux" target="_blank">Blinux</a></span>的favicon.ico图标就是用它,直接另存为的.</span></span></strong></p><p>Blinux曾经用png图片来充当favicon.ico图标,也就是让浏览器加载png图片做图标，不过发现很多应用网站加载的是favicon.ico图标,无法加载你申明的png图标</p><p>比如google管理员工具、google reader,甚至是博友的友情链接页面,都是获取favicon.ico.所以不建议使用png做网站图标.</p><p>生成完favicon.ico图标后存放至根目录即可,无需申明.因为这个已经是浏览器界潜规则了.</p><p><strong><span
style="color: #000000;">说点小事情</span></strong></p><p>1.一个月前发现日志里不少关favicon.ico的404错误,原来我在header.php中是这么写的</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>link rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;shortcut icon&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;favicon.ico&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;image/x-icon&quot;</span> <span style="color: #339933;">/&gt;</span></pre></div></div><p>2.接着我换成下面那样,没了404错误</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_home<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;link rel=&quot;shortcut icon&quot; href=&quot;favicon.ico&quot; type=&quot;image/x-icon&quot; /&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p>3.现在我再也不申明了</p><p>越简洁越好,何必没事要增加html的内容呢?</p><p><strong><span
style="color: #000000;">检查你的Blog</span></strong></p><p>不少博友除了首页以外的页面均存在favicon.ico 404 错误</p><p>出现比如类似下面的地址 http://www.nonabyte.net/produce-transparent-favicon-ico-icon/favicon.ico （当然我的已经修改了）</p><ul
class="related_post"><li><a
href="http://www.nonabyte.net/replacement-of-domain-names-host-moved-to-godaddy/" title="更换域名,主机迁移至Godaddy">更换域名,主机迁移至Godaddy</a> (41)</li><li><a
href="http://www.nonabyte.net/access-thunder-true-url/" title="获取迅雷真实下载地址(含Rayfile/快车/超级旋风)">获取迅雷真实下载地址(含Rayfile/快车/超级旋风)</a> (22)</li><li><a
href="http://www.nonabyte.net/baidu-hacked-screenshot/" title="百度被伊朗黑客攻击截图赏析">百度被伊朗黑客攻击截图赏析</a> (10)</li><li><a
href="http://www.nonabyte.net/baidu-restore-access/" title="目前百度已经恢复访问">目前百度已经恢复访问</a> (2)</li><li><a
href="http://www.nonabyte.net/baidu-domain-hijacking/" title="百度无法访问与域名劫持">百度无法访问与域名劫持</a> (4)</li><li><a
href="http://www.nonabyte.net/baidu-com-whois/" title="百度无法打开和whois有关">百度无法打开和whois有关</a> (0)</li><li><a
href="http://www.nonabyte.net/baidu-can-not-access/" title="百度无法访问">百度无法访问</a> (3)</li><li><a
href="http://www.nonabyte.net/youtube-actually-re-opened-the/" title="Youtube竟然解封了">Youtube竟然解封了</a> (22)</li><li><a
href="http://www.nonabyte.net/slow-access-but-soon-download/" title="为什么国外站点访问慢，但下载快">为什么国外站点访问慢，但下载快</a> (31)</li><li><a
href="http://www.nonabyte.net/adverse-information-monitoring-interception-system/" title="不良信息监控拦截系统">不良信息监控拦截系统</a> (27)</li></ul><hr
/><p>© Blinux for <a
href="http://www.nonabyte.net">Blinux</a>, 2010. | <a
href="http://www.nonabyte.net/produce-transparent-favicon-ico-icon/">Permalink</a> | <a
href="http://www.nonabyte.net/produce-transparent-favicon-ico-icon/#comments">16 评论</a> |
Add to <a
href="http://del.icio.us/post?url=http://www.nonabyte.net/produce-transparent-favicon-ico-icon/&title=制作透明favicon.ico图标">del.icio.us</a> |
Post tags: <a
href="http://www.nonabyte.net/tag/web/" rel="tag">Web</a><br/></p>]]></content:encoded> <wfw:commentRss>http://www.nonabyte.net/produce-transparent-favicon-ico-icon/feed/</wfw:commentRss> <slash:comments>16</slash:comments> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 49/113 queries in 1.046 seconds using disk

Served from: ip-97-74-187-97.ip.secureserver.net @ 2010-03-10 13:48:17 -->