<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-29193141</id><updated>2011-11-28T20:59:01.880+08:00</updated><category term='VMware'/><category term='Database'/><category term='Language'/><category term='Linux/Unix'/><category term='Networking'/><category term='Windows'/><category term='SCSA Notes'/><category term='Freeware'/><category term='人生捕手'/><category term='News'/><category term='Funny'/><category term='溫家寶總理'/><category term='Computer'/><title type='text'>Yinux</title><subtitle type='html'>Unix/Linux, my favouries operating systems! i'm lovin'it</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default?start-index=101&amp;max-results=100'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>251</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-29193141.post-236887538353038316</id><published>2011-11-28T20:55:00.000+08:00</published><updated>2011-11-28T20:59:02.016+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Photo</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/-g4dfT4VKpuw/TtOFdevxL0I/AAAAAAAADaY/PGZcInHeY9I/s1600/blog_005.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 213px;" src="http://4.bp.blogspot.com/-g4dfT4VKpuw/TtOFdevxL0I/AAAAAAAADaY/PGZcInHeY9I/s320/blog_005.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5680030296560447298" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-HnXthypbyok/TtOFdD-sb5I/AAAAAAAADaQ/0XdUxaFllCE/s1600/blog_004.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 270px;" src="http://2.bp.blogspot.com/-HnXthypbyok/TtOFdD-sb5I/AAAAAAAADaQ/0XdUxaFllCE/s320/blog_004.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5680030289375293330" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-OOjFUNIRepo/TtOFcxqfG6I/AAAAAAAADaI/hrkbj2MTqOA/s1600/blog_003.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 300px; height: 320px;" src="http://4.bp.blogspot.com/-OOjFUNIRepo/TtOFcxqfG6I/AAAAAAAADaI/hrkbj2MTqOA/s320/blog_003.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5680030284458695586" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-P6YGlFClHg8/TtOFcrA6NII/AAAAAAAADZ4/sVHGaJTWy7k/s1600/blog_002.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 319px; height: 320px;" src="http://2.bp.blogspot.com/-P6YGlFClHg8/TtOFcrA6NII/AAAAAAAADZ4/sVHGaJTWy7k/s320/blog_002.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5680030282673697922" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-Tr9vg3zeEtY/TtOFcSE5AzI/AAAAAAAADZs/W1PMqqmb66s/s1600/blog_006.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 207px; height: 320px;" src="http://4.bp.blogspot.com/-Tr9vg3zeEtY/TtOFcSE5AzI/AAAAAAAADZs/W1PMqqmb66s/s320/blog_006.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5680030275979510578" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-236887538353038316?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/236887538353038316/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=236887538353038316&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/236887538353038316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/236887538353038316'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/photo.html' title='Photo'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-g4dfT4VKpuw/TtOFdevxL0I/AAAAAAAADaY/PGZcInHeY9I/s72-c/blog_005.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3864330368338148070</id><published>2011-11-28T09:12:00.001+08:00</published><updated>2011-11-28T09:12:22.740+08:00</updated><title type='text'>Irina Werning 回到未來</title><content type='html'>&lt;a href="http://unwire.hk/2011/11/27/back-to-the-future/dc/%E6%94%9D%E5%BD%B1/?utm_source=rss&amp;amp;utm_medium=rss&amp;amp;utm_campaign=back-to-the-future"&gt;網絡爆熱相集：Irina Werning 回到未來系列&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-size:13px" href="https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk"&gt;'via Blog this'&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3864330368338148070?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://unwire.hk/2011/11/27/back-to-the-future/dc/%E6%94%9D%E5%BD%B1/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=back-to-the-future' title='Irina Werning 回到未來'/><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3864330368338148070/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3864330368338148070&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3864330368338148070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3864330368338148070'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/irina-werning-unwirehk.html' title='Irina Werning 回到未來'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8501178302387194116</id><published>2011-11-27T12:22:00.002+08:00</published><updated>2011-11-27T12:24:21.121+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Android vs Apple</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/-2yYf-6zyDVE/TtG7QQYqWiI/AAAAAAAADZg/lqvvADE6v0g/s1600/android_kill_apple.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://3.bp.blogspot.com/-2yYf-6zyDVE/TtG7QQYqWiI/AAAAAAAADZg/lqvvADE6v0g/s320/android_kill_apple.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5679526493041613346" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8501178302387194116?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8501178302387194116/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8501178302387194116&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8501178302387194116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8501178302387194116'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/android-vs-apple.html' title='Android vs Apple'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-2yYf-6zyDVE/TtG7QQYqWiI/AAAAAAAADZg/lqvvADE6v0g/s72-c/android_kill_apple.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8595618124457454651</id><published>2011-11-25T22:22:00.003+08:00</published><updated>2011-11-25T22:37:02.786+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Google Inc. Headquarter</title><content type='html'>&lt;a href="http://mw2.google.com/mw-panoramio/photos/small/5188984.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 240px; height: 180px;" src="http://mw2.google.com/mw-panoramio/photos/small/5188984.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://maps.google.co.uk/maps?q=Google+Inc,+Amphitheatre+Parkway,+Mountain+View,+CA,+United+States&amp;amp;hl=en&amp;amp;ll=37.421755,-122.084321&amp;amp;spn=0.004766,0.004823&amp;amp;sll=37.386117,-122.083855&amp;amp;sspn=0.09534,0.198956&amp;amp;vpsrc=6&amp;amp;hq=Google+Inc,+Amphitheatre+Parkway,+Mountain+View,+CA,+United+States&amp;amp;t=h&amp;amp;z=18"&gt;Mountain View&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://maps.google.com/maps?q=google+palo+alto&amp;amp;hl=en&amp;amp;ll=37.421758,-122.084423&amp;amp;spn=0.000539,0.001206&amp;amp;sll=37.422003,-122.084087&amp;amp;layer=c&amp;amp;cid=1017478923201951099&amp;amp;panoid=gVwpJozxRpSOwkwWHyRICQ&amp;amp;cbp=11,243.16,,0,6.35&amp;amp;hq=google+palo+alto&amp;amp;t=h&amp;amp;vpsrc=6&amp;amp;cbll=37.42177,-122.084491&amp;amp;z=20"&gt;1600 Amphitheatre Parkway&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://maps.google.co.uk/maps?q=Google+Inc,+Amphitheatre+Parkway,+Mountain+View,+CA,+United+States&amp;amp;hl=en&amp;amp;ll=37.421755,-122.084321&amp;amp;spn=0.004766,0.004823&amp;amp;sll=37.386117,-122.083855&amp;amp;sspn=0.09534,0.198956&amp;amp;vpsrc=6&amp;amp;hq=Google+Inc,+Amphitheatre+Parkway,+Mountain+View,+CA,+United+States&amp;amp;t=h&amp;amp;z=18"&gt;Photo&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8595618124457454651?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8595618124457454651/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8595618124457454651&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8595618124457454651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8595618124457454651'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/google-inc-headquarter.html' title='Google Inc. Headquarter'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8653271417486144274</id><published>2011-11-23T09:26:00.000+08:00</published><updated>2011-11-23T09:28:37.643+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>BigThing</title><content type='html'>&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/6h5JSojJN3Y?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8653271417486144274?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8653271417486144274/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8653271417486144274&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8653271417486144274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8653271417486144274'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/bigthing.html' title='BigThing'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/6h5JSojJN3Y/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2091256339818422284</id><published>2011-11-18T10:27:00.000+08:00</published><updated>2011-11-18T10:28:39.476+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>打死左</title><content type='html'>&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/Ril3GNAiUpY?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2091256339818422284?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2091256339818422284/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2091256339818422284&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2091256339818422284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2091256339818422284'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/blog-post_18.html' title='打死左'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/Ril3GNAiUpY/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-7657460157913740712</id><published>2011-11-16T21:24:00.003+08:00</published><updated>2011-11-16T21:25:18.043+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Big Mac</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/-uxlUdmS7M28/TsO5uemVXdI/AAAAAAAADZQ/4HhhFNwuzaI/s1600/truly-big-mac.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 251px; height: 320px;" src="http://4.bp.blogspot.com/-uxlUdmS7M28/TsO5uemVXdI/AAAAAAAADZQ/4HhhFNwuzaI/s320/truly-big-mac.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5675584163555925458" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-7657460157913740712?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/7657460157913740712/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=7657460157913740712&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7657460157913740712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7657460157913740712'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/big-mac.html' title='Big Mac'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-uxlUdmS7M28/TsO5uemVXdI/AAAAAAAADZQ/4HhhFNwuzaI/s72-c/truly-big-mac.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3818501594688281155</id><published>2011-11-16T19:53:00.001+08:00</published><updated>2011-11-16T19:53:21.591+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>跟</title><content type='html'>&lt;div&gt;&lt;br/&gt;&lt;img src='http://lh3.ggpht.com/-9ERGfrA2uWo/TsOkLw8o3vI/AAAAAAAADZE/lGNR-oQBZ7g/IMG-20111116-WA0000.png' /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3818501594688281155?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3818501594688281155/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3818501594688281155&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3818501594688281155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3818501594688281155'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/blog-post_16.html' title='跟'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-9ERGfrA2uWo/TsOkLw8o3vI/AAAAAAAADZE/lGNR-oQBZ7g/s72-c/IMG-20111116-WA0000.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5247552728873350697</id><published>2011-11-14T15:09:00.002+08:00</published><updated>2011-11-14T15:11:25.598+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='人生捕手'/><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Network</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/-wybmUOH2oIw/TsC--VkjA2I/AAAAAAAADY8/ksDv86ndEwo/s1600/network.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 112px;" src="http://3.bp.blogspot.com/-wybmUOH2oIw/TsC--VkjA2I/AAAAAAAADY8/ksDv86ndEwo/s320/network.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5674745508638425954" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p class="mobile-photo"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5247552728873350697?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5247552728873350697/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5247552728873350697&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5247552728873350697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5247552728873350697'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/network.html' title='Network'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-wybmUOH2oIw/TsC--VkjA2I/AAAAAAAADY8/ksDv86ndEwo/s72-c/network.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4214593595363398780</id><published>2011-11-09T22:15:00.003+08:00</published><updated>2011-11-09T22:18:38.908+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Stress test MySQL with mysqlslap</title><content type='html'>&lt;a href="http://www.techrepublic.com/blog/howdoi/how-do-i-stress-test-mysql-with-mysqlslap/133"&gt;How do I... Stress test MySQL with mysqlslap? | TechRepublic&lt;/a&gt;: "Stress test MySQL with mysqlslap"&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://dev.mysql.com/doc/refman/5.1/en/mysqlslap.html"&gt;http://dev.mysql.com/doc/refman/5.1/en/mysqlslap.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Example:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;$ mysqlslap -a –concurrency=50,100 –number-of-queries 1000 –iterations=5 –engine=myisam,innodb –debug-info&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Benchmark&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Running for engine myisam&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Average number of seconds to run all queries: 0.200 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Minimum number of seconds to run all queries: 0.188 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Maximum number of seconds to run all queries: 0.210 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Number of clients running queries: 50&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Average number of queries per client: 20&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Benchmark&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Running for engine myisam&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Average number of seconds to run all queries: 0.238 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Minimum number of seconds to run all queries: 0.228 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Maximum number of seconds to run all queries: 0.251 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Number of clients running queries: 100&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Average number of queries per client: 10&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Benchmark&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Running for engine innodb&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Average number of seconds to run all queries: 0.375 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Minimum number of seconds to run all queries: 0.370 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Maximum number of seconds to run all queries: 0.379 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Number of clients running queries: 50&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Average number of queries per client: 20&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Benchmark&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Running for engine innodb&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Average number of seconds to run all queries: 0.443 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Minimum number of seconds to run all queries: 0.440 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Maximum number of seconds to run all queries: 0.447 seconds&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Number of clients running queries: 100&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Average number of queries per client: 10&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;User time 2.83, System time 1.66&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Maximum resident set size 0, Integral resident set size 0&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Non-physical pagefaults 34692, Physical pagefaults 0, Swaps 0&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Blocks in 0 out 0, Messages in 0 out 0, Signals 0&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Voluntary context switches 87306, Involuntary context switches 10326&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4214593595363398780?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.techrepublic.com/blog/howdoi/how-do-i-stress-test-mysql-with-mysqlslap/133' title='Stress test MySQL with mysqlslap'/><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4214593595363398780/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4214593595363398780&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4214593595363398780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4214593595363398780'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/stress-test-mysql-with-mysqlslap.html' title='Stress test MySQL with mysqlslap'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-584079502994542605</id><published>2011-11-09T22:10:00.002+08:00</published><updated>2011-11-09T22:12:33.129+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>MySQL Tuning Script</title><content type='html'>&lt;h1 id="title" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-family: arial, verdana, sans-serif; font-weight: 400; font-size: 19px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;&lt;a href="http://www.howtoforge.com/tuning-mysql-performance-with-mysqltuner"&gt;Tuning MySQL Performance with MySQLTuner&lt;/a&gt;&lt;/h1&gt;&lt;div&gt;&lt;a href="http://mysqltuner.pl/mysqltuner.pl"&gt;http://mysqltuner.pl/mysqltuner.pl&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-584079502994542605?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://mysqltuner.pl/mysqltuner.pl' title='MySQL Tuning Script'/><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/584079502994542605/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=584079502994542605&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/584079502994542605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/584079502994542605'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/mysql-tuning-script.html' title='MySQL Tuning Script'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4492776004788086850</id><published>2011-11-09T14:06:00.004+08:00</published><updated>2011-11-09T14:09:21.134+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><title type='text'>Firefox 8 超快速啟動瀏覽器不再拖拉，但你要懂得設定！ | 電腦玩物</title><content type='html'>&lt;a href="http://playpcesor.blogspot.com/2011/11/firefox-8.html"&gt;Firefox 8 超快速啟動瀏覽器不再拖拉，但你要懂得設定！ | 電腦玩物&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p  font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;Firefox 8在今天凌晨的時候正式在官方網站發佈了！在&lt;a href="http://playpcesor.blogspot.com/2011/09/firefox-7.html" target="_blank" style="text-decoration: none; color: rgb(34, 136, 187); "&gt;Firefox 7&lt;/a&gt;的時候因為大幅更新引擎，所以讓火狐的速度有了非常明顯的提昇，效能也變得更好，而到了Firefox 8，Mozilla團隊著重在一些細節上繼續優化瀏覽器的執行效能。&lt;/p&gt;&lt;p  font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;除了針對新網路技術的支援、BUG修復以及基本效能優化外，在Firefox 8的更新中有幾個值得注意的地方，首先是現在Firefox會幫妳自動擋住其他軟體想要直接安裝到你瀏覽器中的套件，&lt;a href="http://playpcesor.blogspot.com/2011/04/firefox-10.html" target="_blank" style="text-decoration: none; color: rgb(34, 136, 187); "&gt;常常這些套件就是拖慢你速度的元兇&lt;/a&gt;。&lt;/p&gt;&lt;p ; font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;&lt;strong&gt;但更重要的功能則是要「&lt;span&gt;讓你的Firefox瞬間啟動&lt;/span&gt;」，怎麼做到呢？&lt;span&gt;Firefox 8&lt;/span&gt;&lt;/strong&gt;提出來的方法就是，&lt;u&gt;一啟動時只會載入當下那個分頁（以及釘選成應用程式的分頁），其他分頁要等你選擇時才會載入！&lt;/u&gt;之前Firefox 7時已經針對啟動速度做過優化，原本的方法是開啟瀏覽器後陸續自動載入其他分頁，但這樣的方法對有些用戶來說可能還不夠快，因此在Firefox 8中加入了新的作法。&lt;/p&gt;&lt;a name="more"  font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;&lt;/a&gt;&lt;p  font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt; &lt;/p&gt;&lt;blockquote  font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;&lt;p&gt;&lt;strong&gt;不過，很多朋友在介紹Firefox 8新功能時，對這個「加快啟動速度（開啟時自訂回復分頁）」的新功能都語焉不詳，所以我覺得有必要單獨來好好介紹一下。&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p  font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt; &lt;/p&gt;&lt;p  font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;這個功能到底是什麼？&lt;strong&gt;&lt;span&gt;首先，你直接升級後並不會開啟這個功能！&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p  font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;&lt;strong&gt;你必須到「選項」－「一般」頁面中，在「當Firefox啟動時」選擇【顯示上次瀏覽的視窗與分頁】，然後勾選「在選擇前不要載入分頁」，&lt;/strong&gt;這樣設定後，你才能真正享受到Firefox 8開始的啟動加速功能。&lt;/p&gt;&lt;p  font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;以後當你打開Firefox，就會自動還原之前關閉時的所有分頁的「樣子」而已，但是！這時候其他分頁都不會先載入，只會「真的載入」你當下所在的分頁，以及放在最前端的釘選成應用程式分頁。&lt;/p&gt;&lt;p font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;一直到你去點開其他分頁，才會載入這些分頁！如果你一直都不需要點開其他分頁來看，那麼它們就永遠不會載入。&lt;/p&gt;&lt;p font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 18px; line-height: 24px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;而這個方法確實能夠讓你瞬間開啟瀏覽器，大家要記得先做好設定，然後才能真的體驗到新功能的好處喔！&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4492776004788086850?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://playpcesor.blogspot.com/2011/11/firefox-8.html' title='Firefox 8 超快速啟動瀏覽器不再拖拉，但你要懂得設定！ | 電腦玩物'/><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4492776004788086850/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4492776004788086850&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4492776004788086850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4492776004788086850'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/firefox-8.html' title='Firefox 8 超快速啟動瀏覽器不再拖拉，但你要懂得設定！ | 電腦玩物'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5206642838751791988</id><published>2011-11-05T08:16:00.005+08:00</published><updated>2011-11-05T08:44:19.918+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><title type='text'>日本超級電腦「京」</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/-xgm8TJT4VDk/TrSG2vnd22I/AAAAAAAADYk/6QFDCiHVPlo/s1600/13206274795272652005_m.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 230px; height: 172px;" src="http://2.bp.blogspot.com/-xgm8TJT4VDk/TrSG2vnd22I/AAAAAAAADYk/6QFDCiHVPlo/s320/13206274795272652005_m.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5671306105819356002" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://news.pchome.com.tw/science/ithome/20111107/index-13206274795272652005.html"&gt;日本超級電腦「京」首創10PFLOPS世界紀錄&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="color: rgb(76, 76, 76); font-family: Arial; line-height: 30px; "&gt;「京」在今年6月已取得世界超級電腦TOP500第一名的成績，當時最高運算效能為8.162PFLOPS，現在更進一步通過LINPACK效能測試，成為世界首部運算效能超過10PFLOPS的超級電腦。&lt;/span&gt;  &lt;span class="Apple-style-span" style="color: rgb(76, 76, 76); font-family: Arial; line-height: 30px; "&gt;日本獨立行政法人理化學研究所與富士通共同宣布，由日本政府支援合作研發的超級電腦「京」已通過LINPACK效能測試，成為世界第一部運算效能超過10PFLOPS的京速超級電腦。&lt;/span&gt;  &lt;span class="Apple-style-span" style="color: rgb(76, 76, 76); font-family: Arial; line-height: 30px; "&gt;「京」在今年6月已取得世界超級電腦TOP500第一名的成績，當時最高運算效能為8.162PFLOPS，而目前更加進化的「京」是由8萬8128個CPU與864個2公尺高機箱組成，理論運算效能11.28 PFLOPS，LINPACK效能測試最高運算效能為10.51 PFLOPS，實際執行效率93.2%，連續運作無故障紀錄為29小時28分，證明京在高速運算下仍能保持系統穩定。&lt;/span&gt;  &lt;span class="Apple-style-span" style="color: rgb(76, 76, 76); font-family: Arial; line-height: 30px; "&gt;理研表示，京的模擬精度與計算速度對各種計算科學領域的相關研發均有極大助益，例如生命科學與醫療研發、新物質與新能源研發、地質與氣象變動模擬預測、次世代高科技研發等。&lt;/span&gt;  &lt;span class="Apple-style-span" style="color: rgb(76, 76, 76); font-family: Arial; line-height: 30px; "&gt;日本政府已提撥超過1100億日圓研發「京」，後續研發項目預定為系統分割穩定度測試、軟體相容性測試等，最快在2012年11月就可提供日本國內各研究單位使用。目前規劃的使用方式分為免費與付費兩種，前者必須公開研究成果，後者則可自由選擇公開與否。&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5206642838751791988?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5206642838751791988/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5206642838751791988&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5206642838751791988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5206642838751791988'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/blog-post_05.html' title='日本超級電腦「京」'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-xgm8TJT4VDk/TrSG2vnd22I/AAAAAAAADYk/6QFDCiHVPlo/s72-c/13206274795272652005_m.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2995403831444647763</id><published>2011-11-03T19:30:00.003+08:00</published><updated>2011-11-04T09:21:05.602+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='人生捕手'/><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>日做夜做</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/-ubEwcdujLWw/TrM9_D_gmqI/AAAAAAAADXk/HdjvM944vn8/s1600/IMG-20111103-WA0001.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 293px; height: 134px;" src="http://2.bp.blogspot.com/-ubEwcdujLWw/TrM9_D_gmqI/AAAAAAAADXk/HdjvM944vn8/s320/IMG-20111103-WA0001.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5670944509402323618" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2995403831444647763?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2995403831444647763/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2995403831444647763&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2995403831444647763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2995403831444647763'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/blog-post.html' title='日做夜做'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-ubEwcdujLWw/TrM9_D_gmqI/AAAAAAAADXk/HdjvM944vn8/s72-c/IMG-20111103-WA0001.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-7042426242244450996</id><published>2011-11-03T16:48:00.001+08:00</published><updated>2011-11-03T16:50:50.218+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Terrorist</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/-KWCynflVwqs/TrJV02JivxI/AAAAAAAADWc/kPmqKh3hGrk/s1600/terrorist_cat.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 313px; height: 320px;" src="http://2.bp.blogspot.com/-KWCynflVwqs/TrJV02JivxI/AAAAAAAADWc/kPmqKh3hGrk/s320/terrorist_cat.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5670689247189974802" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-7042426242244450996?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/7042426242244450996/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=7042426242244450996&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7042426242244450996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7042426242244450996'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2011/11/terrorist.html' title='Terrorist'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-KWCynflVwqs/TrJV02JivxI/AAAAAAAADWc/kPmqKh3hGrk/s72-c/terrorist_cat.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-1672182910287282722</id><published>2009-04-20T11:02:00.003+08:00</published><updated>2009-04-20T11:09:23.959+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>tar Directory Structure</title><content type='html'>tar cf dirs.tar --no-recursion --files-from &lt;( find . -type d )&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-1672182910287282722?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/1672182910287282722/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=1672182910287282722&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1672182910287282722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1672182910287282722'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2009/04/tar-directory-structure.html' title='tar Directory Structure'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6863235690608735915</id><published>2009-02-11T21:21:00.000+08:00</published><updated>2009-02-11T21:22:09.640+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Speed up your system by avoiding the swap file</title><content type='html'>Check system swappiness value by running:&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;cat /proc/sys/vm/swappiness&lt;/span&gt;&lt;br /&gt;#100 means that programs will be swapped to disk almost instantly&lt;br /&gt;#0 means that the disk will be avoided unless absolutely necessary&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To change the system swappiness value,&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;vi /etc/sysctl.conf&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;vm.swappiness = 15&lt;/span&gt;&lt;br /&gt;# The swap file will then only be used when my RAM usage is around 85%&lt;br /&gt;&lt;br /&gt;Then reboot for the change to take effect.&lt;br /&gt;Change the value while your system is still running: &lt;span style="color: rgb(255, 102, 0);"&gt;sysctl vm.swappiness=15&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6863235690608735915?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6863235690608735915/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6863235690608735915&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6863235690608735915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6863235690608735915'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2009/02/speed-up-your-system-by-avoiding-swap.html' title='Speed up your system by avoiding the swap file'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6996411037560498263</id><published>2008-12-29T16:24:00.003+08:00</published><updated>2008-12-29T16:28:29.498+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Memory Checking</title><content type='html'>Check current ram&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;cat /proc/meminfo | grep MemTotal&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check maximum RAM supported&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;dmidecode -t 16&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check the number of slots available for expansion&lt;br /&gt;&lt;code style="color: rgb(255, 102, 0);"&gt;dmidecode -t 17 | grep Size&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6996411037560498263?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6996411037560498263/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6996411037560498263&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6996411037560498263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6996411037560498263'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/12/memory.html' title='Memory Checking'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8050908492230131395</id><published>2008-12-15T11:48:00.001+08:00</published><updated>2008-12-15T11:48:51.246+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>解决 umount時出現的 “Device is busy”</title><content type='html'>fuser可以顯示出當前哪個程序在使用磁盤上的某個文件、掛載點、甚至網路端口，並給出程序進程的詳細訊息。&lt;br /&gt;&lt;br /&gt;假設無法卸載的設備為/media/USB，運行下列命令即可：&lt;br /&gt;$ fuser -m -v /media/USB/&lt;br /&gt;                                  用戶進程號權限命令&lt;br /&gt;/media/BAK/: galeki 335 ..c.. gqview&lt;br /&gt;&lt;br /&gt;-m 參數顯示所有使用指定文件系統的進程，後面可以跟掛載點，或是dev設備( Thanks lisir :)，-v參數給出詳細的輸出，可以看出，原來是gqview這個程序還在霸占著移動設備，fuser還給出了程序的進程號，知道了進程號，你就可以隨便 怎麼處置這個程序了。&lt;br /&gt;&lt;br /&gt;另外你也可以添加一個-k參數：&lt;br /&gt;fuser -m -k /media/USB/&lt;br /&gt;&lt;br /&gt;這招自動把霸佔著/media/USB/的程序殺死。如果你不是很明確是否要殺死所有霸佔設備的程序，你還可以加一個-i參數，這樣每殺死一個程序前，都會詢問：&lt;br /&gt;$ fuser -m -v -i -k /media/BAK/&lt;br /&gt;                                  用戶進程號權限命令&lt;br /&gt;/media/BAK/: galeki 371 ..c.. gqview&lt;br /&gt;殺死進程371 ? (y/N)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8050908492230131395?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8050908492230131395/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8050908492230131395&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8050908492230131395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8050908492230131395'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/12/umount-device-is-busy.html' title='解决 umount時出現的 “Device is busy”'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-1419731186205759761</id><published>2008-12-10T22:23:00.002+08:00</published><updated>2008-12-10T22:24:47.247+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><title type='text'>檢查 IP 連線數量及封鎖 IP</title><content type='html'>封鎖 IP&lt;br /&gt;iptables -A INPUT -p all -s 1.2.3.4/32 -j DROP&lt;br /&gt;&lt;br /&gt;解除封鎖 IP&lt;br /&gt;iptables -D INPUT -p all -s 1.2.3.4/32 -j DROP&lt;br /&gt;&lt;br /&gt;列出最多連接數的 5 個 IP 及其連接數，其中 ":80" 是連接埠號，可改成想要檢查的埠號&lt;br /&gt;netstat -atnp -A inet | grep ":80" | awk -F " " '{print $5} ' | awk -F ":" '{print $1}' | sort | uniq -c | sort -nr | head -5&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-1419731186205759761?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/1419731186205759761/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=1419731186205759761&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1419731186205759761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1419731186205759761'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/12/ip-ip.html' title='檢查 IP 連線數量及封鎖 IP'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4575546505122137237</id><published>2008-12-09T19:45:00.000+08:00</published><updated>2008-12-09T19:47:04.594+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>安安 咬人</title><content type='html'>&lt;object width="400" height="250"&gt;&lt;param name="movie" value="http://www.youtube.com/v/GY4bWo-0FSA&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/GY4bWo-0FSA&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="250"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4575546505122137237?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4575546505122137237/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4575546505122137237&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4575546505122137237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4575546505122137237'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/12/blog-post_09.html' title='安安 咬人'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5482435968802874145</id><published>2008-12-09T19:44:00.000+08:00</published><updated>2008-12-09T19:45:18.527+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>義犬冒死拖走屍體</title><content type='html'>&lt;object width="400" height="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/hS-J20T6EqE&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/hS-J20T6EqE&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="400" height="320"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5482435968802874145?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5482435968802874145/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5482435968802874145&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5482435968802874145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5482435968802874145'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/12/blog-post.html' title='義犬冒死拖走屍體'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6380925300015963650</id><published>2008-12-08T22:04:00.001+08:00</published><updated>2008-12-08T22:04:58.896+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Lady Spins on an Escalator</title><content type='html'>&lt;object width="400" height="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/bZYuRk1pFO0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/bZYuRk1pFO0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="400" height="320"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6380925300015963650?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6380925300015963650/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6380925300015963650&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6380925300015963650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6380925300015963650'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/12/lady-spins-on-escalator.html' title='Lady Spins on an Escalator'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8032656384134954159</id><published>2008-12-08T22:01:00.000+08:00</published><updated>2008-12-08T22:02:15.681+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Roomba Driver</title><content type='html'>&lt;object width="400" height="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/LQ-jv8g1YVI&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/LQ-jv8g1YVI&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="400" height="320"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8032656384134954159?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8032656384134954159/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8032656384134954159&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8032656384134954159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8032656384134954159'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/12/roomba-driver.html' title='Roomba Driver'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2741443314893613531</id><published>2008-12-08T21:58:00.001+08:00</published><updated>2008-12-08T21:58:53.778+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Popcorn</title><content type='html'>&lt;object width="400" height="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/tRzTfgds0UI&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/tRzTfgds0UI&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="400" height="320"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2741443314893613531?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2741443314893613531/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2741443314893613531&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2741443314893613531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2741443314893613531'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/12/popcorn.html' title='Popcorn'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6735453758621978600</id><published>2008-11-11T22:53:00.001+08:00</published><updated>2008-11-11T22:54:49.697+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Change default desktop or display manager</title><content type='html'>vi /etc/sysconfig/desktop&lt;br /&gt;&lt;br /&gt;Display manager can be any one of the following:&lt;br /&gt;[a] gnome (gdm)&lt;br /&gt;[b] kde (kdm)&lt;br /&gt;[c] xdm (xdm)&lt;br /&gt;&lt;br /&gt;Desktop can be any one of the following&lt;br /&gt;[a] KDE&lt;br /&gt;[b] GNOME&lt;br /&gt;[c] XFCE&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;switchdesk kde&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6735453758621978600?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6735453758621978600/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6735453758621978600&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6735453758621978600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6735453758621978600'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/11/change-default-desktop-or-display.html' title='Change default desktop or display manager'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-9145526177480942869</id><published>2008-10-09T22:15:00.000+08:00</published><updated>2008-10-09T22:17:14.112+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VMware'/><title type='text'>Enable SSH in VMware ESXi</title><content type='html'>1.  Go to the ESXi console and press alt+F1&lt;br /&gt;   2. Type: unsupported&lt;br /&gt;   3. Enter the root password&lt;br /&gt;   4. At the prompt type “vi /etc/inetd.conf”&lt;br /&gt;   5. Look for the line that starts with “#ssh” (you can search with pressing “/”)&lt;br /&gt;   6. Remove the “#” (press the “x” if the cursor is on the character)&lt;br /&gt;   7. Save “/etc/inetd.conf” by typing “:wq!”&lt;br /&gt;   8. Restart the management service “/sbin/services.sh restart”&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-9145526177480942869?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/9145526177480942869/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=9145526177480942869&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/9145526177480942869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/9145526177480942869'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/10/enable-ssh-in-vmware-esxi.html' title='Enable SSH in VMware ESXi'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-7024959162090868758</id><published>2008-09-09T22:08:00.000+08:00</published><updated>2008-09-09T22:09:22.353+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux renew (DHCP) IP</title><content type='html'>&lt;code&gt;dhclient -r&lt;br /&gt;&lt;/code&gt;&lt;code&gt;dhclient&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;/code&gt;&lt;code&gt;&lt;br /&gt;ifdown eth0&lt;br /&gt;ifup eth0&lt;br /&gt;/etc/init.d/network restart &lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-7024959162090868758?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/7024959162090868758/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=7024959162090868758&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7024959162090868758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7024959162090868758'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/09/linux-renew-dhcp-ip.html' title='Linux renew (DHCP) IP'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6990053216364996457</id><published>2008-08-19T22:25:00.001+08:00</published><updated>2008-08-19T22:25:55.679+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>View Installation / Uninstallation Script Inside The RPM File</title><content type='html'>Syntax for rpm file&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;rpm -qp --scripts monit-4.9-2.el5.rf.x86_64.rpm &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Syntax for installed httpd package&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;rpm -q --scripts httpd&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6990053216364996457?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6990053216364996457/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6990053216364996457&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6990053216364996457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6990053216364996457'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/08/view-installation-uninstallation-script.html' title='View Installation / Uninstallation Script Inside The RPM File'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2501597067385636327</id><published>2008-07-22T16:13:00.000+08:00</published><updated>2008-07-22T16:14:11.066+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Edit /etc/inittab After Changes Without Rebooting Server</title><content type='html'># Type the command as follows after updating /etc/inittab&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;kill -HUP 1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2501597067385636327?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2501597067385636327/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2501597067385636327&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2501597067385636327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2501597067385636327'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/edit-etcinittab-after-changes-without.html' title='Edit /etc/inittab After Changes Without Rebooting Server'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2854055509046499081</id><published>2008-07-22T15:21:00.000+08:00</published><updated>2008-07-22T15:22:36.796+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Hide BIND DNS Sever Version</title><content type='html'># Open your named.conf&lt;br /&gt;options&lt;br /&gt;{&lt;br /&gt;        query-source    port 53;&lt;br /&gt;        query-source-v6 port 53;&lt;br /&gt;        listen-on { 174.ttt.xx.yy; };&lt;br /&gt;        directory "/var/named"; // the default&lt;br /&gt;        dump-file               "data/cache_dump.db";&lt;br /&gt;        statistics-file         "data/named_stats.txt";&lt;br /&gt;        memstatistics-file      "data/named_mem_stats.txt";&lt;br /&gt;        dnssec-enable yes;&lt;br /&gt;        recursion no;&lt;br /&gt;        allow-notify { 174.zzz.yy.zz; 172.xx.yy.zz; };&lt;br /&gt;        &lt;span style="font-weight: bold; font-style: italic; color: rgb(255, 102, 0);"&gt;version "BIND";&lt;/span&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;# Save and close the file. Restart named, enter:&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;service bind9 restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# How do I see bind version?&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;dig @ns1.softlayer.com -c CH -t txt version.bind&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2854055509046499081?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2854055509046499081/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2854055509046499081&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2854055509046499081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2854055509046499081'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/hide-bind-dns-sever-version.html' title='Hide BIND DNS Sever Version'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5659079813708373222</id><published>2008-07-22T15:06:00.000+08:00</published><updated>2008-07-22T15:07:07.820+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Limit disk I/O for rsync Tool</title><content type='html'># rsync --delete --numeric-ids --relative --delete-excluded --bwlimit=10000 /path/to/source /path/to/dest/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5659079813708373222?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5659079813708373222/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5659079813708373222&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5659079813708373222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5659079813708373222'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/limit-disk-io-for-rsync-tool.html' title='Limit disk I/O for rsync Tool'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5756175915996237098</id><published>2008-07-22T13:35:00.000+08:00</published><updated>2008-07-22T13:36:45.311+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Tunnel X Windows Securely over SSH</title><content type='html'>SSH is frequently used to tunnel insecure traffic over the Internet in a secure way. Simply type the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;$ ssh -X user@remote.node&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can requests compression of all data to improve up user experience (good for a low speed link such as wan link) using -c option:&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;$ ssh -c -X user@remote.node&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once logged in type any X windows program name such as:&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;$ xeys &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;$ oowriter &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To start kde type:&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;$ startkde &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To start default desktop type:&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;$ startx &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5756175915996237098?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5756175915996237098/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5756175915996237098&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5756175915996237098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5756175915996237098'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/tunnel-x-windows-securely-over-ssh.html' title='Tunnel X Windows Securely over SSH'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4877411018378864346</id><published>2008-07-22T13:25:00.001+08:00</published><updated>2008-07-22T13:25:46.618+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>SSH port forwarding bypass Firewall (tunneling)</title><content type='html'>&lt;span style="color: rgb(255, 153, 0);"&gt;ssh -f -L {local-port}:localhost:{remote-server-port} user@remote.server.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#The following example tunnels port 3001 session from client machine 127.0.0.1 (localhost) to remote server called "server.node"&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;ssh -f -L 3001:localhost:3001 user@server.node&lt;/span&gt;&lt;br /&gt;#The connection is forwarded to port 3001 on the remote server. If 3001 is web based app, open a web browser and type the url http://localhost:3001/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can also create a script as follows (open.3001):&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;$ vi ~/open.3001&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#Append following code:&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;ME="$(basename $0)"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;SSHUSER=username&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;SERVER=remote.example.com&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;[ $ME == "open.3001" ] &amp;amp;&amp;amp; ssh -N -f -L 3001:localhost:3001  ${SSHUSER}@${SERVER} || :&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;[ $ME == "open.10000" ] &amp;amp;&amp;amp; ssh -N -f -L 10000:localhost:10000  ${SSHUSER}@${SERVER} || :&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;[ $ME == "open.3000" ] &amp;amp;&amp;amp; ssh -N -f -L 3000:localhost:3000  ${SSHUSER}@${SERVER} || :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# Set permissions, enter:&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;$ chmod +x ~/open.3001&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# Create soft-link, enter:&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;$ ln -s ~/open.3001 ~/open.10000&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;$ ln -s ~/open.3001 ~/open.3000&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4877411018378864346?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4877411018378864346/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4877411018378864346&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4877411018378864346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4877411018378864346'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/ssh-port-forwarding-bypass-firewall.html' title='SSH port forwarding bypass Firewall (tunneling)'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3526281532792439585</id><published>2008-07-22T11:38:00.002+08:00</published><updated>2008-07-22T12:03:09.333+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Use pam_access to restrict SSH connection</title><content type='html'># Open file /etc/security/access.conf&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;vi /etc/security/access.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# Append following line:&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;-: ALL EXCEPT root username:123.123.123.123&lt;/span&gt;&lt;br /&gt;# only accept login access from root/username from IP address 123.123.123.123&lt;br /&gt;&lt;br /&gt;# Save the file and Open /etc/pam.d/sshd file :&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;vi /etc/pam.d/sshd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# Append following entry&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;account required pam_access.so&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Other examples:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;-:root:ALL EXCEPT LOCAL&lt;/span&gt;&lt;br /&gt;# allow any users except root from anywhere, and root only from localhost.&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;-:root:ALL EXCEPT 123.123.123.123&lt;/span&gt;&lt;br /&gt;# allow any users except root from anywhere, and root only from 123.123.123.123.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;-:ALL EXCEPT root username:ALL&lt;/span&gt;&lt;br /&gt;# Deny network and local login to all users except for user root and username&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;+ : root : 192.168.1.0/24&lt;/span&gt;&lt;br /&gt;# Only allow root user login from 192.168.1.0/24 network:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://yinux.blogspot.com/2007/07/linux-ssh-basic-setting.html"&gt;Linux - SSH basic security setting&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3526281532792439585?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3526281532792439585/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3526281532792439585&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3526281532792439585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3526281532792439585'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/use-pamaccess-to-restrict-ssh.html' title='Use pam_access to restrict SSH connection'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2793376522054605274</id><published>2008-07-21T16:38:00.000+08:00</published><updated>2008-07-21T16:39:02.415+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>拳王</title><content type='html'>&lt;object width="400" height="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/si4go3Hraq8&amp;hl=zh_HK&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/si4go3Hraq8&amp;hl=zh_HK&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="400" height="320"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2793376522054605274?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2793376522054605274/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2793376522054605274&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2793376522054605274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2793376522054605274'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/blog-post_3033.html' title='拳王'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8532387294406953443</id><published>2008-07-21T16:17:00.001+08:00</published><updated>2008-07-21T16:19:12.258+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>笑到碌地</title><content type='html'>&lt;object width="400" height="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/2kc_niKUJmQ&amp;hl=zh_HK&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/2kc_niKUJmQ&amp;hl=zh_HK&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="400" height="320"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8532387294406953443?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8532387294406953443/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8532387294406953443&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8532387294406953443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8532387294406953443'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/blog-post_21.html' title='笑到碌地'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5798841879178471214</id><published>2008-07-21T14:51:00.001+08:00</published><updated>2008-07-21T14:51:43.703+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Speed up NTFS</title><content type='html'># disbale "last erad access"&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;c:\&gt; Fsutil behavior set disablelastaccess 1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5798841879178471214?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5798841879178471214/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5798841879178471214&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5798841879178471214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5798841879178471214'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/speed-up-ntfs.html' title='Speed up NTFS'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5999240494417803803</id><published>2008-07-21T10:18:00.000+08:00</published><updated>2008-07-21T10:19:03.182+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - VirtualBox Guest Additions limits Screen Resolution</title><content type='html'>When guest systems with the Guest Additions installed are started using the graphical frontend (the normal VirtualBox application), they will not be allowed to use screen 1249 Advanced topics resolutions greater than the host’s screen size unless the user manually resizes them by dragging the window, switching to fullscreen or seamless mode or sending a video mode hint using VBoxManage. This behavior is what most users will want, but if you have different needs, it is possible to change it by issuing one of the following commands from the command line:&lt;br /&gt;&lt;br /&gt;Remove all limits on guest resolutions&lt;br /&gt; VBoxManage setextradata global GUI/MaxGuestResolution any&lt;br /&gt;Restores the default settings &lt;br /&gt; VBoxManage setextradata global GUI/MaxGuestResolution auto&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5999240494417803803?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5999240494417803803/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5999240494417803803&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5999240494417803803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5999240494417803803'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/linux-virtualbox-guest-additions-limits.html' title='Linux - VirtualBox Guest Additions limits Screen Resolution'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3626443963723068350</id><published>2008-07-21T09:50:00.001+08:00</published><updated>2008-07-21T09:50:41.860+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Change the listening port for Remote Desktop</title><content type='html'>1. Start Registry Editor. &lt;br /&gt;regedit&lt;br /&gt;&lt;br /&gt;2. Locate and then click the following registry subkey:&lt;br /&gt;HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber &lt;br /&gt;&lt;br /&gt;3. On the Edit menu, click Modify, and then click Decimal. &lt;br /&gt;&lt;br /&gt;4. Type the new port number, and then click OK.  &lt;br /&gt;&lt;br /&gt;5. Quit Registry Editor. &lt;br /&gt;&lt;br /&gt;6. Reboot&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3626443963723068350?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3626443963723068350/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3626443963723068350&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3626443963723068350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3626443963723068350'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/change-listening-port-for-remote.html' title='Change the listening port for Remote Desktop'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8074466043007844870</id><published>2008-07-18T09:25:00.001+08:00</published><updated>2008-07-18T09:25:28.420+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>NTLDR  毀損可能是不正常系統重開機</title><content type='html'>&lt;span style="font-size: 12px;"&gt;NTLDR  毀損可能是不正常系統重開機或硬體不良造成也有可能是因為誤刪檔案所造成&lt;br /&gt;&lt;br /&gt;恢復方法如下：&lt;br /&gt;1.  請先進入Bios改成光碟機開機&lt;br /&gt;2.  放入Windows XP安裝光碟並且啟動 Windows xp 至修復主控台&lt;br /&gt;       (就是按 R 進入修復模式)&lt;br /&gt;3.  輸入所安裝的 Windows 作業系統，如只有一個作業系統，請輸入 1 後按Enter&lt;br /&gt;4.  輸入 Administrator 的密碼後按Enter、沒有設密碼者請直接按Enter&lt;br /&gt;5.  輸入 map 然後按 Enter 則出現光碟機代號&lt;br /&gt;6.  畫面會跳到 C:\WINDOWS&gt;&lt;br /&gt;     請輸入 cd\ 跳到 C:\&lt;br /&gt;7.  輸入以下指令並按下Enter、(光碟機以 E 為例)&lt;br /&gt;     copy E:\i386\ntldr c:\&lt;br /&gt;     copy E:\i386\ntdetect.com c:\&lt;br /&gt;8.  系統會詢問是否覆蓋檔案請按 Y 然後 Enter&lt;br /&gt;9.  輸入 Exit 並取出光碟重新啟動&lt;br /&gt;10.如果以上都不行、請直接重裝作業系統，重裝時選擇不要刪除現有磁碟切割區，&lt;br /&gt;       仍然把系統安裝在先前的系統磁區，如此可以保存原有的資料。&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8074466043007844870?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8074466043007844870/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8074466043007844870&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8074466043007844870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8074466043007844870'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/ntldr.html' title='NTLDR  毀損可能是不正常系統重開機'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3245848502551335106</id><published>2008-07-17T20:45:00.002+08:00</published><updated>2008-07-17T20:46:56.197+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>IBM ~ Linux</title><content type='html'>&lt;object width="400" height="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/EwL0G9wK8j4&amp;amp;rel=0"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/EwL0G9wK8j4&amp;amp;rel=0" type="application/x-shockwave-flash" wmode="transparent" width="400" height="320"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3245848502551335106?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3245848502551335106/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3245848502551335106&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3245848502551335106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3245848502551335106'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/ibm-linux.html' title='IBM ~ Linux'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-447500709725105893</id><published>2008-07-17T18:30:00.001+08:00</published><updated>2008-07-17T18:30:54.521+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>電單車表演</title><content type='html'>&lt;embed src="http://www.metacafe.com/fplayer/1497846/great_italian_motorbike_display.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br/&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;                &lt;a href="http://www.metacafe.com/watch/1497846/great_italian_motorbike_display/"&gt;Great Italian Motorbike Display - video powered by Metacafe&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-447500709725105893?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/447500709725105893/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=447500709725105893&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/447500709725105893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/447500709725105893'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/blog-post.html' title='電單車表演'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-1669673278850491837</id><published>2008-07-16T17:29:00.000+08:00</published><updated>2008-07-16T17:30:35.262+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>sysbench Can't create TCP/IP socket</title><content type='html'>使用sysbench測試MySQL最大並發連接，出現上面的錯誤。原因是操作系統對一個進程打開的文件句柄數量有限制，其中包含打開的SOCKET數量。&lt;br /&gt;&lt;br /&gt;ulimit -a&lt;br /&gt;&lt;span style="font-size:85%;"&gt;core file size        (blocks, -c) 0&lt;br /&gt;data seg size         (kbytes, -d) unlimited&lt;br /&gt;file size             (blocks, -f) unlimited&lt;br /&gt;max locked memory     (kbytes, -l) 4&lt;br /&gt;max memory size       (kbytes, -m) unlimited&lt;br /&gt;open files                    (-n) 1024&lt;br /&gt;pipe size          (512 bytes, -p) 8&lt;br /&gt;stack size            (kbytes, -s) 1024&lt;br /&gt;cpu time             (seconds, -t) unlimited&lt;br /&gt;max user processes            (-u) 7168&lt;br /&gt;virtual memory        (kbytes, -v) unlimited&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;注意上面open files是1024，因此我發現當建立了1024個連接之後就會報錯。&lt;br /&gt;&lt;br /&gt;這個值通常不能用ulimit命令來改（除非是在root下測試）。需要修改/etc/security/limits.conf，增加如：&lt;br /&gt;gulei hard nofile 16384&lt;br /&gt;gulei soft nofile 16384&lt;br /&gt;&lt;br /&gt;最左側是用戶名，即對gulei用戶進程打開文件的限制。&lt;br /&gt;這樣設置以後，如果是用ssh登錄的，可能還無法生效。需要再執行一下su $USER才能生效。&lt;br /&gt;比如：&lt;br /&gt;ulimit -a&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;core file size        (blocks, -c) 0&lt;br /&gt;data seg size         (kbytes, -d) unlimited&lt;br /&gt;file size             (blocks, -f) unlimited&lt;br /&gt;max locked memory     (kbytes, -l) 4&lt;br /&gt;max memory size       (kbytes, -m) unlimited&lt;br /&gt;open files                    (-n) 1024&lt;br /&gt;pipe size          (512 bytes, -p) 8&lt;br /&gt;stack size            (kbytes, -s) 1024&lt;br /&gt;cpu time             (seconds, -t) unlimited&lt;br /&gt;max user processes            (-u) 7168&lt;br /&gt;virtual memory        (kbytes, -v) unlimited&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;su $USER&lt;br /&gt;Password:&lt;br /&gt;&lt;br /&gt;ulimit -a&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;core file size        (blocks, -c) 0&lt;br /&gt;data seg size         (kbytes, -d) unlimited&lt;br /&gt;file size             (blocks, -f) unlimited&lt;br /&gt;max locked memory     (kbytes, -l) 4&lt;br /&gt;max memory size       (kbytes, -m) unlimited&lt;br /&gt;open files                    (-n) 16384&lt;br /&gt;pipe size          (512 bytes, -p) 8&lt;br /&gt;stack size            (kbytes, -s) 1024&lt;br /&gt;cpu time             (seconds, -t) unlimited&lt;br /&gt;max user processes            (-u) 7168&lt;br /&gt;virtual memory        (kbytes, -v) unlimited&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-1669673278850491837?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/1669673278850491837/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=1669673278850491837&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1669673278850491837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1669673278850491837'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/sysbench-cant-create-tcpip-socket.html' title='sysbench Can&apos;t create TCP/IP socket'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4682945366254277684</id><published>2008-07-16T17:16:00.000+08:00</published><updated>2008-07-16T17:17:07.174+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Configure Your Linux Login From Serial Port</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(255, 102, 0);"&gt;1. /etc/grub/grub.conf &lt;/span&gt;&lt;br /&gt;# Insert "serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1" in Globle Config .&lt;br /&gt;# Insert "console=tty0 console=ttyS0,9600n8" in Kernel parameter .&lt;br /&gt;# About 9600 Speed you can modified make to 38400 , 115200 , 230000.......any number..!!&lt;br /&gt;&lt;br /&gt;default=0&lt;br /&gt;timeout=5&lt;br /&gt;serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1&lt;br /&gt;terminal serial --timeout=10 serial console&lt;br /&gt;&lt;br /&gt;splashimage=(hd0,1)/boot/grub/splash.xpm.gz&lt;br /&gt;title RH8.0 (2.4.18-14)&lt;br /&gt;root (hd0,1)&lt;br /&gt;kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ console=tty0 console=ttyS0,9600n8&lt;br /&gt;initrd /boot/initrd-2.4.18-14.img&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0); font-weight: bold;"&gt;2. /etc/inittab &lt;/span&gt;&lt;br /&gt;# Insert "2:2345:respawn:/sbin/agetty ttyS0 9600 vt100"&lt;br /&gt;# Because mingetty not support Serial Port&lt;br /&gt;&lt;br /&gt;# Run gettys in standard runlevels&lt;br /&gt;1:2345:respawn:/sbin/mingetty tty1&lt;br /&gt;# 2:2345:respawn:/sbin/mingetty tty2&lt;br /&gt;2:2345:respawn:/sbin/agetty ttyS0 9600 vt100&lt;br /&gt;3:2345:respawn:/sbin/mingetty tty3&lt;br /&gt;4:2345:respawn:/sbin/mingetty tty4&lt;br /&gt;5:2345:respawn:/sbin/mingetty tty5&lt;br /&gt;6:2345:respawn:/sbin/mingetty tty6&lt;br /&gt;&lt;br /&gt;# Run xdm in runlevel 5&lt;br /&gt;# xdm is now a separate service&lt;br /&gt;x:5:respawn:/etc/X11/prefdm -nodaemon&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0); font-weight: bold;"&gt;3. /etc/securetty &lt;/span&gt;&lt;br /&gt;# Insert "ttyS0"&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0); font-weight: bold;"&gt;4. Reboot &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4682945366254277684?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4682945366254277684/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4682945366254277684&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4682945366254277684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4682945366254277684'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/configure-your-linux-login-from-serial.html' title='Configure Your Linux Login From Serial Port'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-724184482797936592</id><published>2008-07-16T17:05:00.000+08:00</published><updated>2008-07-16T17:06:46.408+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Stuck at "grub loading stage2 ..."</title><content type='html'>1. Boot from CD&lt;br /&gt;2. linux rescue mode&lt;br /&gt;3. execute:&lt;br /&gt;# chroot /mnt/sysimage&lt;br /&gt;# /sbin/grub-install /dev/hda&lt;br /&gt;# exit&lt;br /&gt;# reboot&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-724184482797936592?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/724184482797936592/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=724184482797936592&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/724184482797936592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/724184482797936592'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/linux-stuck-at-grub-loading-stage2.html' title='Linux - Stuck at &quot;grub loading stage2 ...&quot;'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6900638539000129949</id><published>2008-07-10T08:58:00.001+08:00</published><updated>2008-07-10T08:59:25.607+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>解決開機時出現 NTLDR is missing 的問題</title><content type='html'>恢復方法如下：&lt;br /&gt;1.  請先進入Bios改成光碟機開機&lt;br /&gt;2.  放入Windows XP安裝光碟並且啟動 Windows xp 至修復主控台&lt;br /&gt;       (就是按 R 進入修復模式)&lt;br /&gt;3.  輸入所安裝的 Windows 作業系統，如只有一個作業系統，請輸入 1 後按Enter&lt;br /&gt;4.  輸入 Administrator 的密碼後按Enter、沒有設密碼者請直接按Enter&lt;br /&gt;5.  輸入 map 然後按 Enter 則出現光碟機代號&lt;br /&gt;6.  畫面會跳到 C:\WINDOWS&gt;&lt;br /&gt;     請輸入 cd\ 跳到 C:\&lt;br /&gt;7.  輸入以下指令並按下Enter、(光碟機以 E 為例)&lt;br /&gt;     copy E:\i386\ntldr c:\&lt;br /&gt;     copy E:\i386\ntdetect.com c:\&lt;br /&gt;8.  系統會詢問是否覆蓋檔案請按 Y 然後 Enter&lt;br /&gt;9.  輸入 Exit 並取出光碟重新啟動&lt;br /&gt;10.如果以上都不行、請直接重裝作業系統，重裝時選擇不要刪除現有磁碟切割區，&lt;br /&gt;       仍然把系統安裝在先前的系統磁區，如此可以保存原有的資料。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6900638539000129949?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6900638539000129949/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6900638539000129949&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6900638539000129949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6900638539000129949'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/07/ntldr-is-missing.html' title='解決開機時出現 NTLDR is missing 的問題'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6523981237309830222</id><published>2008-06-25T11:13:00.000+08:00</published><updated>2008-06-25T11:14:48.646+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Recursively Delete Files of a Certain Type</title><content type='html'>&lt;code&gt;find . -name "*.ext" -exec rm '{}' ';'&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6523981237309830222?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6523981237309830222/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6523981237309830222&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6523981237309830222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6523981237309830222'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/06/linux-recursively-delete-files-of.html' title='Linux - Recursively Delete Files of a Certain Type'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3159538988113902861</id><published>2008-06-12T21:43:00.002+08:00</published><updated>2008-12-12T13:34:26.902+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux/Unix - Security and system auditing tool</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_P064xcoE9uA/SFEoeUv2ErI/AAAAAAAAAFg/oCj9f0bPPKo/s1600-h/lynis-screenshot.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://3.bp.blogspot.com/_P064xcoE9uA/SFEoeUv2ErI/AAAAAAAAAFg/oCj9f0bPPKo/s320/lynis-screenshot.jpg" alt="" id="BLOGGER_PHOTO_ID_5210990745274946226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.rootkit.nl/projects/lynis.html"&gt;Lynis&lt;/a&gt; is an auditing tool for Unix (specialists). It scans the system and available software, to detect security issues. Beside security related information it will also scan for general system information, installed packages and configuration mistakes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3159538988113902861?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3159538988113902861/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3159538988113902861&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3159538988113902861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3159538988113902861'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/06/linuxunix-security-and-system-auditing.html' title='Linux/Unix - Security and system auditing tool'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_P064xcoE9uA/SFEoeUv2ErI/AAAAAAAAAFg/oCj9f0bPPKo/s72-c/lynis-screenshot.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-1410373525489323587</id><published>2008-06-05T20:13:00.003+08:00</published><updated>2008-12-12T13:34:27.061+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - CD Buring  (BashBurn)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_P064xcoE9uA/SEfYwFwCwtI/AAAAAAAAAFY/vbIM5TlPHtg/s1600-h/bashburn.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://4.bp.blogspot.com/_P064xcoE9uA/SEfYwFwCwtI/AAAAAAAAAFY/vbIM5TlPHtg/s320/bashburn.jpg" alt="" id="BLOGGER_PHOTO_ID_5208369814766273234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://bashburn.sourceforge.net/"&gt;BashBurn&lt;/a&gt; is a collection of scripts for CD burning in a Linux console (BashBurn might very well work in *BSD, Solaris etc. but it is developed and tested only under Gentoo Linux). BashBurn was previously named Magma. It’s not the best looking CD-burning application out there, but it does what you want it to do (And if not then probably didn’t want to do it anyway).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-1410373525489323587?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/1410373525489323587/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=1410373525489323587&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1410373525489323587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1410373525489323587'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/06/linux-cd-buring-bashburn.html' title='Linux - CD Buring  (BashBurn)'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_P064xcoE9uA/SEfYwFwCwtI/AAAAAAAAAFY/vbIM5TlPHtg/s72-c/bashburn.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3263370397703294219</id><published>2008-06-04T21:13:00.001+08:00</published><updated>2008-06-04T21:13:36.919+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Assign an IP address</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Command line&lt;/span&gt;&lt;br /&gt;/sbin/ifconfig eth0 192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;GUI&lt;/span&gt;&lt;br /&gt;/usr/bin/neat (Gnome)&lt;br /&gt;/usr/sbin/netconfig (Console)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;/etc/sysconfig/network&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# Static IP address Configuration:&lt;br /&gt;NETWORKING=yes&lt;br /&gt;HOSTNAME=my-hostname # Hostname is defined here and by command hostname&lt;br /&gt;FORWARD_IPV4=true # True for NAT firewall gateways and linux routers. False for everyone else - desktops and servers.&lt;br /&gt;GATEWAY=”XXX.XXX.XXX.YYY” # Used if your network is connected to another network or the internet.&lt;br /&gt;&lt;br /&gt;# Or for DHCP configuration: in the same file /etc/sysconfig/network&lt;br /&gt;NETWORKING=yes&lt;br /&gt;HOSTNAME=my-hostname # Hostname is defined here and by command hostname&lt;br /&gt;# Gateway is assigned by DHCP.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;/etc/sysconfig/network-scripts/ifcfg-eth0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# Static IP address configuration:&lt;br /&gt;DEVICE=eth0&lt;br /&gt;BOOTPROTO=static&lt;br /&gt;BROADCAST=XXX.XXX.XXX.255&lt;br /&gt;IPADDR=XXX.XXX.XXX.XXX&lt;br /&gt;NETMASK=255.255.255.0&lt;br /&gt;NETWORK=XXX.XXX.XXX.0&lt;br /&gt;ONBOOT=yes&lt;br /&gt;&lt;br /&gt;# OR for DHCP configuration:&lt;br /&gt;DEVICE=eth0&lt;br /&gt;ONBOOT=yes&lt;br /&gt;BOOTPROTO=dhcp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3263370397703294219?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3263370397703294219/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3263370397703294219&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3263370397703294219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3263370397703294219'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/06/linux-assign-ip-address.html' title='Linux - Assign an IP address'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8810792921945777165</id><published>2008-06-04T20:53:00.001+08:00</published><updated>2008-06-04T20:53:26.952+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Create Name Based Virtual hosts in Apache</title><content type='html'>Name-Based Virtual Hosts&lt;br /&gt;&lt;br /&gt;NameVirtualHost *&lt;br /&gt;&lt;br /&gt;ServerName www.example.com&lt;br /&gt;DocumentRoot /home/www/htdocs/example.com&lt;br /&gt;ServerAdmin webmaster@example.com&lt;br /&gt;ErrorLog /var/log/apache2/www.example.com-error_log&lt;br /&gt;CustomLog /var/log/apache2/www.example.com-access_log common&lt;br /&gt;&lt;br /&gt;ServerName www.myothercompany.com&lt;br /&gt;DocumentRoot /home/www/htdocs/myothercompany.com&lt;br /&gt;ServerAdmin webmaster@myothercompany.com&lt;br /&gt;ErrorLog /var/log/apache2/www.myothercompany.com-error_log&lt;br /&gt;CustomLog /var/log/apache2/www.myothercompany.com-access_log common&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8810792921945777165?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8810792921945777165/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8810792921945777165&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8810792921945777165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8810792921945777165'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/06/linux-create-name-based-virtual-hosts.html' title='Linux - Create Name Based Virtual hosts in Apache'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3489512924736772626</id><published>2008-06-04T20:39:00.001+08:00</published><updated>2008-06-04T20:39:40.078+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Bash Brace Expansion</title><content type='html'>Brace expansion is enabled via the "set -B" command and the "-B" command line option to the shell and disabled via "set +B" and "+B" on the command line.&lt;br /&gt;&lt;br /&gt;Some examples and what they expand to:&lt;br /&gt;  {aa,bb,cc,dd}  =&gt; aa bb cc dd&lt;br /&gt;  {0..12}        =&gt; 0 1 2 3 4 5 6 7 8 9 10 11 12&lt;br /&gt;  {3..-2}        =&gt; 3 2 1 0 -1 -2&lt;br /&gt;  {a..g}         =&gt; a b c d e f g&lt;br /&gt;  {g..a}         =&gt; g f e d c b a&lt;br /&gt;  a{0..3}b       =&gt; a0b a1b a2b a3b&lt;br /&gt;  {a,b{1..3},c}  =&gt; a b1 b2 b3 c  &lt;br /&gt;  &lt;br /&gt;for i in {0..19}&lt;br /&gt;do&lt;br /&gt;    echo $i&lt;br /&gt;done&lt;br /&gt; &lt;br /&gt;for i in {a..z}&lt;br /&gt;do&lt;br /&gt;    echo $i&lt;br /&gt;done&lt;br /&gt;  &lt;br /&gt;# rm /a/long/path/foo /a/long/path/bar&lt;br /&gt;# rm /a/long/path/{foo,bar}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3489512924736772626?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3489512924736772626/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3489512924736772626&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3489512924736772626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3489512924736772626'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/06/linux-bash-brace-expansion.html' title='Linux - Bash Brace Expansion'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8886300944356052502</id><published>2008-06-04T19:30:00.000+08:00</published><updated>2008-06-04T19:31:35.416+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Apache redirect www.domain.com to domain.com</title><content type='html'>RewriteEngine On&lt;br /&gt;RewriteCond %{HTTP_HOST} ^www.yourdomain.com$ [NC]&lt;br /&gt;RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8886300944356052502?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8886300944356052502/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8886300944356052502&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8886300944356052502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8886300944356052502'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/06/linux-apache-redirect-wwwdomaincom-to.html' title='Linux - Apache redirect www.domain.com to domain.com'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-1692593177048522474</id><published>2008-06-02T20:49:00.002+08:00</published><updated>2008-06-02T20:55:28.323+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='溫家寶總理'/><title type='text'>溫家寶 總理 Facebook</title><content type='html'>&lt;a href="http://www.facebook.com/pages/-Wen-Jia-bao/13823116911"&gt;溫家寶 總理 Facebook&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Remark: It is created by his fans !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-1692593177048522474?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/1692593177048522474/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=1692593177048522474&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1692593177048522474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1692593177048522474'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/06/facebook.html' title='溫家寶 總理 Facebook'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3614283681286286058</id><published>2008-05-29T20:18:00.000+08:00</published><updated>2008-05-29T20:19:12.046+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux 文件亂碼轉換</title><content type='html'>iconv -f gbk -t utf8 文件.txt &gt; 文件.txt.utf8&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3614283681286286058?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3614283681286286058/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3614283681286286058&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3614283681286286058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3614283681286286058'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/linux.html' title='Linux 文件亂碼轉換'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2905153682191330437</id><published>2008-05-28T18:20:00.002+08:00</published><updated>2008-05-28T18:23:30.508+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>"真" 加菲貓</title><content type='html'>&lt;object width="340" height="300" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"&gt;&lt;param name="movie" value="http://w.video.hk.yahoo.net/video/dplayer.html?vid=596712"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://w.video.hk.yahoo.net/video/dplayer.html?vid=596712" type="application/x-shockwave-flash" wmode="transparent" width="340" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2905153682191330437?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2905153682191330437/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2905153682191330437&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2905153682191330437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2905153682191330437'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/blog-post_28.html' title='&quot;真&quot; 加菲貓'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6260551933673314233</id><published>2008-05-18T00:39:00.000+08:00</published><updated>2008-05-18T00:40:35.477+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>四川震區 急需 260 萬頂帳篷</title><content type='html'>&lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;" lang="EN-US"&gt;Subject: &lt;/span&gt;&lt;span style="font-family: 細明體;"&gt;急需&lt;span lang="EN-US"&gt; 260 &lt;/span&gt;萬頂帳篷&lt;span lang="EN-US"&gt; - &lt;/span&gt;懇請廣大發佈商立即幫助發佈四川震區求助資訊&lt;span lang="EN-US"&gt;!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;" lang="EN-US"&gt;From: &lt;a href="mailto:adsense-noreply-zhs@google.com"&gt;adsense-noreply-zhs@google.com&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;" lang="EN-US"&gt;Date: 17/5/2008 23:53&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;"&gt;今天早些時候，穀歌接到來自四川震區政府和攝製組的求助資訊，由於一直下雨，綿陽北川地區的大量災民情況非常堪憂，現在急需可以讓災民避雨的&lt;span lang="EN-US"&gt;60&lt;/span&gt;萬頂帳篷！根據下午四川政府最新發佈的資訊，全省急需帳篷總共&lt;span lang="EN-US"&gt;260&lt;/span&gt;萬頂！&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;"&gt;借助網路的力量，讓更多的人瞭解災區的求助資訊，協助災區的同胞最大限度地得到幫助，是我們&lt;span lang="EN-US"&gt;AdSense&lt;/span&gt;小組每一位成員最大的心願和義不容辭的責任。為此，我們懇請廣大發佈商在看到這一消息時，請立即在您的網站上説明發佈這一資訊，使得我們災區同胞能夠少度過一個冰冷潮濕的夜晚，多一份溫暖。&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;"&gt;一個網站的力量有限，聯合起來力量無窮。您的幫助和努力對災區人民是莫大的希望。在此，我們衷心希望所有的發佈商和我們聯合起來，充分發揮我們手中互聯網的力量，為抗震救災出一份力！&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;" lang="EN-US"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;"&gt;我們今後還會不斷發佈來自災區的求助資訊，如果您願意和我們攜手幫助災區同胞抗震救災，重建家園，請您註冊&lt;span lang="EN-US"&gt; Google AdSense &lt;/span&gt;抗震愛心聯盟 &lt;span lang="EN-US"&gt;&lt;a href="https://spreadsheets.google.com/a/google.com/viewform?key=psN9iO-vpoNkmBZ20KeBkEQ"&gt;https://spreadsheets.google.com/a/google.com/viewform?key=psN9iO-vpoNkmBZ20KeBkEQ&lt;/a&gt; &lt;/span&gt;，我們會在需要的時候第一時間與您聯絡。另外，也請您放心，您所提供的聯繫方式將僅作為抗震救災聯繫所有，我們將嚴格保護您的資訊隱私。&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;"&gt;最後，我們對您的幫助表示由衷的敬佩和感謝！&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: 細明體;" lang="EN-US"&gt;Google AdSense &lt;/span&gt;&lt;span style="font-family: 細明體;"&gt;小組敬上&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6260551933673314233?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6260551933673314233/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6260551933673314233&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6260551933673314233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6260551933673314233'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/260.html' title='四川震區 急需 260 萬頂帳篷'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5608113705046272815</id><published>2008-05-17T13:39:00.000+08:00</published><updated>2008-05-17T13:40:16.768+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Solaris 10 - boot from the CLI instead of the GUI</title><content type='html'>&lt;span style="color:#ff6600;"&gt;svcadm disable graphical-login/cde-login:default&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;*The problem with doing it that way is you then can't use your Solaris host to run SunRay thin clients. If you need to use the box as a SunRay server, you'll have to remove the reference to the :0 display somewhere in /etc/dt/config/Xconfig, IIRC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5608113705046272815?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5608113705046272815/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5608113705046272815&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5608113705046272815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5608113705046272815'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/solaris-10-boot-from-cli-instead-of-gui.html' title='Solaris 10 - boot from the CLI instead of the GUI'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8227207307521623730</id><published>2008-05-16T11:31:00.003+08:00</published><updated>2008-05-16T11:34:13.168+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Use Windows boot loader to boot Fedora (boot.ini)</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Partition  Allocation&lt;/span&gt;&lt;br /&gt;/dev/sda1 20G - Windows XP (NTFS)&lt;br /&gt;/dev/sda2 88G - Data (NTFS)&lt;br /&gt;/dev/sda3 10G - Fedora 9 (ext3)&lt;br /&gt;/dev/sda4 2G  - SWAP (swap)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. install Windows XP&lt;/span&gt;&lt;br /&gt;create C:\ with 20G&lt;br /&gt;create D:\ with 88G&lt;br /&gt;install Windows on C:\&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. Install Fedora 9&lt;/span&gt;&lt;br /&gt;create \ paratition on /dev/sda3&lt;br /&gt;create SWAP partition on /dev/sda4&lt;br /&gt;install GRUB on /dev/sda3&lt;br /&gt;install Fedora on /dev/sda3&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. Create Linux boot configuration file&lt;/span&gt;&lt;br /&gt;CD boot&lt;br /&gt;type "linux rescue"  or  Select "Rescue installed program"&lt;br /&gt;choose language "English"&lt;br /&gt;choose keyboard "US"&lt;br /&gt;Setup Network "No"&lt;br /&gt;Rescue "Continue"&lt;br /&gt;type "chroot /mnt/sysimage"&lt;br /&gt;type "dd if=/dev/hda1 of=/grub.lnx bs=512 count=1"&lt;br /&gt;&lt;br /&gt;Insert USB disk&lt;br /&gt;type "fdisk –l" to list out the inserted USB&lt;br /&gt;type "cd /mnt"&lt;br /&gt;type "mkdir usb"&lt;br /&gt;type "mount /dev/sda1 /mnt/usbdisk"&lt;br /&gt;type "cp /grub.lnx /mnt/usbdisk"&lt;br /&gt;type "umount /mnt/usbdisk"&lt;br /&gt;&lt;br /&gt;Reboot into Windows XP&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4. Edit Windows Boot menu&lt;/span&gt;&lt;br /&gt;copy grub.lnx into c:\Windows\&lt;br /&gt;change the file attribute as Read-only&lt;br /&gt;edit boot.ini&lt;br /&gt;# add the line&lt;br /&gt;[operating systems]&lt;br /&gt;multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt; c:\Windows\grub.lnx="Fedora 9"&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8227207307521623730?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8227207307521623730/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8227207307521623730&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8227207307521623730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8227207307521623730'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/linux-use-windows-boot-loader-to-boot.html' title='Linux - Use Windows boot loader to boot Fedora (boot.ini)'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-258969214082615048</id><published>2008-05-14T13:43:00.001+08:00</published><updated>2008-05-14T13:43:14.436+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>支持人民解放軍，抗洪，抗冰，抗震，他們都是沖在第一線的，大家不要再詆毀，批評他們了</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-258969214082615048?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/258969214082615048/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=258969214082615048&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/258969214082615048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/258969214082615048'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/blog-post_3060.html' title='支持人民解放軍，抗洪，抗冰，抗震，他們都是沖在第一線的，大家不要再詆毀，批評他們了'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-1545710503843162198</id><published>2008-05-14T10:56:00.000+08:00</published><updated>2008-05-14T10:57:20.945+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Windows password cracker</title><content type='html'>&lt;a href="http://ophcrack.sourceforge.net/"&gt;Ophcrack&lt;/a&gt; is a free Windows password cracker based on rainbow tables. It is a very efficient implementation of rainbow tables done by the inventors of the method. It comes with a Graphical User Interface and runs on multiple platforms.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-1545710503843162198?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/1545710503843162198/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=1545710503843162198&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1545710503843162198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1545710503843162198'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/windows-password-cracker.html' title='Windows password cracker'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6234511344835544659</id><published>2008-05-14T10:14:00.003+08:00</published><updated>2008-06-02T20:49:43.112+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='溫家寶總理'/><title type='text'>溫家寶總理 加油!  這是命令 :)</title><content type='html'>【星島網訊】國家總理溫家寶12日趕赴四川災區，有媒體記者在都江堰搶救現場直播，全程記錄溫家寶指揮抗災的過程。&lt;br /&gt;&lt;br /&gt;　　直播中數次提到溫家寶在搶救現場的行動和話語，溫家寶看到災情後痛哭不已，還曾摔倒導致手臂受傷出血。溫家寶還在電話裡指揮救援人員，“我不管你們怎麼樣，我只要這10萬群眾脫險，這是命令。”溫家寶在和登機部隊官員說話時表示，“我就一句話，是人民在養你們，你們自己看著辦&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6234511344835544659?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6234511344835544659/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6234511344835544659&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6234511344835544659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6234511344835544659'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/blog-post_14.html' title='溫家寶總理 加油!  這是命令 :)'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4782061699047608645</id><published>2008-05-13T14:11:00.000+08:00</published><updated>2008-05-13T14:12:11.549+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>笨小偷</title><content type='html'>&lt;object width="340" height="280"&gt;&lt;param name="movie" value="http://www.youtube.com/v/wOJd6Az6WTo&amp;hl=zh_HK"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/wOJd6Az6WTo&amp;hl=zh_HK" type="application/x-shockwave-flash" wmode="transparent" width="340" height="280"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4782061699047608645?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4782061699047608645/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4782061699047608645&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4782061699047608645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4782061699047608645'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/blog-post_13.html' title='笨小偷'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3848980906568032788</id><published>2008-05-13T13:39:00.000+08:00</published><updated>2008-05-13T13:40:05.241+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Falling</title><content type='html'>&lt;object width="340" height="300" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"&gt;&lt;param name="movie" value="http://w.video.hk.yahoo.net/video/dplayer.html?vid=240268"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://w.video.hk.yahoo.net/video/dplayer.html?vid=240268" type="application/x-shockwave-flash" wmode="transparent" width="340" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3848980906568032788?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3848980906568032788/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3848980906568032788&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3848980906568032788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3848980906568032788'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/falling.html' title='Falling'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-493408515121200946</id><published>2008-05-13T13:38:00.000+08:00</published><updated>2008-05-13T13:39:18.768+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Inside box</title><content type='html'>&lt;object width="340" height="280"&gt;&lt;param name="movie" value="http://www.youtube.com/v/rvNTgiB6DX4&amp;amp;hl=zh_HK"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/rvNTgiB6DX4&amp;amp;hl=zh_HK" type="application/x-shockwave-flash" wmode="transparent" width="340" height="280"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-493408515121200946?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/493408515121200946/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=493408515121200946&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/493408515121200946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/493408515121200946'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/inside-box.html' title='Inside box'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5199458355791167943</id><published>2008-05-13T11:38:00.000+08:00</published><updated>2008-05-13T11:39:53.301+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Use Proxy Server To Access Internet at Shell Prompt</title><content type='html'>Set http_proxy shell variable&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;$ export http_proxy=http://server-ip:port/&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;$ export http_proxy=http://127.0.0.1:3128/&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;$ export http_proxy=http://proxy-server.mycorp.com:3128/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Setup proxy variable for all users?&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;# vi /etc/profile&lt;/span&gt;&lt;br /&gt;Add the following information:&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;export http_proxy=http://proxy-server.mycorp.com:3128/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If password protected proxy server?&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;$ wget --proxy-user=USERNAME --proxy-password=PASSWORD http://path.to.domain.com/some.html&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Lynx has following syntax:&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;$ lynx -pauth=USER:PASSWORD http://domain.com/path/html.file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Curl has following syntax:&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;$ curl --proxy-user user:password http://url.com/&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5199458355791167943?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5199458355791167943/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5199458355791167943&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5199458355791167943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5199458355791167943'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/linux-use-proxy-server-to-access.html' title='Linux - Use Proxy Server To Access Internet at Shell Prompt'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6027748034255656175</id><published>2008-05-09T16:29:00.002+08:00</published><updated>2008-12-12T13:34:27.317+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Dream Computer Sun S20</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_P064xcoE9uA/SCQNWbrY_7I/AAAAAAAAAE4/sUuRz_JQTlE/s1600-h/k3_project_blackbox_1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_P064xcoE9uA/SCQNWbrY_7I/AAAAAAAAAE4/sUuRz_JQTlE/s320/k3_project_blackbox_1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5198294548930428850" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.sun.com/products/sunmd/s20/index.jsp"&gt;Sun Modular Datacenter S20&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="340" height="280"&gt;&lt;param name="movie" value="http://www.youtube.com/v/vkfJYjnRR14&amp;amp;hl=zh_HK"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/vkfJYjnRR14&amp;amp;hl=zh_HK" type="application/x-shockwave-flash" wmode="transparent" width="340" height="280"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6027748034255656175?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6027748034255656175/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6027748034255656175&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6027748034255656175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6027748034255656175'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/dream-computer-sun-s20.html' title='Dream Computer Sun S20'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_P064xcoE9uA/SCQNWbrY_7I/AAAAAAAAAE4/sUuRz_JQTlE/s72-c/k3_project_blackbox_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4696028730885093559</id><published>2008-05-09T15:49:00.002+08:00</published><updated>2008-12-12T13:34:27.535+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Such a stupid and dirty design!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_P064xcoE9uA/SCQCgbrY_6I/AAAAAAAAAEw/jMri2tusa0s/s1600-h/mouse.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_P064xcoE9uA/SCQCgbrY_6I/AAAAAAAAAEw/jMri2tusa0s/s320/mouse.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5198282626101215138" /&gt;&lt;/a&gt;&lt;br /&gt;http://www.designodoubt.com/entry/Jelly-click-_-mouse-for-laptop&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4696028730885093559?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4696028730885093559/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4696028730885093559&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4696028730885093559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4696028730885093559'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/such-stupid-and-dirty-design.html' title='Such a stupid and dirty design!'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_P064xcoE9uA/SCQCgbrY_6I/AAAAAAAAAEw/jMri2tusa0s/s72-c/mouse.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6289165402032437270</id><published>2008-05-09T15:11:00.000+08:00</published><updated>2008-05-09T15:14:02.774+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><title type='text'>手冩 online 英漢雙向詞典</title><content type='html'>&lt;a href="http://www.nciku.com"&gt;http://www.nciku.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6289165402032437270?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6289165402032437270/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6289165402032437270&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6289165402032437270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6289165402032437270'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/online.html' title='手冩 online 英漢雙向詞典'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-7577084589718077461</id><published>2008-05-09T13:59:00.000+08:00</published><updated>2008-05-09T14:00:54.649+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>死神</title><content type='html'>&lt;object width="340" height="280"&gt;&lt;param name="movie" value="http://www.youtube.com/v/6722-Ko8Ucs&amp;hl=zh_HK"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/6722-Ko8Ucs&amp;hl=zh_HK" type="application/x-shockwave-flash" wmode="transparent" width="340" height="280"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-7577084589718077461?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/7577084589718077461/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=7577084589718077461&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7577084589718077461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7577084589718077461'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/blog-post_09.html' title='死神'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5796610660327490789</id><published>2008-05-09T13:58:00.000+08:00</published><updated>2008-05-09T13:59:21.994+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Crazy Japan (1)</title><content type='html'>&lt;object width="340" height="280"&gt;&lt;param name="movie" value="http://www.youtube.com/v/A2syxXPR7xY&amp;hl=zh_HK"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/A2syxXPR7xY&amp;hl=zh_HK" type="application/x-shockwave-flash" wmode="transparent" width="340" height="280"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5796610660327490789?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5796610660327490789/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5796610660327490789&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5796610660327490789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5796610660327490789'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/crazy-japan-1.html' title='Crazy Japan (1)'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-1432516954242719589</id><published>2008-05-09T10:30:00.000+08:00</published><updated>2008-05-09T10:31:16.028+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>MySQL convert latin1 to utf-8</title><content type='html'>1. Backup database&lt;br /&gt;  mysqldump -h mydomain -u root -p --default-character-set=latin1 database &gt; database.sql&lt;br /&gt;2. In phpMyadmin, change MySQL charset as UTF-8 Unicode (utf8)&lt;br /&gt;3. In phpMyadmin, change MySQL MySQL connection collation as utf8_general_ci&lt;br /&gt;4. edit database.sql, replace "DEFAULT CHARSET=latin1" to "DEFAULT CHARSET=utf8"&lt;br /&gt;5. Import database.sql&lt;br /&gt;  mysql -u root -p new_database &lt; database.sql&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-1432516954242719589?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/1432516954242719589/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=1432516954242719589&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1432516954242719589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1432516954242719589'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/mysql-convert-latin1-to-utf-8.html' title='MySQL convert latin1 to utf-8'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3768207782158645167</id><published>2008-05-08T17:40:00.001+08:00</published><updated>2008-12-12T13:34:27.722+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Freeware'/><title type='text'>Easy to eject USB disk</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_P064xcoE9uA/SCLLA54cIoI/AAAAAAAAAEo/PGEf2zocxOk/s1600-h/USBDiskEjector.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_P064xcoE9uA/SCLLA54cIoI/AAAAAAAAAEo/PGEf2zocxOk/s320/USBDiskEjector.png" alt="" id="BLOGGER_PHOTO_ID_5197940136336958082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://quick.mixnmojo.com/usb-disk-ejector"&gt;USB Disk Ejector&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A program that allows you to quickly remove USB devices in Windows. It was originally designed to remove only USB pen drives but will now eject any USB device. It can be run as a non-visual command line program or a normal gui program. Its very useful if you have a USB flash/pen drive, especially if you use a menu such as PStart or the Portable Apps launcher.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3768207782158645167?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3768207782158645167/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3768207782158645167&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3768207782158645167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3768207782158645167'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/easy-to-eject-usb-disk.html' title='Easy to eject USB disk'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_P064xcoE9uA/SCLLA54cIoI/AAAAAAAAAEo/PGEf2zocxOk/s72-c/USBDiskEjector.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-542131283661757744</id><published>2008-05-08T16:48:00.001+08:00</published><updated>2008-05-08T16:53:50.700+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>MIT OpenCourseWare / 麻省理工學院 開放式課</title><content type='html'>&lt;a href="http://www.twocw.net/mit/index.htm"&gt;麻省理工學院 開放式課&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ocw.mit.edu/OcwWeb/web/home/home/index.htm"&gt;MIT OpenCourseWare&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;這是一個免費、開放的教育資源，供給全世界各地的機構、學生和自學者使用。開放式課程系統代表麻省理工學院提升知識和教育水準的願景，並且為二十一世紀的世界服務。這個網站的目的正與麻省理工學院對於追求卓越、創意和領導的價值觀不謀而合。&lt;br /&gt;&lt;br /&gt;麻省理工學院的「開放式課程網頁」：&lt;br /&gt;&lt;br /&gt;   * 是麻省理工學院教材的網路版。&lt;br /&gt;   * 不需要任何註冊。&lt;br /&gt;   * 並非是給予學位或是證照的網站。&lt;br /&gt;   * 並不提供麻省理工學院入學申請。&lt;br /&gt;&lt;br /&gt;MIT OpenCourseWare (OCW) is a web-based publication of virtually all MIT course content. OCW is open and available to the world and is a permanent MIT activity.&lt;br /&gt;&lt;br /&gt;What is MIT OpenCourseWare?&lt;br /&gt;MIT OpenCourseWare is a free publication of MIT course materials that reflects almost all the undergraduate and graduate subjects taught at MIT.&lt;br /&gt;&lt;br /&gt;   * OCW is not an MIT education.&lt;br /&gt;   * OCW does not grant degrees or certificates.&lt;br /&gt;   * OCW does not provide access to MIT faculty.&lt;br /&gt;   * Materials may not reflect entire content of the course.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-542131283661757744?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/542131283661757744/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=542131283661757744&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/542131283661757744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/542131283661757744'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/mit-opencourseware.html' title='MIT OpenCourseWare / 麻省理工學院 開放式課'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-7515974998510545574</id><published>2008-05-08T15:45:00.001+08:00</published><updated>2008-05-08T15:45:38.427+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - atime ctime mtime</title><content type='html'>文件的 Access time : atime 是在讀取文件或者執行文件時更改的。&lt;br /&gt;&lt;br /&gt;文件的 Modified time : mtime 是在寫入文件時隨文件內容的更改而更改的。&lt;br /&gt;&lt;br /&gt;文件的 Create time : ctime 是在寫入文件、更改所有者、許可權或鏈結設置時隨 Inode 的內容更改而更改的。&lt;br /&gt;&lt;br /&gt;因此，更改文件的內容即會更改 mtime 和 ctime，&lt;br /&gt;但是文件的 ctime 可能會在 mtime 未發生任何變化時更改 - 在許可權更改，但是文件內容沒有變化的情況下。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ls -lc filename 列出文件的 ctime&lt;br /&gt;&lt;br /&gt;ls -lu filename 列出文件的 atime&lt;br /&gt;&lt;br /&gt;ls -l filename 列出文件的 mtime&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-7515974998510545574?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/7515974998510545574/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=7515974998510545574&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7515974998510545574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7515974998510545574'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/linux-atime-ctime-mtime.html' title='Linux - atime ctime mtime'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4827972487241908754</id><published>2008-05-08T15:18:00.001+08:00</published><updated>2008-05-08T15:18:54.773+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Check The Health of Adaptec RAID array</title><content type='html'># /usr/StorMan/arcconf getconfig 1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4827972487241908754?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4827972487241908754/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4827972487241908754&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4827972487241908754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4827972487241908754'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/linux-check-health-of-adaptec-raid.html' title='Linux - Check The Health of Adaptec RAID array'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-7860356484225819545</id><published>2008-05-08T12:21:00.000+08:00</published><updated>2008-05-08T12:22:20.753+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Solution for Vista unable to connect to XP sharing</title><content type='html'>&lt;span style="font-weight: bold;"&gt;METHOD 1: Through Local Security Policy:&lt;/span&gt;&lt;br /&gt;NOTE: This feature is for Vista Business, Ultimate, and Enterprise versions&lt;br /&gt;only. For Vista Home Basic and Home Premium see METHOD 2 below.&lt;br /&gt;&lt;br /&gt;1. Open Administrative Tools.&lt;br /&gt;NOTE: In Start Menu or Control Panel (Classic View).&lt;br /&gt;2. Click Local Security Policy.&lt;br /&gt;3. In the left pane, click the triangle next to Local Policy.&lt;br /&gt;4. In the left pane, click Security Options.&lt;br /&gt;5. In the right pane near the bottom, click Network security: LAN manager&lt;br /&gt;authentication level.&lt;br /&gt;6. Click the drop down box, and click Send LM &amp;amp; NTLM - use NTLMv2 session&lt;br /&gt;security if negotiated.&lt;br /&gt;7. Click OK.&lt;br /&gt;8. Restart the computer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;METHOD 2: Hack the Registry:&lt;/span&gt;&lt;br /&gt;NOTE: This is for Vista Home versions.&lt;br /&gt;&lt;br /&gt;1. Open the Start Menu.&lt;br /&gt;2. In the white line (Start Search) area, type regedit and press Enter.&lt;br /&gt;3. Click Continue for UAC prompt.&lt;br /&gt;4. In regedit, go to: -HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Lsa&lt;br /&gt;5. In the right pane, right click LmCompatibilityLevel and click Modify.&lt;br /&gt;NOTE: If it doesn't already exist, create a DWORD value named&lt;br /&gt;LmCompatibilityLevel&lt;br /&gt;6. Set the value to 1&lt;br /&gt;7. Reboot&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-7860356484225819545?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/7860356484225819545/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=7860356484225819545&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7860356484225819545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7860356484225819545'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/solution-for-vista-unable-to-connect-to.html' title='Solution for Vista unable to connect to XP sharing'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-5700695871911745139</id><published>2008-05-08T10:08:00.005+08:00</published><updated>2008-05-08T10:38:44.291+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - use multiple screens on one terminal</title><content type='html'># Install screen&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;yum install screen&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# Start screen session. You can name your window/session (1 is name of session)&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;screen -S 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;# Create new session&lt;br /&gt;# first hit CTRL+a, releases both keys and press c&lt;br /&gt;&lt;br /&gt;# Switching between sessions&lt;br /&gt;# first hit CTRL+a, releases both keys and press n&lt;br /&gt;&lt;br /&gt;#  list all sessions&lt;br /&gt;# first hit CTRL+a, releases both keys and press "&lt;br /&gt;&lt;br /&gt;# switch to window by number&lt;br /&gt;# first hit CTRL+a, releases both keys and press '&lt;br /&gt;&lt;br /&gt;# help manual&lt;br /&gt;# first hit CTRL+a, releases both keys and press ?&lt;br /&gt;&lt;br /&gt;Ctrl+a c   ---   new window&lt;br /&gt;Ctrl+a n   ---   next window&lt;br /&gt;Ctrl+a p   ---   previous window&lt;br /&gt;Ctrl+a "   ---   select window from list&lt;br /&gt;Ctrl+a Ctrl+a   ---   previous window viewed &lt;br /&gt;&lt;br /&gt;Ctrl+a :resize   ---   resize region&lt;br /&gt;Ctrl+a :fit   ---   fit screen size to new terminal size&lt;br /&gt;Ctrl+a :remove   ---   remove region&lt;br /&gt;Ctrl+a tab   ---   Move to next region&lt;br /&gt;&lt;br /&gt;Ctrl+a d   ---   detach screen from terminal, Start screen with -r option to reattach&lt;br /&gt;Ctrl+a A   ---   set window title  &lt;br /&gt;Ctrl+a x   ---   lock session, Enter user password to unlock&lt;br /&gt;Ctrl+a [   ---   enter scrollback/copy mode, Enter to start and end copy region. Ctrl+a ] to leave this mode&lt;br /&gt;Ctrl+a ]   ---   paste buffer, Supports pasting between windows&lt;br /&gt;Ctrl+a &gt;   ---   write paste buffer to file, useful for copying between screens&lt;br /&gt;Ctrl+a &lt;   ---   read paste buffer from file, useful for pasting between screens&lt;br /&gt;&lt;br /&gt;Ctrl+a ?   ---   show key bindings/command names&lt;br /&gt;Ctrl+a :   ---   goto screen command prompt, up shows last command entered&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-5700695871911745139?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/5700695871911745139/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=5700695871911745139&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5700695871911745139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/5700695871911745139'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/linux-use-multiple-screens-on-one.html' title='Linux - use multiple screens on one terminal'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3574983693818520698</id><published>2008-05-07T15:00:00.000+08:00</published><updated>2008-05-07T15:02:21.718+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Spindown  (spin down idle disks)</title><content type='html'>&lt;a href="http://code.google.com/p/spindown/"&gt;Spindown &lt;/a&gt;is a daemon to spin down idle disks and thus save energy and give the  disks a longer lifetime. It also works with USB disks and hot-swappable disks  because it uses the device ID to identify the disk instead of the device name  (such as hda or sdb). This means that it doesn't matter if the disk is swapped  while the daemon is running.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Installation&lt;br /&gt;&lt;br /&gt;    $ tar xvzf spindown-x.x.x.tar.gz&lt;br /&gt;    $ cd spindown-x.x.x.tar.gz&lt;br /&gt;    $ make&lt;br /&gt;    # make install&lt;br /&gt;    # mv /etc/spindown.conf.example /etc/spindown.conf&lt;br /&gt;   &lt;br /&gt;Configuration&lt;br /&gt;&lt;br /&gt;    # ls -l /dev/disk/by-id/  #---- find out HDD id&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;    # vi /etc/spindown.conf&lt;br /&gt;   &lt;br /&gt;    [General]&lt;br /&gt;    cycle-time  = 60  &lt;br /&gt;    idle-time   = 3600&lt;br /&gt;   &lt;br /&gt;    [Disk 1]&lt;br /&gt;    name = hda&lt;br /&gt;    spindown = 1   &lt;br /&gt;&lt;br /&gt;    [Disk 2]&lt;br /&gt;    name = sda&lt;br /&gt;    spindown = 1&lt;br /&gt;    command = --pc=2&lt;br /&gt;   &lt;br /&gt;    #---- use command " sg_start --stop --pc=2 /dev/hda " to test the command parameter&lt;br /&gt;   &lt;br /&gt;Usage&lt;br /&gt;&lt;br /&gt;    # /etc/init.d/spindown start&lt;br /&gt;&lt;br /&gt;    # /etc/init.d/spindown status   &lt;br /&gt;   &lt;br /&gt;    # spindownd --help&lt;br /&gt;    &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3574983693818520698?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3574983693818520698/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3574983693818520698&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3574983693818520698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3574983693818520698'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/linux-spindown-spin-down-idle-disks.html' title='Linux - Spindown  (spin down idle disks)'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-702281622513117598</id><published>2008-05-07T11:02:00.000+08:00</published><updated>2008-05-07T11:03:22.823+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><title type='text'>使用 Apache htaccess 插入Header/Footer</title><content type='html'>當看到一卡車的檔案, 每個檔案都要進去裡面加個 include 或某些資料, 想到就很辛苦~  &lt;p&gt; 另一種做法就是用 Apache .htaccess 的功能, 就可以快速達到這點~ &lt;/p&gt;  &lt;p&gt; .htaccess 是對整個目錄以下的做動作, 所以下述參數會對此目錄的所有檔案都加上 header.php. &lt;/p&gt; &lt;h4&gt; php_value auto_prepend_file / auto_append_file 設定 &lt;/h4&gt; &lt;ul&gt;&lt;li&gt;php_value auto_prepend_file "header.php" # 在每個檔案的最上方(前方), 都把 header.php 的內容插入&lt;/li&gt;&lt;li&gt;php_value auto_append_file "footer.php" # 在每個檔案的最下方(後方), 都把 footer.php 的內容插入&lt;/li&gt;&lt;/ul&gt; &lt;h4&gt;其它常用設定&lt;/h4&gt; &lt;ul&gt;&lt;li&gt;DirectoryIndex index.html index.htm index.php # 此目錄下如果沒輸入檔名, 預設搜尋順序&lt;/li&gt;&lt;li&gt;AddType application/x-httpd-php .html .htm # 讓 .html .htm 都經過 php parser&lt;/li&gt;&lt;li&gt;php_value default_charset utf-8 # 預設編碼吐 UTF-8&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-702281622513117598?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/702281622513117598/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=702281622513117598&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/702281622513117598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/702281622513117598'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/apache-htaccess-headerfooter.html' title='使用 Apache htaccess 插入Header/Footer'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2273514473116479899</id><published>2008-05-05T10:48:00.002+08:00</published><updated>2008-05-05T10:51:11.721+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - create large dummy files</title><content type='html'>&lt;span style="color: rgb(255, 102, 0);"&gt;dd if=/dev/zero of=filename bs=1M count=1 seek=50&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;it should create a 51Mb file by writing 1Mb of data but seeking 50meg into a file first.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2273514473116479899?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2273514473116479899/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2273514473116479899&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2273514473116479899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2273514473116479899'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/linux-create-large-dummy-files.html' title='Linux - create large dummy files'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-128710159615219225</id><published>2008-05-05T10:19:00.000+08:00</published><updated>2008-05-05T10:20:22.481+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>甩尾</title><content type='html'>&lt;object width="340" height="280"&gt;&lt;param name="movie" value="http://www.youtube.com/v/vEV6ejMDkCI&amp;hl=zh_HK"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/vEV6ejMDkCI&amp;hl=zh_HK" type="application/x-shockwave-flash" wmode="transparent" width="340" height="280"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-128710159615219225?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/128710159615219225/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=128710159615219225&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/128710159615219225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/128710159615219225'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/05/blog-post.html' title='甩尾'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8092597620839307223</id><published>2008-04-24T14:35:00.001+08:00</published><updated>2008-04-24T14:35:38.834+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Methods to mount Samba</title><content type='html'>[smbmount]&lt;br /&gt;smbmount -o username="Username",password="Password" //IP/share /mnt/smb&lt;br /&gt;smbumount /mnt/smb&lt;br /&gt;&lt;br /&gt;[mount]&lt;br /&gt;mount -t smbfs -o username="Username",password="Password" //IP/share /mnt/smb&lt;br /&gt;umount /mnt/smb&lt;br /&gt;&lt;br /&gt;[cifs]&lt;br /&gt;mount -t cifs -o username="Username",password="Password" //IP/share /mnt/smb&lt;br /&gt;umount /mnt/smb&lt;br /&gt;&lt;br /&gt;mount.cifs -o username="Username",password="Password" //IP/share /mnt/smb&lt;br /&gt;umount.cifs /mnt/smb&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8092597620839307223?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8092597620839307223/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8092597620839307223&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8092597620839307223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8092597620839307223'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/linux-methods-to-mount-samba.html' title='Linux - Methods to mount Samba'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8305214686085381302</id><published>2008-04-24T14:26:00.003+08:00</published><updated>2008-12-12T13:34:28.010+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - network monitor (iftop)</title><content type='html'>&lt;a href="http://ex-parrot.com/%7Epdw/iftop/"&gt;iftop&lt;/a&gt; does for network usage what top does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts. Handy for answering the question "why is our ADSL link so slow?".&lt;br /&gt;&lt;br /&gt;查看ppp0網路介面的即時流量:&lt;br /&gt;$ iftop -i ppp0&lt;br /&gt;&lt;br /&gt;以位元組(bytes)為單位顯示流量(預設是位元bits):&lt;br /&gt;$ iftop -B&lt;br /&gt;&lt;br /&gt;直接顯示IP, 不進行DNS反解:&lt;br /&gt;$ iftop -n&lt;br /&gt;&lt;br /&gt;直接顯示連接埠編號, 不顯示服務名稱:&lt;br /&gt;$ iftop -N&lt;br /&gt;&lt;br /&gt;其他參數可下 iftop -h 看說明.&lt;br /&gt;&lt;br /&gt;進入iftop畫面時, 可按 p 切換是否顯示連接埠, n 切換顯示IP或主機的domain name, N切換顯示連接埠代號或名稱, p暫停顯示, b切換是否顯示長條, B切換計算幾秒內的平均流量, 其他按鍵可以按h觀看說明.&lt;br /&gt;&lt;br /&gt;設定檔的位置在~/.iftoprc , 關於設定檔的寫法可以參考 iftop 的 info page.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_P064xcoE9uA/SBAoq2ctq5I/AAAAAAAAAEg/dnwwMEY6AHc/s1600-h/iftop.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_P064xcoE9uA/SBAoq2ctq5I/AAAAAAAAAEg/dnwwMEY6AHc/s320/iftop.jpg" alt="" id="BLOGGER_PHOTO_ID_5192695086993746834" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8305214686085381302?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8305214686085381302/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8305214686085381302&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8305214686085381302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8305214686085381302'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/linux-network-monitor-iftop.html' title='Linux - network monitor (iftop)'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_P064xcoE9uA/SBAoq2ctq5I/AAAAAAAAAEg/dnwwMEY6AHc/s72-c/iftop.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2611134935488655888</id><published>2008-04-24T14:11:00.003+08:00</published><updated>2008-12-12T13:34:28.170+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Freeware'/><title type='text'>Open Source Guide</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_P064xcoE9uA/SBAlaWctq4I/AAAAAAAAAEY/REeQSBthQkM/s1600-h/osguide.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_P064xcoE9uA/SBAlaWctq4I/AAAAAAAAAEY/REeQSBthQkM/s320/osguide.jpg" alt="" id="BLOGGER_PHOTO_ID_5192691504991021954" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.osguide.net/"&gt;Open Source Guide&lt;/a&gt; is a site that is here to share the amazing open source software currently around the net. We offer a directory of open source software so we can all benefit from what the open source community has to offer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2611134935488655888?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2611134935488655888/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2611134935488655888&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2611134935488655888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2611134935488655888'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/open-source-guide.html' title='Open Source Guide'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_P064xcoE9uA/SBAlaWctq4I/AAAAAAAAAEY/REeQSBthQkM/s72-c/osguide.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-1535002524629006877</id><published>2008-04-18T14:18:00.000+08:00</published><updated>2008-04-18T14:19:18.824+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Freeware'/><title type='text'>Open Source Hardware Inventory Management Software</title><content type='html'>&lt;a href="http://sourceforge.net/projects/ocsinventory/"&gt;OCS Inventory NG&lt;/a&gt;, Open Computers and Software Inventory Next Generation is an application designed to help administrator keep track of the computers configuration and installed softwares. Low network traffic HTTP communications between agents and server. I’m currently testing this software and I will update all of you about my results.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/pcinventory/"&gt;PcInventory&lt;/a&gt; Web-based system to track the Pc and the installed peripherals.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/phpmyinventory/"&gt;phpMyInventory&lt;/a&gt; is a web-based hardware, software, and peripheral inventory system using PHP &amp;amp; MySQL. Currently stable on PHP version 4xx only!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/winventory/"&gt;Windows Inventory&lt;/a&gt;. A Computer Hardware and Software Inventory system. Based around wmi, vbscript, mysql &amp;amp; php. Expandable via modules to include software distribution, remote control, event viewer, disk monitoring, etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-1535002524629006877?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/1535002524629006877/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=1535002524629006877&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1535002524629006877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/1535002524629006877'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/open-source-hardware-inventory.html' title='Open Source Hardware Inventory Management Software'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4058864813054286607</id><published>2008-04-17T10:28:00.000+08:00</published><updated>2008-04-17T10:29:04.373+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Using Samba to join a Windows Domain</title><content type='html'>&lt;a href="http://www.onlamp.com/pub/a/onlamp/2008/04/01/step-by-step-using-samba-to-join-a-windows-domain.html"&gt;Using Samba to join a Windows Domain&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4058864813054286607?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4058864813054286607/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4058864813054286607&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4058864813054286607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4058864813054286607'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/using-samba-to-join-windows-domain.html' title='Using Samba to join a Windows Domain'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2168630127806180898</id><published>2008-04-17T10:17:00.003+08:00</published><updated>2008-04-17T10:20:27.206+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>SAMP (Solaris, Apache 2, MySQL 5, and PHP 5) Setup for Solaris</title><content type='html'>&lt;h3 style="font-weight: normal;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://www.sun.com/bigadmin/features/articles/samp_setup.jsp"&gt;SAMP (Solaris, Apache 2, MySQL 5, and PHP 5) Setup for Solaris 10 OS and Solaris Express&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2168630127806180898?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2168630127806180898/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2168630127806180898&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2168630127806180898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2168630127806180898'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/samp-solaris-apache-2-mysql-5-and-php-5.html' title='SAMP (Solaris, Apache 2, MySQL 5, and PHP 5) Setup for Solaris'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-9162526560507364274</id><published>2008-04-17T10:05:00.000+08:00</published><updated>2008-04-17T10:06:41.229+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>OpenSSH for Windows</title><content type='html'>&lt;a href="http://sshwindows.sourceforge.net/"&gt;OpenSSH for Windows&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-9162526560507364274?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/9162526560507364274/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=9162526560507364274&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/9162526560507364274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/9162526560507364274'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/openssh-for-windows.html' title='OpenSSH for Windows'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-7501650991980725585</id><published>2008-04-16T18:38:00.001+08:00</published><updated>2008-04-16T18:40:01.935+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Western, do you know what you are fighting for?</title><content type='html'>As a Chinese in Hong Kong, I don't realize the situation of Tibet indeed.&lt;br /&gt;I just saw from news that the Tibetans attacked the civilians. It was not demonstration, but insurrection and crime.&lt;br /&gt;&lt;br /&gt;How do you think about the situation of Ireland in Britain, and Basque in Spain?&lt;br /&gt;&lt;br /&gt;Is it any double standard?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-7501650991980725585?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/7501650991980725585/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=7501650991980725585&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7501650991980725585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7501650991980725585'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/western-do-you-know-what-you-are.html' title='Western, do you know what you are fighting for?'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4783147502244217225</id><published>2008-04-16T18:20:00.001+08:00</published><updated>2008-04-23T17:07:26.428+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='人生捕手'/><title type='text'>Tibet under China</title><content type='html'>&lt;a style="left: 0px ! important; top: 0px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-03722510942107725 visible" href="http://www.youtube.com/v/x9QNKB34cJo&amp;amp;rel=0"&gt;&lt;/a&gt;&lt;object height="280" width="340"&gt;&lt;param name="movie" value="http://www.youtube.com/v/x9QNKB34cJo&amp;amp;rel=0"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/x9QNKB34cJo&amp;amp;rel=0" type="application/x-shockwave-flash" wmode="transparent" height="280" width="340"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4783147502244217225?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4783147502244217225/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4783147502244217225&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4783147502244217225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4783147502244217225'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/tibet-under-china.html' title='Tibet under China'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6343259516623310419</id><published>2008-04-10T13:34:00.000+08:00</published><updated>2008-04-10T13:35:55.813+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Apache DoS/DDoS mod</title><content type='html'>&lt;a href="http://www.zdziarski.com/projects/mod_evasive/"&gt; mod_evasive&lt;/a&gt; is an evasive maneuvers module for Apache to provide evasive action in the event of an HTTP DoS or DDoS attack or brute force attack.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6343259516623310419?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6343259516623310419/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6343259516623310419&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6343259516623310419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6343259516623310419'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/linux-apache-dosddos-mod.html' title='Linux - Apache DoS/DDoS mod'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-8523734113286219018</id><published>2008-04-08T10:10:00.002+08:00</published><updated>2008-04-08T10:16:11.958+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - redirect/rewrite http to https for a specified directory</title><content type='html'>&lt;virtualhost&gt;&lt;virtualhost&gt;&amp;#60;Virtualhost&gt;&lt;br /&gt;    ...&lt;br /&gt;    &amp;#60;Location "/cacti"&amp;#62;&lt;br /&gt;        RewriteEngine on&lt;br /&gt;        Options +FollowSymLinks&lt;br /&gt;        Allow from all&lt;br /&gt;        RewriteCond %{SERVER_PORT} !^443$&lt;br /&gt;        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]&lt;br /&gt;    &amp;#60;&amp;#8260;Location&amp;#62;&lt;br /&gt;    ...&lt;br /&gt;&amp;#60;&amp;#8260;Virtualhost&amp;#62;&lt;/virtualhost&gt;&lt;br /&gt;&lt;/virtualhost&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-8523734113286219018?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/8523734113286219018/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=8523734113286219018&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8523734113286219018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/8523734113286219018'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/linux-redirectrewrite-http-to-https-for.html' title='Linux - redirect/rewrite http to https for a specified directory'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6376061316752598748</id><published>2008-04-07T10:40:00.002+08:00</published><updated>2008-04-07T10:42:04.205+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Restart NFS server when network link down</title><content type='html'>&lt;img style="vertical-align: middle;" src="http://figs.cyberciti.biz/warning-40px.png" title="Warning examples may crash your computer" /&gt;&lt;strong&gt;WARNING!&lt;/strong&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;Using restart option  (i.e. &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;service nfs restart&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;) may crash / freeze  your Linux computer if executed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;start service in following order:&lt;/p&gt;&lt;p&gt;&lt;code&gt;# service nfslock stop&lt;br /&gt;# service nfs stop&lt;br /&gt;# service portmap stop&lt;br /&gt;# umount /proc/fs/nfsd&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;/code&gt;start service in following order:&lt;br /&gt;&lt;code&gt;# service portmap start&lt;br /&gt;# service nfs start&lt;br /&gt;# service nfslock start&lt;br /&gt;# mount -t nfsd nfsd /proc/fs/nfsd&lt;/code&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6376061316752598748?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6376061316752598748/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6376061316752598748&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6376061316752598748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6376061316752598748'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/linux-restart-nfs-server-when-network.html' title='Linux - Restart NFS server when network link down'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-7444039533772928458</id><published>2008-04-01T15:20:00.001+08:00</published><updated>2008-04-01T15:20:37.082+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='人生捕手'/><title type='text'>勤力是我密友</title><content type='html'>&lt;span style="font-family:Verdana;font-size:85%;"&gt;在溫室泛舟 誰又記得奮鬥&lt;br /&gt;走出門口 原來越冷越長壽&lt;br /&gt;逆流便向上游 微笑者可得救&lt;br /&gt;難過更過不好以後&lt;br /&gt;&lt;br /&gt;＊逆境出對手 時運也講節奏&lt;br /&gt;高手能守 然後自有然後&lt;br /&gt;上游亦勝下流 能吃苦都不瘦&lt;br /&gt;迎接猛風就當盪韆鞦＊&lt;br /&gt;&lt;br /&gt;＃勤力是我密友&lt;br /&gt;陪著我走過最驚險時候&lt;br /&gt;朝著明日走呀走&lt;br /&gt;強橫要天也佩服地拍手&lt;br /&gt;勤力令我自幼&lt;br /&gt;無常中得到自信的成就&lt;br /&gt;胸懷大過四海人潮任我游＃ &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-7444039533772928458?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/7444039533772928458/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=7444039533772928458&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7444039533772928458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/7444039533772928458'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/blog-post.html' title='勤力是我密友'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-2097310256628053458</id><published>2008-04-01T12:12:00.001+08:00</published><updated>2008-04-01T12:12:46.302+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>MySQL Proxy Load balancing and Failover Tutorial</title><content type='html'>&lt;a href="http://www.cyberciti.biz/tips/mysql-proxy-howto.html"&gt;MySQL Proxy Load balancing and Failover Tutorial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-2097310256628053458?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/2097310256628053458/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=2097310256628053458&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2097310256628053458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/2097310256628053458'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/mysql-proxy-load-balancing-and-failover.html' title='MySQL Proxy Load balancing and Failover Tutorial'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-4072112258878776667</id><published>2008-04-01T12:05:00.000+08:00</published><updated>2008-04-01T12:06:03.781+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>Linux - monitor MySQL Tools</title><content type='html'>&lt;span style="color: rgb(255, 102, 0);"&gt;$ mysql -u admin -p 123456&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;mysql&gt; show status;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;mytop is a console-based (non-gui) tool for monitoring the threads and overall performance&lt;br /&gt;&lt;a href="http://jeremy.zawodny.com/mysql/mytop/"&gt;http://jeremy.zawodny.com/mysql/mytop/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;$ mytop -u admin -p 123456&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;$ mytop -u admin -p 123456 -d phpbb&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can store this information in ~/.mytop file:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;vi ~/.mytop&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Add config text as follows:&lt;br /&gt;&lt;br /&gt;user=admin&lt;br /&gt;pass=123456&lt;br /&gt;host=mysql0.hosting.some.com&lt;br /&gt;db=imail&lt;br /&gt;delay=10&lt;br /&gt;port=3306&lt;br /&gt;socket=&lt;br /&gt;batchmode=0&lt;br /&gt;header=1&lt;br /&gt;color=1&lt;br /&gt;idle=1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;mtop (MySQL top) monitors a MySQL server showing the queries which are taking the most amount of time to complete.&lt;br /&gt;mkill (MySQL kill) monitors a MySQL server for long running queries and kills them after a specified time interval. Queries can be selected based on regexes on the user, host, command, database, state and query.&lt;br /&gt;&lt;a href="http://mtop.sourceforge.net/"&gt;http://mtop.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;innotop is designed to monitor InnoDB transactions and internals, replication status, deadlocks, general queries and status values, and much more.&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/innotop/"&gt;http://sourceforge.net/projects/innotop/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-4072112258878776667?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/4072112258878776667/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=4072112258878776667&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4072112258878776667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/4072112258878776667'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/linux-monitor-mysql-tools.html' title='Linux - monitor MySQL Tools'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-3169629716444058568</id><published>2008-04-01T11:12:00.003+08:00</published><updated>2008-04-01T11:17:54.080+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - Procedure to convert a running single disk servers to software RAID1</title><content type='html'>&lt;h2 style="font-weight: normal;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://togami.com/%7Ewarren/guides/remoteraidcrazies/"&gt;Remote Conversion to Linux Software RAID-1 for Crazy Sysadmins HOWTO&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-3169629716444058568?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/3169629716444058568/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=3169629716444058568&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3169629716444058568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/3169629716444058568'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/linux-procedure-to-convert-running.html' title='Linux - Procedure to convert a running single disk servers to software RAID1'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29193141.post-6013570667383866649</id><published>2008-04-01T11:02:00.000+08:00</published><updated>2008-04-01T11:03:20.881+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux/Unix'/><title type='text'>Linux - rebuilding a RAID array after a disk fails</title><content type='html'>Assuming that new SCSI disk is /dev/sdb, type the following command:&lt;code&gt;&lt;br /&gt;# raidhotadd /dev/mdX /dev/sdb&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Replace /dev/mdX with actual raid device name (e.g. /dev/md0). While array is under construction, you can see progress and other information by typing following command:&lt;br /&gt;&lt;code&gt;# cat /proc/mdstat&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29193141-6013570667383866649?l=yinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yinux.blogspot.com/feeds/6013570667383866649/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29193141&amp;postID=6013570667383866649&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6013570667383866649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29193141/posts/default/6013570667383866649'/><link rel='alternate' type='text/html' href='http://yinux.blogspot.com/2008/04/linux-rebuilding-raid-array-after-disk.html' title='Linux - rebuilding a RAID array after a disk fails'/><author><name>yip</name><uri>http://www.blogger.com/profile/02067844334212583050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
