<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lab of Chowky &#187; linux</title>
	<atom:link href="http://lab.chowky.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://lab.chowky.com</link>
	<description>分享ＩＴ技術</description>
	<lastBuildDate>Sun, 01 Jan 2012 06:13:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OpenSUSE 11 SSH Keypair generation + window connect with Putty 教學&#8230;..失敗以及解決方法</title>
		<link>http://lab.chowky.com/2011/12/opensuse-11-ssh-keypair-generation-window-connect-with-putty-%e6%95%99%e5%ad%b8-%e5%a4%b1%e6%95%97%e4%bb%a5%e5%8f%8a%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opensuse-11-ssh-keypair-generation-window-connect-with-putty-%25e6%2595%2599%25e5%25ad%25b8-%25e5%25a4%25b1%25e6%2595%2597%25e4%25bb%25a5%25e5%258f%258a%25e8%25a7%25a3%25e6%25b1%25ba%25e6%2596%25b9%25e6%25b3%2595</link>
		<comments>http://lab.chowky.com/2011/12/opensuse-11-ssh-keypair-generation-window-connect-with-putty-%e6%95%99%e5%ad%b8-%e5%a4%b1%e6%95%97%e4%bb%a5%e5%8f%8a%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 18:07:49 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[11]]></category>
		<category><![CDATA[keypair]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[openSSH]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=2322</guid>
		<description><![CDATA[Really busy for these days. Haven&#8217;t posted for a long time~~. Yo! I am back. 近來試一試 openSUSE 去SETUP 一台 WEB SERVER. 因為要放上data center, 所以要set SSH connect 去server. 1. Generate SSH Key $ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/chowky/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase [...]]]></description>
			<content:encoded><![CDATA[<p>Really busy for these days. Haven&#8217;t posted for a long time~~.<br />
Yo! I am back.</p>
<p>近來試一試 openSUSE 去SETUP 一台 WEB SERVER. 因為要放上data center, 所以要set SSH connect 去server.</p>
<p>1. Generate SSH Key<br />
$ssh-keygen<br />
  Generating public/private rsa key pair.<br />
  Enter file in which to save the key (/home/chowky/.ssh/id_rsa):<br />
  Enter passphrase (empty for no passphrase):<br />
  Enter same passphrase again:<br />
  Your identification has been saved in /home/chowky/.ssh/id_rsa.<br />
  Your public key has been saved in /home/chowky/.ssh/id_rsa.pub.<br />
  The key fingerprint is:<br />
  XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX chowky@linux</p>
<p>2. check the files generated<br />
 $ ls /home/chowky/.ssh<br />
  id_rsa  id_rsa.pub</p>
<p>Note: id_rsa is private key. 你要keep 這個file. copy to USB drive<br />
      id_rsa.pub is public key</p>
<p>3.  import the key to the .ssh folder. 找不到的話就自己 create 一個.<br />
  $ cd /home/chowky/.ssh<br />
  $ cat id_rsa.pub >> /home/chowky/.ssh/authorized_keys</p>
<p>4. Modify &#8220;/etc/ssh/sshd_config&#8221; &#8230;(只識用nano&#8230;vi 不太熟&#8230;). 修改以下value.<br />
  RSAAuthentication yes<br />
  PubkeyAuthentication yes</p>
<p>disable password security，因為改用了RSA Keypair Authentication.<br />
  ChallengeResponseAuthentication no<br />
  PasswordAuthentication no<br />
  UsePAM yes</p>
<p>Reload the server configuration:<br />
  $ sudo /etc/init.d/sshd force-reload</p>
<p><span id="more-2322"></span><br />
如果你用 ssh connect 的話 (linux or install cygwin in windows only)<br />
copy private key &#8220;id_rsa&#8221; file to the client machine.<br />
  $ mkdir /home/user/.ssh<br />
  $ cp /YOUR_ID_RSA_PATH/id_rsa /home/user/.ssh<br />
  $ chmod 0600 -R /home/user/.ssh</p>
<p>你可以用以下的command connect to the server<br />
  $ ssh chowky@YOUR_IP_ADDRESS<br />
  Enter passphrase for key &#8216;/home/chowky/.ssh/id_rsa&#8217;:</p>
<p>如果又不想 install cygwin 的話都可以用PUTTY&#8230;</p>
<p>1. <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">downlaod putty</a><br />
2. <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">download puttygen</a><br />
3. Puttygen. Click Load. 之後打passphrase of the key.<br />
<a href="http://lab.chowky.com/wp-content/uploads/2011/12/puttygen.png"><img src="http://lab.chowky.com/wp-content/uploads/2011/12/puttygen-300x288.png" alt="" title="puttygen" width="300" height="288" class="alignnone size-medium wp-image-2323" /></a><br />
4. Save private key.<br />
5. Putty 之後就可以用這個.ppk 的private key connect.</p>
<p>大家可以試下 記得是 openSUSE 10 以下才會成功&#8230;.</p>
<p>openSUSE 11 就會失&#8230;失敗了 (permission denied)..搞了 chowky 很多時間&#8230;</p>
<p>其實是有點CONFIG 改了&#8230;..<br />
大家改一改server 之前改過的 /etc/ssh/sshd_config</p>
<p>AuthorizedKeysFile .ssh/authorized_keys<br />
-to-<br />
AuthorizedKeysFile %h/.ssh/authorized_keys</p>
<p>之後再 Reload the server configuration:<br />
  $ sudo /etc/init.d/sshd force-reload</p>
<p>完成!~</p>
<blockquote><p>Public key authentication is not working anymore</p>
<p>Version: 11.3+The following applies starting from openSUSE 11.3.<br />
Since openSSH 5.4, relative paths in configuration are no longer allowed. When pointing to the authorized _keys file make sure you use %h/ in front of the path to your authorized_keys file. Older versions still can do without. In /etc/ssh/sshd_config change:</p>
<p>AuthorizedKeysFile .ssh/authorized_keys<br />
-to-<br />
AuthorizedKeysFile %h/.ssh/authorized_keys
</p></blockquote>
<p>這對SET server 的朋友應該會有用~<br />
Reference: <a href="http://en.opensuse.org/SDB:OpenSSH_public_key_authentication#Security">http://en.opensuse.org/SDB:OpenSSH_public_key_authentication#Security</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2322" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2011%2F12%2Fopensuse-11-ssh-keypair-generation-window-connect-with-putty-%25e6%2595%2599%25e5%25ad%25b8-%25e5%25a4%25b1%25e6%2595%2597%25e4%25bb%25a5%25e5%258f%258a%25e8%25a7%25a3%25e6%25b1%25ba%25e6%2596%25b9%25e6%25b3%2595%2F&amp;title=OpenSUSE%2011%20SSH%20Keypair%20generation%20%2B%20window%20connect%20with%20Putty%20%E6%95%99%E5%AD%B8%26%238230%3B..%E5%A4%B1%E6%95%97%E4%BB%A5%E5%8F%8A%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%B3%95" id="wpa2a_2"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2011/12/opensuse-11-ssh-keypair-generation-window-connect-with-putty-%e6%95%99%e5%ad%b8-%e5%a4%b1%e6%95%97%e4%bb%a5%e5%8f%8a%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Flex] Flex Builder for Linux Alpha 5</title>
		<link>http://lab.chowky.com/2009/11/flex-flex-builder-for-linux-alpha-5/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flex-flex-builder-for-linux-alpha-5</link>
		<comments>http://lab.chowky.com/2009/11/flex-flex-builder-for-linux-alpha-5/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 13:39:06 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[FLEX]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[alpha 5]]></category>
		<category><![CDATA[flex builder 3]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1600</guid>
		<description><![CDATA[Flex Builder for Linux 一向都比window 和mac 慢很多。 現在只是flex builder 3 only. 當然，只用 linux 的用家是少數，所以投放的資源都會比較少。簡單來說就會是慢一點呢～。 不過這個消息對linux developer 來說當然是好的啦。雖然講就是cross platform，不過都難保不同還有 bugs 會令致某些function 出錯，所以直接在deploy 的environment 作開發才是最佳的選擇。 Flex Builder for Linux 將會在12 December expire. 大家可以在 這裏下載新的alpha 5 build Source: http://www.ashorten.com/2009/11/25/updated-build-of-flex-builder-for-linux-available/]]></description>
			<content:encoded><![CDATA[<p>Flex Builder for Linux 一向都比window 和mac 慢很多。<br />
現在只是flex builder 3 only.</p>
<p>當然，只用 linux 的用家是少數，所以投放的資源都會比較少。簡單來說就會是慢一點呢～。</p>
<p>不過這個消息對linux developer 來說當然是好的啦。雖然講就是cross platform，不過都難保不同還有 bugs 會令致某些function 出錯，所以直接在deploy 的environment 作開發才是最佳的選擇。</p>
<p>Flex Builder  for Linux 將會在12 December expire. 大家可以在</p>
<p><a href="http://labs.adobe.com/technologies/flex/flexbuilder_linux/">這裏下載新的alpha 5 build</a></p>
<p>Source: <a href="http://www.ashorten.com/2009/11/25/updated-build-of-flex-builder-for-linux-available/">http://www.ashorten.com/2009/11/25/updated-build-of-flex-builder-for-linux-available/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1600" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F11%2Fflex-flex-builder-for-linux-alpha-5%2F&amp;title=%5BFlex%5D%20Flex%20Builder%20for%20Linux%20Alpha%205" id="wpa2a_4"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/11/flex-flex-builder-for-linux-alpha-5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google 推出名為google chrome OS</title>
		<link>http://lab.chowky.com/2009/07/google-%e6%8e%a8%e5%87%ba%e5%90%8d%e7%82%bagoogle-chrome-os/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-%25e6%258e%25a8%25e5%2587%25ba%25e5%2590%258d%25e7%2582%25bagoogle-chrome-os</link>
		<comments>http://lab.chowky.com/2009/07/google-%e6%8e%a8%e5%87%ba%e5%90%8d%e7%82%bagoogle-chrome-os/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 12:40:29 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[google chrome OS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[operating system]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=832</guid>
		<description><![CDATA[OS 是operating　system，google　打算造一個window　出來？？　哈，原來是不簡單的。 很奇怪，os　都可以lightweight，（暫時難以明白呢，難道又run　on　browser？）， Google Chrome OS is an open source, lightweight operating system that will initially be targeted at netbooks. Later this year we will open-source its code, and netbooks running Google Chrome OS will be available for consumers in the second half of 2010. （先不要急，慢慢看完再想） 哦，原來都是來自linux　kernal，google　打算extend　google　chrome　去變得native　only，（把原有的google　chrome　加好多plugin　入去） 簡單來講都是利用web　technology。 Google Chrome OS will run on both [...]]]></description>
			<content:encoded><![CDATA[<p>OS 是operating　system，google　打算造一個window　出來？？　哈，原來是不簡單的。</p>
<p>很奇怪，os　都可以lightweight，（暫時難以明白呢，難道又run　on　browser？），</p>
<blockquote><p>Google Chrome OS is an open source, lightweight operating system that will initially be targeted at netbooks. Later this year we will open-source its code, and netbooks running Google Chrome OS will be available for consumers in the second half of 2010.</p></blockquote>
<p>（先不要急，慢慢看完再想）<br />
<span id="more-832"></span><br />
哦，原來都是來自linux　kernal，google　打算extend　google　chrome　去變得native　only，（把原有的google　chrome　加好多plugin　入去）</p>
<p>簡單來講都是利用web　technology。</p>
<blockquote><p>Google Chrome OS will run on both x86 as well as ARM chips and we are working with multiple OEMs to bring a number of netbooks to market next year. The software architecture is simple — Google Chrome running within a new windowing system on top of a Linux kernel. For application developers, the web is the platform. All web-based applications will automatically work and new applications can be written using your favorite web technologies. And of course, these apps will run not only on Google Chrome OS, but on any standards-based browser on Windows, Mac and Linux thereby giving developers the largest user base of any platform.
</p></blockquote>
<p>Google 當下的目的很明顯，就是想target　netbook　這個新冒起的market</p>
<p>Source: <a href="http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html">http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=832" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F07%2Fgoogle-%25e6%258e%25a8%25e5%2587%25ba%25e5%2590%258d%25e7%2582%25bagoogle-chrome-os%2F&amp;title=Google%20%E6%8E%A8%E5%87%BA%E5%90%8D%E7%82%BAgoogle%20chrome%20OS" id="wpa2a_6"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/07/google-%e6%8e%a8%e5%87%ba%e5%90%8d%e7%82%bagoogle-chrome-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux 在recession 經濟差的時候marketshare有增長</title>
		<link>http://lab.chowky.com/2009/05/linux-%e5%9c%a8recession-%e7%b6%93%e6%bf%9f%e5%b7%ae%e7%9a%84%e6%99%82%e5%80%99marketshare%e6%9c%89%e5%a2%9e%e9%95%b7/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linux-%25e5%259c%25a8recession-%25e7%25b6%2593%25e6%25bf%259f%25e5%25b7%25ae%25e7%259a%2584%25e6%2599%2582%25e5%2580%2599marketshare%25e6%259c%2589%25e5%25a2%259e%25e9%2595%25b7</link>
		<comments>http://lab.chowky.com/2009/05/linux-%e5%9c%a8recession-%e7%b6%93%e6%bf%9f%e5%b7%ae%e7%9a%84%e6%99%82%e5%80%99marketshare%e6%9c%89%e5%a2%9e%e9%95%b7/#comments</comments>
		<pubDate>Mon, 11 May 2009 14:55:08 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[growth]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[marketshare]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=432</guid>
		<description><![CDATA[經濟差，影響了m$ window 的銷路。相反地，opensource 的 linux position growth stronger in data centre。 Sixty-five percent of the 330 respondents said they plan to increase Linux server workloads by 10% or more this year. Sixty-three percent said they will increase their use of Linux on the desktop by more than 10% this year Linux 的marketshare 首次過10%的大關。看來m$ 要多做一點才可以了。 Source: [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-large wp-image-447" title="infoweek" src="http://lab.chowky.com/wp-content/uploads/2009/05/infoweek-1024x607.jpg" alt="infoweek" width="600" height="355" /></p>
<p>經濟差，影響了m$ window 的銷路。相反地，opensource 的 linux position growth stronger in data centre。</p>
<p><span id="more-432"></span></p>
<blockquote><p><span id="articleBody">Sixty-five percent of t</span><span id="articleBody">he 330 respondents said they plan to increase Linux server workloads by 10% or more this year. Sixty-three percent said they will increase their use of Linux on the desktop by more than 10% this year</span></p></blockquote>
<p><span>Linux 的marketshare 首次過10%的大關。看來m$ 要多做一點才可以了。</span></p>
<p><span><br />
</span></p>
<p>Source: <a href="http://www.informationweek.com/news/software/linux/showArticle.jhtml?articleID=215900055">http://www.informationweek.com/news/software/linux/showArticle.jhtml?articleID=215900055</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=432" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F05%2Flinux-%25e5%259c%25a8recession-%25e7%25b6%2593%25e6%25bf%259f%25e5%25b7%25ae%25e7%259a%2584%25e6%2599%2582%25e5%2580%2599marketshare%25e6%259c%2589%25e5%25a2%259e%25e9%2595%25b7%2F&amp;title=Linux%20%E5%9C%A8recession%20%E7%B6%93%E6%BF%9F%E5%B7%AE%E7%9A%84%E6%99%82%E5%80%99marketshare%E6%9C%89%E5%A2%9E%E9%95%B7" id="wpa2a_8"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/05/linux-%e5%9c%a8recession-%e7%b6%93%e6%bf%9f%e5%b7%ae%e7%9a%84%e6%99%82%e5%80%99marketshare%e6%9c%89%e5%a2%9e%e9%95%b7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

