<?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>beer planet &#187; Linux</title> <atom:link href="http://beerpla.net/tag/linux/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Thu, 17 May 2012 22:50:53 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <atom:link rel='hub' href='http://beerpla.net/?pushpress=hub'/> <item><title>[Solr] How To Fix java.io.IOException: directory FOO exists and is a directory, but cannot be listed: list() returned null</title><link>http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/</link> <comments>http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/#comments</comments> <pubDate>Mon, 21 Sep 2009 19:47:53 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Solr]]></category> <category><![CDATA[commit]]></category> <category><![CDATA[directory]]></category> <category><![CDATA[exception]]></category> <category><![CDATA[exists]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[limit]]></category> <category><![CDATA[list]]></category> <category><![CDATA[null]]></category> <category><![CDATA[open file]]></category> <category><![CDATA[optimize]]></category> <category><![CDATA[ulimit]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/</guid> <description><![CDATA[<h2>The Problem</h2><p>I am throwing up a quick post about a relatively cryptic error that Solr started throwing the other day here at Plaxo. After happily running for a few days, I suddenly started getting pages about failed Solr indexing.</p><p>Upon closer examination, I saw the following repeatedly in the log file:</p><div
class="wp_syntax"><div
class="code"><pre>catalina.2009-09-18.log:SEVERE: java.io.IOException: directory 'DATADIR/index'
exists and is a directory, but cannot be listed: list() returned null</pre></div></div><p>I tried to see if sending an <a
href="http://www.google.com/search?q=site:wiki.apache.org+solr+optimize" rel="nofollow">OPTIMIZE</a> command would help but the server returned the same response.</p><h2>Digging Deeper</h2><p>The reason was these errors was quite simple &#8211; Solr was running into the system level limit on allowed number of open files (ulimit). This limit can be seen by running</p><div
class="wp_syntax"><div
class="code"><pre>ulimit </pre></div>...<div
class=clear></div> <a
href="http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></div>]]></description> <content:encoded><![CDATA[<h2>The Problem</h2><p>I am throwing up a quick post about a relatively cryptic error that Solr started throwing the other day here at Plaxo. After happily running for a few days, I suddenly started getting pages about failed Solr indexing.</p><p>Upon closer examination, I saw the following repeatedly in the log file:</p><div
class="wp_syntax"><div
class="code"><pre>catalina.2009-09-18.log:SEVERE: java.io.IOException: directory 'DATADIR/index'
exists and is a directory, but cannot be listed: list() returned null</pre></div></div><p>I tried to see if sending an <a
href="http://www.google.com/search?q=site:wiki.apache.org+solr+optimize" rel="nofollow">OPTIMIZE</a> command would help but the server returned the same response.</p><h2>Digging Deeper</h2><p>The reason was these errors was quite simple &#8211; Solr was running into the system level limit on allowed number of open files (ulimit). This limit can be seen by running</p><div
class="wp_syntax"><div
class="code"><pre>ulimit -n
1024</pre></div></div><p>or simply</p><div
class="wp_syntax"><div
class="code"><pre>ulimit -a | grep 'open files'
open files                      (-n) 1024</pre></div></div><p>This means that if a process tries to open that many files at the same time, the kernel will prohibit opening any more, which in my case caused the Java IOException.</p><p>In my case, I haven&#039;t been using the Solr OPTIMIZE command for a while, so after a lot of <a
href="http://www.google.com/search?q=site:wiki.apache.org+solr+commit" rel="nofollow">COMMIT</a>s, the Solr data got pretty fragmented, thus hitting the open files limit.</p><h2>The Solution</h2><p>There are 2 things to be done here:</p><ol><li>OPTIMIZE Solr more often. When an OPTIMIZE occurs, multiple index files are merged into 1, thus reducing the number of files that need to be opened. However, before you can OPTIMIZE, you have to raise the allowed number of open files (see the next bullet).</p></li><li>Set a higher open files limit for the user that runs Solr (in my case, the <strong><em>solr</em></strong> user) &#8211; for example to 4096 instead of 1024. One way to do it is by adding a file /etc/security/limits.d/solr.conf with the following contents:<p></p><div
class="wp_syntax"><div
class="code"><pre>solr hard nofile 4096
solr soft nofile 4096</pre></div></div><p>and then logging out and back in. The file should be automatically loaded, which you can verify by running the ulimit commands from the section above.</li></ol><p>Happy Solring!</p><p>By the way, here&#039;s a really good resource for Solr 1.4 that just came out: <a
href="http://www.amazon.com/dp/1847195881/?tag=beepla-20">Solr 1.4 Enterprise Search</a>. I have this book and it&#039;s quite helpful in explaining such topics as multicore setup, search methods, replication, etc.</p><p
align="center"><iframe
style="width: 120px; height: 240px" marginheight="0" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=beepla-20&amp;o=1&amp;p=8&amp;l=as1&amp;m=amazon&amp;f=ifr&amp;md=10FE9736YVPPT7A0FBG2&amp;asins=1847195881" frameborder="0" marginwidth="0" scrolling="no"></iframe></p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D%20How%20To%20Fix%20java.io.IOException%3A%20directory%20FOO%20exists%20and%20is%20a%20directory%2C%20but%20cannot%20be%20listed%3A%20list%28%29%20returned%20null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/03/06/how-to-show-hiddeninvisible-files-in-total-commander-both-locally-and-on-an-ftp-server/" rel="bookmark" title="March 6, 2010">How To Show Hidden/Invisible Files In Total Commander, Both Locally And On An FTP Server</a></li><li><a
href="http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/" rel="bookmark" title="September 3, 2009">Comparison Between Solr And Sphinx Search Servers (Solr Vs Sphinx &#8211; Fight!)</a></li><li><a
href="http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/" rel="bookmark" title="August 4, 2007">Watch &#8211; A Useful Linux Command You May Have Never Heard Of</a></li><li><a
href="http://beerpla.net/2009/04/08/perl-finding-files-the-fun-and-elegant-way/" rel="bookmark" title="April 8, 2009">[Perl] Finding Files, The Fun And Elegant Way</a></li><li><a
href="http://beerpla.net/2008/10/11/how-to-sort-folders-the-same-way-as-files-in-total-commander/" rel="bookmark" title="October 11, 2008">How To Sort Folders The Same Way As Files In Total Commander</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F09%2F21%2Fsolr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null%2F&amp;title=%5BSolr%5D%20How%20To%20Fix%20java.io.IOException%3A%20directory%20FOO%20exists%20and%20is%20a%20directory%2C%20but%20cannot%20be%20listed%3A%20list%28%29%20returned%20null" id="wpa2a_2"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Do NOT Use This Perl Module: Passwd::Unix</title><link>http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/</link> <comments>http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/#comments</comments> <pubDate>Wed, 23 Apr 2008 03:05:29 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[module]]></category> <category><![CDATA[passwd]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[shadow]]></category> <category><![CDATA[unix]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/</guid> <description><![CDATA[<p><strong>Update:</strong> The author of the module contacted me the same day and promised to fix it in the next version. Version 0.40 was indeed on cpan as promised, but I haven&#039;t tested it yet.</p><p><a
href="http://search.cpan.org/~strzelec/Passwd-Unix-0.33/Unix.pm">Passwd::Unix</a> will corrupt your /etc/shadow file and rearrange login names and their corresponding password hashes.</p><p>The current version of Passwd::Unix corrupted my /etc/shadow upon only<br
/> calling the passwd() function. Immediately users started to report not<br
/> being able to login.</p><p>After examining the situation, I found that Passwd::Unix rearranges all<br
/> users in /etc/shadow in some way, but it only does it to the<br
/> usernames, and not the password hashes. Thus, you will get corrupted accounts. Moreover,<br
/> users are now able to login to one OTHER account, not ...<div
class=clear></div> <a
href="http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><strong>Update:</strong> The author of the module contacted me the same day and promised to fix it in the next version. Version 0.40 was indeed on cpan as promised, but I haven&#039;t tested it yet.</p><p><a
href="http://search.cpan.org/~strzelec/Passwd-Unix-0.33/Unix.pm">Passwd::Unix</a> will corrupt your /etc/shadow file and rearrange login names and their corresponding password hashes.</p><p>The current version of Passwd::Unix corrupted my /etc/shadow upon only<br
/> calling the passwd() function. Immediately users started to report not<br
/> being able to login.</p><p>After examining the situation, I found that Passwd::Unix rearranges all<br
/> users in /etc/shadow in some way, but it only does it to the<br
/> usernames, and not the password hashes. Thus, you will get corrupted accounts. Moreover,<br
/> users are now able to login to one OTHER account, not their own,<br
/> depending on how the usernames got shuffled.</p><p>Thankfully, I had a recent backup but I definitely don’t want anyone<br
/> else to suffer.</p><p>I’m using perl 5.10, SUSE 10.3. If it’s incompatible with SUSE, it needs<br
/> to say so and exit.</p><p>I&#039;ve filed the bug here: <a
title="http://rt.cpan.org/Public/Bug/Display.html?id=35323" href="http://rt.cpan.org/Public/Bug/Display.html?id=35323">http://rt.cpan.org/Public/Bug/Display.html?id=35323</a>.</p><p>You have been warned.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Do+NOT+Use+This+Perl+Module%3A+Passwd%3A%3AUnix&amp;link=http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/&amp;notes=Update%3A%20The%20author%20of%20the%20module%20contacted%20me%20the%20same%20day%20and%20promised%20to%20fix%20it%20in%20the%20next%20version.%20Version%200.40%20was%20indeed%20on%20cpan%20as%20promised%2C%20but%20I%20haven%27t%20tested%20it%20yet.%0D%0A%0D%0APasswd%3A%3AUnix%20will%20corrupt%20your%20%2Fetc%2Fshadow%20file%20and%20rearrange%20login%20names%20and%20their%20corresponding%20password%20hashes.%0D%0A%0D%0ATh&amp;short_link=http://bit.ly/cNzTKm&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Do+NOT+Use+This+Perl+Module%3A+Passwd%3A%3AUnix&amp;link=http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/&amp;notes=Update%3A%20The%20author%20of%20the%20module%20contacted%20me%20the%20same%20day%20and%20promised%20to%20fix%20it%20in%20the%20next%20version.%20Version%200.40%20was%20indeed%20on%20cpan%20as%20promised%2C%20but%20I%20haven%27t%20tested%20it%20yet.%0D%0A%0D%0APasswd%3A%3AUnix%20will%20corrupt%20your%20%2Fetc%2Fshadow%20file%20and%20rearrange%20login%20names%20and%20their%20corresponding%20password%20hashes.%0D%0A%0D%0ATh&amp;short_link=http://bit.ly/cNzTKm&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Do+NOT+Use+This+Perl+Module%3A+Passwd%3A%3AUnix&amp;link=http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/&amp;notes=Update%3A%20The%20author%20of%20the%20module%20contacted%20me%20the%20same%20day%20and%20promised%20to%20fix%20it%20in%20the%20next%20version.%20Version%200.40%20was%20indeed%20on%20cpan%20as%20promised%2C%20but%20I%20haven%27t%20tested%20it%20yet.%0D%0A%0D%0APasswd%3A%3AUnix%20will%20corrupt%20your%20%2Fetc%2Fshadow%20file%20and%20rearrange%20login%20names%20and%20their%20corresponding%20password%20hashes.%0D%0A%0D%0ATh&amp;short_link=http://bit.ly/cNzTKm&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Do+NOT+Use+This+Perl+Module%3A+Passwd%3A%3AUnix&amp;link=http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/&amp;notes=Update%3A%20The%20author%20of%20the%20module%20contacted%20me%20the%20same%20day%20and%20promised%20to%20fix%20it%20in%20the%20next%20version.%20Version%200.40%20was%20indeed%20on%20cpan%20as%20promised%2C%20but%20I%20haven%27t%20tested%20it%20yet.%0D%0A%0D%0APasswd%3A%3AUnix%20will%20corrupt%20your%20%2Fetc%2Fshadow%20file%20and%20rearrange%20login%20names%20and%20their%20corresponding%20password%20hashes.%0D%0A%0D%0ATh&amp;short_link=http://bit.ly/cNzTKm&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Do+NOT+Use+This+Perl+Module%3A+Passwd%3A%3AUnix&amp;link=http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/&amp;notes=Update%3A%20The%20author%20of%20the%20module%20contacted%20me%20the%20same%20day%20and%20promised%20to%20fix%20it%20in%20the%20next%20version.%20Version%200.40%20was%20indeed%20on%20cpan%20as%20promised%2C%20but%20I%20haven%27t%20tested%20it%20yet.%0D%0A%0D%0APasswd%3A%3AUnix%20will%20corrupt%20your%20%2Fetc%2Fshadow%20file%20and%20rearrange%20login%20names%20and%20their%20corresponding%20password%20hashes.%0D%0A%0D%0ATh&amp;short_link=http://bit.ly/cNzTKm&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Do+NOT+Use+This+Perl+Module%3A+Passwd%3A%3AUnix&amp;link=http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/&amp;notes=Update%3A%20The%20author%20of%20the%20module%20contacted%20me%20the%20same%20day%20and%20promised%20to%20fix%20it%20in%20the%20next%20version.%20Version%200.40%20was%20indeed%20on%20cpan%20as%20promised%2C%20but%20I%20haven%27t%20tested%20it%20yet.%0D%0A%0D%0APasswd%3A%3AUnix%20will%20corrupt%20your%20%2Fetc%2Fshadow%20file%20and%20rearrange%20login%20names%20and%20their%20corresponding%20password%20hashes.%0D%0A%0D%0ATh&amp;short_link=http://bit.ly/cNzTKm&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Do+NOT+Use+This+Perl+Module%3A+Passwd%3A%3AUnix&amp;link=http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/&amp;notes=Update%3A%20The%20author%20of%20the%20module%20contacted%20me%20the%20same%20day%20and%20promised%20to%20fix%20it%20in%20the%20next%20version.%20Version%200.40%20was%20indeed%20on%20cpan%20as%20promised%2C%20but%20I%20haven%27t%20tested%20it%20yet.%0D%0A%0D%0APasswd%3A%3AUnix%20will%20corrupt%20your%20%2Fetc%2Fshadow%20file%20and%20rearrange%20login%20names%20and%20their%20corresponding%20password%20hashes.%0D%0A%0D%0ATh&amp;short_link=http://bit.ly/cNzTKm&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Do%20NOT%20Use%20This%20Perl%20Module%3A%20Passwd%3A%3AUnix&amp;link=http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/&amp;notes=Update%3A%20The%20author%20of%20the%20module%20contacted%20me%20the%20same%20day%20and%20promised%20to%20fix%20it%20in%20the%20next%20version.%20Version%200.40%20was%20indeed%20on%20cpan%20as%20promised%2C%20but%20I%20haven%27t%20tested%20it%20yet.%0D%0A%0D%0APasswd%3A%3AUnix%20will%20corrupt%20your%20%2Fetc%2Fshadow%20file%20and%20rearrange%20login%20names%20and%20their%20corresponding%20password%20hashes.%0D%0A%0D%0ATh&amp;short_link=http://bit.ly/cNzTKm&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/02/03/how-not-to-implement-a-web-application-that-handles-external-authentication-using-betwittered-com-as-an-example/" rel="bookmark" title="February 3, 2010">How *Not* To Implement A Web Application That Handles External Authentication, Using BeTwittered.com As An Example</a></li><li><a
href="http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/" rel="bookmark" title="October 12, 2007">cpan &#8211; The Perl Module Manager</a></li><li><a
href="http://beerpla.net/2008/05/12/a-better-diff-or-what-to-do-when-gnu-diff-runs-out-of-memory-diff-memory-exhausted/" rel="bookmark" title="May 12, 2008">A Better diff Or What To Do When GNU diff Runs Out Of Memory (&quot;diff: memory exhausted&quot;)</a></li><li><a
href="http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/" rel="bookmark" title="April 30, 2008">How To Install The Latest SOAP::Lite Using Perl CPAN</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-mysql-performance-under-a-microscope-the-tobias-and-jay-show-wednesday-200pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: MySQL Performance Under A Microscope: The Tobias And Jay Show (Wednesday 2:00PM)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F04%2F22%2Fdo-not-use-this-perl-module-passwdunix%2F&amp;title=Do%20NOT%20Use%20This%20Perl%20Module%3A%20Passwd%3A%3AUnix" id="wpa2a_4"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Setting Up A MySQL Cluster</title><link>http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/</link> <comments>http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/#comments</comments> <pubDate>Wed, 26 Mar 2008 15:41:18 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Databases]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[cluster]]></category> <category><![CDATA[guide]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[opensuse]]></category> <category><![CDATA[setup]]></category> <category><![CDATA[suse]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/</guid> <description><![CDATA[<p><div
class="note"><div
class="notewarning"><b>Attention:</b> Apparently since the release of 5.1.25, cluster is packaged separately. I need to do some reading and research first and then update the tutorial with the latest info.</div></div></p><p>Here are some quick links for now: <a
href="http://blogs.mysql.com/kaj/2008/05/23/mysql-clusters-improved-release-model/">http://blogs.mysql.com/kaj/2008/05/23/mysql-clusters-improved-release-model/</a>, <a
href="http://johanandersson.blogspot.com/2008/05/mysql-cluster-62-officially-released.html">http://johanandersson.blogspot.com/2008/05/mysql-cluster-62-officially-released.html</a>, <a
href="http://blogs.sun.com/theaquarium/entry/improved_release_model_for_mysql">http://blogs.sun.com/theaquarium/entry/improved_release_model_for_mysql</a>.</p><p>This article contains my notes and detailed instructions on setting up a MySQL cluster. After reading it, you should have a good understanding of what a MySQL cluster is capable of, how and why it works, and how to set one of these bad boys up. Note that I&#039;m primarily a developer, with an interest in systems administration but I think that every developer should be able to understand and set up a MySQL cluster, at least to ...<div
class=clear></div> <a
href="http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><div
class="note"><div
class="notewarning"><b>Attention:</b> Apparently since the release of 5.1.25, cluster is packaged separately. I need to do some reading and research first and then update the tutorial with the latest info.</p><p>Here are some quick links for now: <a
href="http://blogs.mysql.com/kaj/2008/05/23/mysql-clusters-improved-release-model/">http://blogs.mysql.com/kaj/2008/05/23/mysql-clusters-improved-release-model/</a>, <a
href="http://johanandersson.blogspot.com/2008/05/mysql-cluster-62-officially-released.html">http://johanandersson.blogspot.com/2008/05/mysql-cluster-62-officially-released.html</a>, <a
href="http://blogs.sun.com/theaquarium/entry/improved_release_model_for_mysql">http://blogs.sun.com/theaquarium/entry/improved_release_model_for_mysql</a>.</div></div></p></p><p>This article contains my notes and detailed instructions on setting up a MySQL cluster. After reading it, you should have a good understanding of what a MySQL cluster is capable of, how and why it works, and how to set one of these bad boys up. Note that I&#039;m primarily a developer, with an interest in systems administration but I think that every developer should be able to understand and set up a MySQL cluster, at least to make the dev environment more robust.</p><ul><p
align="center"><strong>Notes</strong></p><li>In short, a MySQL cluster allows a user to set up a MySQL database shared between a number of machines. Here are some benefits:<ul><li>High availability. If one or some of the machines go down, the cluster will stay up, as long as there is at least one copy of all data still present. The more redundant copies of data there are, the more machines you can afford to lose.</li><li>Scalability. Distributed architecture allows for load balancing. If your MySQL database is getting hit with lots of queries, consider setting up a cluster to spread this load in almost linear fashion. A 4 node cluster should be able to handle twice as many queries as a 2 node cluster.</li><li>Online backups.</li><li>Full support for transactions.</li></ul></li><li>Must-have manual: <a
href="http://www.amazon.com/dp/0672328550/?tag=beepla-20">MySQL Clustering</a> by <a
href="http://www.amazon.com/exec/obidos/search-handle-url/103-5577892-2423057?%5Fencoding=UTF8&amp;search-type=ss&amp;index=books&amp;field-author=Alex%20Davies">Alex Davies</a> and <a
href="http://www.amazon.com/exec/obidos/search-handle-url/103-5577892-2423057?%5Fencoding=UTF8&amp;search-type=ss&amp;index=books&amp;field-author=Harrison%20Fisk">Harrison Fisk</a>, MySQL Press.</li><li>First and foremost, I would like to get this out of the way (from <a
href="http://www.amazon.com/dp/0672328550/?tag=beepla-20">MySQL Clustering</a>):<ul><li><strong>Response time with MySQL Cluster is quite commonly worse than it is with the traditional setup.</strong> Yes, response time is quite commonly worse with clustering than with a normal system. If you consider the architecture of MySQL Cluster, this will begin to make more sense.</li><li>When you do a query with a cluster, it has to first go to the MySQL server, and then it goes to storage nodes and sends the data back the same way. When you do a query on a normal system, all access is done within the MySQL server itself. It is clearly faster to access local resources than to read the same thing across a network. Response time is very much dependant on network latency because of the extra network traffic. <strong>Some queries may be faster than others due to the parallel scanning that is possible, but you cannot expect all queries to have a better response time.</strong></li><li>So if the response time is worse, why would you use a cluster? First, response time isn&#039;t normally very important. For the vast majority of applications, 10ms versus 15ms isn&#039;t considered a big difference.</li><li>Where MySQL Cluster shines is in relation to the other two metrics: throughput and scalability.</li></ul></li><li>A typical MySQL cluster setup involves 3 components in at least this configuration:<ul><li>1 management (ndb_mgmd) node.<ul><li>Management nodes contain the cluster configuration.</li><li>A management node is only needed to connect new storage and query nodes to the cluster and do some arbitration.</li><li>Existing storage and query nodes continue to operate normally if the management node goes down.</li><li>Therefore, it&#039;s relatively safe to have only 1 management node running on a very low spec machine (configuring 2 management nodes is possible but is slightly more complex and less dynamic).</li><li>Interfacing with a management node is done via an ndb_mgm utility.</li><li>Management nodes are configured using config.ini.</li><li>My setup here involves 1 management node.</li></ul></li><li>2 storage (ndbd) nodes.<ul><li>You do not interface directly with those nodes, instead you go through SQL nodes, described next.</li><li>It is possible to have more storage nodes than SQL nodes.</li><li>It is possible to host storage nodes on the same machines as SQL nodes.</li><li>It is possible, although not recommended, to host storage nodes on the same machines as management nodes.</li><li>Storage nodes will split up the data between themselves automatically. For example, if you want to store each row on 2 machines for redundancy (<em>NoOfReplicas</em>=2) and you have 6 storage nodes, your data is going to be split up into 3 distinct non-intersecting chunks, called <em>node groups</em>.</li><li>Given a correctly formulated query, it is possible to make MySQL scan all 3 chunks in parallel, thus returning the result set quicker.</li><li>Node groups are formed implicitly, meaning you cannot assign a storage node to a specific node group. What you can do, however, is manipulate the IDs of the nodes in such a way that the servers you want will get assigned to the node groups you want. The nodes having consecutive IDs get assigned to the same node group until there are <em>NoOfReplicas</em> nodes in a node group, at which point a node group starts.</li><li>Storage nodes are configured using /etc/my.cnf. They are also affected by settings in config.ini on the management node.</li><li>My setup here involves 4 storage nodes.</li></ul></li><li>2 query (SQL) nodes.<ul><li>SQL nodes are regular mysqld processes that access data in the cluster. You guessed it right &#8211; the data sits in storage nodes, and SQL nodes just serve as gateways to them.</li><li>Your application will connect to these SQL node IPs and will have no knowledge of storage nodes.</li><li>It is possible to have more SQL nodes than storage nodes.</li><li>It is possible to host SQL nodes on the same machines as storage nodes.</li><li>It is possible, although not recommended, to host SQL nodes on the same machines as management nodes.</li><li>SQL nodes are configured using /etc/my.cnf. They are also affected by settings in config.ini on the management node.</li><li>My setup here involves 4 SQL nodes.</li></ul></li></ul></li><li>Normally a cluster doesn&#039;t want to start if not all the storage nodes are connected (from <a
href="http://www.amazon.com/dp/0672328550/?tag=beepla-20">MySQL Clustering</a>).<ul><li>Therefore, the cluster waits longer during the restart if the nodes aren&#039;t all connected so that the other storage nodes can connect. This period of time is specified in the setting StartPartialTimeout, which defaults to 30 seconds. If at the end of 30 seconds, a cluster is possible (that is, it has one node from each node group) and it can&#039;t be in a network partitioned situation (that is, it has all of one node group), the cluster will perform a partial cluster restart, in which it starts up even though storage nodes are missing.</li><li>If the cluster is in a potential network partitioned setup, where it doesn&#039;t have all of a single node group, then it will wait even longer, with a setting called StartPartitionedTimeout, which defaults to 60 seconds.</li></ul></li><li>Adding databases propagates to all SQL nodes (at least with the latest version of MySQL), so when you create a new database, you only need to do it once on any SQL node. However, users dont propagate, so each SQL node will need to have its own users set up. Warning: do NOT try to change the MySQL internal tables (the ones in database mysql) to type ndbcluster as the cluster will break.</li><li>I will think of something else to put here.</li></ul><p
align="center"><strong>My Setup</strong></p><p>This is my sample configuration with sample IPs:</p><ul><li>mysql-5.1.22-rc-linux-i686-icc-glibc23</li><li>1x management node (OpenSUSE): 10.0.0.1</li><li>4x storage (ndbd) nodes (OpenSUSE): 10.0.0.2, 10.0.0.3, 10.0.0.4, 10.0.0.5.</li><li>4x query (SQL) nodes (OpenSUSE): 10.0.0.2, 10.0.0.3, 10.0.0.4, 10.0.0.5.</li><li>NoOfReplicas = 2, meaning there will be 2 copies of all data and therefore 4/2=2 node groups.</li><li>Cluster data will sit in /var/lib/mysql-cluster.</li></ul><p
align="center"><strong>Sample Screenshot</strong></p><p
align="left">Here is a sample screenshot of another one of my configurations showing a similar setup. This is the output of <em>show</em> on the management node:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/SettingUpAMySQLCluster_7C68/image.png" class="lightview" rel="gallery['240']"><img
height="319" alt="image" src="http://beerpla.net/wp-content/uploads/SettingUpAMySQLCluster_7C68/image_thumb.png" width="509" border="0" /></a></p><p
align="center"><strong>Setup Instructions</strong></p><p><strong>On the management node (as root):</strong></p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td
class="code"><pre>groupadd mysql
useradd -g mysql mysql
mkdir -p /root/src/
cd /root/src/
wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.22-rc-linux-i686-icc-glibc23.tar.gz/from/http://mysql.he.net/
tar xvzf mysql-*.tar.gz
rm mysql-*.tar.gz</pre></td></tr></table></div><ul><li>ndb_mgmd is the management server</li><li>ndb_mgm is the management client</li></ul><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
</pre></td><td
class="code"><pre>cp mysql-*/bin/ndb_mg* /usr/bin/
chmod +x /usr/bin/ndb_mg*
mkdir /var/lib/mysql-cluster
chown mysql:mysql /var/lib/mysql-cluster
vi /var/lib/mysql-cluster/config.ini</pre></td></tr></table></div><p> <br
/>Download <a
href="http://beerpla.net/wp-content/uploads/SettingUpAMySQLCluster_7C68/config_3.ini">/var/lib/mysql-cluster/config.ini</a></p><p></p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
</pre></td><td
class="code"><pre>ndb_mgmd -f /var/lib/mysql-cluster/config.ini
ndb_mgm
show</pre></td></tr></table></div><p> <br
/><strong>On each storage and SQL node (as root):</strong></p><p></p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td
class="code"><pre>groupadd mysql
useradd -g mysql mysql
cd /usr/local
wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.22-rc-linux-i686-icc-glibc23.tar.gz/from/http://mysql.he.net/
tar xvzf mysql-*.tar.gz
rm mysql-*.tar.gz
ln -s `echo mysql-*` mysql
cd mysql
chown -R root .
chown -R mysql data
chgrp -R mysql .
scripts/mysql_install_db --user=mysql
cp support-files/mysql.server /etc/init.d/
chmod +x /etc/init.d/mysql.server
vi /etc/my.cnf</pre></td></tr></table></div><p> <br
/>Download <a
href="http://beerpla.net/wp-content/uploads/SettingUpAMySQLCluster_128EF/my.cnf" target="_self">/etc/my.cnf</a></p><p></p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td
class="code"><pre>mkdir /var/lib/mysql-cluster
chown mysql:mysql /var/lib/mysql-cluster
cd /var/lib/mysql-cluster
su mysql
/usr/local/mysql/bin/ndbd --initial # start the storage node and force it to (re)read the config
exit
echo &quot;/usr/local/mysql/bin/ndbd&quot; &gt; /etc/init.d/ndbd
chmod +x /etc/init.d/ndbd
/etc/init.d/mysql.server restart # start the query node</pre></td></tr></table></div><p> <br
/>SUSE:</p><p></p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
</pre></td><td
class="code"><pre>chkconfig --add mysql.server # this is SUSE's way of starting applications on system boot
chkconfig --add ndbd
chkconfig --list mysql.server
chkconfig --list ndbd</pre></td></tr></table></div><p> <br
/>Ubuntu:</p><p></p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
</pre></td><td
class="code"><pre>sudo apt-get install sysv-rc-conf # this is chkconfig's equivalent in Ubuntu
sysv-rc-conf mysql.server on
sysv-rc-conf ndbd on
sysv-rc-conf --list mysql.server
sysv-rc-conf --list ndbd</pre></td></tr></table></div><p>That&#039;s it! At this point you should go back to the management console that you logged into earlier (ndb_mgm) and issue the &#039;show&#039; command again. If everything is fine, you should see your data and SQL nodes connected. Now you can login to any SQL node, make some users, and create new ndb tables. If you&#039;re experiencing problems, do leave a message in the comments.</p><p>In the next mysql cluster article, I will explore various cluster error messages I have encountered as well as config file tweaking. Now go and spend some time outside in the sun &#8211; life is too short to waste it at a dark office.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Setting+Up+A+MySQL+Cluster&amp;link=http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/&amp;notes=%5Bwarning%5DAttention%3A%20Apparently%20since%20the%20release%20of%205.1.25%2C%20cluster%20is%20packaged%20separately.%20I%20need%20to%20do%20some%20reading%20and%20research%20first%20and%20then%20update%20the%20tutorial%20with%20the%20latest%20info.%20%20%20Here%20are%20some%20quick%20links%20for%20now%3A%20http%3A%2F%2Fblogs.mysql.com%2Fkaj%2F2008%2F05%2F23%2Fmysql-clusters-improved-release-model&amp;short_link=http://bit.ly/aYTA5e&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Setting+Up+A+MySQL+Cluster&amp;link=http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/&amp;notes=%5Bwarning%5DAttention%3A%20Apparently%20since%20the%20release%20of%205.1.25%2C%20cluster%20is%20packaged%20separately.%20I%20need%20to%20do%20some%20reading%20and%20research%20first%20and%20then%20update%20the%20tutorial%20with%20the%20latest%20info.%20%20%20Here%20are%20some%20quick%20links%20for%20now%3A%20http%3A%2F%2Fblogs.mysql.com%2Fkaj%2F2008%2F05%2F23%2Fmysql-clusters-improved-release-model&amp;short_link=http://bit.ly/aYTA5e&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Setting+Up+A+MySQL+Cluster&amp;link=http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/&amp;notes=%5Bwarning%5DAttention%3A%20Apparently%20since%20the%20release%20of%205.1.25%2C%20cluster%20is%20packaged%20separately.%20I%20need%20to%20do%20some%20reading%20and%20research%20first%20and%20then%20update%20the%20tutorial%20with%20the%20latest%20info.%20%20%20Here%20are%20some%20quick%20links%20for%20now%3A%20http%3A%2F%2Fblogs.mysql.com%2Fkaj%2F2008%2F05%2F23%2Fmysql-clusters-improved-release-model&amp;short_link=http://bit.ly/aYTA5e&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Setting+Up+A+MySQL+Cluster&amp;link=http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/&amp;notes=%5Bwarning%5DAttention%3A%20Apparently%20since%20the%20release%20of%205.1.25%2C%20cluster%20is%20packaged%20separately.%20I%20need%20to%20do%20some%20reading%20and%20research%20first%20and%20then%20update%20the%20tutorial%20with%20the%20latest%20info.%20%20%20Here%20are%20some%20quick%20links%20for%20now%3A%20http%3A%2F%2Fblogs.mysql.com%2Fkaj%2F2008%2F05%2F23%2Fmysql-clusters-improved-release-model&amp;short_link=http://bit.ly/aYTA5e&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Setting+Up+A+MySQL+Cluster&amp;link=http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/&amp;notes=%5Bwarning%5DAttention%3A%20Apparently%20since%20the%20release%20of%205.1.25%2C%20cluster%20is%20packaged%20separately.%20I%20need%20to%20do%20some%20reading%20and%20research%20first%20and%20then%20update%20the%20tutorial%20with%20the%20latest%20info.%20%20%20Here%20are%20some%20quick%20links%20for%20now%3A%20http%3A%2F%2Fblogs.mysql.com%2Fkaj%2F2008%2F05%2F23%2Fmysql-clusters-improved-release-model&amp;short_link=http://bit.ly/aYTA5e&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Setting+Up+A+MySQL+Cluster&amp;link=http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/&amp;notes=%5Bwarning%5DAttention%3A%20Apparently%20since%20the%20release%20of%205.1.25%2C%20cluster%20is%20packaged%20separately.%20I%20need%20to%20do%20some%20reading%20and%20research%20first%20and%20then%20update%20the%20tutorial%20with%20the%20latest%20info.%20%20%20Here%20are%20some%20quick%20links%20for%20now%3A%20http%3A%2F%2Fblogs.mysql.com%2Fkaj%2F2008%2F05%2F23%2Fmysql-clusters-improved-release-model&amp;short_link=http://bit.ly/aYTA5e&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Setting+Up+A+MySQL+Cluster&amp;link=http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/&amp;notes=%5Bwarning%5DAttention%3A%20Apparently%20since%20the%20release%20of%205.1.25%2C%20cluster%20is%20packaged%20separately.%20I%20need%20to%20do%20some%20reading%20and%20research%20first%20and%20then%20update%20the%20tutorial%20with%20the%20latest%20info.%20%20%20Here%20are%20some%20quick%20links%20for%20now%3A%20http%3A%2F%2Fblogs.mysql.com%2Fkaj%2F2008%2F05%2F23%2Fmysql-clusters-improved-release-model&amp;short_link=http://bit.ly/aYTA5e&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Setting%20Up%20A%20MySQL%20Cluster&amp;link=http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/&amp;notes=%5Bwarning%5DAttention%3A%20Apparently%20since%20the%20release%20of%205.1.25%2C%20cluster%20is%20packaged%20separately.%20I%20need%20to%20do%20some%20reading%20and%20research%20first%20and%20then%20update%20the%20tutorial%20with%20the%20latest%20info.%20%20%20Here%20are%20some%20quick%20links%20for%20now%3A%20http%3A%2F%2Fblogs.mysql.com%2Fkaj%2F2008%2F05%2F23%2Fmysql-clusters-improved-release-model&amp;short_link=http://bit.ly/aYTA5e&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-portable-scale-out-benchmarks-for-mysql-wednesday-1050am/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Portable Scale-out Benchmarks For MySQL (Wednesday 10:50AM)</a></li><li><a
href="http://beerpla.net/2008/04/15/mysql-conference-liveblogging-performance-guide-for-mysql-cluster-tuesday-1050am/" rel="bookmark" title="April 15, 2008">MySQL Conference Liveblogging: Performance Guide For MySQL Cluster (Tuesday 10:50AM)</a></li><li><a
href="http://beerpla.net/2008/04/15/mysql-conference-liveblogging-the-future-of-mysql-tuesday-1155am-2/" rel="bookmark" title="April 15, 2008">MySQL Conference Liveblogging: The Future Of MySQL (Tuesday 11:55AM)</a></li><li><a
href="http://beerpla.net/2008/03/11/mysql-falcon-storage-engine-enters-beta-stage/" rel="bookmark" title="March 11, 2008">MySQL Falcon Storage Engine Enters Beta Stage.</a></li><li><a
href="http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/" rel="bookmark" title="September 5, 2008">MySQL Slave Lag (Delay) Explained And 7 Ways To Battle It</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F03%2F26%2Fsetting-up-a-mysql-cluster%2F&amp;title=Setting%20Up%20A%20MySQL%20Cluster" id="wpa2a_6"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/feed/</wfw:commentRss> <slash:comments>24</slash:comments> </item> <item><title>MySQL Conference 2008</title><link>http://beerpla.net/2008/03/24/mysql-conference-2008/</link> <comments>http://beerpla.net/2008/03/24/mysql-conference-2008/#comments</comments> <pubDate>Tue, 25 Mar 2008 03:54:10 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Awesomeness]]></category> <category><![CDATA[Databases]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Personal]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[2008]]></category> <category><![CDATA[conference]]></category> <category><![CDATA[guide]]></category> <category><![CDATA[keynote]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[presentation]]></category> <category><![CDATA[speaker]]></category> <category><![CDATA[tool]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/03/24/mysql-conference-2008/</guid> <description><![CDATA[<p>April 14-17th is going to be an exciting time. Why? Because the <a
href="http://en.oreilly.com/mysql2008/public/content/home">2008 MySQL Conference and Expo</a> is going to be held in Santa Clara, CA. Who would want to miss out on a chance to lurk around, let alone talk to, some of the smartest people in the MySQL world? Well, those who don&#039;t have at least $1000+, <a
href="https://en.oreilly.com/mysql2008/public/register">of course</a>. A 3 day pass to the conference without tutorials costs a whopping $1199. A full pass would dry up your pockets $1499.</p><p>Well, &#034;good news everyone&#034;. Thanks to <a
href="http://www.pythian.com/blogs/872/win-a-free-ticket-to-the-mysql-users-conference">Sheeri Cabral</a> of The Pythian Group, <a
href="http://www.planetmysql.org">PlanetMySQL.org</a>, <a
href="http://jeremy.linuxquestions.org/2008/03/06/upcoming-events/">Jeremy</a>, and, most importantly, <a
href="http://www.linuxquestions.org/questions/linux-news-59/gratis-2008-mysql-conference-and-expo-conference-pass-627377/">LinuxQuestions.org</a>, I am now in possession of a 3-day conference pass!! I&#039;m incredibly excited that I ...<div
class=clear></div> <a
href="http://beerpla.net/2008/03/24/mysql-conference-2008/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>April 14-17th is going to be an exciting time. Why? Because the <a
href="http://en.oreilly.com/mysql2008/public/content/home">2008 MySQL Conference and Expo</a> is going to be held in Santa Clara, CA. Who would want to miss out on a chance to lurk around, let alone talk to, some of the smartest people in the MySQL world? Well, those who don&#039;t have at least $1000+, <a
href="https://en.oreilly.com/mysql2008/public/register">of course</a>. A 3 day pass to the conference without tutorials costs a whopping $1199. A full pass would dry up your pockets $1499.</p><p>Well, &#034;good news everyone&#034;. Thanks to <a
href="http://www.pythian.com/blogs/872/win-a-free-ticket-to-the-mysql-users-conference">Sheeri Cabral</a> of The Pythian Group, <a
href="http://www.planetmysql.org">PlanetMySQL.org</a>, <a
href="http://jeremy.linuxquestions.org/2008/03/06/upcoming-events/">Jeremy</a>, and, most importantly, <a
href="http://www.linuxquestions.org/questions/linux-news-59/gratis-2008-mysql-conference-and-expo-conference-pass-627377/">LinuxQuestions.org</a>, I am now in possession of a 3-day conference pass!! I&#039;m incredibly excited that I will be able to attend and finally meet many geniuses, including the ones mentioned on my <a
href="http://beerpla.net/2008/03/18/must-know-people-in-the-mysql-field/">Must-Know People In The MySQL Field</a> page. I&#039;ve never won anything worth over 50 cents before. As a funny side note, there were 4 pages of replies to the raffle post, 90% of them saying that they could not attend (mostly due to living in other countries), so in reality only 2-3 people out of everyone could actually attend. I like those odds.</p><p><a
href="http://en.oreilly.com/mysql2008/public/schedule/grid?date=2008-04-15">Here</a> is a link to the oh so colorful conference schedule. I&#039;m particularly interested in this short list of highly exciting subjects:</p><p>April 15th</p><ul><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/1756">State of MySQL</a> &#8211; the keynote by Mårten Mickos (former CEO of MySQL).</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/828">Performance Guide for MySQL Cluster</a> &#8211; parallel query processing guide perhaps?</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/625">Lessons Learned in Building a Highly Scalable MySQL Database</a> &#8211; definitely need more lessons.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/631">Big Bird (Scaling Twitter)</a> &#8211; should be fun, considering I heard twitter was started in ruby on rails and had major problems scaling out.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/923">InnoDB: Status, Architecture, and New Features</a> &#8211; an update would be nice, kthx.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/930">Dramatically Improving MySQL Database Performance in Data Warehouse Applications</a> &#8211; more lessons!</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/150">Investigating Innodb Scalability Limits</a> by Peter Zaitsev from MySQL Performance Blog!</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/612">Disaster is Inevitable—Are You Prepared?</a> by Farhan Mashraqi from Fotolog.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/1762">Mitigating Replication Latency in a Distributed Application Environment</a> &#8211; I need to get rid of these constant replication lags already, for the love of god!</li></ul><p>April 16th</p><ul><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/599">Portable Scale-out Benchmarks for MySQL</a> &#8211; tasty MySQL bench goodies? Sign me up.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/133">Applied Partitioning and Scaling Your Database System</a> &#8211; sharding, disk spanning? Whatever this will be, I&#039;m all ears.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/521">Architecture of Maria: A New Storage Engine with a Transactional Design</a> &#8211; I&#039;m very interested in this new, very promising future replacement engine for MyISAM.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/849">Astronomy, Petabytes, and MySQL</a> &#8211; sounds like fun. I liked astronomy&#8230; I think.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/132">Benchmarking and Monitoring: Tools of the Trade (Part I)</a> &#8211; more tools, invaluable.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/2613">Benchmarking and Monitoring: Tools of the Trade (Part II)</a> &#8211; even more? Tool overload for today.</li></ul><p>April 17th</p><ul><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/3645">A Match Made in Heaven? The Social Graph and the Database</a> &#8211; by Jeff Rothschild from Facebook.com, sounds like something to wake me up in the morning.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/918">Stored Routines: Tips, Tricks, and Solutions</a></li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/495">MySQL Proxy, the Friendly Man in the Middle</a> &#8211; probably one of the most interesting things in development right now.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/511">Sphinx: High Performance Full Text Search for MySQL</a></li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/66">Helping InnoDB Scale on Servers with Many CPU Cores and Disks</a> &#8211; more scaling, always good.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/803">MySQL Hidden Treasures</a> &#8211; man, how do I combine 3 sessions that go on at the same time?</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/283">Top 20 DB Design Tips Every Architect Needs to Know</a></li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/588">Partitioned mySQL and &#8230;. realtime</a> &#8211; by Dathan Pattishall from Flickr.</li><li><a
href="http://en.oreilly.com/mysql2008/public/schedule/detail/355">Deadly Sins Using MySQL and PHP</a> &#8211; by Arjen Lentz</li></ul><p>April 18th</p><ul><li>temporarily unload all the information gathered in the previous 3 days and drown in beer</li></ul><p>Excitement is in the air. Can you FEEL IT?</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Conference+2008&amp;link=http://beerpla.net/2008/03/24/mysql-conference-2008/&amp;notes=April%2014-17th%20is%20going%20to%20be%20an%20exciting%20time.%20Why%3F%20Because%20the%202008%20MySQL%20Conference%20and%20Expo%20is%20going%20to%20be%20held%20in%20Santa%20Clara%2C%20CA.%20Who%20would%20want%20to%20miss%20out%20on%20a%20chance%20to%20lurk%20around%2C%20let%20alone%20talk%20to%2C%20some%20of%20the%20smartest%20people%20in%20the%20MySQL%20world%3F%20Well%2C%20those%20who%20don%27t%20have%20at%20least%20%241000%2B%2C&amp;short_link=http://bit.ly/aKuMVA&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Conference+2008&amp;link=http://beerpla.net/2008/03/24/mysql-conference-2008/&amp;notes=April%2014-17th%20is%20going%20to%20be%20an%20exciting%20time.%20Why%3F%20Because%20the%202008%20MySQL%20Conference%20and%20Expo%20is%20going%20to%20be%20held%20in%20Santa%20Clara%2C%20CA.%20Who%20would%20want%20to%20miss%20out%20on%20a%20chance%20to%20lurk%20around%2C%20let%20alone%20talk%20to%2C%20some%20of%20the%20smartest%20people%20in%20the%20MySQL%20world%3F%20Well%2C%20those%20who%20don%27t%20have%20at%20least%20%241000%2B%2C&amp;short_link=http://bit.ly/aKuMVA&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Conference+2008&amp;link=http://beerpla.net/2008/03/24/mysql-conference-2008/&amp;notes=April%2014-17th%20is%20going%20to%20be%20an%20exciting%20time.%20Why%3F%20Because%20the%202008%20MySQL%20Conference%20and%20Expo%20is%20going%20to%20be%20held%20in%20Santa%20Clara%2C%20CA.%20Who%20would%20want%20to%20miss%20out%20on%20a%20chance%20to%20lurk%20around%2C%20let%20alone%20talk%20to%2C%20some%20of%20the%20smartest%20people%20in%20the%20MySQL%20world%3F%20Well%2C%20those%20who%20don%27t%20have%20at%20least%20%241000%2B%2C&amp;short_link=http://bit.ly/aKuMVA&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Conference+2008&amp;link=http://beerpla.net/2008/03/24/mysql-conference-2008/&amp;notes=April%2014-17th%20is%20going%20to%20be%20an%20exciting%20time.%20Why%3F%20Because%20the%202008%20MySQL%20Conference%20and%20Expo%20is%20going%20to%20be%20held%20in%20Santa%20Clara%2C%20CA.%20Who%20would%20want%20to%20miss%20out%20on%20a%20chance%20to%20lurk%20around%2C%20let%20alone%20talk%20to%2C%20some%20of%20the%20smartest%20people%20in%20the%20MySQL%20world%3F%20Well%2C%20those%20who%20don%27t%20have%20at%20least%20%241000%2B%2C&amp;short_link=http://bit.ly/aKuMVA&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Conference+2008&amp;link=http://beerpla.net/2008/03/24/mysql-conference-2008/&amp;notes=April%2014-17th%20is%20going%20to%20be%20an%20exciting%20time.%20Why%3F%20Because%20the%202008%20MySQL%20Conference%20and%20Expo%20is%20going%20to%20be%20held%20in%20Santa%20Clara%2C%20CA.%20Who%20would%20want%20to%20miss%20out%20on%20a%20chance%20to%20lurk%20around%2C%20let%20alone%20talk%20to%2C%20some%20of%20the%20smartest%20people%20in%20the%20MySQL%20world%3F%20Well%2C%20those%20who%20don%27t%20have%20at%20least%20%241000%2B%2C&amp;short_link=http://bit.ly/aKuMVA&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Conference+2008&amp;link=http://beerpla.net/2008/03/24/mysql-conference-2008/&amp;notes=April%2014-17th%20is%20going%20to%20be%20an%20exciting%20time.%20Why%3F%20Because%20the%202008%20MySQL%20Conference%20and%20Expo%20is%20going%20to%20be%20held%20in%20Santa%20Clara%2C%20CA.%20Who%20would%20want%20to%20miss%20out%20on%20a%20chance%20to%20lurk%20around%2C%20let%20alone%20talk%20to%2C%20some%20of%20the%20smartest%20people%20in%20the%20MySQL%20world%3F%20Well%2C%20those%20who%20don%27t%20have%20at%20least%20%241000%2B%2C&amp;short_link=http://bit.ly/aKuMVA&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Conference+2008&amp;link=http://beerpla.net/2008/03/24/mysql-conference-2008/&amp;notes=April%2014-17th%20is%20going%20to%20be%20an%20exciting%20time.%20Why%3F%20Because%20the%202008%20MySQL%20Conference%20and%20Expo%20is%20going%20to%20be%20held%20in%20Santa%20Clara%2C%20CA.%20Who%20would%20want%20to%20miss%20out%20on%20a%20chance%20to%20lurk%20around%2C%20let%20alone%20talk%20to%2C%20some%20of%20the%20smartest%20people%20in%20the%20MySQL%20world%3F%20Well%2C%20those%20who%20don%27t%20have%20at%20least%20%241000%2B%2C&amp;short_link=http://bit.ly/aKuMVA&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL%20Conference%202008&amp;link=http://beerpla.net/2008/03/24/mysql-conference-2008/&amp;notes=April%2014-17th%20is%20going%20to%20be%20an%20exciting%20time.%20Why%3F%20Because%20the%202008%20MySQL%20Conference%20and%20Expo%20is%20going%20to%20be%20held%20in%20Santa%20Clara%2C%20CA.%20Who%20would%20want%20to%20miss%20out%20on%20a%20chance%20to%20lurk%20around%2C%20let%20alone%20talk%20to%2C%20some%20of%20the%20smartest%20people%20in%20the%20MySQL%20world%3F%20Well%2C%20those%20who%20don%27t%20have%20at%20least%20%241000%2B%2C&amp;short_link=http://bit.ly/aKuMVA&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2008/04/13/my-mysql-conference-schedule/" rel="bookmark" title="April 13, 2008">My MySQL Conference Schedule</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-portable-scale-out-benchmarks-for-mysql-wednesday-1050am/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Portable Scale-out Benchmarks For MySQL (Wednesday 10:50AM)</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-monitoring-tools-wednesday-515pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Monitoring Tools (Wednesday 5:15PM)</a></li><li><a
href="http://beerpla.net/2008/03/18/must-know-people-in-the-mysql-field/" rel="bookmark" title="March 18, 2008">Must-Know People In The MySQL Field</a></li><li><a
href="http://beerpla.net/2008/04/15/mysql-conference-liveblogging-the-future-of-mysql-tuesday-1155am-2/" rel="bookmark" title="April 15, 2008">MySQL Conference Liveblogging: The Future Of MySQL (Tuesday 11:55AM)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F03%2F24%2Fmysql-conference-2008%2F&amp;title=MySQL%20Conference%202008" id="wpa2a_8"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/03/24/mysql-conference-2008/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>How To Delete All Messages From A Folder In Pine</title><link>http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/</link> <comments>http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/#comments</comments> <pubDate>Sun, 23 Mar 2008 16:38:51 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[command line]]></category> <category><![CDATA[delete]]></category> <category><![CDATA[mail]]></category> <category><![CDATA[messages]]></category> <category><![CDATA[pine]]></category> <category><![CDATA[unix]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/</guid> <description><![CDATA[<p>Pine is a UNIX command line mail application. So how do you delete all messages in a folder?</p><p>The combination is</p><p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre>; A A D</pre></td></tr></table></div></p><p>If after pressing ; you see</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre>[Command &#34;;&#34; not defined for this screen. Use ? for help]</pre></td></tr></table></div><p>then you don&#039;t have a check in the &#034;Enable aggregate command set&#034; settings checkbox. To enable it, go to the main menu (M) -&#62; Setup (S) -&#62; Config (C) and scroll down to &#034;Enable aggregate command set&#034;. Then press X (to check it), E (Exit). Now repeat the above.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&#38;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&#38;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&#38;short_link=http://bit.ly/9wDUzd&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&#38;service=7&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&#38;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&#38;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&#38;short_link=http://bit.ly/9wDUzd&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=5&#38;tags=&#38;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&#38;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&#38;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&#38;short_link=http://bit.ly/9wDUzd&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=257&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&#38;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&#38;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&#38;short_link=http://bit.ly/9wDUzd&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=40&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&#38;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&#38;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&#38;short_link=http://bit.ly/9wDUzd&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=202&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&#38;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&#38;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&#38;short_link=http://bit.ly/9wDUzd&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=2&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&#38;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&#38;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&#38;short_link=http://bit.ly/9wDUzd&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=38&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? </a></li></ul>...<div
class=clear></div> <a
href="http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></div>]]></description> <content:encoded><![CDATA[<p>Pine is a UNIX command line mail application. So how do you delete all messages in a folder?</p><p>The combination is</p><p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre>; A A D</pre></td></tr></table></div></p><p>If after pressing ; you see</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre>[Command &quot;;&quot; not defined for this screen. Use ? for help]</pre></td></tr></table></div></p><p>then you don&#039;t have a check in the &#034;Enable aggregate command set&#034; settings checkbox. To enable it, go to the main menu (M) -&gt; Setup (S) -&gt; Config (C) and scroll down to &#034;Enable aggregate command set&#034;. Then press X (to check it), E (Exit). Now repeat the above.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&amp;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&amp;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&amp;short_link=http://bit.ly/9wDUzd&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&amp;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&amp;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&amp;short_link=http://bit.ly/9wDUzd&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&amp;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&amp;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&amp;short_link=http://bit.ly/9wDUzd&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&amp;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&amp;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&amp;short_link=http://bit.ly/9wDUzd&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&amp;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&amp;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&amp;short_link=http://bit.ly/9wDUzd&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&amp;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&amp;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&amp;short_link=http://bit.ly/9wDUzd&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Delete+All+Messages+From+A+Folder+In+Pine&amp;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&amp;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&amp;short_link=http://bit.ly/9wDUzd&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Delete%20All%20Messages%20From%20A%20Folder%20In%20Pine&amp;link=http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/&amp;notes=Pine%20is%20a%20UNIX%20command%20line%20mail%20application.%20So%20how%20do%20you%20delete%20all%20messages%20in%20a%20folder%3F%20The%20combination%20is%20%20%3B%20A%20A%20D%0A%0AIf%20after%20pressing%20%3B%20you%20see%20%5BCommand%20%22%3B%22%20not%20defined%20for%20this%20screen.%20Use%20%3F%20for%20help%5D%0A%0Athen%20you%20don%27t%20have%20a%20check%20in%20the%20%22Enable%20aggregate%20command%20set%22%20settings%20checkbox.%20To%20ena&amp;short_link=http://bit.ly/9wDUzd&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/" rel="bookmark" title="July 14, 2009">How To Fix Palm Pre&#039;s &quot;Error Sending Mail&quot; Problem</a></li><li><a
href="http://beerpla.net/2008/04/09/some-useful-vim-commands-my-vim-cheatsheet/" rel="bookmark" title="April 9, 2008">Some Useful vim Commands &#8211; My vim Cheatsheet</a></li><li><a
href="http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/" rel="bookmark" title="March 26, 2008">Setting Up A MySQL Cluster</a></li><li><a
href="http://beerpla.net/2008/04/17/mysql-conference-liveblogging-optimizing-mysql-for-high-volume-data-logging-applications-thursday-250pm/" rel="bookmark" title="April 17, 2008">MySQL Conference Liveblogging: Optimizing MySQL For High Volume Data Logging Applications (Thursday 2:50PM)</a></li><li><a
href="http://beerpla.net/2008/09/03/thoughts-on-google-chrome/" rel="bookmark" title="September 3, 2008">Thoughts on Google Chrome</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F03%2F23%2Fhow-to-delete-all-messages-from-a-folder-in-pine%2F&amp;title=How%20To%20Delete%20All%20Messages%20From%20A%20Folder%20In%20Pine" id="wpa2a_10"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/03/23/how-to-delete-all-messages-from-a-folder-in-pine/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Make Screen and YaST Work Together</title><link>http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/</link> <comments>http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/#comments</comments> <pubDate>Mon, 05 Nov 2007 07:05:00 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[character encoding]]></category> <category><![CDATA[koi8r]]></category> <category><![CDATA[ncurses]]></category> <category><![CDATA[opensuse]]></category> <category><![CDATA[problems]]></category> <category><![CDATA[putty]]></category> <category><![CDATA[screen]]></category> <category><![CDATA[securecrt]]></category> <category><![CDATA[suse]]></category> <category><![CDATA[utf8]]></category> <category><![CDATA[yast]]></category> <guid
isPermaLink="false">http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/</guid> <description><![CDATA[<p
align="left">I don&#039;t know about you but I&#039;ve had a lot of problems making <a
href="http://en.wikipedia.org/wiki/GNU_Screen">screen</a> work nicely with YaST. Both putty and SecureCRT had major problems displaying YaST&#039;s ncurses interface. The screenshots below depict the problem quite clearly. If at this point you don&#039;t see anything like this, you are most likely not affected and can go get a beer.</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb.png" alt="image" height="452" width="640" /></a></p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_3.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_3.png" alt="image" height="480" width="552" /></a></p><p>If you are seeing similar problems, here&#039;s the fix. After digging around a bit, I have discovered that the problem was incorrect data encoding. My character set was set to KOI8-R while ncurses expected UTF-8. Here is how to change the corresponding setting in putty:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_4.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_4.png" alt="image" height="435" width="457" /></a></p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_5.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_5.png" alt="image" height="434" width="453" /></a></p><p
align="left">&#8230; and SecureCRT:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_6.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_6.png" alt="image" height="494" width="541" /></a></p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_7.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_7.png" alt="image" height="493" width="539" /></a></p><p>Now restart YaST and voila:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_8.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_8.png" alt="image" height="454" width="640" /></a></p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_9.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_9.png" alt="image" height="480" width="553" /></a></p><p>P.S. You may be wondering why my screen ...<div
class=clear></div> <a
href="http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p
align="left">I don&#039;t know about you but I&#039;ve had a lot of problems making <a
href="http://en.wikipedia.org/wiki/GNU_Screen">screen</a> work nicely with YaST. Both putty and SecureCRT had major problems displaying YaST&#039;s ncurses interface. The screenshots below depict the problem quite clearly. If at this point you don&#039;t see anything like this, you are most likely not affected and can go get a beer.</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb.png" alt="image" height="452" width="640" /></a></p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_3.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_3.png" alt="image" height="480" width="552" /></a></p><p>If you are seeing similar problems, here&#039;s the fix. After digging around a bit, I have discovered that the problem was incorrect data encoding. My character set was set to KOI8-R while ncurses expected UTF-8. Here is how to change the corresponding setting in putty:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_4.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_4.png" alt="image" height="435" width="457" /></a></p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_5.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_5.png" alt="image" height="434" width="453" /></a></p><p
align="left">&#8230; and SecureCRT:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_6.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_6.png" alt="image" height="494" width="541" /></a></p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_7.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_7.png" alt="image" height="493" width="539" /></a></p><p>Now restart YaST and voila:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_8.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_8.png" alt="image" height="454" width="640" /></a></p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_9.png" class="lightview" rel="gallery['259']"><img
src="http://beerpla.net/wp-content/uploads/MakePuttyScreenandYaST_14094/image_thumb_9.png" alt="image" height="480" width="553" /></a></p><p>P.S. You may be wondering why my screen (the GNU one) has a handy footer bar and how to configure it. Not to worry, I will be posting more info on it soon.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Make+Screen+and+YaST+Work+Together&amp;link=http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/&amp;notes=%0D%0AI%20don%27t%20know%20about%20you%20but%20I%27ve%20had%20a%20lot%20of%20problems%20making%20screen%20work%20nicely%20with%20YaST.%20Both%20putty%20and%20SecureCRT%20had%20major%20problems%20displaying%20YaST%27s%20ncurses%20interface.%20The%20screenshots%20below%20depict%20the%20problem%20quite%20clearly.%20If%20at%20this%20point%20you%20don%27t%20see%20anything%20like%20this%2C%20you%20are%20most%20likely&amp;short_link=http://bit.ly/dm1DCj&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Make+Screen+and+YaST+Work+Together&amp;link=http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/&amp;notes=%0D%0AI%20don%27t%20know%20about%20you%20but%20I%27ve%20had%20a%20lot%20of%20problems%20making%20screen%20work%20nicely%20with%20YaST.%20Both%20putty%20and%20SecureCRT%20had%20major%20problems%20displaying%20YaST%27s%20ncurses%20interface.%20The%20screenshots%20below%20depict%20the%20problem%20quite%20clearly.%20If%20at%20this%20point%20you%20don%27t%20see%20anything%20like%20this%2C%20you%20are%20most%20likely&amp;short_link=http://bit.ly/dm1DCj&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Make+Screen+and+YaST+Work+Together&amp;link=http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/&amp;notes=%0D%0AI%20don%27t%20know%20about%20you%20but%20I%27ve%20had%20a%20lot%20of%20problems%20making%20screen%20work%20nicely%20with%20YaST.%20Both%20putty%20and%20SecureCRT%20had%20major%20problems%20displaying%20YaST%27s%20ncurses%20interface.%20The%20screenshots%20below%20depict%20the%20problem%20quite%20clearly.%20If%20at%20this%20point%20you%20don%27t%20see%20anything%20like%20this%2C%20you%20are%20most%20likely&amp;short_link=http://bit.ly/dm1DCj&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Make+Screen+and+YaST+Work+Together&amp;link=http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/&amp;notes=%0D%0AI%20don%27t%20know%20about%20you%20but%20I%27ve%20had%20a%20lot%20of%20problems%20making%20screen%20work%20nicely%20with%20YaST.%20Both%20putty%20and%20SecureCRT%20had%20major%20problems%20displaying%20YaST%27s%20ncurses%20interface.%20The%20screenshots%20below%20depict%20the%20problem%20quite%20clearly.%20If%20at%20this%20point%20you%20don%27t%20see%20anything%20like%20this%2C%20you%20are%20most%20likely&amp;short_link=http://bit.ly/dm1DCj&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Make+Screen+and+YaST+Work+Together&amp;link=http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/&amp;notes=%0D%0AI%20don%27t%20know%20about%20you%20but%20I%27ve%20had%20a%20lot%20of%20problems%20making%20screen%20work%20nicely%20with%20YaST.%20Both%20putty%20and%20SecureCRT%20had%20major%20problems%20displaying%20YaST%27s%20ncurses%20interface.%20The%20screenshots%20below%20depict%20the%20problem%20quite%20clearly.%20If%20at%20this%20point%20you%20don%27t%20see%20anything%20like%20this%2C%20you%20are%20most%20likely&amp;short_link=http://bit.ly/dm1DCj&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Make+Screen+and+YaST+Work+Together&amp;link=http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/&amp;notes=%0D%0AI%20don%27t%20know%20about%20you%20but%20I%27ve%20had%20a%20lot%20of%20problems%20making%20screen%20work%20nicely%20with%20YaST.%20Both%20putty%20and%20SecureCRT%20had%20major%20problems%20displaying%20YaST%27s%20ncurses%20interface.%20The%20screenshots%20below%20depict%20the%20problem%20quite%20clearly.%20If%20at%20this%20point%20you%20don%27t%20see%20anything%20like%20this%2C%20you%20are%20most%20likely&amp;short_link=http://bit.ly/dm1DCj&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Make+Screen+and+YaST+Work+Together&amp;link=http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/&amp;notes=%0D%0AI%20don%27t%20know%20about%20you%20but%20I%27ve%20had%20a%20lot%20of%20problems%20making%20screen%20work%20nicely%20with%20YaST.%20Both%20putty%20and%20SecureCRT%20had%20major%20problems%20displaying%20YaST%27s%20ncurses%20interface.%20The%20screenshots%20below%20depict%20the%20problem%20quite%20clearly.%20If%20at%20this%20point%20you%20don%27t%20see%20anything%20like%20this%2C%20you%20are%20most%20likely&amp;short_link=http://bit.ly/dm1DCj&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Make%20Screen%20and%20YaST%20Work%20Together&amp;link=http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/&amp;notes=%0D%0AI%20don%27t%20know%20about%20you%20but%20I%27ve%20had%20a%20lot%20of%20problems%20making%20screen%20work%20nicely%20with%20YaST.%20Both%20putty%20and%20SecureCRT%20had%20major%20problems%20displaying%20YaST%27s%20ncurses%20interface.%20The%20screenshots%20below%20depict%20the%20problem%20quite%20clearly.%20If%20at%20this%20point%20you%20don%27t%20see%20anything%20like%20this%2C%20you%20are%20most%20likely&amp;short_link=http://bit.ly/dm1DCj&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2008/07/23/how-to-check-if-the-local-svn-revision-is-up-to-date/" rel="bookmark" title="July 23, 2008">How To Check If The Local SVN Revision Is Up-To-Date</a></li><li><a
href="http://beerpla.net/2006/08/28/crazy-optical-illusion-that-makes-you-hallucinate-for-real/" rel="bookmark" title="August 28, 2006">Crazy Optical Illusion That Makes You Hallucinate &#8211; For Real</a></li><li><a
href="http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/" rel="bookmark" title="October 6, 2009">Supercharge Your GNU Screen With A Power &quot;Taskbar&quot; And Never Feel Lost Again</a></li><li><a
href="http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/" rel="bookmark" title="December 22, 2008">Mastering The Linux Shell &#8211; Bash Shortcuts Explained (Now With Cheat Sheets)</a></li><li><a
href="http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/" rel="bookmark" title="July 14, 2009">How To Fix Palm Pre&#039;s &quot;Error Sending Mail&quot; Problem</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2007%2F11%2F04%2Fmake-screen-and-yast-work-together%2F&amp;title=Make%20Screen%20and%20YaST%20Work%20Together" id="wpa2a_12"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2007/11/04/make-screen-and-yast-work-together/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>cpan &#8211; The Perl Module Manager</title><link>http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/</link> <comments>http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/#comments</comments> <pubDate>Sat, 13 Oct 2007 00:24:22 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[cpan]]></category> <category><![CDATA[make]]></category> <category><![CDATA[module]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[suse]]></category> <guid
isPermaLink="false">http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/</guid> <description><![CDATA[<p>cpan is a perl module manager. To get into cpan, login as root and type in</p><div
class="wp_syntax"><div
class="code"><pre>cpan</pre></div></div><p>Install a module:</p><div
class="wp_syntax"><div
class="code"><pre>cpan install MODULE</pre></div></div><p>Upgrade a module:</p><div
class="wp_syntax"><div
class="code"><pre>cpan upgrade MODULE</pre></div></div><p>Reinstall a module or force install in case of failed tests:</p><div
class="wp_syntax"><div
class="code"><pre>force install MODULE</pre></div></div><p>See a list of upgradable modules:</p><div
class="wp_syntax"><div
class="code"><pre>r</pre></div></div><p>See cpan configuration (that&#039;s the letter &#039;o&#039;):</p><div
class="wp_syntax"><div
class="code"><pre>o conf</pre></div></div><p>Update an option in cpan configuration:</p><div
class="wp_syntax"><div
class="code"><pre>o conf OPTION_NAME OPTION_VALUE</pre></div></div><p>It is always nice to:</p><div
class="wp_syntax"><div
class="code"><pre>upgrade CPAN
install Bundle::CPAN</pre></div></div><p>If there&#039;s an error making a Perl module, it can be caused by a missing make path in cpan configuration. In cpan, type in:</p><div
class="wp_syntax"><div
class="code"><pre>o conf</pre></div></div><p>which will show all cpan options, then:</p><div
class="wp_syntax"><div
class="code"><pre>o conf make /usr/bin/make
o conf commit</pre></div></div><p>A good ...<div
class=clear></div> <a
href="http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>cpan is a perl module manager. To get into cpan, login as root and type in</p><div
class="wp_syntax"><div
class="code"><pre>cpan</pre></div></div><p>Install a module:</p><div
class="wp_syntax"><div
class="code"><pre>cpan install MODULE</pre></div></div><p>Upgrade a module:</p><div
class="wp_syntax"><div
class="code"><pre>cpan upgrade MODULE</pre></div></div><p>Reinstall a module or force install in case of failed tests:</p><div
class="wp_syntax"><div
class="code"><pre>force install MODULE</pre></div></div><p>See a list of upgradable modules:</p><div
class="wp_syntax"><div
class="code"><pre>r</pre></div></div><p>See cpan configuration (that&#039;s the letter &#039;o&#039;):</p><div
class="wp_syntax"><div
class="code"><pre>o conf</pre></div></div><p>Update an option in cpan configuration:</p><div
class="wp_syntax"><div
class="code"><pre>o conf OPTION_NAME OPTION_VALUE</pre></div></div><p>It is always nice to:</p><div
class="wp_syntax"><div
class="code"><pre>upgrade CPAN
install Bundle::CPAN</pre></div></div><p>If there&#039;s an error making a Perl module, it can be caused by a missing make path in cpan configuration. In cpan, type in:</p><div
class="wp_syntax"><div
class="code"><pre>o conf</pre></div></div><p>which will show all cpan options, then:</p><div
class="wp_syntax"><div
class="code"><pre>o conf make /usr/bin/make
o conf commit</pre></div></div><p>A good option is:</p><div
class="wp_syntax"><div
class="code"><pre>o conf prerequisites_policy follow</pre></div></div><p>By default, cpan will prompt to install every dependecy while installing a module. This option will automatically install dependencies without prompting.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=cpan+-+The+Perl+Module+Manager&amp;link=http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/&amp;notes=cpan%20is%20a%20perl%20module%20manager.%20To%20get%20into%20cpan%2C%20login%20as%20root%20and%20type%20in%0D%0Acpan%0D%0AInstall%20a%20module%3A%0D%0Acpan%20install%20MODULE%0D%0AUpgrade%20a%20module%3A%0D%0Acpan%20upgrade%20MODULE%0D%0AReinstall%20a%20module%20or%20force%20install%20in%20case%20of%20failed%20tests%3A%0D%0Aforce%20install%20MODULE%0D%0ASee%20a%20list%20of%20upgradable%20modules%3A%0D%0Ar%0D%0ASee%20cpan%20configu&amp;short_link=http://bit.ly/9bgziz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=cpan+-+The+Perl+Module+Manager&amp;link=http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/&amp;notes=cpan%20is%20a%20perl%20module%20manager.%20To%20get%20into%20cpan%2C%20login%20as%20root%20and%20type%20in%0D%0Acpan%0D%0AInstall%20a%20module%3A%0D%0Acpan%20install%20MODULE%0D%0AUpgrade%20a%20module%3A%0D%0Acpan%20upgrade%20MODULE%0D%0AReinstall%20a%20module%20or%20force%20install%20in%20case%20of%20failed%20tests%3A%0D%0Aforce%20install%20MODULE%0D%0ASee%20a%20list%20of%20upgradable%20modules%3A%0D%0Ar%0D%0ASee%20cpan%20configu&amp;short_link=http://bit.ly/9bgziz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=cpan+-+The+Perl+Module+Manager&amp;link=http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/&amp;notes=cpan%20is%20a%20perl%20module%20manager.%20To%20get%20into%20cpan%2C%20login%20as%20root%20and%20type%20in%0D%0Acpan%0D%0AInstall%20a%20module%3A%0D%0Acpan%20install%20MODULE%0D%0AUpgrade%20a%20module%3A%0D%0Acpan%20upgrade%20MODULE%0D%0AReinstall%20a%20module%20or%20force%20install%20in%20case%20of%20failed%20tests%3A%0D%0Aforce%20install%20MODULE%0D%0ASee%20a%20list%20of%20upgradable%20modules%3A%0D%0Ar%0D%0ASee%20cpan%20configu&amp;short_link=http://bit.ly/9bgziz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=cpan+-+The+Perl+Module+Manager&amp;link=http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/&amp;notes=cpan%20is%20a%20perl%20module%20manager.%20To%20get%20into%20cpan%2C%20login%20as%20root%20and%20type%20in%0D%0Acpan%0D%0AInstall%20a%20module%3A%0D%0Acpan%20install%20MODULE%0D%0AUpgrade%20a%20module%3A%0D%0Acpan%20upgrade%20MODULE%0D%0AReinstall%20a%20module%20or%20force%20install%20in%20case%20of%20failed%20tests%3A%0D%0Aforce%20install%20MODULE%0D%0ASee%20a%20list%20of%20upgradable%20modules%3A%0D%0Ar%0D%0ASee%20cpan%20configu&amp;short_link=http://bit.ly/9bgziz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=cpan+-+The+Perl+Module+Manager&amp;link=http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/&amp;notes=cpan%20is%20a%20perl%20module%20manager.%20To%20get%20into%20cpan%2C%20login%20as%20root%20and%20type%20in%0D%0Acpan%0D%0AInstall%20a%20module%3A%0D%0Acpan%20install%20MODULE%0D%0AUpgrade%20a%20module%3A%0D%0Acpan%20upgrade%20MODULE%0D%0AReinstall%20a%20module%20or%20force%20install%20in%20case%20of%20failed%20tests%3A%0D%0Aforce%20install%20MODULE%0D%0ASee%20a%20list%20of%20upgradable%20modules%3A%0D%0Ar%0D%0ASee%20cpan%20configu&amp;short_link=http://bit.ly/9bgziz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=cpan+-+The+Perl+Module+Manager&amp;link=http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/&amp;notes=cpan%20is%20a%20perl%20module%20manager.%20To%20get%20into%20cpan%2C%20login%20as%20root%20and%20type%20in%0D%0Acpan%0D%0AInstall%20a%20module%3A%0D%0Acpan%20install%20MODULE%0D%0AUpgrade%20a%20module%3A%0D%0Acpan%20upgrade%20MODULE%0D%0AReinstall%20a%20module%20or%20force%20install%20in%20case%20of%20failed%20tests%3A%0D%0Aforce%20install%20MODULE%0D%0ASee%20a%20list%20of%20upgradable%20modules%3A%0D%0Ar%0D%0ASee%20cpan%20configu&amp;short_link=http://bit.ly/9bgziz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=cpan+-+The+Perl+Module+Manager&amp;link=http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/&amp;notes=cpan%20is%20a%20perl%20module%20manager.%20To%20get%20into%20cpan%2C%20login%20as%20root%20and%20type%20in%0D%0Acpan%0D%0AInstall%20a%20module%3A%0D%0Acpan%20install%20MODULE%0D%0AUpgrade%20a%20module%3A%0D%0Acpan%20upgrade%20MODULE%0D%0AReinstall%20a%20module%20or%20force%20install%20in%20case%20of%20failed%20tests%3A%0D%0Aforce%20install%20MODULE%0D%0ASee%20a%20list%20of%20upgradable%20modules%3A%0D%0Ar%0D%0ASee%20cpan%20configu&amp;short_link=http://bit.ly/9bgziz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=cpan%20-%20The%20Perl%20Module%20Manager&amp;link=http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/&amp;notes=cpan%20is%20a%20perl%20module%20manager.%20To%20get%20into%20cpan%2C%20login%20as%20root%20and%20type%20in%0D%0Acpan%0D%0AInstall%20a%20module%3A%0D%0Acpan%20install%20MODULE%0D%0AUpgrade%20a%20module%3A%0D%0Acpan%20upgrade%20MODULE%0D%0AReinstall%20a%20module%20or%20force%20install%20in%20case%20of%20failed%20tests%3A%0D%0Aforce%20install%20MODULE%0D%0ASee%20a%20list%20of%20upgradable%20modules%3A%0D%0Ar%0D%0ASee%20cpan%20configu&amp;short_link=http://bit.ly/9bgziz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/" rel="bookmark" title="April 30, 2008">How To Install The Latest SOAP::Lite Using Perl CPAN</a></li><li><a
href="http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/" rel="bookmark" title="April 22, 2008">Do NOT Use This Perl Module: Passwd::Unix</a></li><li><a
href="http://beerpla.net/2009/06/09/how-to-make-your-site-lightning-fast-by-compressing-deflategzip-your-html-javascript-css-xml-etc-in-apache/" rel="bookmark" title="June 9, 2009">How To Make Your Site Lightning Fast* By Compressing (deflate/gzip) Your HTML, Javascript, CSS, XML, etc In Apache</a></li><li><a
href="http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/" rel="bookmark" title="March 5, 2009">[Perl] How To Get The Path Of An Included Library (.pm), Regardless Of Current Directory</a></li><li><a
href="http://beerpla.net/2007/07/09/how-to-download-and-install-windows-media-player-11-bypassing-wga/" rel="bookmark" title="July 9, 2007">How To Download And Install Windows Media Player 11 Bypassing WGA</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2007%2F10%2F12%2Fcpan-the-perl-module-manager%2F&amp;title=cpan%20%26%238211%3B%20The%20Perl%20Module%20Manager" id="wpa2a_14"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>sysbench &#8211; Linux Test Bench</title><link>http://beerpla.net/2007/10/12/sysbench-linux-test-bench/</link> <comments>http://beerpla.net/2007/10/12/sysbench-linux-test-bench/#comments</comments> <pubDate>Fri, 12 Oct 2007 21:57:50 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Databases]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[benchmark]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[stress test]]></category> <category><![CDATA[suse]]></category> <category><![CDATA[sysbench]]></category> <guid
isPermaLink="false">http://beerpla.net/2007/10/12/sysbench-linux-test-bench/</guid> <description><![CDATA[<p>sysbench &#8211; Linux test bench. Easy as pie to test CPU, memory, threads, mysql, and disk performance.</p><p>Full description is available here: <a
href="http://sysbench.sourceforge.net/docs/">http://sysbench.sourceforge.net/docs/</a></p><div
class="wp_syntax"><div
class="code"><pre>install mysql, mysql-devel
wget http://downloads.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbench-0.4.12.tar.gz
tar xvzf sysbench*gz
cd sysbench*
./configure &#38;&#38; make install</pre></div></div><p
align="center"><strong>mysql tests</strong></p><p>This will run 10 separate consecutive mysql tests using an InnoDB table type, each with 100 mysql threads, doing a total of 1000 various SQL operations per test. Then it will print the total time they took to finish:</p><div
class="wp_syntax"><div
class="code"><pre>sysbench --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test \
  --mysql-host='HOST' --mysql-table-engine=innodb prepare
&#160;
time perl -e &#34;foreach(1..10){print \`sysbench --max-requests=1000 --test=oltp \
  --mysql-user=USER --mysql-password=PASS --mysql-db=test --mysql-host='HOST' \
  --mysql-table-engine=innodb --num-threads=100 run\`}&#34;
&#160;
sysbench --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test \
  --mysql-host='HOST' cleanup</pre></div></div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&#38;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&#38;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&#38;short_link=http://bit.ly/cV9ynn&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&#38;service=7&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&#38;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&#38;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&#38;short_link=http://bit.ly/cV9ynn&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=5&#38;tags=&#38;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&#38;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&#38;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&#38;short_link=http://bit.ly/cV9ynn&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=257&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post </a></li></ul>...<div
class=clear></div> <a
href="http://beerpla.net/2007/10/12/sysbench-linux-test-bench/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></div>]]></description> <content:encoded><![CDATA[<p>sysbench &#8211; Linux test bench. Easy as pie to test CPU, memory, threads, mysql, and disk performance.</p><p>Full description is available here: <a
href="http://sysbench.sourceforge.net/docs/">http://sysbench.sourceforge.net/docs/</a></p><div
class="wp_syntax"><div
class="code"><pre>install mysql, mysql-devel
wget http://downloads.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbench-0.4.12.tar.gz
tar xvzf sysbench*gz
cd sysbench*
./configure &amp;&amp; make install</pre></div></div><p
align="center"><strong>mysql tests</strong></p><p>This will run 10 separate consecutive mysql tests using an InnoDB table type, each with 100 mysql threads, doing a total of 1000 various SQL operations per test. Then it will print the total time they took to finish:</p><div
class="wp_syntax"><div
class="code"><pre>sysbench --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test \
  --mysql-host='HOST' --mysql-table-engine=innodb prepare
&nbsp;
time perl -e &quot;foreach(1..10){print \`sysbench --max-requests=1000 --test=oltp \
  --mysql-user=USER --mysql-password=PASS --mysql-db=test --mysql-host='HOST' \
  --mysql-table-engine=innodb --num-threads=100 run\`}&quot;
&nbsp;
sysbench --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test \
  --mysql-host='HOST' cleanup</pre></div></div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench%20-%20Linux%20Test%20Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2008/03/11/mysql-falcon-storage-engine-enters-beta-stage/" rel="bookmark" title="March 11, 2008">MySQL Falcon Storage Engine Enters Beta Stage.</a></li><li><a
href="http://beerpla.net/2010/02/03/how-not-to-implement-a-web-application-that-handles-external-authentication-using-betwittered-com-as-an-example/" rel="bookmark" title="February 3, 2010">How *Not* To Implement A Web Application That Handles External Authentication, Using BeTwittered.com As An Example</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-introduction-to-the-blob-streaming-project-wednesday-300pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Introduction To The BLOB Streaming Project (Wednesday 3:00PM)</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-benchmarking-tools-wednesday-425pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Benchmarking Tools (Wednesday 4:25PM)</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-portable-scale-out-benchmarks-for-mysql-wednesday-1050am/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Portable Scale-out Benchmarks For MySQL (Wednesday 10:50AM)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2007%2F10%2F12%2Fsysbench-linux-test-bench%2F&amp;title=sysbench%20%26%238211%3B%20Linux%20Test%20Bench" id="wpa2a_16"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2007/10/12/sysbench-linux-test-bench/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Watch &#8211; A Useful Linux Command You May Have Never Heard Of</title><link>http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/</link> <comments>http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/#comments</comments> <pubDate>Sun, 05 Aug 2007 03:18:01 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[bsd]]></category> <category><![CDATA[cmdwatch]]></category> <category><![CDATA[unix]]></category> <category><![CDATA[watch]]></category> <guid
isPermaLink="false">http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/</guid> <description><![CDATA[<p>How many times did I want to watch a directory waiting for a file to appear in it? Constant ls, for example, quickly got boring. A quick Perl script that would reload ls every 5 seconds&#8230; yeah it works but it takes a while to type up, and often enough I&#039;m too lazy for that. And then I found &#039;watch&#039; &#8211; a utility that comes with most *nix distros. Look at this beauty [man watch]:</p><p>NAME<br
/> <strong> watch &#8211; execute a program periodically, showing output fullscreen</strong></p><p>SYNOPSIS<br
/> watch  [-dhvt]  [-n  ]  [--differences[=cumulative]]  [--help]<br
/> [--interval=] [--no-title] [--version]</p><p>DESCRIPTION<br
/> <strong>watch runs command repeatedly, displaying its output (the first screen<br
/> full). </strong> This  allows you to watch the program output change over time.<br
/> By default, ...<div
class=clear></div> <a
href="http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>How many times did I want to watch a directory waiting for a file to appear in it? Constant ls, for example, quickly got boring. A quick Perl script that would reload ls every 5 seconds&#8230; yeah it works but it takes a while to type up, and often enough I&#039;m too lazy for that. And then I found &#039;watch&#039; &#8211; a utility that comes with most *nix distros. Look at this beauty [man watch]:</p><p>NAME<br
/> <strong> watch &#8211; execute a program periodically, showing output fullscreen</strong></p><p>SYNOPSIS<br
/> watch  [-dhvt]  [-n  ]  [--differences[=cumulative]]  [--help]<br
/> [--interval=] [--no-title] [--version]</p><p>DESCRIPTION<br
/> <strong>watch runs command repeatedly, displaying its output (the first screen<br
/> full). </strong> This  allows you to watch the program output change over time.<br
/> By default, the program is run every 2 seconds; use -n or &#8211;interval to<br
/> specify a different interval.</p><p><strong>The  -d  or  &#8211;differences  flag will highlight the differences between<br
/> successive  updates</strong>.   The  &#8211;cumulative  option   makes   highlighting<br
/> &#034;sticky&#034;,  presenting a running display of all positions that have ever<br
/> changed.  The -t or &#8211;no-title option turns off the header showing  the<br
/> interval,  command, and current time at the top of the display, as well<br
/> as the following blank line.</p><p>watch will run until interrupted.</p><p>NOTE<br
/> Note that command is given to &#034;sh -c&#034; which means that you may need  to<br
/> use extra quoting to get the desired effect.</p><p>Note  that  POSIX  option  processing  is used (i.e., option processing<br
/> stops at the first non-option argument).  This means that  flags  after<br
/> command don&#039;t get interpreted by watch itself.</p><p>EXAMPLES<br
/> To watch for mail, you might do</p><div
class="wp_syntax"><div
class="code"><pre>watch -n 60 from</pre></div></div><p>To watch the contents of a directory change, you could use</p><div
class="wp_syntax"><div
class="code"><pre>watch -d ls -l</pre></div></div><p>If you&#039;re only interested in files owned by user joe, you might use</p><div
class="wp_syntax"><div
class="code"><pre>watch -d 'ls -l | fgrep joe'</pre></div></div><p>To see the effects of quoting, try these out</p><div
class="wp_syntax"><div
class="code"><pre>watch echo $$
watch echo '$$'
watch echo &quot;'&quot;'$$'&quot;'&quot;</pre></div></div><p>You can watch for your administrator to install the latest kernel with</p><div
class="wp_syntax"><div
class="code"><pre>watch uname -r</pre></div></div><p>(Just kidding.)</p><p>Now if anyone knows how to make watch print the bottom part of the command output rather than the top, please post a comment.</p><p>Edit: BSD users, &#034;watch&#034; out. watch does something completely different on BSD (it lets you snoop on other users&#039; ttys). The corresponding BSD command is actually <a
href="http://www.freshports.org/sysutils/cmdwatch/">cmdwatch</a>.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Watch+-+A+Useful+Linux+Command+You+May+Have+Never+Heard+Of&amp;link=http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/&amp;notes=How%20many%20times%20did%20I%20want%20to%20watch%20a%20directory%20waiting%20for%20a%20file%20to%20appear%20in%20it%3F%20Constant%20ls%2C%20for%20example%2C%20quickly%20got%20boring.%20A%20quick%20Perl%20script%20that%20would%20reload%20ls%20every%205%20seconds...%20yeah%20it%20works%20but%20it%20takes%20a%20while%20to%20type%20up%2C%20and%20often%20enough%20I%27m%20too%20lazy%20for%20that.%20And%20then%20I%20found%20%27watch%27&amp;short_link=http://bit.ly/br3jya&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Watch+-+A+Useful+Linux+Command+You+May+Have+Never+Heard+Of&amp;link=http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/&amp;notes=How%20many%20times%20did%20I%20want%20to%20watch%20a%20directory%20waiting%20for%20a%20file%20to%20appear%20in%20it%3F%20Constant%20ls%2C%20for%20example%2C%20quickly%20got%20boring.%20A%20quick%20Perl%20script%20that%20would%20reload%20ls%20every%205%20seconds...%20yeah%20it%20works%20but%20it%20takes%20a%20while%20to%20type%20up%2C%20and%20often%20enough%20I%27m%20too%20lazy%20for%20that.%20And%20then%20I%20found%20%27watch%27&amp;short_link=http://bit.ly/br3jya&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Watch+-+A+Useful+Linux+Command+You+May+Have+Never+Heard+Of&amp;link=http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/&amp;notes=How%20many%20times%20did%20I%20want%20to%20watch%20a%20directory%20waiting%20for%20a%20file%20to%20appear%20in%20it%3F%20Constant%20ls%2C%20for%20example%2C%20quickly%20got%20boring.%20A%20quick%20Perl%20script%20that%20would%20reload%20ls%20every%205%20seconds...%20yeah%20it%20works%20but%20it%20takes%20a%20while%20to%20type%20up%2C%20and%20often%20enough%20I%27m%20too%20lazy%20for%20that.%20And%20then%20I%20found%20%27watch%27&amp;short_link=http://bit.ly/br3jya&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Watch+-+A+Useful+Linux+Command+You+May+Have+Never+Heard+Of&amp;link=http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/&amp;notes=How%20many%20times%20did%20I%20want%20to%20watch%20a%20directory%20waiting%20for%20a%20file%20to%20appear%20in%20it%3F%20Constant%20ls%2C%20for%20example%2C%20quickly%20got%20boring.%20A%20quick%20Perl%20script%20that%20would%20reload%20ls%20every%205%20seconds...%20yeah%20it%20works%20but%20it%20takes%20a%20while%20to%20type%20up%2C%20and%20often%20enough%20I%27m%20too%20lazy%20for%20that.%20And%20then%20I%20found%20%27watch%27&amp;short_link=http://bit.ly/br3jya&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Watch+-+A+Useful+Linux+Command+You+May+Have+Never+Heard+Of&amp;link=http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/&amp;notes=How%20many%20times%20did%20I%20want%20to%20watch%20a%20directory%20waiting%20for%20a%20file%20to%20appear%20in%20it%3F%20Constant%20ls%2C%20for%20example%2C%20quickly%20got%20boring.%20A%20quick%20Perl%20script%20that%20would%20reload%20ls%20every%205%20seconds...%20yeah%20it%20works%20but%20it%20takes%20a%20while%20to%20type%20up%2C%20and%20often%20enough%20I%27m%20too%20lazy%20for%20that.%20And%20then%20I%20found%20%27watch%27&amp;short_link=http://bit.ly/br3jya&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Watch+-+A+Useful+Linux+Command+You+May+Have+Never+Heard+Of&amp;link=http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/&amp;notes=How%20many%20times%20did%20I%20want%20to%20watch%20a%20directory%20waiting%20for%20a%20file%20to%20appear%20in%20it%3F%20Constant%20ls%2C%20for%20example%2C%20quickly%20got%20boring.%20A%20quick%20Perl%20script%20that%20would%20reload%20ls%20every%205%20seconds...%20yeah%20it%20works%20but%20it%20takes%20a%20while%20to%20type%20up%2C%20and%20often%20enough%20I%27m%20too%20lazy%20for%20that.%20And%20then%20I%20found%20%27watch%27&amp;short_link=http://bit.ly/br3jya&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Watch+-+A+Useful+Linux+Command+You+May+Have+Never+Heard+Of&amp;link=http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/&amp;notes=How%20many%20times%20did%20I%20want%20to%20watch%20a%20directory%20waiting%20for%20a%20file%20to%20appear%20in%20it%3F%20Constant%20ls%2C%20for%20example%2C%20quickly%20got%20boring.%20A%20quick%20Perl%20script%20that%20would%20reload%20ls%20every%205%20seconds...%20yeah%20it%20works%20but%20it%20takes%20a%20while%20to%20type%20up%2C%20and%20often%20enough%20I%27m%20too%20lazy%20for%20that.%20And%20then%20I%20found%20%27watch%27&amp;short_link=http://bit.ly/br3jya&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Watch%20-%20A%20Useful%20Linux%20Command%20You%20May%20Have%20Never%20Heard%20Of&amp;link=http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/&amp;notes=How%20many%20times%20did%20I%20want%20to%20watch%20a%20directory%20waiting%20for%20a%20file%20to%20appear%20in%20it%3F%20Constant%20ls%2C%20for%20example%2C%20quickly%20got%20boring.%20A%20quick%20Perl%20script%20that%20would%20reload%20ls%20every%205%20seconds...%20yeah%20it%20works%20but%20it%20takes%20a%20while%20to%20type%20up%2C%20and%20often%20enough%20I%27m%20too%20lazy%20for%20that.%20And%20then%20I%20found%20%27watch%27&amp;short_link=http://bit.ly/br3jya&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/03/06/how-to-show-hiddeninvisible-files-in-total-commander-both-locally-and-on-an-ftp-server/" rel="bookmark" title="March 6, 2010">How To Show Hidden/Invisible Files In Total Commander, Both Locally And On An FTP Server</a></li><li><a
href="http://beerpla.net/2010/06/10/how-to-display-just-the-http-response-code-in-cli-curl/" rel="bookmark" title="June 10, 2010">How To Display Just The HTTP Response Code In Command Line Curl</a></li><li><a
href="http://beerpla.net/2006/07/15/converting-from-cvs-to-svn-developers-notes-and-why-svn-is-better/" rel="bookmark" title="July 15, 2006">Converting from CVS to SVN: Developer&#039;s Notes And Why SVN Is Better</a></li><li><a
href="http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/" rel="bookmark" title="October 29, 2009">Modern-Day Frame Busting With X-FRAME-OPTIONS And &quot;This content cannot be displayed in a frame&quot; Warnings</a></li><li><a
href="http://beerpla.net/2008/10/11/how-to-sort-folders-the-same-way-as-files-in-total-commander/" rel="bookmark" title="October 11, 2008">How To Sort Folders The Same Way As Files In Total Commander</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2007%2F08%2F04%2Fwatch-a-useful-linux-command-you-may-have-never-heard-of%2F&amp;title=Watch%20%26%238211%3B%20A%20Useful%20Linux%20Command%20You%20May%20Have%20Never%20Heard%20Of" id="wpa2a_18"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/feed/</wfw:commentRss> <slash:comments>16</slash:comments> </item> <item><title>The Repositories For apt-get In SUSE 10.2</title><link>http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/</link> <comments>http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/#comments</comments> <pubDate>Tue, 10 Jul 2007 06:18:32 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[apt]]></category> <category><![CDATA[apt-get]]></category> <category><![CDATA[broken]]></category> <category><![CDATA[mirror]]></category> <category><![CDATA[obsolete]]></category> <category><![CDATA[sources.list]]></category> <guid
isPermaLink="false">http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/</guid> <description><![CDATA[<p>So today I was looking for a proper sources.list file that would work for apt-get in SUSE 10.2 since the one in yast and smart repositories comes with a broken list. And by broken I mean completely f***ed.</p><div
class="wp_syntax"><div
class="code"><pre>apt-get update
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386 release
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Get:1 ftp://ftp4.gwdg.de SuSE/10.2-i386 release
Ign ftp://ftp4.gwdg.de SuSE/10.2-i386 release
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/base pkglist
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/base release
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/update pkglist
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Get:1 ftp://ftp4.gwdg.de SuSE/10.2-i386/base pkglist
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/update release
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Err ftp://ftp4.gwdg.de SuSE/10.2-i386/base pkglist
Unable to fetch file, server said 'Failed to open file.  '
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/security pkglist
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Get:2 ftp://ftp4.gwdg.de SuSE/10.2-i386/base release
Err </pre></div>...<div
class=clear></div> <a
href="http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></div>]]></description> <content:encoded><![CDATA[<p>So today I was looking for a proper sources.list file that would work for apt-get in SUSE 10.2 since the one in yast and smart repositories comes with a broken list. And by broken I mean completely f***ed.</p><div
class="wp_syntax"><div
class="code"><pre>apt-get update
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386 release
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Get:1 ftp://ftp4.gwdg.de SuSE/10.2-i386 release
Ign ftp://ftp4.gwdg.de SuSE/10.2-i386 release
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/base pkglist
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/base release
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/update pkglist
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Get:1 ftp://ftp4.gwdg.de SuSE/10.2-i386/base pkglist
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/update release
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Err ftp://ftp4.gwdg.de SuSE/10.2-i386/base pkglist
Unable to fetch file, server said 'Failed to open file.  '
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/security pkglist
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Get:2 ftp://ftp4.gwdg.de SuSE/10.2-i386/base release
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/security release
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Ign ftp://ftp4.gwdg.de SuSE/10.2-i386/base release
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/rpmkeys pkglist
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Get:3 ftp://ftp4.gwdg.de SuSE/10.2-i386/update pkglist
Err ftp://mirrors.mathematik.uni-bielefeld.de SuSE/10.2-i386/rpmkeys release
Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Err ftp://ftp4.gwdg.de SuSE/10.2-i386/update pkglist
Unable to fetch file, server said 'Failed to open file.  '
Get:4 ftp://ftp4.gwdg.de SuSE/10.2-i386/update release
Ign ftp://ftp4.gwdg.de SuSE/10.2-i386/update release
Get:5 ftp://ftp4.gwdg.de SuSE/10.2-i386/security pkglist
Err ftp://ftp4.gwdg.de SuSE/10.2-i386/security pkglist
Unable to fetch file, server said 'Failed to open file.  '
Get:6 ftp://ftp4.gwdg.de SuSE/10.2-i386/security release
Ign ftp://ftp4.gwdg.de SuSE/10.2-i386/security release
Get:7 ftp://ftp4.gwdg.de SuSE/10.2-i386/rpmkeys pkglist
Err ftp://ftp4.gwdg.de SuSE/10.2-i386/rpmkeys pkglist
Unable to fetch file, server said 'Failed to open file.  '
Get:8 ftp://ftp4.gwdg.de SuSE/10.2-i386/rpmkeys release
Ign ftp://ftp4.gwdg.de SuSE/10.2-i386/rpmkeys release
Failed to fetch ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/SuSE/10.2-i386/base/release  Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Failed to fetch ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/SuSE/10.2-i386/base/pkglist.base  Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Failed to fetch ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/SuSE/10.2-i386/base/release.base  Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Failed to fetch ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/SuSE/10.2-i386/base/pkglist.update  Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Failed to fetch ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/SuSE/10.2-i386/base/release.update  Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Failed to fetch ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/SuSE/10.2-i386/base/pkglist.security  Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Failed to fetch ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/SuSE/10.2-i386/base/release.security  Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Failed to fetch ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/SuSE/10.2-i386/base/pkglist.rpmkeys  Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Failed to fetch ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/SuSE/10.2-i386/base/release.rpmkeys  Could not resolve 'mirrors.mathematik.uni-bielefeld.de'
Failed to fetch ftp://ftp4.gwdg.de/pub/linux/suse/apt/SuSE/10.2-i386/base/pkglist.base  Unable to fetch file, server said 'Failed to open file.  '
Failed to fetch ftp://ftp4.gwdg.de/pub/linux/suse/apt/SuSE/10.2-i386/base/pkglist.update  Unable to fetch file, server said 'Failed to open file.  '
Failed to fetch ftp://ftp4.gwdg.de/pub/linux/suse/apt/SuSE/10.2-i386/base/pkglist.security  Unable to fetch file, server said 'Failed to open file.  '
Failed to fetch ftp://ftp4.gwdg.de/pub/linux/suse/apt/SuSE/10.2-i386/base/pkglist.rpmkeys  Unable to fetch file, server said 'Failed to open file.  '</pre></div></div><p>The easiest solution is to download and install the rpms from <a
href="ftp://ftp5.gwdg.de/pub/opensuse/repositories/home%3A/rbos/openSUSE_10.2/i586/">ftp://ftp5.gwdg.de/pub/opensuse/repositories/home%3A/rbos/openSUSE_10.2/i586/</a> instead, which come with the correct sources.list as pointed to by this post. Here it is (with the additional sources uncommented):</p><div
class="wp_syntax"><div
class="code"><pre># A very basic sources.list file.
#
# Fastest repository comes first, with netselect it is possible to determine
# the fastest repository easily.
&nbsp;
repomd http://ftp-1.gwdg.de/pub/suse/i386 update/10.2
repomd http://ftp-1.gwdg.de/pub/opensuse/distribution 10.2/repo/oss/suse
&nbsp;
# Visit http://software.opensuse.org/download/ to determine which additional
# components are available.  Some examples are given below, just uncomment
# the line to enable it.
&nbsp;
repomd ftp://ftp-1.gwdg.de/pub/opensuse/repositories home:/rbos/openSUSE_10.2
repomd ftp://ftp-1.gwdg.de/pub/opensuse/repositories KDE:/KDE3/openSUSE_10.2
repomd ftp://ftp-1.gwdg.de/pub/opensuse/repositories KDE:/Backports/openSUSE_10.2
repomd ftp://ftp-1.gwdg.de/pub/opensuse/repositories KDE:/Playground/openSUSE_10.2
repomd ftp://ftp-1.gwdg.de/pub/opensuse/repositories mozilla/openSUSE_10.2
repomd ftp://ftp-1.gwdg.de/pub/opensuse/repositories openSUSE:/Tools/openSUSE_10.2
repomd ftp://ftp.gwdg.de/pub/linux/misc              packman/suse/10.2
&nbsp;
# The apt format
# rpm ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/ @ftp_dir@ base update security rpmkeys
# rpm ftp://ftp4.gwdg.de/pub/linux/suse/apt/ @ftp_dir@ base update security rpmkeys</pre></div></div><p>Updating this list produces a much nicer result:</p><div
class="wp_syntax"><div
class="code"><pre>apt update
Get:1 http://ftp-1.gwdg.de update/10.2 repomd.xml [1231B]
Get:2 http://ftp-1.gwdg.de 10.2/repo/oss/suse repomd.xml [951B]
Get:3 ftp://ftp-1.gwdg.de home:/rbos/openSUSE_10.2 repomd.xml [951B]
Get:4 ftp://ftp.gwdg.de packman/suse/10.2 repomd.xml [951B]
Get:5 ftp://ftp-1.gwdg.de KDE:/KDE3/openSUSE_10.2 repomd.xml [951B]
Get:6 ftp://ftp-1.gwdg.de KDE:/Backports/openSUSE_10.2 repomd.xml [951B]
Get:7 ftp://ftp-1.gwdg.de KDE:/Playground/openSUSE_10.2 repomd.xml [951B]
Get:8 ftp://ftp-1.gwdg.de mozilla/openSUSE_10.2 repomd.xml [951B]
Get:9 ftp://ftp-1.gwdg.de openSUSE:/Tools/openSUSE_10.2 repomd.xml [951B]
Fetched 8839B in 8s (1059B/s)
Get:1 http://ftp-1.gwdg.de update/10.2/ primary.xml [724kB]
Get:2 ftp://ftp-1.gwdg.de home:/rbos/openSUSE_10.2/ primary.xml [28.8kB]
Get:3 ftp://ftp.gwdg.de packman/suse/10.2/ primary.xml [2286kB]
Get:4 ftp://ftp-1.gwdg.de home:/rbos/openSUSE_10.2/ filelists.xml [46.5kB]
Get:5 http://ftp-1.gwdg.de update/10.2/ filelists.xml [4061kB]
Get:6 ftp://ftp-1.gwdg.de KDE:/KDE3/openSUSE_10.2/ primary.xml [112kB]
Get:7 ftp://ftp-1.gwdg.de KDE:/KDE3/openSUSE_10.2/ filelists.xml [1212kB]
Get:8 ftp://ftp.gwdg.de packman/suse/10.2/ filelists.xml [3021kB]
Get:9 ftp://ftp-1.gwdg.de KDE:/Backports/openSUSE_10.2/ primary.xml [174kB]
Get:10 ftp://ftp-1.gwdg.de KDE:/Backports/openSUSE_10.2/ filelists.xml [445kB]
Get:11 http://ftp-1.gwdg.de 10.2/repo/oss/suse/ primary.xml [6272kB]
Get:12 ftp://ftp-1.gwdg.de KDE:/Playground/openSUSE_10.2/ primary.xml [16.7kB]
Get:13 ftp://ftp-1.gwdg.de KDE:/Playground/openSUSE_10.2/ filelists.xml [39.0kB]
Get:14 ftp://ftp-1.gwdg.de mozilla/openSUSE_10.2/ primary.xml [22.8kB]
Get:15 ftp://ftp-1.gwdg.de mozilla/openSUSE_10.2/ filelists.xml [339kB]
Get:16 ftp://ftp-1.gwdg.de openSUSE:/Tools/openSUSE_10.2/ primary.xml [6095B]
Get:17 ftp://ftp-1.gwdg.de openSUSE:/Tools/openSUSE_10.2/ filelists.xml [14.5kB]
Get:18 http://ftp-1.gwdg.de 10.2/repo/oss/suse/ filelists.xml [12.4MB]
Fetched 31.2MB in 1m18s (400kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done</pre></div></div><p>Now we got a working apt for SUSE 10.2.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=The+Repositories+For+apt-get+In+SUSE+10.2&amp;link=http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/&amp;notes=So%20today%20I%20was%20looking%20for%20a%20proper%20sources.list%20file%20that%20would%20work%20for%20apt-get%20in%20SUSE%2010.2%20since%20the%20one%20in%20yast%20and%20smart%20repositories%20comes%20with%20a%20broken%20list.%20And%20by%20broken%20I%20mean%20completely%20f%2A%2A%2Aed.%0D%0A%0D%0Aapt-get%20update%0D%0AErr%20ftp%3A%2F%2Fmirrors.mathematik.uni-bielefeld.de%20SuSE%2F10.2-i386%20release%0D%0ACould&amp;short_link=http://bit.ly/bIVooB&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=The+Repositories+For+apt-get+In+SUSE+10.2&amp;link=http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/&amp;notes=So%20today%20I%20was%20looking%20for%20a%20proper%20sources.list%20file%20that%20would%20work%20for%20apt-get%20in%20SUSE%2010.2%20since%20the%20one%20in%20yast%20and%20smart%20repositories%20comes%20with%20a%20broken%20list.%20And%20by%20broken%20I%20mean%20completely%20f%2A%2A%2Aed.%0D%0A%0D%0Aapt-get%20update%0D%0AErr%20ftp%3A%2F%2Fmirrors.mathematik.uni-bielefeld.de%20SuSE%2F10.2-i386%20release%0D%0ACould&amp;short_link=http://bit.ly/bIVooB&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=The+Repositories+For+apt-get+In+SUSE+10.2&amp;link=http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/&amp;notes=So%20today%20I%20was%20looking%20for%20a%20proper%20sources.list%20file%20that%20would%20work%20for%20apt-get%20in%20SUSE%2010.2%20since%20the%20one%20in%20yast%20and%20smart%20repositories%20comes%20with%20a%20broken%20list.%20And%20by%20broken%20I%20mean%20completely%20f%2A%2A%2Aed.%0D%0A%0D%0Aapt-get%20update%0D%0AErr%20ftp%3A%2F%2Fmirrors.mathematik.uni-bielefeld.de%20SuSE%2F10.2-i386%20release%0D%0ACould&amp;short_link=http://bit.ly/bIVooB&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=The+Repositories+For+apt-get+In+SUSE+10.2&amp;link=http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/&amp;notes=So%20today%20I%20was%20looking%20for%20a%20proper%20sources.list%20file%20that%20would%20work%20for%20apt-get%20in%20SUSE%2010.2%20since%20the%20one%20in%20yast%20and%20smart%20repositories%20comes%20with%20a%20broken%20list.%20And%20by%20broken%20I%20mean%20completely%20f%2A%2A%2Aed.%0D%0A%0D%0Aapt-get%20update%0D%0AErr%20ftp%3A%2F%2Fmirrors.mathematik.uni-bielefeld.de%20SuSE%2F10.2-i386%20release%0D%0ACould&amp;short_link=http://bit.ly/bIVooB&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=The+Repositories+For+apt-get+In+SUSE+10.2&amp;link=http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/&amp;notes=So%20today%20I%20was%20looking%20for%20a%20proper%20sources.list%20file%20that%20would%20work%20for%20apt-get%20in%20SUSE%2010.2%20since%20the%20one%20in%20yast%20and%20smart%20repositories%20comes%20with%20a%20broken%20list.%20And%20by%20broken%20I%20mean%20completely%20f%2A%2A%2Aed.%0D%0A%0D%0Aapt-get%20update%0D%0AErr%20ftp%3A%2F%2Fmirrors.mathematik.uni-bielefeld.de%20SuSE%2F10.2-i386%20release%0D%0ACould&amp;short_link=http://bit.ly/bIVooB&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=The+Repositories+For+apt-get+In+SUSE+10.2&amp;link=http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/&amp;notes=So%20today%20I%20was%20looking%20for%20a%20proper%20sources.list%20file%20that%20would%20work%20for%20apt-get%20in%20SUSE%2010.2%20since%20the%20one%20in%20yast%20and%20smart%20repositories%20comes%20with%20a%20broken%20list.%20And%20by%20broken%20I%20mean%20completely%20f%2A%2A%2Aed.%0D%0A%0D%0Aapt-get%20update%0D%0AErr%20ftp%3A%2F%2Fmirrors.mathematik.uni-bielefeld.de%20SuSE%2F10.2-i386%20release%0D%0ACould&amp;short_link=http://bit.ly/bIVooB&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=The+Repositories+For+apt-get+In+SUSE+10.2&amp;link=http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/&amp;notes=So%20today%20I%20was%20looking%20for%20a%20proper%20sources.list%20file%20that%20would%20work%20for%20apt-get%20in%20SUSE%2010.2%20since%20the%20one%20in%20yast%20and%20smart%20repositories%20comes%20with%20a%20broken%20list.%20And%20by%20broken%20I%20mean%20completely%20f%2A%2A%2Aed.%0D%0A%0D%0Aapt-get%20update%0D%0AErr%20ftp%3A%2F%2Fmirrors.mathematik.uni-bielefeld.de%20SuSE%2F10.2-i386%20release%0D%0ACould&amp;short_link=http://bit.ly/bIVooB&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=The%20Repositories%20For%20apt-get%20In%20SUSE%2010.2&amp;link=http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/&amp;notes=So%20today%20I%20was%20looking%20for%20a%20proper%20sources.list%20file%20that%20would%20work%20for%20apt-get%20in%20SUSE%2010.2%20since%20the%20one%20in%20yast%20and%20smart%20repositories%20comes%20with%20a%20broken%20list.%20And%20by%20broken%20I%20mean%20completely%20f%2A%2A%2Aed.%0D%0A%0D%0Aapt-get%20update%0D%0AErr%20ftp%3A%2F%2Fmirrors.mathematik.uni-bielefeld.de%20SuSE%2F10.2-i386%20release%0D%0ACould&amp;short_link=http://bit.ly/bIVooB&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/" rel="bookmark" title="May 18, 2009">How To Fix Redrawing Problems In Your VNC</a></li><li><a
href="http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/" rel="bookmark" title="December 26, 2006">Linux openSUSE 10.2 Learning Experience #1: Introduction</a></li><li><a
href="http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/" rel="bookmark" title="April 22, 2008">Do NOT Use This Perl Module: Passwd::Unix</a></li><li><a
href="http://beerpla.net/2008/03/26/setting-up-a-mysql-cluster/" rel="bookmark" title="March 26, 2008">Setting Up A MySQL Cluster</a></li><li><a
href="http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/" rel="bookmark" title="May 6, 2011">How To Fix ERROR_NOT_FOUND 0&#215;80070490 During Windows 7 SP1 Installation</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2007%2F07%2F09%2Fthe-repositories-for-apt-get-in-suse-102%2F&amp;title=The%20Repositories%20For%20apt-get%20In%20SUSE%2010.2" id="wpa2a_20"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux openSUSE 10.2 Learning Experience #1: Introduction</title><link>http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/</link> <comments>http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/#comments</comments> <pubDate>Wed, 27 Dec 2006 01:33:02 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[installation]]></category> <category><![CDATA[layout]]></category> <category><![CDATA[opensuse]]></category> <category><![CDATA[partition]]></category> <category><![CDATA[proper]]></category> <category><![CDATA[suse]]></category> <guid
isPermaLink="false">http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/</guid> <description><![CDATA[<p>The purpose of this article is to:</p><ul><li>introduce the new Linux section of the site (specifically dedicated to openSUSE).</li><li>provide a very short description of Linux and compare it to other operating systems.</li><li>answer some installation questions.</li></ul><p>I&#039;m a Windows user, I admit it. Not because I enjoy frequent reboots, freezes, and other unexplainable quirks. It&#039;s mostly because I have so many programs I&#039;m used to, it would be impossible to switch to anything else, and I know ins and outs that allow me to be very comfortable with the Windows. I&#039;m talking 20-30 programs I&#039;m not willing to give up any time soon.</p><p><img
src="http://beerpla.net/wp-content/uploads/opensuse.thumbnail.png" alt="opensuse.png" title="opensuse.png" align="left" border="1" hspace="10" vspace="10" /> However, I also have deep respect for *nix based systems. I started using them back in ...<div
class=clear></div> <a
href="http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>The purpose of this article is to:</p><ul><li>introduce the new Linux section of the site (specifically dedicated to openSUSE).</li><li>provide a very short description of Linux and compare it to other operating systems.</li><li>answer some installation questions.</li></ul><p>I&#039;m a Windows user, I admit it. Not because I enjoy frequent reboots, freezes, and other unexplainable quirks. It&#039;s mostly because I have so many programs I&#039;m used to, it would be impossible to switch to anything else, and I know ins and outs that allow me to be very comfortable with the Windows. I&#039;m talking 20-30 programs I&#039;m not willing to give up any time soon.</p><p><img
src="http://beerpla.net/wp-content/uploads/opensuse.thumbnail.png" alt="opensuse.png" title="opensuse.png" align="left" border="1" hspace="10" vspace="10" /> However, I also have deep respect for *nix based systems. I started using them back in college and continued later on when I worked at Intel (Solaris) and other jobs. Stability and abundance of open-source software that just works attracted me to Linux. Finally, being a user just wasn&#039;t going to cut it: I had way too many questions about how things work, how the OS boots, what the conventions are, etc, etc, etc. So, finally, a couple of days ago I picked <strong>openSUSE 10.2</strong> as my distro (distribution) of choice to play around with. The Linux section here on the site has been empty for a while, so I&#039;m going to fill it up by documenting all my experiences and questions throughout the whole learning process as seen with the eyes of an amateur, which, I think, is what most tutorials are missing. So, let&#039;s begin.</p><p>OK, so&#8230; what are all these distributions? Ubuntu, who hasn&#039;t heard that by now? SUSE? Fedora? Why can&#039;t Linux be just Linux, just like Windows is just Windows? In short, in my opinion, because nobody but Microsoft has access to the Windows code (technically, after that leak a couple of years ago, everyone had a chance to see kernel source, but nobody can actually modify the OS or release another one based on it). Linux is open source, anybody can contribute to its development. That&#039;s the beauty of Linux: collaboration of <strike>hundreds</strike> thousands of people often working on their own time with passion no employee on payroll can match. Some motivated individuals go even further: they compile a set of Linux components that they think would work best together and release it as a distribution. <strong>openSUSE </strong>is a fine example of that. A bunch of smart people over at Novell got together and produced openSUSE a while ago, with its main goals being:</p><ul><li> Make openSUSE the easiest Linux distribution for anyone to obtain and the most widely used open source platform.</li><li> Provide an environment for open source collaboration that makes openSUSE the world&#039;s best Linux distribution for new and experienced Linux users.</li><li> Dramatically simplify and open the development and packaging processes to make openSUSE the platform of choice for Linux hackers and application developers.</li></ul><p>See this <a
href="http://en.opensuse.org/Project_overview">openSUSE.org about page</a> for more info.</p><p><a
href="http://beerpla.net/wp-content/uploads/yast2-finish.jpg" class="lightview" rel="gallery['153']"><img
src="http://beerpla.net/wp-content/uploads/thumb-yast2-finish.jpg" align="left" border="1" height="135" hspace="10" vspace="10" width="180" /></a> Installing Linux is easier than ever. Back in the day, Linux puzzled average users. Nowadays, for everyday activities Linux is as easy to use as Windows (or Mac if you&#039;re into big shiny objects). A short installation guide by Novel is available <a
href="http://www.novell.com/products/opensuse/installation.html">here</a> and a very nice long guide by HowToForge is available <a
href="http://www.howtoforge.com/perfect_setup_opensuse_10.2">here</a>. If you breeze through the installation steps, you should have a shiny desktop ready to rock and roll in about 30 minutes. While the installation itself is very easy (just burn a CD/DVD from <a
href="http://download.opensuse.org">http://download.opensuse.org</a> and reboot the computer), I had a couple of questions about things I wasn&#039;t quite sure about. Here they are:</p><ul><li>You&#039;re prompted to select your Desktop. The choices are <span
style="font-weight: bold">KDE</span>, <span
style="font-weight: bold">GNOME</span>, and Other (the Other menu has serveral options, one being no graphical desktop, which you would use if you didn&#039;t want a GUI at all, for example for server installs or if you imagined myself as an uber leet hax0r). A graphical desktop is a bit like a skin for the OS. Each also includes different sets of tools, for example KDE&#039;s default editor is KEdit while GNOME&#039;s is gedit. There are other differences, but for now we have to pick one. The good news is that you can install both later via the software update tool called YaST (actually it&#039;s yast2 in SUSE 10.2, yast is just a symlink to /sbin/yast2) and switch between them with ease. For my particular installation, I picked KDE as the desktop manager, which I ended up enjoying quite a lot.</li></ul><ul><li>Correct partitioning of my 110GB hard drive raised the most questions out of all the installation prompts. After consulting with a friendly sysadmin from work, I ended up with<ul><li><strong>1.0GB swap partition</strong> with <em>swap</em> filesystem. I have 2GB RAM, so 1GB swap in case I run out of RAM should suffice.</li><li><strong>100MB /boot partition</strong> with <em>ext3</em> filesystem. /boot is where a boot loader like GRUB will reside. We don&#039;t want to piss off GRUB, so we&#039;ll give it a separate partition.</li><li><strong>###MB /tmp partition</strong> with <em>ext3</em> filesystem. /tmp stores temp files for all users. It is better to assign a separate partition to it so that malicious users cannot potentially flood it with useless data and cause the server to run out of space. Don&#039;t make this space too small though, so that legitimate users don&#039;t run out of temp space.</li><li><strong>###MB /var partition</strong> with <em>ext3</em> filesystem. /var can also run the server out of space quickly if a runaway log file fills it up (normally, in /var/log). Assign a few gigs to this dir depending on total space.</li><li><strong>The rest of the drive I assigned to /</strong> with <em>ext3 </em>filesystem. Some people also recommend assigning a separate partition to /home, which is probably a good idea if you&#039;re planning on having multiple users on the box. I picked ext3 after reading up online about various filesystem types. ReiserFS was not really an option anymore, since it wasn&#039;t too stable yet, and the creator of Reiser was recently arrested for murdering his wife. 2 days after the news broke out, SUSE creators officially announced ext3 as the recommended SUSE filesystem. When ext4 comes out, ext3 partitions will be easily upgradeable to ext4 without the need for repartitioning. The only drawback that I could find for ext3 is the ~32k directory and file limit in a single directory. Oh well, as long as I know about it, I&#039;ll be able to craft my applications with that in mind.</li><li><strong>Update 3/20/2008: </strong>I found a great Filesystem Hierarchy Standard document that explains all the dirs in detail <a
href="http://www.pathname.com/fhs/pub/fhs-2.3.html">here</a>.</li></ul></li></ul><ul><li>Since I was planning on letting my router (Linksys WRT54G with HyperWRT firmware) handle the firewall duties, I disabled the firewall in the Network part of the installation. It&#039;s probably a good idea to leave it on and open ports like SSH (22), FTP (20-21), or HTTP (80) manually. I&#039;m probably going to turn the firewall back on after a couple of weeks once I get the hang of everything.</li></ul><p>Well, that should do it for this introduction. In the following articles, I will share my experiences dealing with something something specific, writing as I learn myself. They may be dedicated to software installation and usage, for example, proftpd ftp server. In other articles I may visit Linux concepts, like how to make programs start up at boot time.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Linux+openSUSE+10.2+Learning+Experience+%231%3A+Introduction&amp;link=http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/&amp;notes=The%20purpose%20of%20this%20article%20is%20to%3A%0D%0A%0D%0A%09introduce%20the%20new%20Linux%20section%20of%20the%20site%20%28specifically%20dedicated%20to%20openSUSE%29.%0D%0A%09provide%20a%20very%20short%20description%20of%20Linux%20and%20compare%20it%20to%20other%20operating%20systems.%0D%0A%09answer%20some%20installation%20questions.%0D%0A%0D%0AI%27m%20a%20Windows%20user%2C%20I%20admit%20it.%20Not%20because%20I%20enjoy&amp;short_link=http://bit.ly/dzqDRS&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Linux+openSUSE+10.2+Learning+Experience+%231%3A+Introduction&amp;link=http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/&amp;notes=The%20purpose%20of%20this%20article%20is%20to%3A%0D%0A%0D%0A%09introduce%20the%20new%20Linux%20section%20of%20the%20site%20%28specifically%20dedicated%20to%20openSUSE%29.%0D%0A%09provide%20a%20very%20short%20description%20of%20Linux%20and%20compare%20it%20to%20other%20operating%20systems.%0D%0A%09answer%20some%20installation%20questions.%0D%0A%0D%0AI%27m%20a%20Windows%20user%2C%20I%20admit%20it.%20Not%20because%20I%20enjoy&amp;short_link=http://bit.ly/dzqDRS&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Linux+openSUSE+10.2+Learning+Experience+%231%3A+Introduction&amp;link=http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/&amp;notes=The%20purpose%20of%20this%20article%20is%20to%3A%0D%0A%0D%0A%09introduce%20the%20new%20Linux%20section%20of%20the%20site%20%28specifically%20dedicated%20to%20openSUSE%29.%0D%0A%09provide%20a%20very%20short%20description%20of%20Linux%20and%20compare%20it%20to%20other%20operating%20systems.%0D%0A%09answer%20some%20installation%20questions.%0D%0A%0D%0AI%27m%20a%20Windows%20user%2C%20I%20admit%20it.%20Not%20because%20I%20enjoy&amp;short_link=http://bit.ly/dzqDRS&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Linux+openSUSE+10.2+Learning+Experience+%231%3A+Introduction&amp;link=http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/&amp;notes=The%20purpose%20of%20this%20article%20is%20to%3A%0D%0A%0D%0A%09introduce%20the%20new%20Linux%20section%20of%20the%20site%20%28specifically%20dedicated%20to%20openSUSE%29.%0D%0A%09provide%20a%20very%20short%20description%20of%20Linux%20and%20compare%20it%20to%20other%20operating%20systems.%0D%0A%09answer%20some%20installation%20questions.%0D%0A%0D%0AI%27m%20a%20Windows%20user%2C%20I%20admit%20it.%20Not%20because%20I%20enjoy&amp;short_link=http://bit.ly/dzqDRS&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Linux+openSUSE+10.2+Learning+Experience+%231%3A+Introduction&amp;link=http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/&amp;notes=The%20purpose%20of%20this%20article%20is%20to%3A%0D%0A%0D%0A%09introduce%20the%20new%20Linux%20section%20of%20the%20site%20%28specifically%20dedicated%20to%20openSUSE%29.%0D%0A%09provide%20a%20very%20short%20description%20of%20Linux%20and%20compare%20it%20to%20other%20operating%20systems.%0D%0A%09answer%20some%20installation%20questions.%0D%0A%0D%0AI%27m%20a%20Windows%20user%2C%20I%20admit%20it.%20Not%20because%20I%20enjoy&amp;short_link=http://bit.ly/dzqDRS&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Linux+openSUSE+10.2+Learning+Experience+%231%3A+Introduction&amp;link=http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/&amp;notes=The%20purpose%20of%20this%20article%20is%20to%3A%0D%0A%0D%0A%09introduce%20the%20new%20Linux%20section%20of%20the%20site%20%28specifically%20dedicated%20to%20openSUSE%29.%0D%0A%09provide%20a%20very%20short%20description%20of%20Linux%20and%20compare%20it%20to%20other%20operating%20systems.%0D%0A%09answer%20some%20installation%20questions.%0D%0A%0D%0AI%27m%20a%20Windows%20user%2C%20I%20admit%20it.%20Not%20because%20I%20enjoy&amp;short_link=http://bit.ly/dzqDRS&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Linux+openSUSE+10.2+Learning+Experience+%231%3A+Introduction&amp;link=http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/&amp;notes=The%20purpose%20of%20this%20article%20is%20to%3A%0D%0A%0D%0A%09introduce%20the%20new%20Linux%20section%20of%20the%20site%20%28specifically%20dedicated%20to%20openSUSE%29.%0D%0A%09provide%20a%20very%20short%20description%20of%20Linux%20and%20compare%20it%20to%20other%20operating%20systems.%0D%0A%09answer%20some%20installation%20questions.%0D%0A%0D%0AI%27m%20a%20Windows%20user%2C%20I%20admit%20it.%20Not%20because%20I%20enjoy&amp;short_link=http://bit.ly/dzqDRS&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Linux%20openSUSE%2010.2%20Learning%20Experience%20%231%3A%20Introduction&amp;link=http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/&amp;notes=The%20purpose%20of%20this%20article%20is%20to%3A%0D%0A%0D%0A%09introduce%20the%20new%20Linux%20section%20of%20the%20site%20%28specifically%20dedicated%20to%20openSUSE%29.%0D%0A%09provide%20a%20very%20short%20description%20of%20Linux%20and%20compare%20it%20to%20other%20operating%20systems.%0D%0A%09answer%20some%20installation%20questions.%0D%0A%0D%0AI%27m%20a%20Windows%20user%2C%20I%20admit%20it.%20Not%20because%20I%20enjoy&amp;short_link=http://bit.ly/dzqDRS&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2007/08/10/how-to-resizegrow-vmware-linux-disks-and-partitions/" rel="bookmark" title="August 10, 2007">How To Resize/Grow VMware Linux Disks and Partitions</a></li><li><a
href="http://beerpla.net/2006/06/07/ubuntu-laptop-installation/" rel="bookmark" title="June 7, 2006">Ubuntu Laptop Installation</a></li><li><a
href="http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/" rel="bookmark" title="July 9, 2007">The Repositories For apt-get In SUSE 10.2</a></li><li><a
href="http://beerpla.net/2006/06/12/beer-planet-is-fast-again/" rel="bookmark" title="June 12, 2006">Beer Planet is Fast Again</a></li><li><a
href="http://beerpla.net/2010/03/01/the-most-awesome-vpn-tip-how-to-make-windows-automatically-use-your-local-wifilan-connection-directly-for-requests-that-dont-need-to-go-through-vpn/" rel="bookmark" title="March 1, 2010">The Most Awesome VPN Tip: How To Make Windows Automatically Use Your Local WiFi/LAN Connection Directly For Requests That Don&#039;t Need To Go Through VPN</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2006%2F12%2F26%2Flinux-opensuse-102-learning-experience-1-introduction%2F&amp;title=Linux%20openSUSE%2010.2%20Learning%20Experience%20%231%3A%20Introduction" id="wpa2a_22"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ubuntu Laptop Installation</title><link>http://beerpla.net/2006/06/07/ubuntu-laptop-installation/</link> <comments>http://beerpla.net/2006/06/07/ubuntu-laptop-installation/#comments</comments> <pubDate>Thu, 08 Jun 2006 00:23:37 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://beerpla.net/2006/06/07/ubuntu-laptop-installation/</guid> <description><![CDATA[<div
style="text-align: center"><img
src="http://beerpla.net/wp-content/uploads/2006/06/vmware-player-ubuntu-install-4.png" border="0" alt="Ubuntu" width="442" height="353" /></div><p> Installed <a
href="http://www.ubuntu.com" title="Ubuntu">Ubuntu</a> LTS 6.06 as a 2nd OS on my Dell E1505 laptop today after delaying doing this for a while. <a
href="http://blog.rwven.com/?p=68" title="This article">This article</a> from <a
href="http://www.digg.com">digg</a> finally made me install it, which took roughly 10 minutes, as it mentions. Compare this and 0 reboots to 45min and 5 reboots installing Windows.  Ubuntu&#39;s pretty damn sweet; I&#39;m gonna go tweak it now with the help of Arthur. I&#39;m predicting that Linux (and Ubuntu in particular, as of now) will eat up Windows&#39; market share surely and quickly. The dual boot is very friendly, it uses GRUB as the boot manager. To boot directly into Windows by default, I edited /boot/grub/menu.list from Ubuntu.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&#38;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&#38;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&#38;short_link=http://bit.ly/9tzJ6k&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&#38;service=7&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&#38;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&#38;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&#38;short_link=http://bit.ly/9tzJ6k&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=5&#38;tags=&#38;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&#38;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&#38;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&#38;short_link=http://bit.ly/9tzJ6k&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=257&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li></ul>...<div
class=clear></div> <a
href="http://beerpla.net/2006/06/07/ubuntu-laptop-installation/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></div>]]></description> <content:encoded><![CDATA[<div
style="text-align: center"><img
src="http://beerpla.net/wp-content/uploads/2006/06/vmware-player-ubuntu-install-4.png" border="0" alt="Ubuntu" width="442" height="353" /></div><p> Installed <a
href="http://www.ubuntu.com" title="Ubuntu">Ubuntu</a> LTS 6.06 as a 2nd OS on my Dell E1505 laptop today after delaying doing this for a while. <a
href="http://blog.rwven.com/?p=68" title="This article">This article</a> from <a
href="http://www.digg.com">digg</a> finally made me install it, which took roughly 10 minutes, as it mentions. Compare this and 0 reboots to 45min and 5 reboots installing Windows.  Ubuntu&#39;s pretty damn sweet; I&#39;m gonna go tweak it now with the help of Arthur. I&#39;m predicting that Linux (and Ubuntu in particular, as of now) will eat up Windows&#39; market share surely and quickly. The dual boot is very friendly, it uses GRUB as the boot manager. To boot directly into Windows by default, I edited /boot/grub/menu.list from Ubuntu.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&amp;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&amp;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&amp;short_link=http://bit.ly/9tzJ6k&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&amp;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&amp;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&amp;short_link=http://bit.ly/9tzJ6k&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&amp;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&amp;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&amp;short_link=http://bit.ly/9tzJ6k&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&amp;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&amp;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&amp;short_link=http://bit.ly/9tzJ6k&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&amp;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&amp;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&amp;short_link=http://bit.ly/9tzJ6k&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&amp;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&amp;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&amp;short_link=http://bit.ly/9tzJ6k&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu+Laptop+Installation&amp;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&amp;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&amp;short_link=http://bit.ly/9tzJ6k&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Ubuntu%20Laptop%20Installation&amp;link=http://beerpla.net/2006/06/07/ubuntu-laptop-installation/&amp;notes=%20Installed%20Ubuntu%20LTS%206.06%20as%20a%202nd%20OS%20on%20my%20Dell%20E1505%20laptop%20today%20after%20delaying%20doing%20this%20for%20a%20while.%20This%20article%20from%20digg%20finally%20made%20me%20install%20it%2C%20which%20took%20roughly%2010%20minutes%2C%20as%20it%20mentions.%20Compare%20this%20and%200%20reboots%20to%2045min%20and%205%20reboots%20installing%20Windows.%20%20Ubuntu%26%2339%3Bs%20pretty%20dam&amp;short_link=http://bit.ly/9tzJ6k&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2006/12/26/linux-opensuse-102-learning-experience-1-introduction/" rel="bookmark" title="December 26, 2006">Linux openSUSE 10.2 Learning Experience #1: Introduction</a></li><li><a
href="http://beerpla.net/2007/07/09/how-to-download-and-install-windows-media-player-11-bypassing-wga/" rel="bookmark" title="July 9, 2007">How To Download And Install Windows Media Player 11 Bypassing WGA</a></li><li><a
href="http://beerpla.net/2007/08/10/how-to-resizegrow-vmware-linux-disks-and-partitions/" rel="bookmark" title="August 10, 2007">How To Resize/Grow VMware Linux Disks and Partitions</a></li><li><a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/" rel="bookmark" title="November 18, 2009">Sprint And HTC Release The First HTC Hero Firmware Update 1.56: Fixes Major Bugs, Adds Small Tweaks</a></li><li><a
href="http://beerpla.net/2010/01/09/how-to-exportimport-your-expandrivesftpdrive-drives-and-settings/" rel="bookmark" title="January 9, 2010">How To Export/Import Your ExpanDrive/SFTPDrive Drives And Settings</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2006%2F06%2F07%2Fubuntu-laptop-installation%2F&amp;title=Ubuntu%20Laptop%20Installation" id="wpa2a_24"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2006/06/07/ubuntu-laptop-installation/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
