<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7966727725512849871</id><updated>2012-02-12T04:08:58.193-08:00</updated><category term='Coffee Break'/><category term='Learning'/><category term='SSH'/><category term='e-mail'/><category term='Networking'/><category term='Shell Tips'/><category term='Instant Messaging'/><category term='Customization'/><category term='Server'/><category term='Hardware'/><category term='Desktop Customization'/><category term='Ubuntu'/><category term='Hacking'/><category term='Virtualization'/><category term='Events'/><category term='Linux Tips'/><category term='Media'/><title type='text'>Victor's Blog</title><subtitle type='html'>Technical blog of an average Linux user</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>56</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-2241871011383821464</id><published>2011-06-28T20:09:00.001-07:00</published><updated>2011-06-28T20:14:37.968-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tips'/><title type='text'>Keyboard Number Pad Not Working</title><content type='html'>&lt;p&gt;This is a very common thing to happen for Linux users using full blown keyboards (not a laptop). And it's caused mainly by a Linux accessibility feature, which allows you to use the arrows on your number pad as a mouse.&lt;/p&gt;&lt;p&gt;To revert back you have two simple options:&lt;/p&gt;&lt;p&gt;1- Hit "Ctrl+Shift+NumLock" on your keyboard&lt;/p&gt;&lt;p&gt;2- Disable the Mouse Keys feature on you keyboad configuration utility&lt;/p&gt;&lt;p&gt;&lt;img src="http://lh3.ggpht.com/-dWGj4zzQwsU/TgqWSfdjSZI/AAAAAAAAd4s/Ju4zXcGSOdk/%25255BUNSET%25255D.png" alt="" width="450" height="486" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-2241871011383821464?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/2241871011383821464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=2241871011383821464' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2241871011383821464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2241871011383821464'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2011/06/keyboard-number-pad-not-working.html' title='Keyboard Number Pad Not Working'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-dWGj4zzQwsU/TgqWSfdjSZI/AAAAAAAAd4s/Ju4zXcGSOdk/s72-c/%25255BUNSET%25255D.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-6717724542803044092</id><published>2011-06-24T14:13:00.000-07:00</published><updated>2011-06-28T14:16:43.605-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>Converting first characters to capital in a string variable - BASH</title><content type='html'>&lt;p&gt;&lt;!-- ol{margin:0;padding:0}p{margin:0}.c9{vertical-align:top;width:265.5pt;border-style:solid;background-color:#000000;border-color:#000000;border-width:1pt;padding:5pt 5pt 5pt 5pt}.c6{vertical-align:top;width:531pt;border-style:solid;background-color:#000000;border-color:#000000;border-width:1pt;padding:5pt 5pt 5pt 5pt}.c7{vertical-align:top;width:209.2pt;border-style:solid;background-color:#000000;border-color:#000000;border-width:1pt;padding:5pt 5pt 5pt 5pt}.c8{width:531pt;background-color:#ffffff;padding:72pt 72pt 72pt 9pt}.c1{height:11pt;direction:ltr}.c2{color:#ffffff;font-family:Courier New}.c4{border-collapse:collapse}.c3{direction:ltr}.c5{height:0pt}.c0{font-size:10pt}.c10{line-height:1.0}body{color:#000000;font-size:11pt;font-family:Arial}h1{padding-top:24pt;color:#000000;font-size:24pt;font-family:Arial;font-weight:bold;padding-bottom:6pt}h2{padding-top:18pt;color:#000000;font-size:18pt;font-family:Arial;font-weight:bold;padding-bottom:4pt}h3{padding-top:14pt;color:#000000;font-size:14pt;font-family:Arial;font-weight:bold;padding-bottom:4pt}h4{padding-top:12pt;color:#000000;font-size:12pt;font-family:Arial;font-weight:bold;padding-bottom:2pt}h5{padding-top:11pt;color:#000000;font-size:11pt;font-family:Arial;font-weight:bold;padding-bottom:2pt}h6{padding-top:10pt;color:#000000;font-size:10pt;font-family:Arial;font-weight:bold;padding-bottom:2pt} --&gt;&lt;/p&gt;&lt;p class="c3 c10"&gt;&lt;span style="font-family: Arial; font-size: 13px; white-space: pre-wrap;"&gt;Let's say you have a variable that contains a string of text, and you need the first characters to be capitalized. This quick how to will show you just that.&lt;/span&gt;&lt;/p&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; white-space: normal; font-size: medium; margin: 0px;"&gt;&lt;p style="font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;My variable is set as follow:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;table style="border-collapse: collapse; border: initial none initial;"&gt;&lt;tbody&gt;&lt;tr style="height: 0px;"&gt;&lt;td style="vertical-align: top; background-color: #000000; padding: 7px; border: 1px dotted #aaaaaa;"&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;$ var="this is a text title"&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;$ echo $var&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;this is a text title&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p class="c3 c10"&gt;&lt;span style="font-family: Arial; font-size: x-small;"&gt;&lt;span style="white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial; font-size: 13px; white-space: pre-wrap;"&gt;Bash has built-in variable substitution that will convert a matching pattern (see the man page for either bash or bash-bultins for more info).&lt;/span&gt;&lt;/p&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; white-space: normal; font-size: medium; margin: 0px;"&gt;&lt;p style="font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;${parameter^pattern}&lt;/span&gt;&lt;br /&gt; &lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;${parameter^^pattern}&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;Here's a simplified usage:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table style="border-collapse: collapse; border: initial none initial;"&gt;&lt;tbody&gt;&lt;tr style="height: 0px;"&gt;&lt;td style="vertical-align: top; background-color: #000000; padding: 7px; border: 1px dotted #aaaaaa;"&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;$ var=test&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;$ echo ${var^t} # Could also be ${var^}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Test&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p class="c3 c10"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style="white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial; white-space: pre-wrap;"&gt;So for my first example, we can add the same parameter substitution to a for loop, and here's what we get:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table style="border-collapse: collapse; border: initial none initial;"&gt;&lt;colgroup&gt; &lt;col width="610"&gt;&lt;/col&gt; &lt;/colgroup&gt; &lt;tbody&gt;&lt;tr style="height: 0px;"&gt;&lt;td style="vertical-align: top; background-color: #000000; padding: 7px; border: 1px dotted #aaaaaa;"&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;$ var="this is a text title"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;$ echo $var&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;this is a text title&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;$ for i in `echo $var` ; do echo ${i^} ; done | tr '\n' ' ' ; echo -e "\r"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;This Is A Text Title&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p class="c3 c10"&gt;&lt;span style="font-family: Arial; font-size: x-small;"&gt;&lt;span style="white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-6717724542803044092?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/6717724542803044092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=6717724542803044092' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6717724542803044092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6717724542803044092'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2011/06/converting-first-characters-to-capital.html' title='Converting first characters to capital in a string variable - BASH'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-2967160645214537234</id><published>2011-04-16T13:25:00.000-07:00</published><updated>2011-06-28T20:15:07.024-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Media'/><title type='text'>Problem With Opening mp3 files in Audacity – OpenSuse</title><content type='html'>&lt;p&gt;&lt;!-- ol{margin:0;padding:0}p{margin:0}.c9{vertical-align:top;width:265.5pt;border-style:solid;background-color:#000000;border-color:#000000;border-width:1pt;padding:5pt 5pt 5pt 5pt}.c6{vertical-align:top;width:531pt;border-style:solid;background-color:#000000;border-color:#000000;border-width:1pt;padding:5pt 5pt 5pt 5pt}.c7{vertical-align:top;width:209.2pt;border-style:solid;background-color:#000000;border-color:#000000;border-width:1pt;padding:5pt 5pt 5pt 5pt}.c8{width:531pt;background-color:#ffffff;padding:72pt 72pt 72pt 9pt}.c1{height:11pt;direction:ltr}.c2{color:#ffffff;font-family:Courier New}.c4{border-collapse:collapse}.c3{direction:ltr}.c5{height:0pt}.c0{font-size:10pt}.c10{line-height:1.0}body{color:#000000;font-size:11pt;font-family:Arial}h1{padding-top:24pt;color:#000000;font-size:24pt;font-family:Arial;font-weight:bold;padding-bottom:6pt}h2{padding-top:18pt;color:#000000;font-size:18pt;font-family:Arial;font-weight:bold;padding-bottom:4pt}h3{padding-top:14pt;color:#000000;font-size:14pt;font-family:Arial;font-weight:bold;padding-bottom:4pt}h4{padding-top:12pt;color:#000000;font-size:12pt;font-family:Arial;font-weight:bold;padding-bottom:2pt}h5{padding-top:11pt;color:#000000;font-size:11pt;font-family:Arial;font-weight:bold;padding-bottom:2pt}h6{padding-top:10pt;color:#000000;font-size:10pt;font-family:Arial;font-weight:bold;padding-bottom:2pt} --&gt;&lt;/p&gt;&lt;p class="c3 c10"&gt;&lt;span style="font-family: Arial; font-size: 13px; white-space: pre-wrap;"&gt;The other day I installed Audacity for the first time on my OpenSuse desktop so I could edit an mp3 file. After having installed Audacity I was greeted with the following message:&lt;/span&gt;&lt;span style="font-family: Arial; font-size: 13px; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; white-space: normal; font-size: medium; margin: 0px;"&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; margin: 0px;"&gt;&lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;ldquo;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;This version of audacity was not compiled with mp3 files support&amp;rdquo;&lt;/span&gt;&lt;br /&gt; &lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt; &lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;This is not your common message about lame missing or not installed (that was my first try), as lame is only needed for exports; but it seems that the Audacity package from OpenSuse repos does not support mp3 files.&lt;/span&gt;&lt;br /&gt; &lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt; &lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;The fix is rather simple&lt;/span&gt;&lt;br /&gt; &lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1- Remove Audacity&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; margin: 0px;"&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; white-space: normal;" dir="ltr"&gt;&lt;table style="border-collapse: collapse; border: initial none initial;"&gt;&lt;colgroup&gt; &lt;col width="169"&gt;&lt;/col&gt; &lt;/colgroup&gt; &lt;tbody&gt;&lt;tr style="height: 0px;"&gt;&lt;td style="vertical-align: top; background-color: #000000; padding: 7px; border: 1px dotted #aaaaaa;"&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;zypper rm audacity&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p style="font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;2- Make sure you have packman repo installed and refreshed&lt;/span&gt;&lt;br /&gt; &lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;- Install instructions here - &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Arial; color: #000099; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;a href="http://en.opensuse.org/Additional_package_repositories#Packman"&gt;&lt;span style="color: #000099; font-family: Arial; font-size: x-small;"&gt;&lt;span style="white-space: pre-wrap;"&gt;http://en.opensuse.org/Additional_package_repositories#Packman&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;table style="border-collapse: collapse; border: initial none initial;"&gt;&lt;colgroup&gt; &lt;col width="371"&gt;&lt;/col&gt; &lt;/colgroup&gt; &lt;tbody&gt;&lt;tr style="height: 0px;"&gt;&lt;td style="vertical-align: top; background-color: #000000; padding: 7px; border: 1px dotted #aaaaaa;"&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;sudo zypper refresh -r "Packman Repository"&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span style="font-size: 10pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;3- Re-install Audacity&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;table style="border-collapse: collapse; border: initial none initial;"&gt;&lt;colgroup&gt; &lt;col width="398"&gt;&lt;/col&gt; &lt;/colgroup&gt; &lt;tbody&gt;&lt;tr style="height: 0px;"&gt;&lt;td style="vertical-align: top; background-color: #000000; padding: 7px; border: 1px dotted #aaaaaa;"&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; color: #ffffff; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;sudo zypper in -r "Packman Repository" audacity &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-2967160645214537234?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/2967160645214537234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=2967160645214537234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2967160645214537234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2967160645214537234'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2011/04/problem-with-opening-mp3-files-in.html' title='Problem With Opening mp3 files in Audacity – OpenSuse'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-7135729481234753089</id><published>2010-06-29T18:15:00.000-07:00</published><updated>2010-06-29T18:29:46.231-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>Using Variables on a sed Expression</title><content type='html'>&lt;span style="font-size:85%;"&gt;Using variables as a matching pattern on a sed expression can be tricky. Take a look at the examples below.&lt;br /&gt;&lt;br /&gt;Here's the value for PATH and HOME on this example system:&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(102, 102, 102);"&gt;$ echo $PATH &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(102, 102, 102);"&gt;/home/victor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(102, 102, 102);"&gt;$ echo $HOME &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(102, 102, 102);"&gt;/home/victor &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's say we would like to use the value of HOME to change the string “/home/victor/bin” to “/bin”. A few attempts would look like this:&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;$ echo $PATH | sed 's/"$HOME"//' &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;/home/victor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;$ echo $PATH | sed 's/$HOME//' &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;/home/victor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;$ echo $PATH | sed s/$HOME// &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;sed: -e expression #1, char 9: unknown option to `s' &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;However if we use a colon “:” as the field delimiter instead of a forward slash “/”, the desired result can be achieved very easily:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;$ echo $PATH | sed s:$HOME:: &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-7135729481234753089?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/7135729481234753089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=7135729481234753089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7135729481234753089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7135729481234753089'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2010/06/using-variables-on-sed-expression.html' title='Using Variables on a sed Expression'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-1860297121216167571</id><published>2010-06-29T18:10:00.000-07:00</published><updated>2010-06-29T18:29:53.984-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>Removing Windows Newline (Control) Characters on VI</title><content type='html'>&lt;span style="font-size:85%;"&gt;If you have to work on a Unix box trough Windows (putty or any other ssh utility), you most likely have encountered the problem where pasting a text trough putty will result on Windows control characters (^M) at the end of the lines. This is actually very easy to fix.&lt;br /&gt;&lt;br /&gt;1- Open the text with VI (or VIM)&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102);font-family:times new roman;" &gt;$ vi {file_name}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2- Now we need to get in command mode by pressing colon “:” on your keyboard&lt;br /&gt;3- Type in the following code (note that you to get ^M you need to press “Ctrl+v” and then “Ctrl+m” on your keyboard):&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(102, 102, 102);"&gt;%s/^M//g&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4- Hit enter and you should be good to go!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Related links:&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Newline"&gt;http://en.wikipedia.org/wiki/Newline&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.colostate.edu/helpdocs/vi.html"&gt;http://www.cs.colostate.edu/helpdocs/vi.html&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-1860297121216167571?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/1860297121216167571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=1860297121216167571' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1860297121216167571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1860297121216167571'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2010/06/removing-windows-newline-control.html' title='Removing Windows Newline (Control) Characters on VI'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-1192058638074894041</id><published>2009-06-07T18:15:00.000-07:00</published><updated>2009-06-07T18:34:40.894-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Server'/><title type='text'>How to Yahoo IMAP with postfix, fetchmail and dovecot</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;After doing en extensive research on the net for a similar setup (without finding anything) and spending a full weekend trying to get this working, I've decided to create a tutorial that will provide a base to users that don't have a lot of mail server experience and the same setup.&lt;br /&gt;&lt;br /&gt;I'm an email guy so I'm not sure if I'll be able to support in case you run into problems, but I'll try if I can. Also let me know if you think there's some wrong with the tutorial or anything that can be improved and I'll be happy to change.&lt;br /&gt;&lt;br /&gt;Here's what I have at home:&lt;br /&gt;- Ubuntu Server 8.10 32-bit (LAMP)&lt;br /&gt;- dyndns&lt;br /&gt;- Yahoo mail (not plus)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1- Getting your emails delivered to your account&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1.a - Install fetchmail&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo aptitude install fetchmail&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1.b - Create a .fetchmailrc in your home directory with the following info:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ cd $HOME&lt;br /&gt;&lt;br /&gt;$ vim .fetchmailrc&lt;br /&gt;set syslog;&lt;br /&gt;set daemon 90;&lt;br /&gt;set postmaster "[user]@yahoo.ca";&lt;br /&gt;&lt;br /&gt;poll "pop.mail.yahoo.ca" port 995 with protocol POP3 user "user@yahoo.ca" password "[yahoo_password]" is "[loginname_to_the_server]" here keep ssl&lt;br /&gt;smtphost "localhost" smtpname "[loginname_to_the_server]@localhost"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Note: Do no use the square brackets. They are there only to indicate that you need to enter something.&lt;br /&gt;- The above file will download only new emails and keep a copy on the server&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1.c - Change permission of the file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ chmod 600 .fetchmailrc&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1.d - Run fetchmail and check if new mail has arrived (make sure that there's one unread email on your yahoo account)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ fetchmail&lt;br /&gt;$ mail&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;- Press “q” to leave the mail reader&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2- Setup postfix to delivery the messages for you&lt;/span&gt;&lt;br /&gt;By default postfix should already be installed on your machine. But you still need to configure it do delivery your local emails to your local or Internet accounts.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;2.a - Initial postfix configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo dpkg-reconfigure postfix&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Answer the questions at the prompt:&lt;br /&gt;General type of mail configuration: Internet Site&lt;br /&gt;NONE doesn't appear to be requested in current config&lt;br /&gt;System mail name: server1.example.com&lt;br /&gt;Root and postmaster mail recipient: &lt;admin_user_name&gt;&lt;br /&gt;Other destinations for mail: server1.example.com, example.com, localhost.example.com, localhost&lt;br /&gt;Force synchronous updates on mail queue?: No&lt;br /&gt;Local networks: 127.0.0.0/8&lt;br /&gt;Yes doesn't appear to be requested in current config&lt;br /&gt;Mialbox size limit (bytes): 0&lt;br /&gt;Local address extension character: +&lt;br /&gt;Internet protocols to use: all&lt;br /&gt;&lt;br /&gt;Once this is set you should be able to send emails locally. Restart postfix and try sending an email to yourself with the following command:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo /etc/init.d/postfix restart&lt;br /&gt;&lt;br /&gt;$ mail [your_user_name]@localhost&lt;br /&gt;Subject: Testing&lt;br /&gt;This is a test  # press Ctrl+d to end the message body&lt;br /&gt;Cc:   # press enter&lt;br /&gt;&lt;br /&gt;$ mail&lt;br /&gt;Mail version 8.1.2 01/15/2001.  Type ? for help.&lt;br /&gt;"/var/mail/user": 1 messages 1 new&lt;br /&gt;&gt; N  1 user@hostname  Sun Jun  7 20:08   14/464   Testing&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;2.b - Fine tunning postfix&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check the following file and make sure that it has you server's FQDN&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ cat /etc/mailname&lt;br /&gt;myserver.dyndns.org&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Now we need to create an authorization file that will be used for your login and them run postmap on it to create a db file. The file should look like this:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo cat /etc/poistfix/sasl/smtp_auth&lt;br /&gt;127.0.0.1    [username]@yahoo.ca:[password ]&lt;br /&gt;&lt;br /&gt;$ sudo postmap /etc/poistfix/sasl/smtp_auth&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Let's edit your postfix mail file to look similar to this:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ grep -v '#' /etc/postfix/main.cf&lt;br /&gt;smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)&lt;br /&gt;biff = yes&lt;br /&gt;append_dot_mydomain = no&lt;br /&gt;readme_directory = no&lt;br /&gt;smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem&lt;br /&gt;smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key&lt;br /&gt;smtpd_use_tls=no&lt;br /&gt;smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache&lt;br /&gt;smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache&lt;br /&gt;&lt;br /&gt;alias_maps = hash:/etc/aliases&lt;br /&gt;alias_database = hash:/etc/aliases&lt;br /&gt;myorigin = /etc/mailname&lt;br /&gt;mydestination = [fqdn], [hostname].[domain_name,] localhost.[domain_name], localhost&lt;br /&gt;relayhost = 127.0.0.1:11125  # this will be used with stunnel&lt;br /&gt;mailbox_command = &lt;span style="font-weight: bold;"&gt;procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ &lt;/span&gt;&lt;br /&gt;MAILDIR=$HOME/Maildir&lt;br /&gt;mailbox_size_limit = 0&lt;br /&gt;recipient_delimiter = +&lt;br /&gt;inet_interfaces = all&lt;br /&gt;inet_protocols = ipv4&lt;br /&gt;smtp_sasl_auth_enable = yes&lt;br /&gt;smtp_sasl_security_options = noanonymous&lt;br /&gt;smtp_sasl_password_maps = hash:/etc/postfix/sasl/smtp_auth&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;If everything went ok we can go to next step and install stunnel and configure for sending the email via port 465 (which is no longer supported by postfix).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3 - Stunnel&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;3.a - Installing and configuring stunnel&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo aptitude install stunnel&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;And configure you stunnel.conf to look like this:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ grep -v ';' /etc/stunnel/stunnel.conf&lt;br /&gt;&lt;br /&gt;sslVersion = SSLv3&lt;br /&gt;&lt;br /&gt;chroot = /var/lib/stunnel4/&lt;br /&gt;setuid = stunnel4&lt;br /&gt;setgid = stunnel4&lt;br /&gt;pid = /stunnel4.pid&lt;br /&gt;&lt;br /&gt;socket = l:TCP_NODELAY=1&lt;br /&gt;socket = r:TCP_NODELAY=1&lt;br /&gt;&lt;br /&gt;client = yes&lt;br /&gt;&lt;br /&gt;[smtps]&lt;br /&gt; accept = 11125&lt;br /&gt; client = yes&lt;br /&gt; connect = smtp.mail.yahoo.ca:465&lt;br /&gt;&lt;br /&gt;# Make sure that the following lines are commented out:&lt;br /&gt;&lt;br /&gt;;cert = /etc/stunnel/mail.pem&lt;br /&gt;;cert = /etc/stunnel/stunnel.pem&lt;br /&gt;;key = /etc/stunnel/mail.pem&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;3.b - Starting and testing stunnel&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo /etc/init.d/stunnel4 start&lt;br /&gt;&lt;br /&gt;$ telnet 127.0.0.1 11125&lt;br /&gt;Trying 127.0.0.1...&lt;br /&gt;Connected to 127.0.0.1.&lt;br /&gt;Escape character is '^]'.&lt;br /&gt;220 smtp107.mail.mud.yahoo.com ESMTP&lt;br /&gt;&gt;ehlo&lt;br /&gt;250-smtp107.mail.mud.yahoo.com&lt;br /&gt;250-AUTH LOGIN PLAIN XYMCOOKIE&lt;br /&gt;250-PIPELINING&lt;br /&gt;250 8BITMIME&lt;br /&gt;&gt;quit&lt;br /&gt;221 smtp107.mail.mud.yahoo.com&lt;br /&gt;Connection closed by foreign host.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;At this point you should be able to send and receive email from your yahoo account using the mail command. If for some reason you are having problems, check the troubleshooting section at the end of the tutorial for more help and links.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4 - Dovecot&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;4.a - Installing dovecot&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo aptitude install dovecot-common dovecot-imapd dovecot-pop3d&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;4.b - Configuring and testing dovecot&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Dovecot is very straight forward for configuring. Check that /etc/dovecot/dovecot.conf has the following lines:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;protocols = imap imaps pop3 pop3s&lt;br /&gt;protocols = imap imaps pop3 pop3s&lt;br /&gt;mail_privileged_group = mail&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Restart it and then we can test it with mutt:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo /etc/init.d/dovecot restart&lt;br /&gt;&lt;br /&gt;$ mutt -f imap://user@127.0.0.1/&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5 - Configuring an email client&lt;/span&gt;&lt;br /&gt;Most email clients are the same. I'll include here the basic settings that you will need to connect using the settings we have just created&lt;br /&gt;&lt;br /&gt;=&gt; Receiving email&lt;br /&gt;Server: FQDN&lt;br /&gt;Username: local username for the server&lt;br /&gt;Security: TLS&lt;br /&gt;&lt;br /&gt;=&gt; Sending email&lt;br /&gt;Server: FQDN&lt;br /&gt;Security: No encryption&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6 - Troubleshooting&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;6.a Useful commands&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Commands to display and purge emails on the server:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;# prints messages in queue&lt;br /&gt;$ postqueue -p&lt;br /&gt;&lt;br /&gt;# attempts to send messages - flush&lt;br /&gt;$ postqueue -f&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Check  your logs for important messages as you attempt to send emails and start services&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo tail -f /var/log/mail.log&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;6.b - Useful links&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- Ubuntu Documentation for postfix&lt;br /&gt;&lt;a href="https://help.ubuntu.com/community/Postfix"&gt;https://help.ubuntu.com/community/Postfix&lt;/a&gt;&lt;br /&gt;- Postfix as client only (what we used here)&lt;br /&gt;&lt;a href="http://www.postfix.org/SASL_README.html#client_sasl"&gt;http://www.postfix.org/SASL_README.html#client_sasl&lt;/a&gt;&lt;br /&gt;- Postfix port 465&lt;br /&gt;&lt;a href="http://www.postfix.org/TLS_README.html"&gt;http://www.postfix.org/TLS_README.html&lt;/a&gt;&lt;br /&gt;- Postifx authentication file&lt;br /&gt;&lt;a href="http://www.postfix.org/postconf.5.html#smtp_sasl_password_maps"&gt;http://www.postfix.org/postconf.5.html#smtp_sasl_password_maps&lt;/a&gt;&lt;br /&gt;- Relaying to an smtps host with postfix and stunnel&lt;br /&gt;&lt;a href="http://www.eglug.org/book/export/html/1923"&gt;http://www.eglug.org/book/export/html/1923&lt;/a&gt;&lt;br /&gt;- Generates pem key for stunnel (we are not using it here)&lt;br /&gt;&lt;a href="http://www.stunnel.org/pem/"&gt;http://www.stunnel.org/pem/&lt;/a&gt;&lt;br /&gt;- Troubleshooting stunnel&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=983926"&gt;http://ubuntuforums.org/showthread.php?t=983926&lt;/a&gt;&lt;br /&gt;- Postfix and Dovecot on Ubuntu Dapper Drake&lt;br /&gt;&lt;a href="http://adomas.org/2006/08/postfix-dovecot/"&gt;http://adomas.org/2006/08/postfix-dovecot/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/admin_user_name&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-1192058638074894041?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/1192058638074894041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=1192058638074894041' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1192058638074894041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1192058638074894041'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2009/06/how-to-yahoo-imap-with-postfix.html' title='How to Yahoo IMAP with postfix, fetchmail and dovecot'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-7006377850030617992</id><published>2009-05-18T18:31:00.000-07:00</published><updated>2009-05-18T18:39:43.832-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>How to move pictures by resolution</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;This post will help you organize your pictures by resolution into subfolders, making it easier to use with machines that have different monitor size.&lt;br /&gt;&lt;br /&gt;I myself like to have my files very organized, and one of the problems I have once in a while is that at home my laptop is always plugged into my widesreen monitor, however when I'm on the road my laptop only supports 1024x800 resolutions.  This results in having some of the wallpapers not look good when moving from home setup to road, and vice versa.&lt;br /&gt;&lt;br /&gt;So I came up with a simple line of codes using the package “imagemagick”.&lt;br /&gt;&lt;br /&gt;1- Make sure that the images have no space in their names. One way of solving this for bulk files is by using 'convert', which also comes with imagemagick:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;convert 's/ //g' *&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;2- Sort items by resolution&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;# folder with images only&lt;br /&gt;identify * | awk '{ print $3 }' | sort -n&lt;br /&gt;&lt;br /&gt;# folder with files and images&lt;br /&gt;for i in $(ls *jpg *png *gif *JPG *JPEG 2&gt; /dev/null) ; do identify "$i" | awk '{ print $3 }' | sort -n ; done&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;3- You should now get a list of the different resolutions for the pictures in the folder, similar to the one below:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ identify * | awk '{ print $3 }' | sort -n&lt;br /&gt;&lt;br /&gt;1024x768&lt;br /&gt;1024x768&lt;br /&gt;1024x768&lt;br /&gt;1024x768&lt;br /&gt;1024x768&lt;br /&gt;1280x1024&lt;br /&gt;1280x1024&lt;br /&gt;1280x1024&lt;br /&gt;1280x1024&lt;br /&gt;1400x1050&lt;br /&gt;1600x1000&lt;br /&gt;1600x1129&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;4- Create a folder for each of the resolutions and then set the local variable “_res” with the resolutions of the “turn”:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;_res="1024x768"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;5- Run the code that will organize the pictures into folders:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;for i in "$(identify *jpg *png *gif 2&gt; /dev/null | grep "$_res")" ; do mv $(echo "$i" | awk '{ print $1 }' | sed 's/\[.*\]//g') $_res/ ; done&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;6- Repeat steps 4 and 5 for the remaining files&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-7006377850030617992?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/7006377850030617992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=7006377850030617992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7006377850030617992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7006377850030617992'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2009/05/how-to-move-pictures-by-resolution.html' title='How to move pictures by resolution'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-1998512906884943166</id><published>2009-04-04T20:03:00.001-07:00</published><updated>2009-04-04T20:37:20.819-07:00</updated><title type='text'>How to use script highlight on 'less' (vim)</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;The title might be a bit misleading. As far as I know 'less' does not support script highlight (please correct me if I'm wrong). However I did find out that vim has a built-in script that allows you to use it as less.&lt;br /&gt;&lt;br /&gt;So here's a very simple solution, add an alias to your ~/.bashrc pointing the vim script:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;alias lessv='/usr/share/vim/vim71/macros/less.sh'&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;You can see from the screenshot bellow that the file is open as read-only and not modifications are allowed. Some of 'less' commands (like “q” to quit) are also replicated.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/lessv/lessv.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 336px; height: 224px;" src="http://wazem.dyndns.org/temp/blog/lessv/lessv.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-1998512906884943166?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/1998512906884943166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=1998512906884943166' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1998512906884943166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1998512906884943166'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2009/04/how-to-use-script-highlight-on-less-vim.html' title='How to use script highlight on &apos;less&apos; (vim)'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-4455654288830808918</id><published>2009-04-03T20:43:00.000-07:00</published><updated>2009-04-03T20:45:07.052-07:00</updated><title type='text'>How to display variables without case sensitivity</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;This is the second of many shell (bash) tips that I'll be posting here. This little script will allow you to display the value of variables without having case sensitiveness or having to enter the “$” before the variable name.&lt;br /&gt;&lt;br /&gt;Here's what displaying a variable without the script looks like:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ echo $PATH&lt;br /&gt;/home/victor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;And here after the script:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ var path&lt;br /&gt;/home/victor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games&lt;br /&gt;&lt;br /&gt;$ var PATH&lt;br /&gt;/home/victor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;You can see that both ways will work (as long as the variable does not have the same name in lower and capital case).&lt;br /&gt;&lt;br /&gt;And here's the script, which can also be added to ~/.bashrc&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;var ()&lt;br /&gt;{&lt;br /&gt;   _var="$1";&lt;br /&gt;   if [ -n "${!_var}" ]; then&lt;br /&gt;       echo ${!_var};&lt;br /&gt;   else&lt;br /&gt;       _var=$(echo "$_var" | tr 'a-z' 'A-Z');&lt;br /&gt;       echo ${!_var};&lt;br /&gt;   fi&lt;br /&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-4455654288830808918?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/4455654288830808918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=4455654288830808918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4455654288830808918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4455654288830808918'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2009/04/how-to-display-variables-without-case.html' title='How to display variables without case sensitivity'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-8480334211700680878</id><published>2009-03-29T20:19:00.000-07:00</published><updated>2009-03-29T20:26:15.507-07:00</updated><title type='text'>Getting daily tips for bash</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;I still consider my self a new Linux user and a noobie. One of the things that I strive to learn is scripting in bash, but I do have difficulties as I have no programing background, so I try to read and get as much help as I can.&lt;br /&gt;&lt;br /&gt;During my searches on the web I found a very interesting twitter profile for the author of “O'Reilly's Bash Cookbook”. He has daily updates with interesting bash tips, which I have found very useful.&lt;br /&gt;&lt;br /&gt;So today I'll be providing a function script that can be added to your ~/.bashrc and used as either a command or a welcome message for you terminal emulator. This script will go to the twitter profile of “Bash cookbook” and download their daily content.&lt;br /&gt;&lt;br /&gt;The script is compatible with links and elinks (Red Hat) for downloading the content. It creates 3 environment variables on your system to hold links version, last update and downloaded content.&lt;br /&gt;&lt;br /&gt;Open you ~./bashrc with your favourite text editor and paste the lines bellow:&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;bash_tips ()&lt;br /&gt;{&lt;br /&gt;        # checks for version of links&lt;br /&gt;        if [ -z "$LINKS_VERSION" ] ; then&lt;br /&gt;                export LINKS_VERSION=$(links -version | grep Links | cut -f1 -d" ")&lt;br /&gt;        fi&lt;br /&gt; &lt;br /&gt;        # checks variable that holds last update time&lt;br /&gt;        if [ "$BASH_TIPS_DATE" != $(date "+%d") ] ; then&lt;br /&gt;                export BASH_TIPS_DATE=$(date "+%d")&lt;br /&gt;                if [ "$LINKS_VERSION" = "ELinks" ] ; then&lt;br /&gt;                        # script for ELinks&lt;br /&gt;                        export BASH_TIPS=$(links -dump -dump-width 300 http://twitter.com/bashcookbook | egrep '^ *1\. [^http]' | sed 's/^ *//g')&lt;br /&gt;                else    # script for Links&lt;br /&gt;                        export BASH_TIPS=$(links -dump -width 300 http://twitter.com/bashcookbook | egrep '^ *1\. [^http]' | sed 's/^ *//g')&lt;br /&gt;                fi&lt;br /&gt;        fi&lt;br /&gt;&lt;br /&gt;        echo -e "\n## Today's bash tips ##\n$BASH_TIPS"&lt;br /&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;If you want to have the daily tips displayed when you open a terminal emulator, just add “bash_tips” to your ~/.bashrc.&lt;br /&gt;&lt;br /&gt;This is what they will look like:&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;victux ~ $ bash_tips&lt;br /&gt;&lt;br /&gt;## Today's bash tips ##&lt;br /&gt;1. Using += on an array assignment adds new elements to the array. If RA has element 0-6 then RA+=(new elems) creates RA[7] and RA[8].10:24 PM Mar 27th from Identica&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Book&lt;/span&gt;:&lt;br /&gt;&lt;a href="http://oreilly.com/catalog/9780596526788/"&gt;http://oreilly.com/catalog/9780596526788/&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Twitter site:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://twitter.com/bashcookbook"&gt;http://twitter.com/bashcookbook&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Official site:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.bashcookbook.com/"&gt;http://www.bashcookbook.com/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-8480334211700680878?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/8480334211700680878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=8480334211700680878' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8480334211700680878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8480334211700680878'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2009/03/getting-daily-tips-for-bash.html' title='Getting daily tips for bash'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-8140999174742425198</id><published>2009-03-26T09:10:00.000-07:00</published><updated>2009-03-26T09:19:06.444-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>How to highlight pdf files on Linux and Windows machines</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Two annoyances that I have always had with ebooks and pdf material is that when I'm reading I like to highlight important info for future reference. Most readers (like Adobe) only allows you to highlight files that you have document rights to it, which I don't think makes any sense.&lt;br /&gt;&lt;br /&gt;The other problem is that I read the same book between multiple computers and multiple platforms. I always have to write down the page I read last, and this is a bit annoying.&lt;br /&gt;&lt;br /&gt;After doing a lot of searches I was finally able to find a pdf reader (&lt;a href="http://www.docu-track.com/home/prod_user/PDF-XChange_Tools/pdfx_viewer/"&gt;PDF-XChange Viewer&lt;/a&gt;) that allows me to highlight text and save that information. Even better, they have a portable version so you can have the book, program and saved data (highlight and page) on a USB device and access it between machines.&lt;br /&gt;&lt;br /&gt;For my utmost surprise the program works under wine and also reads the saved data.&lt;br /&gt;&lt;br /&gt;Hot to get it working&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1- Download the portable version of the program and unzip it to your flash device (either on Linux or Windows)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.docu-track.com/download/PDFX_Vwr_Port.zip"&gt;http://www.docu-track.com/download/PDFX_Vwr_Port.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2- Install wine on your Linux machine if you have not already done so&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;# Ubuntu (8.10)&lt;br /&gt;$ sudo aptitude install wine&lt;br /&gt;$ winecfg&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3- Create a script in the flash drive within the program folder to open the program on Linux &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ echo -e '#!/bin/bash\n\nwine PDXCview.exe &amp;amp;' &gt; PDFXCview_for_Linux&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;You should now be able to open the program on either Windows or Linux and see your highlighted text.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-8140999174742425198?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/8140999174742425198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=8140999174742425198' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8140999174742425198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8140999174742425198'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2009/03/how-to-highlight-pdf-files-on-linux-and.html' title='How to highlight pdf files on Linux and Windows machines'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-3460906742058838308</id><published>2009-02-27T19:05:00.000-08:00</published><updated>2009-04-14T08:47:07.458-07:00</updated><title type='text'>Giving Life to Old Computer Hardware</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;The other day I was trying to come up with ideas on how to use some of the old computer hardware I have laying around at home. I searched the web over and over for computer hardware decor and similar keywords, and finally after a lot of searching I started to find some cool ideas (which I'll be showing here).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1- Floppy notes&lt;/span&gt;&lt;br /&gt;This is actually pretty cool. Some companies actually sell this (between 2-10 US) on the net. But I think everyone has a few old floppies at home that have no use.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1108.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 440px; height: 330px;" src="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1108.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1110.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 440px; height: 330px;" src="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1110.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1111.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 440px; height: 330px;" src="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1111.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2- Floppy pencil holder&lt;/span&gt;&lt;br /&gt;Another good idea for floppies. This is also being sold on the net (or you can easily make your own).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1105.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 440px; height: 330px;" src="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1105.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3- Hard Drive clock&lt;/span&gt;&lt;br /&gt;No need to say much. This is a fully functional clock installed on an old HD. You can get instructions from here: &lt;a href="http://www.instructables.com/id/Hard-drive-platter-clock./"&gt;http://www.instructables.com/id/Hard-drive-platter-clock./&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1115.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 440px; height: 330px;" src="http://wazem.dyndns.org/temp/blog/Old_parts/CIMG1115.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;object width="425" height="344"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/NK5mMzxBME4&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;There are many more ideas that I have not had a chance of trying, but I'm including a link with all my findings here if you want to dig a bit further.&lt;br /&gt;&lt;a href="http://delicious.com/victorbrca/Computer%2FHardware%2FDecor"&gt;http://delicious.com/victorbrca/Computer%2FHardware%2FDecor&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And here are more links for my preferred ones:&lt;br /&gt;- Really amazing LED clock&lt;br /&gt;&lt;a href="http://www.ian.org/HD-Clock/"&gt;http://www.ian.org/HD-Clock/&lt;/a&gt;&lt;br /&gt;- Bag made with floppy disks&lt;br /&gt;&lt;a href="http://www.instructables.com/id/Floppy-Disk-Bag/"&gt;http://www.instructables.com/id/Floppy-Disk-Bag/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-3460906742058838308?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/3460906742058838308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=3460906742058838308' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3460906742058838308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3460906742058838308'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2009/04/giving-life-to-old-computer-hardware.html' title='Giving Life to Old Computer Hardware'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-7921854916088076494</id><published>2009-01-14T15:54:00.000-08:00</published><updated>2009-01-14T17:50:21.966-08:00</updated><title type='text'>New Site!!</title><content type='html'>&lt;span style="font-size:85%;"&gt;New site!!!!&lt;br /&gt;&lt;br /&gt;Starting today I will no longer post any blogs on this site. My blog will now be hosted at &lt;a href="http://blog.wazem.org/"&gt;http://blog.wazem.org&lt;/a&gt;, which will also include my site.&lt;br /&gt;&lt;br /&gt;Here's a screenshot of what the site looks:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/misc/new_blog.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 302px; height: 197px;" src="http://wazem.dyndns.org/temp/blog/misc/new_blog.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;All posts have been transferred to my new blog, but I will also keep it here for as long as I can.&lt;br /&gt;&lt;br /&gt;I hope you enjoy the new interface and find whatever information is that you came here looking for!!&lt;br /&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-7921854916088076494?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/7921854916088076494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=7921854916088076494' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7921854916088076494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7921854916088076494'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2009/01/new-site.html' title='New Site!!'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-1085504492735635125</id><published>2008-11-28T18:41:00.000-08:00</published><updated>2008-11-28T20:05:16.462-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tips'/><title type='text'>How to install flash on Linux (the manual and safe way)</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Ever had problem installing flash plugin on your Linux machine? Ubuntu has all these different packages that can be used, but I always opted for using the simple manual install.&lt;br /&gt;&lt;br /&gt;Here's what you do:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1- Download flash player for Linux (.tar):&lt;/span&gt;&lt;br /&gt;&lt;a href="http://get.adobe.com/flashplayer/"&gt;http://get.adobe.com/flashplayer/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2- Uncompress the folder and cd into it:&lt;/span&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;tar -xzvf install_flash_player*linux.tar.gz&lt;br /&gt;cd install_flash_player*linux&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3- Add flash the proper folder:&lt;/span&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;# Firefox 3&lt;br /&gt;sudo cp libflashplayer.so /usr/lib/firefox-3*/plugins/&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Open (or restart) Firefox and test your flash player (youtube.com is a good idea).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-1085504492735635125?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/1085504492735635125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=1085504492735635125' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1085504492735635125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1085504492735635125'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/11/how-to-install-flash-on-linux-manual.html' title='How to install flash on Linux (the manual and safe way)'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-4676104555870055125</id><published>2008-11-28T14:31:00.000-08:00</published><updated>2008-11-30T18:03:50.951-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hardware'/><title type='text'>Acer Aspire One Review</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;So, a couple of weeks ago I was checking the price of a Aspire One and I could not believe how low it was. At one of the top computer stores here in Canada (canadacomputers.com), a 120GB model was going for about $325.00.&lt;br /&gt;&lt;br /&gt;I already have an EeePc 701 (4GB) which is very handy. But the limitation of HD space and size of the monitor was something that kept bothering me (even giving me red eyes).&lt;br /&gt;&lt;br /&gt;The AA1 is incredible. My model came with 120BG of disk space, a 8.9 screen with up to 1024x600 resolution (which beats the EeePc's 800x600 resolutions by far), dual core Atom processor and 512MB of RAM. The battery life is actually pretty good for my opinion, but I've read a lot of complaints. I can get close to 2 hours.&lt;br /&gt;&lt;br /&gt;I don't have much to say about the original OS. As soon as I got home I attached a USB CD and booted into the Ubuntu install. Followed guides from &lt;a href="https://help.ubuntu.com/community/AspireOne"&gt;here&lt;/a&gt;, which were pretty easy. I also decided on using Hardy instead of Intrepid. I don't usually keep my OS installs with the latest releases anyways.&lt;br /&gt;&lt;br /&gt;Overall it's a great buy for the price. I've heard that some of the new models will allow you the option between 3G and WiMax built-in.&lt;br /&gt;&lt;br /&gt;Here are some pics of the unit.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Unit by itself&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/aspire_one/P1010022.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 316px;" src="http://wazem.dyndns.org/temp/blog/aspire_one/P1010022.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Compared to EeePC&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/aspire_one/P1010026.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 316px;" src="http://wazem.dyndns.org/temp/blog/aspire_one/P1010026.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/aspire_one/P1010027.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 316px;" src="http://wazem.dyndns.org/temp/blog/aspire_one/P1010027.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/aspire_one/P1010029.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 316px;" src="http://wazem.dyndns.org/temp/blog/aspire_one/P1010029.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Box and Packages&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/aspire_one/P1010033.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 316px;" src="http://wazem.dyndns.org/temp/blog/aspire_one/P1010033.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;Booting on Live CD&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/aspire_one/P1010037.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 316px;" src="http://wazem.dyndns.org/temp/blog/aspire_one/P1010037.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Live CD Booted&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/aspire_one/P1010041.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 316px;" src="http://wazem.dyndns.org/temp/blog/aspire_one/P1010041.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;After installed and customized&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/aspire_one/Screenshot.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 316px;" src="http://wazem.dyndns.org/temp/blog/aspire_one/Screenshot.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;More customization&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/aspire_one/CIMG1015.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 316px;" src="http://wazem.dyndns.org/temp/blog/aspire_one/CIMG1015.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-4676104555870055125?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/4676104555870055125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=4676104555870055125' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4676104555870055125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4676104555870055125'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/11/acer-one-aspire-review.html' title='Acer Aspire One Review'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-7449267043561811519</id><published>2008-11-28T14:06:00.000-08:00</published><updated>2008-11-28T14:17:07.395-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>How to Install Script Highlight on vim</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Using script highlight is one of the things that will help a “programmer” avoid making mistakes on his script, at the same allowing a quicker and better understanding of the same.&lt;br /&gt;&lt;br /&gt;Vim is a great program when it comes to that. A lot of new users are reluctant to use VI (or vim), I was one of them. However after being forced to learn it for my Unix course, I've found that it's a lot better than most other shell text editors. It gives you a wide range of options and commands, at the same time allowing a user who only knows a few commands to use the program.&lt;br /&gt;&lt;br /&gt;Like most Linux programs, vim keeps a hidden config file on the users home directory (~/.vimrc). This file can be edited with options to the program. For example, adding the string “set number” will make vim show line numbers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;=&gt; Getting syntax highlight to work.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First thing we need is a .vim file. This file includes a lot of the options on how to highlight the documents. This is fully customizable (you could create one on your own), and you can have one for each type of script. In my case I only use it for bash scripts, so I downloaded bash.vim from &lt;a href="http://www.panix.com/%7Eelflord/vim/syntax/bash.vim"&gt;here&lt;/a&gt;, them saved the file under ~/.vim/syntax/&lt;br /&gt;&lt;br /&gt;Now we need to point vim to the syntax file when opening bash scripts. The following lines will do that, as well as enable line numbering:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ vim .vimrc&lt;br /&gt;set number&lt;br /&gt;syntax on&lt;br /&gt;&lt;br /&gt;let X = getline(1)&lt;br /&gt;let y = match(X, "#/bin/bash" )&lt;br /&gt;if (y != -1)&lt;br /&gt;    so ~/.vim/syntax/bash.vim&lt;br /&gt;endif&lt;br /&gt;unlet X&lt;br /&gt;unlet y&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Last we need to install vim-full as the version of vim included in Ubuntu is a stripped down version.&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;sudo apt-get install vim-full&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Now open one of your scripts and see if it worked.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/vim_highlight/Screenshot.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 401px; height: 291px;" src="http://wazem.dyndns.org/temp/blog/vim_highlight/Screenshot.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-7449267043561811519?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/7449267043561811519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=7449267043561811519' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7449267043561811519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7449267043561811519'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/11/how-to-install-script-highlight-on-vim.html' title='How to Install Script Highlight on vim'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-1303513366548911785</id><published>2008-11-27T08:27:00.000-08:00</published><updated>2008-11-27T08:35:30.558-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Media'/><title type='text'>Installing Picasa 3 on Ubuntu</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;If you have been using Picasa on Ubuntu via Wine, I have good news for you. Google has finally released a Linux version (which is at number 3 right now).&lt;br /&gt;&lt;br /&gt;Picasa itself has a nice interface (see screenshot bellow), and even allows you to edit some of the pictures.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/picasa_on_linux/Screenshot.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 313px; height: 195px;" src="http://wazem.dyndns.org/temp/blog/picasa_on_linux/Screenshot.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I use it for very basic tasks; they include viewing a bulk of pictures (or showing them to someone), uploading multiple pictures at the same time to my web Picasa albums, and now a new feature I like that allows you to upload pictures to your FaceBook account.&lt;br /&gt;&lt;br /&gt;Enough talking, let's do some installing:&lt;br /&gt;&lt;br /&gt;1- Download and install Picasa:&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;cd downloads   ## or any other source or downloads folder&lt;br /&gt;wget http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_3.0-current_i386.deb&lt;br /&gt;sudo dpkg -i picasa_3.0-current_i386.deb&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;2- Now let's setup a button for uploading your pics to FaceBook&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;picasa picasa://importbutton/?url=http://www.webkinesis.com/fbpicasa/facebook.pbf&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;You should see the FaceBook button from inside Picasa:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/picasa_on_linux/Screenshot-1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 76px;" src="http://wazem.dyndns.org/temp/blog/picasa_on_linux/Screenshot-1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Enjoy!!&lt;br /&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-1303513366548911785?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/1303513366548911785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=1303513366548911785' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1303513366548911785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1303513366548911785'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/11/installing-picasa-3-on-ubuntu.html' title='Installing Picasa 3 on Ubuntu'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-4450822451541176775</id><published>2008-11-27T07:43:00.000-08:00</published><updated>2008-11-27T07:50:30.449-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>My List of Aliases</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;I had a &lt;a href="http://wazem.blogspot.com/2007/10/how-to-create-command-alias-to-save.html"&gt;post&lt;/a&gt; a while ago that showed how to create aliases on bash to save time on repetitive commands. After a few months I find myself collecting more and more of these shortcuts, so I though I'd share it with you.&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;## Welcome note&lt;br /&gt;cat $HOME/documents/ascii/welcome_victor&lt;br /&gt;&lt;br /&gt;########################&lt;br /&gt;### personal aliases ###&lt;br /&gt;########################&lt;br /&gt;&lt;br /&gt;# Basics&lt;br /&gt;alias utar='tar -xvf'&lt;br /&gt;alias utarz='tar -xzvf'&lt;br /&gt;alias tarz='tar -czvf'&lt;br /&gt;alias lss='ls -lh'&lt;br /&gt;alias lssl='ls -lAh'&lt;br /&gt;alias fproces='ps x | grep '&lt;br /&gt;alias datef='date +%Y-%m-%d'&lt;br /&gt;alias datev='date +%V'&lt;br /&gt;alias sano='sudo nano'&lt;br /&gt;alias renpic='e="1"; for i in `ls` ; do mv "$i" "$e.jpg" ; e=$(( e + 1 )) ; done'&lt;br /&gt;alias rezpic50='for i in `ls` ; do convert "$i" -resize 50% "$i" ; done'&lt;br /&gt;alias rezpic75='for i in `ls` ; do convert "$i" -resize 75% "$i" ; done'&lt;br /&gt;alias rezpic20='for i in `ls` ; do convert "$i" -resize 20% "$i" ; done'&lt;br /&gt;alias updatetime='sudo ntpdate ntp.ubuntu.com'&lt;br /&gt;alias playm='mplayer -vo xv '&lt;br /&gt;alias playmrt='mplayer -vo xv -vf rotate '&lt;br /&gt;alias chcalendar='vim ~/.calendar/calendar'&lt;br /&gt;alias lscreen='screen -ls'&lt;br /&gt;alias duchm='du -ch | egrep '[0-9]*M' | sort -n'&lt;br /&gt;alias duchg='du -ch | egrep '[0-9]*G' | sort -n'&lt;br /&gt;alias dfh='df -hT'&lt;br /&gt;&lt;br /&gt;# Software Management&lt;br /&gt;alias aptl='sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install'&lt;br /&gt;alias update='sudo apt-get update'&lt;br /&gt;alias upgrade='sudo apt-get upgrade'&lt;br /&gt;alias inst='sudo apt-get install'&lt;br /&gt;alias apts='sudo apt-cache search'&lt;br /&gt;alias updupg='sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade'&lt;br /&gt;&lt;br /&gt;## Networking ##&lt;br /&gt;# WAN IP&lt;br /&gt;alias my-ip='wget http://checkip.dyndns.org/ -O - -o /dev/null | cut -f7 -d"&lt;" | cut -f2 -d"&gt;" '&lt;br /&gt;# APs info&lt;br /&gt;alias aps='sudo iwlist wlan0 scanning | egrep "ESSID|Channel|Frequency|Encryption|Quality"'&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-4450822451541176775?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/4450822451541176775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=4450822451541176775' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4450822451541176775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4450822451541176775'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/11/my-list-of-aliases.html' title='My List of Aliases'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-5819105498502565085</id><published>2008-11-10T14:23:00.000-08:00</published><updated>2008-11-10T15:56:34.063-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Customization'/><title type='text'>How to add True Type Fonts to Ubuntu</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Ever wanted to add true type fonts to your Ubuntu machine? It's actually fairly simple.&lt;br /&gt;&lt;br /&gt;1- Download the .ttf file to your machine&lt;br /&gt;2- Create a new folder for your fonts under /usr/share/fonts/truetype/:&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo mkdir /usr/share/fonts/truetype/myfonts&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;3- Move the .ttf file to the new created folder:&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ mv [ttf_file] /usr/share/fonts/truetype/myfonts&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;4- Use fc-cache to add the new fonts to the system&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo fc-cache -f -v&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;More info on fc-cache:&lt;br /&gt;&lt;table bgcolor="#f3f3f3" border="1" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;NAME&lt;br /&gt;fc-cache - build font information cache files&lt;br /&gt;&lt;br /&gt;DESCRIPTION&lt;br /&gt;fc-cache scans the font directories  on  the  system  and  builds  font information  cache  files  for  applications using fontconfig for their font handling.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-5819105498502565085?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/5819105498502565085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=5819105498502565085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/5819105498502565085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/5819105498502565085'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/11/how-to-add-true-type-fonts-to-ubuntu.html' title='How to add True Type Fonts to Ubuntu'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-3518746969027354292</id><published>2008-10-17T11:15:00.000-07:00</published><updated>2008-10-17T11:46:22.592-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Coffee Break'/><title type='text'>Site is Back Up</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Yesterday I finally had some time to work on the servers and get them back up. All images should be displayed as normal.&lt;br /&gt;&lt;br /&gt;Right now the setup I have at home includes 3x servers (Firewall, Web and App). My plans are to migrate all these servers into one box and set them up as virtual machines with VMware. I have already got the hardware and the box built, I’m just working on the final hardware adjustments.&lt;br /&gt;&lt;br /&gt;Here are the box specs:&lt;br /&gt;&lt;br /&gt;Processor: Intel Core 2 Quad Q6600&lt;br /&gt;Memory: 4GB DDR2&lt;br /&gt;Storage: RAID 1 with 2x Sata2 500GB (for VM images only)&lt;br /&gt;&lt;br /&gt;I’m hoping that this will allow me to run 4 VMs at an average level. The boxes I have right now are all P2 and P3 anyways.&lt;br /&gt;&lt;br /&gt;You can have an idea of what my “server tower” looks like from the pics bellow. I’ll keep you posted on my advances.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Main Image:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/my-network/2008-10-17-1.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; display: block; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/my-network/2008-10-17-1.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Modem, Router and Switch:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/my-network/2008-10-17-2.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; display: block; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/my-network/2008-10-17-2.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Monitor, stdin and 10 port KVM :&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/my-network/2008-10-17-3.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; display: block; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/my-network/2008-10-17-3.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Towers:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/my-network/2008-10-17-4.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; display: block; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/my-network/2008-10-17-4.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-3518746969027354292?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/3518746969027354292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=3518746969027354292' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3518746969027354292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3518746969027354292'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/10/site-is-back-up.html' title='Site is Back Up'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-4247905524014286210</id><published>2008-10-10T06:05:00.000-07:00</published><updated>2008-10-10T06:09:19.630-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Events'/><title type='text'>The Ontario Linux Fest - Saturday, 25th October 2008 - Toronto, ON</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;About The Ontario Linux Fest&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"The Ontario Linux Fest is a non-profit event that brings together professionals, students and enthusiasts who share a common interest: Linux and Open Source software.&lt;br /&gt;&lt;br /&gt;First and foremost the Ontario Linux Fest is a conference designed to present compelling topics of interest to users of Linux and Open Source software. These topics will span a full range of interests that may be technical, motivational, social, legal or essentially topics that hold current interest. Attendees will find out what is happening in the Open Source world from the people directly involved.&lt;br /&gt;&lt;br /&gt;It's also a social event. With a Welcome Party and Wrap-up Reception there will be lots of time to network and socialize with like-minded professionals. It's a great event to find new friends, or business partnerships and perhaps employers.&lt;br /&gt;&lt;br /&gt;The event was years in the making and was born from the organizer's inspiring experiences at the Ohio Linux Fest. Those two future organizers, Richard Weait and John Van Ostrand, contemplated staging a complementary event in Ontario. It took years for the ideas to coalesce as the Ontario Linux Fest."&lt;br /&gt;&lt;br /&gt;Link: &lt;a href="http://onlinux.ca/"&gt;http://onlinux.ca/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-4247905524014286210?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/4247905524014286210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=4247905524014286210' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4247905524014286210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4247905524014286210'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/10/ontario-linux-fest-saturday-25th.html' title='The Ontario Linux Fest - Saturday, 25th October 2008 - Toronto, ON'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-8628600353418943671</id><published>2008-10-04T16:29:00.000-07:00</published><updated>2008-10-17T11:32:25.446-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Coffee Break'/><title type='text'>Images not being displayed - Site is down</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Hi all,&lt;br /&gt;&lt;br /&gt;  You might notice that some of the images on my blog are not being displayed. We are having some work done at my house, so I had to shutdown the servers for the past week.&lt;br /&gt;&lt;br /&gt;  Servers should be back up by next Wednesday. My apologies for any inconvenience.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-8628600353418943671?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/8628600353418943671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=8628600353418943671' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8628600353418943671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8628600353418943671'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/10/images-not-being-displayed-site-is-down.html' title='Images not being displayed - Site is down'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-591282624733289065</id><published>2008-08-28T15:16:00.001-07:00</published><updated>2008-08-29T11:07:23.228-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Coffee Break'/><title type='text'>Linux Journal - Photo of the month?</title><content type='html'>&lt;span style="font-size:85%;"&gt;I received an email today that made me very happy! After forwarding some tux images I had on my pc (and I have many), Linux Journal offered to put one o them on their magazine. The featured photo is below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/misc/will_break_windows%20_for_food.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/misc/will_break_windows%20_for_food.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I'm yet to receive a confirmation that this will happen... but never the less I'm very excited to even have received an offer. Now I just need to keep checking whenever I receive a new issue if the photo has been published.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-591282624733289065?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/591282624733289065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=591282624733289065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/591282624733289065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/591282624733289065'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/08/linux-journal-photo-of-month.html' title='Linux Journal - Photo of the month?'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-7910046443778486063</id><published>2008-08-28T15:07:00.000-07:00</published><updated>2008-09-19T16:30:28.009-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Coffee Break'/><title type='text'>Mississauga Linux Group</title><content type='html'>&lt;span style="font-size:85%;"&gt;I'm trying to organize a monthly LUG meeting for the area that I live (Mississauga, ON). I started with emails to the Ubuntu CA mailing list, which I got good results.&lt;br /&gt;&lt;br /&gt;We also have a Wiki page up, and I will posting a thread on the Ubuntu forum. I hope we can get a few users that are willing to sit down, drink some coffee and talk about Linux.&lt;br /&gt;&lt;br /&gt;Wiki: &lt;a href="https://wiki.ubuntu.com/mlug"&gt;MLUG&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1st Meeting&lt;br /&gt;24 September 2008, 6:00pm&lt;br /&gt;Mulligan's Pub and Grill, 2458 Dundas Street West, Mississauga&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-7910046443778486063?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/7910046443778486063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=7910046443778486063' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7910046443778486063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7910046443778486063'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/08/mississauga-linux-group.html' title='Mississauga Linux Group'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-3919504402431048081</id><published>2008-08-28T14:52:00.000-07:00</published><updated>2008-08-28T14:57:51.354-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Learning'/><title type='text'>O'Reilly School of Technology</title><content type='html'>&lt;span style="font-size:85%;"&gt;Yesterday I stumbled on the site for &lt;a href="http://www.oreillyschool.com/"&gt;O'Reilly School of Technology&lt;/a&gt;. There's not much that needs to be said about O'Reilly. They have great technical books that are very well laid and easy to understand.&lt;br /&gt;&lt;br /&gt;The on-line training provided by the site has different courses, as well as certificate programs that upon completion will provide the student with a certificate from the University of Illinois.&lt;br /&gt;&lt;br /&gt;Courses go for around U$398.00, and there is a 7 day trial period (refund).&lt;br /&gt;&lt;br /&gt;The creators of the first commercial Web Site once again are doing a great job! It's worth your time to take a look.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-3919504402431048081?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/3919504402431048081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=3919504402431048081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3919504402431048081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3919504402431048081'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/08/oreilly-school-of-technology.html' title='O&apos;Reilly School of Technology'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-89061464207952903</id><published>2008-08-28T13:52:00.000-07:00</published><updated>2008-08-28T13:54:53.132-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Problem with vlc play back sound on Ubuntu</title><content type='html'>&lt;span style="font-size:85%;"&gt;After upgrading my laptop to Ubuntu 8.04 (via a re-install), I noticed the sound on my vlc play back did not work. Usually I would have to logout and log back in to get it to work. At one point I got tired of doing this (it didn't take much) and decided to investigate the issue.&lt;br /&gt;&lt;br /&gt;Looks like the problem is related to the playback system. You might notice that this problem only occurs when another program (like Firefox or a player) is open.&lt;br /&gt;&lt;br /&gt;The fix is simple. Install the “vlc-plugin-pulse” package to fix it.&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo apt-get install vlc-plugin-pulse&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Launchpad bug: &lt;a href="https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/188358"&gt;188358 &lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-89061464207952903?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/89061464207952903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=89061464207952903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/89061464207952903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/89061464207952903'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/08/problem-with-vlc-play-back-sound-on.html' title='Problem with vlc play back sound on Ubuntu'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-4868494291726451878</id><published>2008-08-06T14:39:00.000-07:00</published><updated>2008-08-06T14:56:05.030-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><title type='text'>How to change Rogers search hijack</title><content type='html'>&lt;span style="font-size:85%;"&gt;Couple of weeks ago I noticed that when I typed a bad address on my browser, instead of getting the all known and familiar Google Results page I was getting a Rogers page. Apparently Rogers added this feature after customer feedback requests.&lt;br /&gt;&lt;br /&gt;In my opinion this feature might be helpful for the not so tech savy people, but a draw back for others.&lt;br /&gt;&lt;br /&gt;There is an easy way to fix this and it's by changing your DNS settings, the problem is that you need to provide the DNS server of your choice. This were a service like OpenDNS comes in. They are a free as in beer DNS service (or free as in Google) that provides faster, safer and more reliable DNS access.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;More info:&lt;/span&gt;&lt;br /&gt;Site: &lt;a href="http://www.opendns.com/"&gt;http://www.opendns.com/&lt;/a&gt;&lt;br /&gt;DNS1: 208.67.222.222&lt;br /&gt;DNS2: 208.67.220.220&lt;br /&gt;&lt;br /&gt;Here are instructions on how to change the DNS option on your machine:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;XP&lt;/span&gt;&lt;br /&gt;1- Follow the instructions given on &lt;a href="http://www.rogershelp.com/yahoo/article.php?id=10p-7c"&gt;Rogers help site&lt;/a&gt;&lt;br /&gt;2- Use the OpenDNS addresses given above&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ubuntu&lt;/span&gt;&lt;br /&gt;Note: These settings will not stay if you are using DHCP. If that's the case, try changing the settings on your DHCP server instead.&lt;br /&gt;&lt;br /&gt;Type in the following command in a terminal window:&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;gksudo gedit /etc/resolv.conf&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Edit the line with “search” to look like the one bellow:&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;search  208.67.222.222 208.67.220.220&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Save the file and close it.&lt;br /&gt;&lt;br /&gt;Now run the following code in a terminal window to restart your network:&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;sudo /etc/init.d/networking restart&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;That's it!! Now you can enjoy your bad URL results on Google.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-4868494291726451878?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/4868494291726451878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=4868494291726451878' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4868494291726451878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4868494291726451878'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/08/how-to-change-rogers-search-hijack.html' title='How to change Rogers search hijack'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-8113320712392071498</id><published>2008-08-05T14:23:00.001-07:00</published><updated>2008-08-05T14:24:25.143-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><title type='text'>Cannot see shared folder on VBox</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;After I re-installed Vbox on one of my servers I had a problem where I could not see a shared folder on my guest machine (XP).&lt;br /&gt;&lt;br /&gt;The command to set the share is quite simple:&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;VBoxManage sharedfolder add “[machine]” -name "[share_name]" -hostpath \n "[/home/username/foldertoshare]"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;If you issued this command but you still cannot see the share, the solution is actually simple. All you have to do is re-install Guest Additions (if you haven't done so), reboot the machine and you are set.&lt;br /&gt;&lt;br /&gt;You can find more information and thank the guy who found this &lt;a href="http://ubuntuforums.org/showthread.php?t=844181%E2%80%9D"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-8113320712392071498?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/8113320712392071498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=8113320712392071498' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8113320712392071498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8113320712392071498'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/08/cannot-see-shared-folder-on-vbox.html' title='Cannot see shared folder on VBox'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-1801333517650666488</id><published>2008-08-05T12:04:00.000-07:00</published><updated>2008-08-05T12:47:31.182-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><title type='text'>Useful VBox commands</title><content type='html'>&lt;span style="font-size:85%;"&gt;For those of you that are running VBox on a server (headless), here are some common used commands that you will most likely need.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Change memory to 256MB&lt;/span&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;VBoxManage modifyvm "[machine]" -memory "256MB"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Register an ISO image&lt;/span&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;VBoxManage registerimage dvd [/full/path/to/iso.iso]&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Add ISO image to machine after registering&lt;/span&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;VBoxManage modifyvm "[machine]" -dvd [/full/path/to/iso.iso]&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Start Machine&lt;/span&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;VBoxHeadless -startvm "[machine]" -p [port] &amp;amp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Change state of machine&lt;/span&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;VBoxManage controlvm [machine] poweroff&lt;br /&gt;VBoxManage controlvm [machine] reset&lt;br /&gt;VBoxManage controlvm [machine] savestate&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;** Other “controlvm” options&lt;br /&gt;pause|resume&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Set a shared folder&lt;/span&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;VBoxManage sharedfolder add “[machine]” -name "[share_name]" -hostpath \n "[/home/username/foldertoshare]"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-1801333517650666488?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/1801333517650666488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=1801333517650666488' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1801333517650666488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1801333517650666488'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/08/useful-vbox-commands.html' title='Useful VBox commands'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-2524152784543447772</id><published>2008-07-26T23:17:00.000-07:00</published><updated>2008-08-05T12:30:13.948-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><title type='text'>VirtualBox - XP NIC Driver problem</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;After installing VirtualBox on my laptop with Ubuntu 8.04 I ran into the problem were the virtual NIC on my XP machine did not have the proper drivers installed, and I was not able to update the driver using the standard Windows drivers.&lt;br /&gt;&lt;br /&gt;The description for the device was “AMD PCNET Family PCI Ethernet Adapter”.&lt;br /&gt;&lt;br /&gt;After doing a search on the net I found a couple of people having the same problem. Their solutions was to install either an Intel driver or an AMD:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://downloadcenter.intel.com/Detail_Desc.aspx?agr=N&amp;amp;DwnldId=8659&amp;amp;lang=eng"&gt;Intel&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.amd.com/us-en/ConnectivitySolutions/ProductInformation/0,,50_2330_6629_2403%5E2415%5E2454%5E2486,00.html"&gt;AMD&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The problems I had was that the AMD driver did no get recognized by the device, and the Intel driver did no recognize the device. That's when I stumbled on the “proper” device. You can download it &lt;a href="http://www.downloadatoz.com/driver/item_239216.html"&gt;here. &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Install the executable on your virtual machine and then do a driver update on the network card under Device Manager. This should automatically recognize the device and give you network access.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;More info:&lt;br /&gt;&lt;a href="http://forums.virtualbox.org/viewtopic.php?p=29931"&gt;VirtualBox Forum&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-2524152784543447772?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/2524152784543447772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=2524152784543447772' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2524152784543447772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2524152784543447772'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/07/virtualbox-xp-nic-driver-problem.html' title='VirtualBox - XP NIC Driver problem'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-7372415549787557624</id><published>2008-03-25T22:21:00.000-07:00</published><updated>2008-03-25T22:28:02.628-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>How to kill running processes with multiple instances</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;I have my .bashrc file setup with many aliases, you can see more &lt;a href="http://wazem.blogspot.com/2007/10/how-to-create-command-alias-to-save.html"&gt;here&lt;/a&gt;. One of them is to kill processes, but sometimes it's not useful for running processes with multiple instances.&lt;br /&gt;&lt;br /&gt;My alias looks like:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; alias fproces='ps x | grep '&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;So when I get a process or an app that I want to kill I can do the following:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ fproces gedit&lt;br /&gt;7892 ?        S      0:00 gedit&lt;br /&gt;7894 pts/1    R+     0:00 grep gedit&lt;br /&gt;$ kill -9 7892&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;This is not that useful for applications/processes like Firefox:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ fproces firefox&lt;br /&gt;5994 ?        S      0:00 /bin/sh /usr/bin/firefox&lt;br /&gt;6006 ?        S      0:00 /bin/sh /usr/lib/firefox/run-mozilla.sh /usr/lib/firefox/firefox-bin&lt;br /&gt;6011 ?        Sl    54:24 /usr/lib/firefox/firefox-bin&lt;br /&gt;7898 pts/1    R+     0:00 grep firefox&lt;br /&gt;$ kill -9 5994 6006 6011&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;So I came up with a little script that does the following:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ finish.sh&lt;br /&gt;Enter app name&lt;br /&gt;firefox&lt;br /&gt;5994 ?        S      0:00 /bin/sh /usr/bin/firefox&lt;br /&gt;6006 ?        S      0:00 /bin/sh /usr/lib/firefox/run-mozilla.sh /usr/lib/firefox/firefox-bin&lt;br /&gt;6011 ?        Sl    54:38 /usr/lib/firefox/firefox-bin&lt;br /&gt;&lt;br /&gt;Do you want to kill all items? [y|n]&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;The script lists all processes related to the app and kill it if you say “y”. In this example I typed in “firefox” when prompted for an app name.&lt;br /&gt;&lt;br /&gt;Here is what the script looks like:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; #!/bin/bash&lt;br /&gt;&lt;br /&gt;## reads process name and assign it to var app&lt;br /&gt;echo "Enter app name"&lt;br /&gt;read app&lt;br /&gt;&lt;br /&gt;## sets a minimum size for the var app. Without this, you could easily kill all running processes&lt;br /&gt;minim=`echo "$app" | wc -m`&lt;br /&gt;&lt;br /&gt;if [ "$minim" -lt "4" ] ; then&lt;br /&gt;   echo "Please try again with an app name"&lt;br /&gt;   exit 1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;## looks for the running process instances, lists it and asks if you want to kill all of them&lt;br /&gt;ps x | grep "$app" | grep -v 'grep'&lt;br /&gt;echo&lt;br /&gt;echo "Do you want to kill all items? [y|n] "&lt;br /&gt;&lt;br /&gt;## reads the answer and acts if it's an “y”&lt;br /&gt;read resposta&lt;br /&gt;   if [ "$resposta" = "y" ] ; then   &lt;br /&gt;       termina=`ps x | grep "$app" | grep -v 'grep' | awk '{print $1 ; }'`&lt;br /&gt;        for i in `echo $termina` ; do&lt;br /&gt;           kill -9 "$i"&lt;br /&gt;       done&lt;br /&gt;   fi&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-7372415549787557624?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/7372415549787557624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=7372415549787557624' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7372415549787557624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/7372415549787557624'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/03/how-to-kill-running-processes-with.html' title='How to kill running processes with multiple instances'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-2105468072767437242</id><published>2008-03-23T20:24:00.000-07:00</published><updated>2008-03-24T10:29:50.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Server'/><title type='text'>How to get email and sms notifications from your server</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Ever wondered if you could make you server send you an email or a sms to your cell phone if it ever went down, or if you logs folder were too big, or any other event that you can think? Well, here's a really simple way of doing so.&lt;br /&gt;&lt;br /&gt;In my case, I'll be using two events, one if the server goes down, and another if my logs folder gets too big (I have a very simple Linux box that does not have file rotation).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1- Mayday, server is down&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are two ways we can do this, and it will depend on how often do you need to check if the server is down. If you need it to be done every minute or so, I'd advise using a service instead of crontab. I could not personally say what's the system hog difference, but I'm open for feedbacks. In my case I'll be checking every hour, so I'll use crontab.&lt;br /&gt;&lt;br /&gt;Other thing required is a cli email client, and there are many you can use. I choose &lt;a href="http://msmtp.sourceforge.net/"&gt;msmtp&lt;/a&gt;, which is extremely easy to configure. Here's what I have set to use my gmail account:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; defaults&lt;br /&gt;tls on&lt;br /&gt;tls_certcheck off&lt;br /&gt;logfile ~/.msmtp.log&lt;br /&gt;account gmail&lt;br /&gt;host smtp.gmail.com&lt;br /&gt;port 587&lt;br /&gt;from me@gmail.com&lt;br /&gt;auth on&lt;br /&gt;user me@gmail.com&lt;br /&gt;password ######&lt;br /&gt;account default : gmail&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;To send an email is as easy as:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ echo -e "Subject: Test \n\n This is the message body" | msmtp -v email@address1 email@address2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;So now that we have means to send the message, let's create the script. Remember that the script will need to be run from another PC and not from the server. A server that is down cannot send emails!!&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; #!/bin/bash&lt;br /&gt;&lt;br /&gt;## pings the server IP. Here I'm using only one ping as some distros ping 4x times (Fedora), and others will ping consecutively by default (Ubuntu)&lt;br /&gt;ping -c 1 server&lt;br /&gt;&lt;br /&gt;## checks if the ping was successful or not, if not it sends an email and a sms with the last time it tried to ping&lt;br /&gt;if [ “$?” != “0” ] ; then&lt;br /&gt; echo -e "Subject: Server is down \n\n Victor, \n Server is down. Last time tested was $(date)." | msmtp -v me@adreess.ca 12312345678@cellprovider.com&lt;br /&gt;fi&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Now we add the script to your crontab and send any error msg to a txt. Make sure that your account has pinging privileges&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ crontab -e&lt;br /&gt;# Check if server is up every hour&lt;br /&gt;0 * * * * /home/user/bin/script.sh 2&gt;&gt; /home/user/var/log/server-up-log.txt&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2- Checking /var/logs size&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The process here will be almost the same, however both script and crontab need to be run on the server. Our script should look something like:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; #!/bin/bash&lt;br /&gt;&lt;br /&gt;## Some txt editing. We will check /var/log size by using “df” and then striping it down to numbers only&lt;br /&gt;e=`df -h | grep 'var\/log' | awk '{ print $5 ;}' | sed 's/%//'`&lt;br /&gt;&lt;br /&gt;## If the size of /var/log gets higher than 75% we will get an email and a sms&lt;br /&gt;if [ "$e" -gt "75" ] ; then&lt;br /&gt; echo -e "Subject: Log folder \n\n Victor, \n Log folder has reached 75%" | msmtp -v me@adreess.ca 12312345678@cellprovider.com&lt;br /&gt;fi&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Add the script to your crontab on the server and you are done.&lt;br /&gt;&lt;br /&gt;Have fun!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-2105468072767437242?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/2105468072767437242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=2105468072767437242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2105468072767437242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2105468072767437242'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/03/how-to-get-email-and-sms-notifications.html' title='How to get email and sms notifications from your server'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-4192818823457303629</id><published>2008-03-08T21:11:00.000-08:00</published><updated>2008-03-24T13:30:32.203-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>Quick and simple Quake Terminal</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;For the gamers out there, you know exactly what I'm talking about. I've never been big with gaming, but the idea of having a shortcut to shade a terminal window and bring it back whenever I want is pretty neat.&lt;br /&gt;&lt;br /&gt;I already run a small terminal window as part of my desktop, but sometimes its not as flexible as a normal window. I'll write a post on how to use a terminal as a desktop background in the future. For now you can see a pic &lt;a href="http://picasaweb.google.com/victorbrca/ComputerStuff/photo#5172918448722321698"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To achieve what we want we will use a utility called wmctrl, which is on the Ubuntu repos (if I'm not mistaken the Universe repo). There are other ways you can achieve the same (like Tilda).&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo apt-get install wmctrl&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;wmctrl bases it's commands on window name, so to make sure you have the proper name for the terminal window, open it with the desired profile and type:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ wmctrl -l&lt;br /&gt;0x03800021 -1 hostname Left&lt;br /&gt;0x03c000cc  0 hostname Jinzora Media Jukebox - Genres - Mozilla Firefox&lt;br /&gt;0x01407084  1 hostname blog - File Browser&lt;br /&gt;0x04400057  1 hostname quake-terminal - OpenOffice.org Writer&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;0x0380859b  1 hostname victor@hostname: ~&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;These are the list of windows I have open. My terminal window is called “victor@hostname”, so this is the name I'm going to use. Next, I'll open my favorite text editor and add the following lines to a script:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;if [ -f ~/bin/temp/quake ] ; then&lt;br /&gt;     wmctrl -r 'victor@hostname: ~' -b remove,below&lt;br /&gt;     wmctrl -r 'victor@hostname: ~' -b remove,shaded&lt;br /&gt;     rm -r ~/bin/temp/quake&lt;br /&gt;else&lt;br /&gt;     wmctrl -r 'victor@hostname: ~' -b add,below&lt;br /&gt;     wmctrl -r 'victor@hostname: ~' -b add,shaded&lt;br /&gt;     touch ~/bin/temp/quake&lt;br /&gt;fi&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Here's a breakdown to make it easy. I have a folder on /home/victor/bin with many scripts I created, so I'll add this one as well, and I called it ter-quake.sh. Next, I created a temp folder inside my bin folder to generate a file that will check if my script was run previously or not. And here's the explanation for the script&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;## This first line checks if the file /bin/temp/quake was created, which meas the script was run before&lt;br /&gt;if [ -f ~/bin/temp/quake ] ; then&lt;br /&gt;## if the script was run before, it will unshade the terminal window and place it on top&lt;br /&gt;     wmctrl -r 'victor@victor-laptop: ~' -b remove,below&lt;br /&gt;     wmctrl -r 'victor@victor-laptop: ~' -b remove,shaded&lt;br /&gt;## here we remove the file&lt;br /&gt;     rm -r ~/bin/temp/quake&lt;br /&gt;&lt;br /&gt;## otherwise, if the file does not exist&lt;br /&gt;else&lt;br /&gt;## the sript will shade the window, place it bellow all others and...&lt;br /&gt;     wmctrl -r 'victor@victor-laptop: ~' -b add,below&lt;br /&gt;     wmctrl -r 'victor@victor-laptop: ~' -b add,shaded&lt;br /&gt;## create the file&lt;br /&gt;     touch ~/bin/temp/quake&lt;br /&gt;fi&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Save the script and make it executable:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo chmod a+x ~/bin/ter-quake.sh&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Last step, we will add a keyboard shortcut for the script. I've achieved that by using gnome's gconf-editor:&lt;br /&gt;&lt;br /&gt;- Type “Alt+F2” and enter “gconf-editor”&lt;br /&gt;- Browse to “/apps/metacity/keybinding_commands”&lt;br /&gt;- Choose any of the empty commands and add the path to your script&lt;br /&gt;- Go to “/apps/metacity/global_keybindings” and under “run_command_#” add the shortcut you would like to use. I've used &lt;alt&gt;q.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: This is another useful topic from Linux Journal that I wanted to share. Issue 167. &lt;a href="http://www.linuxjournal.com/article/9973"&gt;Link&lt;/a&gt;&lt;/alt&gt;       &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-4192818823457303629?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/4192818823457303629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=4192818823457303629' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4192818823457303629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4192818823457303629'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/03/quick-and-simple-quake-terminal.html' title='Quick and simple Quake Terminal'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-5471304075626538755</id><published>2008-03-08T15:50:00.000-08:00</published><updated>2008-03-08T15:58:08.554-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSH'/><title type='text'>How to check for a running screen when logging via ssh</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;For some of you that might have never used screen, it's a program that allows you to create multiple virtual terminals inside one terminal window. You can even break the terminal window into two screens.&lt;br /&gt;&lt;br /&gt;I'm not getting into details for the program's usage. You can get more information on these two links:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.gnu.org/software/screen/"&gt;GNU Screen&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ruckman.net/tech/2007/06/06/linux-how-to-split-screen-your-command-line/"&gt;How to split screen your command line&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In my case, because screen preserves a running program even if your ssh session has lost connection, I use it to download torrents via ctorrent on one of my servers. So when I connect back to my server to check the torrent download status, I have to issue a command like the one bellow to check for running screens, and then connect to it:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ screen -ls&lt;br /&gt;There is a screen on:&lt;br /&gt;7583.pts-0.pluto        (Detached)&lt;br /&gt;1 Socket in /var/run/screen/S-webm.&lt;br /&gt;&lt;br /&gt;$ screen -r 7583&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;A simpler way of doing this would be:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ screen -DD -R&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;This command will check for a running screen, and if none is available it will create one. So to make my live a bit easier (and my login a bit fancier), I've added a little script to my ~/.bash_profile (Ubuntu) to prompt me if I want to connect. This is what I get when I login:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; Last login: xxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;br /&gt;There is a screen on:&lt;br /&gt;7583.pts-0.pluto        (Detached)&lt;br /&gt;1 Socket in /var/run/screen/S-webm.&lt;br /&gt;&lt;br /&gt;A screen was detected, would you like to connect? [y|n]&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;To achieve that, I appended the following script to my .bash_profile:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; ## Check for a running Screen&lt;br /&gt;scrtst=`screen -ls | grep 'No Sockets' &gt; /dev/null`&lt;br /&gt;if [ "$?" != "0" ] ; then&lt;br /&gt;screen -ls&lt;br /&gt;echo "A screen was detected, would you like to connect? [y|n] "&lt;br /&gt;read opcao&lt;br /&gt;if [ "$opcao" = "y" ] ; then&lt;br /&gt;screen -DD -R&lt;br /&gt;fi&lt;br /&gt;fi&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;There are many different ways you can do this. You could even check how many screens are running and list an option to connect to, but I'll leave that up to your imagination.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Notes:&lt;br /&gt;- Opcao means option in Portuguese. I like using Portuguese words for variables.&lt;br /&gt;- This idea was adapted from a Linux Journal column - Tech Tip, Use Screen to Avoid Loosing Remote Work - Issue 167&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-5471304075626538755?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/5471304075626538755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=5471304075626538755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/5471304075626538755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/5471304075626538755'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/03/how-to-check-for-running-screen-when.html' title='How to check for a running screen when logging via ssh'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-1295430379394416505</id><published>2008-02-21T10:03:00.000-08:00</published><updated>2008-02-21T10:21:52.632-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='e-mail'/><title type='text'>How to Yahoo!Mail and Evolution</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Simple and small how to that will help you to configure your Evolution email client to connect to youy Yahoo!Mail account via pop. Please note that this may not work on some free versions of Yahoo!Mail, as some locations only offer this service on Yahoo!Mail Plus.&lt;br /&gt;&lt;br /&gt;The setting specified by Yahoo are:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Incoming Mail Server (POP3):&lt;/span&gt; pop.mail.yahoo.ca&lt;br /&gt;Use SSL, port: 995&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Outgoing Mail Server (SMTP):&lt;/span&gt; smtp.mail.yahoo.ca&lt;br /&gt;Use SSL, port: 465, use authentication&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Account Name/Username:&lt;/span&gt; YOUR USERNAME WITHOUT @YAHOO.COM&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Email address:&lt;/span&gt; USERNAME@YAHOO.COM (OR CA, UK, BR, ETC)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Password:&lt;/span&gt; YOUR PASSWORD&lt;br /&gt;&lt;br /&gt;Here are some screenshots to help you with the setup:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Identity:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/ubuntu-forum/yahoo-mail/yahoo1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/ubuntu-forum/yahoo-mail/yahoo1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Receiving Email:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/ubuntu-forum/yahoo-mail/yahoo2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/ubuntu-forum/yahoo-mail/yahoo2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Sending Email:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/ubuntu-forum/yahoo-mail/yahoo3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/ubuntu-forum/yahoo-mail/yahoo3.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-1295430379394416505?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/1295430379394416505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=1295430379394416505' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1295430379394416505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/1295430379394416505'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/02/how-to-yahoomail-and-evolution.html' title='How to Yahoo!Mail and Evolution'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-9070619314500337096</id><published>2008-01-23T20:43:00.001-08:00</published><updated>2008-03-24T13:27:57.501-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Coffee Break'/><title type='text'>Is OSS and GNU killings its own chance due to “extreme” users?</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;  I'm not one to really discuss political views and ideals, also am not good at it. But I would like to share something I experienced at work that made me think about my ideals in regards to Linux against Microsoft.&lt;br /&gt;&lt;br /&gt;  I have used Microsoft my whole life. I've also started in the IT industry about 2-3 years ago, so I don't consider my self a very experienced person. Around November 2006 I came across a live CD of Ubuntu and decided to give it a try. That's was when I felt in love with the operating system, and I have been using it since them. I've also fallen into the category of Linux users that like to brag that M$ sucks and Linux is the best.&lt;br /&gt;&lt;br /&gt;  I'm at the moment working for a company that makes proprietary software, but for Windows environment only. I have to tell that I was amazed at how professional they are at this place and how much importance they put into making things right. It really makes it a better of a place to work for. There's no where to grow in the company if I want to invest in Linux, but at least I can continue with my self paced studies for when I consider myself ready.&lt;br /&gt;&lt;br /&gt;  The main problems happened a while ago. A customer that runs his backbone servers in Linux was having some problems with our software. Our software needs full access to the folders to be able to work, and he was not aware of that. My boss (extremely smart person and a MAC user) knowing that I was a Linux fanboy asked me for help with some testing, and we discovered that all they had to do was change “directory mask” and “create mask” to 777 on his smb.conf, and that should resolve the problem. Again, we do not support Linux for our software, this was just an unofficial help (I'm sure that there could be better ways like using 770, but again I'm not a Linux sys admin).&lt;br /&gt;&lt;br /&gt;  The person in charge of the IT department (outsourced) made a huge deal about this. Stated that our software was the problem and that we should fix the basic I/O settings of our software. Stated that if not, they would have to look for solutions that would better fit their requirements.&lt;br /&gt;&lt;br /&gt;  This “IT” person also made fun of my testing stating that they were not using a simple home toy distro like Ubuntu, but a high portable Linux distro.&lt;br /&gt;&lt;br /&gt;  Our software is the best in the market. The people who use that software on their company also agree, but they'll end up suffering because of an Open Source fanatic that does not want to see the good part of both worlds. He will change the company needs because they don't meet his open source requirements. Shouldn't this be the other way around?&lt;br /&gt;&lt;br /&gt;  After that I had to hear funny comments, that were somewhat true. Is open source really free after all? On this case, I think it's actually increasing costs than actually help decreasing it. All due to fanaticism.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;More info: &lt;a href="http://ubuntuforums.org/showthread.php?t=676554"&gt;Post on Ubuntu Forum&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-9070619314500337096?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/9070619314500337096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=9070619314500337096' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/9070619314500337096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/9070619314500337096'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/01/is-oss-and-gnu-killings-its-own-chance.html' title='Is OSS and GNU killings its own chance due to “extreme” users?'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-6245930217377664755</id><published>2008-01-14T20:33:00.000-08:00</published><updated>2008-03-25T22:28:20.396-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>Google Search Regex</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Well, they are not really the same regex as we can use on Linux or programming. But some of the “tags” are pretty good and can help you on a lot of searches.&lt;br /&gt;&lt;br /&gt;I've organized them in a manner that I thought made the best sense. But the sites where I got the information from do have them in different others, as well as some other tags that I did not find as important. The links are at the end of the post.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Basic&lt;/span&gt;&lt;br /&gt;- "+" - Result must contain word&lt;br /&gt;- "-" - Result must not contain word&lt;br /&gt;- "OR" and "|" -  Applied between two words, it will find "this or that", or both. The "OR" operator must be uppercase and have a space between the 2 words on each side. The "|" operator does not need a space between the words&lt;br /&gt;- " "" " - Finds an exact match of the word or phrase&lt;br /&gt;- "~" - Looks for synonyms or similar items. Eg: "~run" will match runner's and marathon&lt;br /&gt;- ".." - Indicates that there's a range between number. Eg: 100..200 or $100..$200&lt;br /&gt;- "*" - Matches a word or more. Eg: "Advanced * Form"  finds "Advanced Search Form"&lt;br /&gt;- "word-word" - All forms (spelled, singe word, phrase and hyphenated&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Important&lt;/span&gt;&lt;br /&gt;- "site:" - Search only one website or domain. Eg: "PC site:wazem.org"  will find PC within wazem.org&lt;br /&gt;- "filetype:" or "ext:" - Search for docs in the file type. Eg: "Linux tutorial filetype:pdf" will find Linux tutorial in the pdf format&lt;br /&gt;- "link:" - Find linked pages (pages that point to the URL)&lt;br /&gt;- "define:" - Provides definition for a word or a phrase&lt;br /&gt;- "cache:" - Display Google's cached version of a web page.&lt;br /&gt;- "info:" - Info about a page&lt;br /&gt;- "related:" - Websites related to the URL&lt;br /&gt;- "allinurl:" - All words must be in the URL&lt;br /&gt;- "allintitle:" - All words must be in the title of the page&lt;br /&gt;- "intittle:" - Match words in the title of the page&lt;br /&gt;- "source:" - News articles from a specific source&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Calculations&lt;/span&gt;&lt;br /&gt;- "+ - * /" - Normal math signs. Eg: 12 * 4 + 2 - 1 /2&lt;br /&gt;- "% of" - Percentage. Eg:10% of 100&lt;br /&gt;- "^" or "**" - Raise to a power&lt;br /&gt;- units "in" units - Convert Units (currency, measurements, weight). Eg: 300 lbs in Kg, 40 in hex&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Others&lt;/span&gt;&lt;br /&gt;- "book" or "books" - Search books. Eg: book "LPI Linux Certification in a Nutshell"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Links used:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.googleguide.com/"&gt;GoogleGuide.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.googleguide.com/advanced_operators_reference.html"&gt;GoogleGuide.com Advanced Operators&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Regular_expression#In_formal_language_theory"&gt;Wikipedia Regex&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-6245930217377664755?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/6245930217377664755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=6245930217377664755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6245930217377664755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6245930217377664755'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/01/google-search-regex.html' title='Google Search Regex'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-6816108866215947669</id><published>2008-01-11T15:43:00.000-08:00</published><updated>2008-03-24T13:27:29.057-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>How to Masquerade Your PC When Connecting to an Unknown Network</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Let's say you want to connect to an untrusted network, like school, library or other. All your packets could be traced by a proxy and your computer information as well.&lt;br /&gt;&lt;br /&gt;There are many ways to avoid this from happening. The one I'll be describing here will involves connecting to a  server on your home running a proxy daemon (like squid) via a secure tunnel (like SSH).&lt;br /&gt;&lt;br /&gt;First we need to get squid and SSH server installed on your home server and make sure that your router is open for SSH (or another WAN port that can be forwarded to the SSH server port on your LAN).&lt;br /&gt;&lt;br /&gt;You can get more info on this process &lt;a href="http://wazem.blogspot.com/2007/06/how-to-bypass-proxy-server-with-ssh.html"&gt;here&lt;/a&gt;, and more info on SSH auto login &lt;a href="http://wazem.blogspot.com/2007/11/how-to-set-up-secure-and-prompt-less.html"&gt;here&lt;/a&gt;. These posts should get you connected to your home server and browsing the web without the proxy on the untrusted network knowing you packets (or what you are browsing).&lt;br /&gt;&lt;br /&gt;Next step will be to mask your computer info. I'm not sure how well this would work as far as digital signatures, but it may help with some privacy.&lt;br /&gt;&lt;br /&gt;I've created 3 files on my PC to use for a quick connection:&lt;br /&gt;. MAC1 - Changes my MAC address, my hostname and my proxy configuration to 127.0.0.1:80&lt;br /&gt;. MAC2 - Changes my MAC and my hostname to original and disables the usage of proxy&lt;br /&gt;. File3 - A ssh script that binds local port 80 to the ssh tunnel&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;MAC1&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;sudo ifconfig eth0 down&lt;br /&gt;sudo ifconfig eth0 hw ether bogus-MAC&lt;bogus mac=""&gt;&lt;br /&gt;sudo ifconfig eth0 up&lt;br /&gt;sudo bogus-hostname&lt;bogus hostname=""&gt;&lt;br /&gt;xauth add &lt;bogus hostname=""&gt;bogus-hostname/unix:0  MIT-MAGIC-COOKIE-1 `xauth list | grep original-hostname | cut -f5 -d" "`&lt;br /&gt;gconftool -s /system/proxy/mode -t string manual&lt;/bogus&gt;&lt;/bogus&gt;&lt;/bogus&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;MAC2&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;sudo ifconfig eth0 down&lt;br /&gt;sudo ifconfig eth0 hw ether original-MAC&lt;original mac=""&gt;&lt;br /&gt;sudo ifconfig eth0 up&lt;br /&gt;sudo original-hostname &lt;original hostname=""&gt;&lt;br /&gt;xauth remove bogus-hostname&lt;bogus hostname=""&gt;/unix:0  MIT-MAGIC-COOKIE-1&lt;br /&gt;gconftool -s /system/proxy/mode -t string none&lt;/bogus&gt;&lt;/original&gt;&lt;/original&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;File3&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;sudo ssh -v -L 80:&lt;proxy server="" ip=""&gt;squid-server-IP:3128 user@homeIP&lt;/proxy&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Other Links:&lt;br /&gt;- &lt;a href="http://sourceforge.net/projects/anonym-os/"&gt;http://sourceforge.net/projects/anonym-os/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-6816108866215947669?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/6816108866215947669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=6816108866215947669' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6816108866215947669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6816108866215947669'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/01/how-to-masquerade-your-pc-when.html' title='How to Masquerade Your PC When Connecting to an Unknown Network'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-6904005491209488798</id><published>2008-01-10T16:12:00.000-08:00</published><updated>2008-03-24T13:30:00.872-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>How to change multiple files into a progressive number order</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;I'm a big collector of pictures. I usually download pictures that my friends may post on Facebook or other sites for events that I was part of. For Facebook I use a Firefox add-on called &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/4481"&gt;Facebook Album Downloader&lt;/a&gt;. It will download all pictures for a specific album into your PC. But the problem is, that most of the times these pictures get renamed when uploaded. So you'll end up getting a really weird name for the pictures, which for me, being a freak at organizing my files just doesn't cut.&lt;br /&gt;&lt;br /&gt;It's in times like this that I'm glad I use Linux. Here's a little script that will help me to change this.&lt;br /&gt;&lt;br /&gt;Let's say I have the following files in my folder:&lt;br /&gt;&lt;br /&gt;&lt;table style="width: 175px; height: 214px;" bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ ls -1&lt;br /&gt;fgthnt.txt&lt;br /&gt;sadfasd.txt&lt;br /&gt;sdfsdf.txt&lt;br /&gt;tyhy.txt&lt;br /&gt;ujtyuj.txt&lt;br /&gt;ujyunyum.txt&lt;br /&gt;wdfaw.txt&lt;br /&gt;wertet.txt&lt;br /&gt;werwert.txt&lt;br /&gt;yjmyu.txt&lt;br /&gt;yujjuj.txt&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;I would like to rename all these files to an organized manner. My pictures are usually named with numbers. I started doing this when I was learning web-design with my brother in law many years ago (never went trough with it thou).&lt;br /&gt;&lt;br /&gt;To achieve such task we would run the following code:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;E=1; for i in `ls *txt` ; do mv $i $E.txt ; E=$((E+1)); done&lt;br /&gt;$ ls -1&lt;br /&gt;10.txt&lt;br /&gt;11.txt&lt;br /&gt;1.txt&lt;br /&gt;2.txt&lt;br /&gt;3.txt&lt;br /&gt;4.txt&lt;br /&gt;5.txt&lt;br /&gt;6.txt&lt;br /&gt;7.txt&lt;br /&gt;8.txt&lt;br /&gt;9.txt&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Breakdown of code:&lt;br /&gt;E=1 - Set a variable of value 1&lt;br /&gt;for i in `ls *.jpg` - Creates variable “i” with individual lines from the output of the command 'ls *.jpg'&lt;br /&gt;do mv $i $E.jpg - Moves value from variable “i” to “E”&lt;br /&gt;E=$((E+1)) - Adds a count of 1 to E, so next file with be E&lt;br /&gt;done - Finalizes it&lt;br /&gt;&lt;br /&gt;Another way of renaming files is using the “rename” program. Some Linux distros have it installed by default. The program can be used in similar way to sed. For example, the command below would remove all dashes from all mp3 files in the working folder:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;rename 's/-//g' *mp3&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-6904005491209488798?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/6904005491209488798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=6904005491209488798' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6904005491209488798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6904005491209488798'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/01/how-to-change-multiple-files-into.html' title='How to change multiple files into a progressive number order'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-761292285691668612</id><published>2008-01-09T14:24:00.000-08:00</published><updated>2008-03-24T13:30:32.204-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>How to change Gnome Proxy Settings on a Terminal window</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;This document will show how to change proxy settings for Gnome from a terminal window (not from gnome-network-preferences).&lt;br /&gt;&lt;br /&gt;The configuration information is saved under .gconf (front end GconfEdior), which is a system for storing application preference in Gnome (think Registry for Windows PC).&lt;br /&gt;&lt;br /&gt;Keys can be accessed in terminal under “/home/user/.gconf/*”. The command below will display current proxy configuration loaded by gconf:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ cat .gconf/system/http_proxy/%gconf.xml&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;This will be the same as:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/proxy/Network-Proxy-Preferences.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/proxy/Network-Proxy-Preferences.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The proxy configuration can be divided into two parts:&lt;br /&gt;. /system/proxy/ - Configures SOCKS Proxy&lt;br /&gt;. /system/http_proxy/ - Configures HTTP proxy&lt;br /&gt;&lt;br /&gt;We can use gconftool -R &lt;key&gt; to view the options within the subkeys. For the screenshot above we would get something similar to this:&lt;br /&gt;&lt;br /&gt;&lt;/key&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ gconftool -R /system/proxy&lt;br /&gt;old_ftp_port = 0&lt;br /&gt;socks_host = 127.0.0.1&lt;br /&gt;mode = manual&lt;br /&gt;old_socks_port = 0&lt;br /&gt;secure_host = 127.0.0.1&lt;br /&gt;ftp_host = 127.0.0.1&lt;br /&gt;socks_port = 80&lt;br /&gt;old_secure_host =&lt;br /&gt;secure_port = 80&lt;br /&gt;ftp_port = 80&lt;br /&gt;old_ftp_host =&lt;br /&gt;autoconfig_url =&lt;br /&gt;old_secure_port = 0&lt;br /&gt;old_socks_host =&lt;br /&gt;&lt;br /&gt;$ gconftool -R /system/http_proxy&lt;br /&gt;use_http_proxy = true&lt;br /&gt;use_authentication = false&lt;br /&gt;host = 127.0.0.1&lt;br /&gt;authentication_user =&lt;br /&gt;ignore_hosts = [localhost,127.0.0.0/8,*.local]&lt;br /&gt;use_same_proxy = true&lt;br /&gt;authentication_password =&lt;br /&gt;port = 80&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;So, to edit the proxy to the same settings as the one shown on the screenshot, we would do the following:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ gconftool -s /system/http_proxy/use_http_proxy -t bool true&lt;br /&gt;$ gconftool -s /system/http_proxy/host -t int 127.0.0.1&lt;br /&gt;$ gconftool -s /system/http_proxy/port -t int 80&lt;br /&gt;$ gconftool -s /system/http_proxy/use_same_proxy -t bool true&lt;br /&gt;&lt;br /&gt;$ gconf -s /system/proxy/mode -t string manual&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-761292285691668612?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/761292285691668612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=761292285691668612' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/761292285691668612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/761292285691668612'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/01/how-to-change-gnome-proxy-settings-on.html' title='How to change Gnome Proxy Settings on a Terminal window'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-3323308947519828170</id><published>2008-01-02T14:23:00.000-08:00</published><updated>2008-03-24T13:29:30.075-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tips'/><title type='text'>Step by Step Installation of Slackware with Screenshots</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;I've heard that the installation of Slackware is hard, mostly due to the fact that its via CLI. I myself am not an expert on CLI, even thou I like using it, and I try to as much as I can. But I decided to give it a try on my VirtualBox as my Gutsy install on my laptop has been a little “flaky”, and Slackware is famous due to it's speed and stability.&lt;br /&gt;&lt;br /&gt;I've divided into steps, according to the screenshots I took.&lt;br /&gt;&lt;br /&gt;Download the first two CDs from Slackware website &lt;a href="http://slackware.com/getslack/"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;1- Pop it in your machine and reboot it, or start it. You will get a prompt like the one bellow (click on the picture for a bigger size), asking you for boot options. You can usually leave this blank and just hit enter.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2- If you want to enable special characters for your language, you can do it here (this can also be done after the installation)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3- Logon to the CD as root&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack3.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4- Now the partitioning part. This what most people are afraid off, and it's really quite simple. Type “fdisk &lt;device name=""&gt;” to start the utility. Device name will most likely be /dev/hda if you are using your first hard drive. I always create a minimum of 3 partitions (one for /, one for swap and one for /home). The commands we can use are:&lt;br /&gt;- n - New partition&lt;br /&gt;- t - Filesystem type (we will use type 82 for the swap partition)&lt;br /&gt;- p - Lists changes&lt;br /&gt;- q - In case you want to quit without saving it&lt;br /&gt;- w - Saves changes and exits&lt;br /&gt;&lt;br /&gt;The commands I used were&lt;br /&gt;- First Partition - n, p, 1, Enter, +5000M.&lt;br /&gt;- Second Partition (swap) - n, p, 2, Enter, +256M&lt;br /&gt;- Third Partition - n, p, 3, Enter, Enter&lt;br /&gt;- Second Partition - t, 2, 82&lt;br /&gt;- Enter “w”  to save the changes&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack4.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack4.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5- Type “setup”  to enter the setup utility&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack5.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack5.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6- This is the main setup menu&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack6.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack6.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7- There are a couple of things we need to take care first. If you try clicking on install, you'll get a msg reminding you so&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack7.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack7.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;8- Click on target and we will be able to setup the partitions and mount points. On this picture I've already done “/”, but we can still do the next partition&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack8.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack8.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;9- Select if you want to format it&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack9.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack9.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;10- Select the filesystem format for the partition&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack10.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack10.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;11- This confirms that it's formating the partition&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack11.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack11.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;12- Name the mount point&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack12.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack12.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;13- This screen confirms the selections&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack13.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack13.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;14- Go back to the main menu and select Addswap to configure the swap partition&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack15.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack15.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;15- Say yes if you want to check the swap partition for bad bocks. Not really required&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack16.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack16.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;16- Summary of changes to the swap partition&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack17.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack17.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;17- Select the partition to install the system (/)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack18.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack18.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;18- Select the source to install from (in our case CD)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack19.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack19.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;19- Select packages categories that you want to install. I left all packages, except games&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack20.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack20.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;20- Select packages that you want to install. I used the “full” selection&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack21.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack21.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;21- The install will displays the packages being installed&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack22.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack22.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;22- Insert the second CD when you see this prompt&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack23.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack23.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;23- Option to create a boot USB or not. It's useful but not necessary. You can also use the CD to boot into the system (I had to do this due to a LILO problem)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack24.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack24.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;24- Setup a modem. I'm not using one, so I did not set it up&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack25.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack25.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;25- LILO Installation. I used the simple, which is the recommended, but I still had some (minor) problems&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack26.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack26.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;26- Select boot splash screen resolution. Again, better be safe than sorry, so I used the standard&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack27.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack27.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;27- Enter boot parameter if required for your machine to boot&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack28.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack28.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;28- Choose the location to install LILO. I chose the first, or root, partition and had a problem due to the 1024 cylinder rule. I would advise using MBR if you are not dual booting.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack29.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack29.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;29- This is what I got due to LILO installation error. Not to worry, I will show how to resolve it&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack30.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack30.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;30- Setting up a mouse. Choose the type of mouse you will be using in the machine&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack31.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack31.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;31- Say yes to load an application that will allow you to copy and paste between virtual consoles using the mouse (usually the middle click)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack32.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack32.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;32- Configure Network. I'd choose yes and get it over with. It's fairly simple&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack33.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack33.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;33- Give the computer a hostname on the network&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack34.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack34.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;34- Enter a domain name. Not really necessary&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack35.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack35.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;35- IP configuration (pretty basic)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack36.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack36.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;36- This is only used if you chose DHCP and your DHCP server requires you to use a pre-set hostname&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack37.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack37.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;37- Summary of your choices&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack38.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack38.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;38- Select services that will start on boot. I've set my machine to basics (like no HTTP or MySQL)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack39.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack39.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;39- Option to configure console fonts. Again, I went for the defaults to make it simple&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack40.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack40.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;40- This will sync the time on your OS with the time on your BIOS. I'm using local time&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack41.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack41.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;41- And here is my location&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack42.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack42.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;42- Choose your Window Manager. KDE which is usually the default, has it's own Window Manager, also called KDE. You can get more info on the difference between Window Managers, Desktop Environments and X Server on these links:&lt;br /&gt;&lt;a href="http://www.tuxfiles.org/linuxhelp/xwtf.html"&gt;Window Manager vs Desktop Environment vs X Window&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Desktop_environment"&gt;Desktop Environments&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack43.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack43.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;43- Set root password&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack44.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack44.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;44- Setup is complete&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slack45.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slack45.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, we'll go into setting up LILO, in case you also got an error&lt;br /&gt;&lt;br /&gt;1- Place CD 1 in the machine and enter the parameters shown on top “hugesmp.s root=/dev/hda1 rdinitd= ro”. This will use the CD to boot into your new installed system&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2- Once it finishes the boot process, logon as root with the password you set during the install and run  “liloconfig”&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3- Installing LILO&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo3.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4- Once done, type “lilo” to write to the lilo.conf file&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo4.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo4.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5- Restart the computer by typing “shutdown -r now” and remove the CD&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo5.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo5.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6- You are done. Here's your LILO boot prompt&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo6.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://wazem.dyndns.org/temp/blog/slack-install/slacklilo6.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Remember that Slackware will not start the X server by default. To do so, logon at the CLI prompt and type “startx”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/device&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-3323308947519828170?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/3323308947519828170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=3323308947519828170' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3323308947519828170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3323308947519828170'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2008/01/step-by-step-installation-of-slackware.html' title='Step by Step Installation of Slackware with Screenshots'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-6597603662288250830</id><published>2007-12-24T14:50:00.000-08:00</published><updated>2008-03-24T13:30:00.873-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>How to remove repeated lines in a file without changing the order</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Using just uniq is no viable as repeated lines need to be next to each other for uniq to identify it. Using sort will just mix them up, loosing their original placement within the file. So here's a work around (originally from Linux Journal).&lt;br /&gt;&lt;br /&gt;Let's say we have a document called file:&lt;br /&gt;&lt;br /&gt;&lt;table style="width: 301px; height: 163px;" bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ cat file&lt;br /&gt;a&lt;br /&gt;b&lt;br /&gt;c&lt;br /&gt;d&lt;br /&gt;a&lt;br /&gt;b&lt;br /&gt;c&lt;br /&gt;d&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Here are the steps we will take:&lt;br /&gt;1- Use nl (or cat -) to add a numbering to the each line;&lt;br /&gt;2- Use “sort -k 2” to place equal line after each other (we have to sort by the second column);&lt;br /&gt;3- “Uniq -f 1” will remove equal lines (we also have to use the second column);&lt;br /&gt;4- “sort -n” will re-add them in the proper order as per the first field, or the numbers&lt;br /&gt;4- “sed 's/[0-9]//g'” will remove the numbers&lt;br /&gt;&lt;br /&gt;This is what you command should look like:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ nl file | sort -k 2 | uniq -f 1 | sort -n | sed 's/[0-9]//g'&lt;br /&gt;a&lt;br /&gt;b&lt;br /&gt;c&lt;br /&gt;d&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;On my machine I had a problem where nl kept adding empty fields (still trying to find why), so I had to modify my expression a little bit:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ nl file | expand | tr -s '[:blank:]' | sed 's/^ *//g' | sort -k 2 | uniq -f 1 | sort -n | sed 's/[0-9]//g' | sed 's/^ *//g'&lt;br /&gt;&lt;br /&gt;a&lt;br /&gt;b&lt;br /&gt;c&lt;br /&gt;d&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Now, let's say your sources.list got mixed up somehow, and all lines are now duplicate. We can apply the same concept like this:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; $ grep -v '^#' sources.list | nl | expand | tr -s '[:blank:]' | sed 's/^ *//g' | sort -k 2 | uniq -f 1 | sort -n | sed 's/[0-9] *//g'&lt;br /&gt;&lt;br /&gt;deb cdrom:[Ubuntu ._Gutsy Gibbon_ - Release i()]/ gutsy main restricted&lt;br /&gt;deb http://ca.archive.ubuntu.com/ubuntu/ gutsy multiverse&lt;br /&gt;deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy multiverse&lt;br /&gt;deb http://ca.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse&lt;br /&gt;deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse&lt;br /&gt;deb http://ca.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse&lt;br /&gt;deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse&lt;br /&gt;deb http://archive.canonical.com/ubuntu gutsy partner&lt;br /&gt;deb-src http://archive.canonical.com/ubuntu gutsy partner&lt;br /&gt;deb http://security.ubuntu.com/ubuntu gutsy-security main restricted&lt;br /&gt;deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted&lt;br /&gt;deb http://security.ubuntu.com/ubuntu gutsy-security universe&lt;br /&gt;deb-src http://security.ubuntu.com/ubuntu gutsy-security universe&lt;br /&gt;deb http://security.ubuntu.com/ubuntu gutsy-security multiverse&lt;br /&gt;deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse&lt;br /&gt;deb http://archive.ubuntu.com/ubuntu gutsy universe multiverse&lt;br /&gt;deb-src http://archive.ubuntu.com/ubuntu gutsy universe multiverse&lt;br /&gt;deb http://wine.budgetdedicated.com/apt edgy main&lt;br /&gt;deb http://ca.archive.ubuntu.com/ubuntu/ gutsy main restricted&lt;br /&gt;deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy main restricted&lt;br /&gt;deb http://ca.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted&lt;br /&gt;deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted&lt;br /&gt;deb http://ca.archive.ubuntu.com/ubuntu/ gutsy universe&lt;br /&gt;deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy universe&lt;br /&gt;deb http://ca.archive.ubuntu.com/ubuntu/ gutsy-updates universe&lt;br /&gt;deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy-updates universe&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-6597603662288250830?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/6597603662288250830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=6597603662288250830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6597603662288250830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6597603662288250830'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/12/how-to-remove-repeated-lines-in-file.html' title='How to remove repeated lines in a file without changing the order'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-8753545034565644274</id><published>2007-12-24T13:31:00.000-08:00</published><updated>2008-03-24T13:29:30.076-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tips'/><title type='text'>How to “Ctrl+Alt+Del” on Linux</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Here are some steps you can take to regain access to a frozen Linux box. Re-starting the OS is not always the best choice as any un-synched drive cache will not be written and will result in data loss.&lt;br /&gt;&lt;br /&gt;1- Try to find out what application is frozen. If it started happening after you opened a specific app, you can bet that application is the cause of the problem. Go to another tty (Ctrl+Alt+F1 to F6), logon and use tools like “ps” and “top” to detect the bad application, and use kill to end it.&lt;br /&gt;&lt;br /&gt;2- If that doesn't help or you can not change ttys, try restarting X (some unsaved data will be lost) by pressing Ctrl+Alt+Backspace.&lt;br /&gt;&lt;br /&gt;3- Next option would be to do a reboot by pressing Ctrl+alt+del. You can force a reboot by pressing the same combination twice&lt;br /&gt;&lt;br /&gt;4- Last resource, press “Ctrl+Alt+Prnt Scrn” and type “reisub”. This will unmount the filesystem and shut it down&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Note: This steps where taken from another blog. I don't remember the name, but will post her if I come across again&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-8753545034565644274?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/8753545034565644274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=8753545034565644274' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8753545034565644274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8753545034565644274'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/12/how-to-ctrlaltdel-on-linux.html' title='How to “Ctrl+Alt+Del” on Linux'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-2410694831334969887</id><published>2007-12-05T20:04:00.001-08:00</published><updated>2008-03-24T13:27:29.058-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>Portable apps</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;I just found this site for portable apps. They can be used to run applications directly from your portable device (USB, Ipod, external HD, etc...) without installing on the host computer. They can come very handy if you are on an environment where you cannot install a software, or even if you want to keep your "profile" info.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://portableapps.com/"&gt;Portable Apps.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;They have firefox, gimp, pidgin, open office, winSCP, VLC, etc... Check it out when you have a chance.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-2410694831334969887?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/2410694831334969887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=2410694831334969887' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2410694831334969887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2410694831334969887'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/12/portable-apps.html' title='Portable apps'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-648955400925644597</id><published>2007-11-10T10:42:00.000-08:00</published><updated>2007-11-10T14:42:54.566-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSH'/><title type='text'>How to set up a secure and prompt-less login using SSH and RSA</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;If you use SSH to remote connect to a Linux box, either from another Linux or Windows with Putty, it’s somewhat nice to have a login that does not ask for a password and it’s still secure. Here are the steps.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1- Creating the RSA key&lt;/span&gt;&lt;br /&gt;Go to your remote server and run the following code:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ ssh-keygen -t rsa -C [username]&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;- “-t rsa” is the type of key we will be creating. You can also use DSA&lt;br /&gt;- The part “-C [username]” can be left out. That only adds a username text to the end of the key for human reference.&lt;br /&gt;- Make sure that you save the files to “/home/[user]/.ssh/” when it prompts you for a location.&lt;br /&gt;- Do not add a passphrase when prompted. This will make the system accept the ssh connection without prompting for a password or passphrase.&lt;br /&gt;&lt;br /&gt;The code above will have generated two files:&lt;br /&gt;- id_rsa - Used by the client&lt;br /&gt;- id_rsa.pub - Used by the server&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2- Placing the keys on the right location&lt;/span&gt;&lt;br /&gt;First confirm that your “/etc/ssh/sshd_config” file is pointing to the right location by finding these lines:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ cat /etc/ssh/sshd_config | grep AuthorizedKeysFile&lt;br /&gt;AuthorizedKeysFile      %h/.ssh/authorized_keys&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The client key (id_rsa) should (not required as you can set an argument when opening the connection), be placed under “/home/[user]/.ssh/id_rsa” on the client computer.&lt;br /&gt;&lt;br /&gt;The server key (id_rsa.pub) should be renamed and placed on “/home/[user]/.ssh/authorized_keys” on the SSH server (this location can be changed on the “/etc/ssh/sshd_config” file by editing the line show 2 paragraphs above). You can either rename the original file (id_rsa.pub) to “authorized_keys”, or run the code bellow to add the key to an existing file in case you already have keys for another user(s):&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ cat /home/[user]/.ssh/id_rsa.pub &gt;&gt; /home/[user]/.ssh/authorized_keys&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3a- Opening the connection from Linux&lt;/span&gt;&lt;br /&gt;Run the following code to connect to the server:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ ssh[user]@[server]&lt;br /&gt;Or&lt;br /&gt;$ ssh[user]@[server] -i [path to id_rsa file]&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;I use the second code as I have different RSA keys for the different computers I connect. I have also setup these connections on my .bashrc as an alias for quicker connection (see &lt;a href="http://wazem.blogspot.com/2007/10/how-to-create-command-alias-to-save.html"&gt;here&lt;/a&gt; for a how to)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3b- Setup Putty&lt;/span&gt;&lt;br /&gt;To setup putty to use the key is simple. See &lt;a href="http://wazem.blogspot.com/2007/11/how-to-convert-idrsa-keys-to-putty-ppk.html"&gt;this previous post&lt;/a&gt; for a how to in converting the id_rsa key to .ppk.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4- Making the connection more secure&lt;/span&gt;&lt;br /&gt;- Disable root login:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo nano /etc/ssh/sshd_config&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Look for the line that says “PermitRootLogin” and make sure it says no.&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;PermitRootLogin no&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;- Change listening port&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo nano /etc/ssh/sshd_config&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Look for the line that say “Port 22” and change to an unused number (you can find them &lt;a href="http://www.iana.org/assignments/port-numbers"&gt;here&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;# What ports, IPs and protocols we listen for&lt;br /&gt;Port 22&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;- Limit login to one IP or subnet&lt;br /&gt;Configure your hosts.deny to block all access via SSHD, and them configure hosts.allow to provide access only to certain rules (users, Ips, subnets, domains)&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo nano /etc/hosts.deny&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Add the line to the end of the file “sshd : ALL”&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo nano /etc/hosts.allow&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;And add the line to the end of the file “sshd : [IP]”. Then run:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo /etc/init.d/ssh restart&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;- Use CHROOT&lt;br /&gt;You can find more info &lt;a href="http://en.wikipedia.org/wiki/Chroot"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-648955400925644597?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/648955400925644597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=648955400925644597' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/648955400925644597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/648955400925644597'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/11/how-to-set-up-secure-and-prompt-less.html' title='How to set up a secure and prompt-less login using SSH and RSA'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-5224819173266016199</id><published>2007-11-10T10:18:00.000-08:00</published><updated>2007-11-10T14:43:00.118-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSH'/><title type='text'>How to convert id_rsa keys to Putty .ppk without a passphrase</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;This how to will show how to convert id_rsa keys that were already created on Linux, without a passphrase, to .ppk extension so it can be used with Putty on a Windows box.  &lt;/span&gt;&lt;style type="text/css"&gt;!--   @page { size: 21.59cm 27.94cm; margin: 2cm }   P { margin-bottom: 0.21cm }  --&gt;&lt;/style&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;Download PuttyGen from &lt;a href="http://the.earth.li/%7Esgtatham/putty/latest/x86/puttygen.exe"&gt;here&lt;/a&gt; and open it. Once it opens click on Conversions =&gt; Import Key&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/id-rsa-to-ppk/conversions.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/id-rsa-to-ppk/conversions.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;Search for the id_rsa key on you computer&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/id-rsa-to-ppk/import-key.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/id-rsa-to-ppk/import-key.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;Click on “Save Private Key” and “Yes” to save without a passphrase.&lt;/span&gt;&lt;span style="text-decoration: underline;font-size:85%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/id-rsa-to-ppk/save-key.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/id-rsa-to-ppk/save-key.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;Choose a location and a name for the new .ppk key&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/id-rsa-to-ppk/save-ppk.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/id-rsa-to-ppk/save-ppk.jpg" alt="" border="0" /&gt;&lt;/a&gt;Now go to putty and add a path to key for the connection&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/id-rsa-to-ppk/putty.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;Done!!!&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Vic&lt;/span&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-5224819173266016199?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/5224819173266016199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=5224819173266016199' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/5224819173266016199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/5224819173266016199'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/11/how-to-convert-idrsa-keys-to-putty-ppk.html' title='How to convert id_rsa keys to Putty .ppk without a passphrase'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-8200593867231247009</id><published>2007-10-26T10:00:00.001-07:00</published><updated>2007-11-21T15:31:32.237-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='e-mail'/><title type='text'>How to configure IMAP on Evolution and Gmail</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Gmail introduced IMAP on their email systems this week. It may not be available to you yet, but they are working pretty fast to do so.&lt;br /&gt;&lt;br /&gt;You can check if you have it or not by going to your Gmail account, them Settings. Check that on the top menu says “Forwarding and POP/IMAP” instead of just “Forwarding and POP”.&lt;br /&gt;&lt;br /&gt;If not, make sure your language is set to “English (US)”.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/settings.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/settings.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;If/when you do have the option, go to the menu and check the “Enable IMAP” radio button.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/choose-imap.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/choose-imap.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now open your Evolution client and add the following settings:&lt;br /&gt;&lt;br /&gt;=&gt; Identity Tab&lt;br /&gt;- Full Name: Name you’d like to be displayed on your messages&lt;br /&gt;- Email Address: You full Gmail address&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/evolution1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/evolution1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;=&gt; Receiving E-mail&lt;br /&gt;Server Type: IMAP&lt;br /&gt;Server: imap.gmail.com:993&lt;br /&gt;Username: Your complete Gmail address&lt;br /&gt;Security: SSL&lt;br /&gt;Authentication Type: Password&lt;br /&gt;Remember Password: Check (optional)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/evolution-imap1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/evolution-imap1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;=&gt; Sending E-mail&lt;br /&gt;Server Type: SMTP&lt;br /&gt;Server: smtp.gmail.com:587&lt;br /&gt;Server Requires Authentication: Check&lt;br /&gt;Security: TLS&lt;br /&gt;Authentication Type: Login&lt;br /&gt;Username: Your complete Gmail address&lt;br /&gt;Remember Password: Check (optional)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/evolution-smtp.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/evolution-smtp.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;After that click on send and receive. You should start getting your messages. I’ve heard some people saying that they had to restart Evolution for it to start working (also complaints that IMAP on Evolution is really slow).&lt;br /&gt;&lt;br /&gt;You will see the folders added to the left pane of your Evolution inbox.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/inbox.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/gmail-imap-evolution/inbox.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here are some links that may help you as well!!!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mail.google.com/support/bin/answer.py?ctx=%67mail&amp;amp;hl=en&amp;amp;answer=75726"&gt;Supported IMAP Client List&lt;/a&gt;&lt;br /&gt;&lt;a href="https://mail.google.com/support/bin/answer.py?answer=77657&amp;amp;topic=12762"&gt;How do actions sync in IMAP? &lt;/a&gt;&lt;br /&gt;&lt;a href="https://mail.google.com/support/bin/topic.py?topic=12760"&gt;IMAP Help Center&lt;/a&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-8200593867231247009?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/8200593867231247009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=8200593867231247009' title='22 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8200593867231247009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/8200593867231247009'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/10/hot-to-configure-imap-on-evolution-and.html' title='How to configure IMAP on Evolution and Gmail'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-2045668925222862812</id><published>2007-10-16T17:26:00.000-07:00</published><updated>2007-10-16T17:46:32.099-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSH'/><title type='text'>How to simply transfer files to another PC via SSH</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Today I was trying to find a way of logging on my web server as root so I could transfer files to my ftp and web folders without having any permission problems.&lt;br /&gt;&lt;br /&gt;I usually do it through ftp as an ftp user. I transfer the files to the server, than I logon to a terminal via ssh and manually move all the files to the desired place. After that I still have to chown and chmod. It's not a lot of work, but I like making things simpler!! :)&lt;br /&gt;&lt;br /&gt;My server is on a DMZ, so I don't want to open access to any unnecessary port. I also limit a lot of the logins to my subnet so no one can access from the Internet.&lt;br /&gt;&lt;br /&gt;I really don't like scp for large files, so that was a no no.&lt;br /&gt;&lt;br /&gt;What I was trying to do was to enable root login to vsftpd and limit subnet login on hosts.deny hosts.allow. I went trough all the steps but them I could not get it to work.&lt;br /&gt;&lt;br /&gt;After asking for some help on  &lt;a href="http://ubuntuforums.org/"&gt;Ubntu forum&lt;/a&gt;, someone told me to try &lt;a href="http://fuse.sourceforge.net/sshfs.html"&gt;sshfs&lt;/a&gt; l, which depends on &lt;a href="http://fuse.sourceforge.net/"&gt;fuse&lt;/a&gt;. Both packages are easy to install. You can download a tar file and quickly compile it.&lt;br /&gt;&lt;br /&gt;Once I had it installed all I had to do was run the following codes to mount a server folder to a empty local folder and unmount respectively:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;# mount&lt;br /&gt;$ sshfs user@server:[remote folder] [local folder]&lt;br /&gt;# eg:&lt;br /&gt;$ sshfs root@myserver:/ /home/juanito&lt;br /&gt;&lt;br /&gt;# unmount&lt;br /&gt;$ fusermount -u &lt;local folder=""&gt;&lt;/local&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;It's pretty neat if you want to mount a remote folder trough SSH, but for me it was not yet what I needed. For some reason I did not have complete access. I could create folders, files and transfer the same anywhere but could not delete them. No deal!!&lt;br /&gt;&lt;br /&gt;After some more searching I found something that made feel stupid (in most cases the simpler is the best). All I had to do was enter the following on Nautilus address bar (Ctrl+L if you can't see it):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ssh://user@server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Shazam!!! I had now complete access to my folders. You can use the same method for ftp, smb and sftp protocols as well.&lt;br /&gt;&lt;br /&gt;If this is a server you use a lot you can even mount the login to your PC so you don't have to type the address all the time (yeah, I'm also lazy).&lt;br /&gt;&lt;br /&gt;Go to main gnome menu =&gt; Places =&gt; Connect to Server&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/sshfs/connect-to-server.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/sshfs/connect-to-server.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;remote folder=""&gt;&lt;local folder=""&gt;&lt;local folder=""&gt;&lt;br /&gt;Choose SSH&lt;br /&gt;&lt;br /&gt;&lt;/local&gt;&lt;/local&gt;&lt;/remote&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/sshfs/choose-ssh.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/sshfs/choose-ssh.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;remote folder=""&gt;&lt;local folder=""&gt;&lt;local folder=""&gt;&lt;br /&gt;Fill the fields:&lt;br /&gt;Server - Your SSH server IP&lt;br /&gt;Port - 22 (or other if you have changed)&lt;br /&gt;Username - Local username on the remote machine&lt;br /&gt;Name to use for connection - Human readable&lt;br /&gt;&lt;br /&gt;&lt;/local&gt;&lt;/local&gt;&lt;/remote&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/sshfs/fill-fields.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/sshfs/fill-fields.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;remote folder=""&gt;&lt;local folder=""&gt;&lt;local folder=""&gt;&lt;br /&gt;Now every time you login you'll see and icon on you desktop and your Nautilus side pane like this:&lt;br /&gt;&lt;br /&gt;&lt;/local&gt;&lt;/local&gt;&lt;/remote&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/sshfs/done.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/sshfs/done.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;remote folder=""&gt;&lt;local folder=""&gt;&lt;local folder=""&gt;&lt;br /&gt;The icon on your desktop can be removed using gconf, but that means that any mounted volume (eg: flash USB, CD) will not show on you desktop, but will on your "Computer" folder (and of course on your "/media" folder).&lt;br /&gt;&lt;br /&gt;So to remove the icon, open gconf editor (Alt+F2, enter gconf-editor), go to /apps/nautilus/desktop and uncheck "volumes_visible". You can also enable "computer_icon_visible" to have something similar to "My Computer" on Windows.&lt;br /&gt;&lt;br /&gt;&lt;/local&gt;&lt;/local&gt;&lt;/remote&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/sshfs/gconf.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/sshfs/gconf.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;remote folder=""&gt;&lt;local folder=""&gt;&lt;local folder=""&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;br /&gt;PS: the steps above for ssh access assume you have installed shh on the client and sshd on the remote PC&lt;br /&gt;&lt;/local&gt;&lt;/local&gt;&lt;/remote&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-2045668925222862812?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/2045668925222862812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=2045668925222862812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2045668925222862812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2045668925222862812'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/10/how-to-simply-transfer-files-to-another.html' title='How to simply transfer files to another PC via SSH'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-6478195708645531361</id><published>2007-10-11T07:07:00.000-07:00</published><updated>2007-10-14T12:00:23.512-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Tips'/><title type='text'>How to create command alias to save time on Ubuntu</title><content type='html'>&lt;span style="font-size:85%;"&gt;Do you have a long task (or line of command) that you run on your terminal window very frequently? If you do and want to save some time, this how to will for sure help you.&lt;br /&gt;&lt;br /&gt;Let's say you are always connecting to a remote computer via ssh, with some different parameters than the defaults. Lets say you usually run the code:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ ssh -v [user]@[ip or hostname] -p 2222&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;To save some time, you can also configure a "shortcut", or a alias, that when you type on the terminal window will call for the command above. Something like:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ connecthome&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The process is very simple. All you have to do is edit a file on your /home/user folder called ".bashrc". You can even add more options and edit some commands. For example, let's say you want Ubuntu to confirm that you want to delete a file every time you use "rm" on a terminal window (I did because I'm a noob, we make a lot of mistakes!). All you have to do is add the line:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;alias rm='rm -i'&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The "-i" sign means "interactive". Ubuntu will ask you to confirm that you really want the delete the file. Type "man rm" on a terminal window for more info.&lt;br /&gt;&lt;br /&gt;So here's what you should add to your .bashrc to achieve the modifications above:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;alias rm='rm -i'&lt;br /&gt;alias connecthome='$ ssh -v [user]@[ip or hostname] -p 2222'&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;First make sure you backup your .bashrc and them edit the main one:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo cp .bashrc .bashrc.bak&lt;br /&gt;$ sudo nano .bashrc&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Press Ctrl+x to save, and "y" to confirm overwrite. The change will only take effect after you login again. But you can always check on the another tty. Type Ctrl+Alt+F1, login with you username and password and try it out. To go back to X just type Ctrl+Alt+F7.&lt;br /&gt;&lt;br /&gt;Here's what a copy of my .bashrc looks like:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;# Basics&lt;br /&gt;alias cp='cp -v -i'&lt;br /&gt;alias rm='rm -i'&lt;br /&gt;alias mv='mv -i'&lt;br /&gt;alias utar='tar -xvf'&lt;br /&gt;alias utarz='tar -xzvf'&lt;br /&gt;alias tarz='tar -czvf'&lt;br /&gt;&lt;br /&gt;# Software Management&lt;br /&gt;alias aptl='sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install'&lt;br /&gt;alias update='sudo apt-get update'&lt;br /&gt;alias upgrade='sudo apt-get upgrade'&lt;br /&gt;alias inst='sudo apt-get install'&lt;br /&gt;alias apts='sudo apt-cache search'&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-6478195708645531361?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/6478195708645531361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=6478195708645531361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6478195708645531361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6478195708645531361'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/10/how-to-create-command-alias-to-save.html' title='How to create command alias to save time on Ubuntu'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-6277022926120199157</id><published>2007-10-03T13:22:00.000-07:00</published><updated>2007-10-14T11:57:34.133-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Instant Messaging'/><title type='text'>How to install Pidgin "guifications" on Edgy for NOOBS (like myself)</title><content type='html'>&lt;span style="font-size:85%;"&gt;After some looking on the Internet, I was a bit stressed as I was not able to find a how to install guifications for Pidgin on Edgy. There are many how to's install on Feisty, but none on Edgy. I was even able to get a .deb package from Ubuntu forum, but it was for Feisty and I did not have many of the lib files installed on my system.&lt;br /&gt;&lt;br /&gt;Apparently Edgy repos have not been updated with Pidgin (not sure if they will). There's an option to install Gaim guifications, but in my case I was already using Pidgin 2.2.0.&lt;br /&gt;&lt;br /&gt;The first thing you gotta do is download the tar file from guifications.org &lt;a href="http://plugins.guifications.org/trac/downloads"&gt;&lt;span style="text-decoration: underline;"&gt;here&lt;/span&gt;&lt;/a&gt;. Then run the commands:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;cd [folder where tar file was downloaded to]&lt;br /&gt;tar -xzvf [guifications-version.tar.gz]&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Once you untar it take a look at the INSTALL file. It has some important information. Now let's install the guifications:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;cd [folder tar created]&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;If everything went ok you should now be able to right click on the Pidgin icon on your notification area, choose plugins and you'll see the following window:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/pidgin/guification/Plugins.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/pidgin/guification/Plugins.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;This is where we can configure some (a lot) options for your guifications. Below are some screenshots of the menus you will find.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/pidgin/guification/config-general.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/pidgin/guification/config-general.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/pidgin/guification/confi-themes.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/pidgin/guification/confi-themes.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/pidgin/guification/config-notifications.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/pidgin/guification/config-notifications.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;The default theme that comes with guifications is pretty "dumb". It looks like this:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification2.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;But you can download some different and more interesting themes to spice things up a bit. Here are some sites where you can find more themes:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/search/?type_of_search=soft&amp;amp;words=pidgin+theme"&gt;- Sourceforge&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.gnome-look.org/content/search.php"&gt;- Gnome-Look.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And here are some screenshots from the themes I've downloaded:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification3.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification5.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification5.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/pidgin/guification/guification4.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Vic.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-6277022926120199157?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/6277022926120199157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=6277022926120199157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6277022926120199157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6277022926120199157'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/10/how-to-install-pidgin-guifications-on.html' title='How to install Pidgin &quot;guifications&quot; on Edgy for NOOBS (like myself)'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-6604412468647164404</id><published>2007-06-20T07:54:00.000-07:00</published><updated>2007-10-14T11:58:05.826-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Desktop Customization'/><title type='text'>How to Multiple Desktops on Windows (with VirtuaWin)</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;If you use Linux, one of the things you probably miss when using Windows is multiple desktops. At least that’s what I missed the most.&lt;br /&gt;&lt;br /&gt;I was looking for some applications that would let me do the same on Windows, and I stumbled on a couple cool softwares.&lt;br /&gt;&lt;br /&gt;The first one was from M$ itself, and is part of the Power Toys package. The group of software has some tools that are pretty neat. I will describe the ones I like on another post.&lt;br /&gt;&lt;br /&gt;The Virtual Desktop however sucks, as usual. It let’s you choose different wall paper for the 4 different desktops (like KDE), and has a nice option of viewing all 4 desktops in a view window like this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wazem.dyndns.org/temp/blog/virtual-dekstop/4-desktops.png" target="_blank"&gt;&lt;img src="http://wazem.dyndns.org/temp/blog/virtual-dekstop/4-desktops.png" border="0" height="156" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can choose the virtual desktop you want by pressing on of the 4 buttons on your taskbar:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/virtual-dekstop/buttons.png"&gt;&lt;img src="http://wazem.dyndns.org/temp/blog/virtual-dekstop/buttons.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The application itself is very unstable and extremely slow. You can not move windows from one desktop to the other. And if you like to separate specific application per desktop and the desktop manager crashes (which happens A LOT), you are pretty much f#@!. You’ll have to re-start the desktop manager and re-open all your applications in the proper order.&lt;br /&gt;&lt;br /&gt;After a quick research I stumbled on another program called &lt;a href="http://virtuawin.sourceforge.net/"&gt;VirtuaWin&lt;/a&gt;. It’s a bit complicated to use, but it’s stable, really fast and flexible.&lt;br /&gt;&lt;br /&gt;It doesn’t provide you with button to choose a desktop, but it does:       (correction, it does with the install of a module)&lt;br /&gt;. allow you to set key combination to invoke specific desktop;&lt;br /&gt;. move windows between desktops;&lt;br /&gt;. list open windows on all desktops;&lt;br /&gt;. move to next desktop by moving the mouse to any corner of the current desktop;&lt;br /&gt;. move to next desktop by right clicking icon on taskbar;&lt;br /&gt;. etc…&lt;br /&gt;&lt;br /&gt;The program presents you with an icon on the taskbar that looks like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/virtual-dekstop/icon.png"&gt;&lt;img src="http://wazem.dyndns.org/temp/blog/virtual-dekstop/icon.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can right click to get a menu or left click to get a list of open windows:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/virtual-dekstop/menu.png"&gt;&lt;img src="http://wazem.dyndns.org/temp/blog/virtual-dekstop/menu.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wazem.dyndns.org/temp/blog/virtual-dekstop/open-programs.png" target="_blank"&gt;&lt;img src="http://wazem.dyndns.org/temp/blog/virtual-dekstop/open-programs.png" border="0" height="148" width="291" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The setup window has a help menu that explains what each option is for. I found it very useful.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wazem.dyndns.org/temp/blog/virtual-dekstop/setup.png" target="_blank"&gt;&lt;img src="http://wazem.dyndns.org/temp/blog/virtual-dekstop/setup.png" border="0" height="192" width="300" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Anyway, I haven’t really “shopped” around for virtual desktop applications for Windows, but I was disgusted by M$ attempt and sold out to VirtuaWin.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-6604412468647164404?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/6604412468647164404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=6604412468647164404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6604412468647164404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/6604412468647164404'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/06/how-to-multiple-desktops-on-windows.html' title='How to Multiple Desktops on Windows (with VirtuaWin)'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-3288042559961086312</id><published>2007-06-11T12:05:00.000-07:00</published><updated>2007-10-14T11:58:46.649-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>How to bypass a proxy server with SSH</title><content type='html'>&lt;span style=";font-family:arial;font-size:85%;"  &gt;These steps will guide you on how to bypass a proxy server that may be blocking you from accessing that interesting web-site at work, school or wherever.&lt;br /&gt;&lt;br /&gt;Please note that I do not make myself responsible for the usage of this. Use it at your own risk of getting fired or expelled from school. Main thing, use it with responsibility.&lt;br /&gt;&lt;br /&gt;The steps of bypassing a web proxy are actually simple. This how to will enable you to even bypass socks proxies that need username and password, as long as they allow encrypted traffic over port 443 and/or 80.&lt;br /&gt;&lt;br /&gt;You are going to need:&lt;br /&gt;- A SSH server at the remote side (Windows or *nix)&lt;br /&gt;- A proxy server at the remote side (I’m using squid, which can be installed either on a *nix or Windows box) which can be the same as the SSH server&lt;br /&gt;- Port forwarding on you remote router (if applicable)&lt;br /&gt;- Address for the local (blocking) proxy server (can be easily discovered by opening a web browser, running “netstat -a” and looking for a established connection on port 8080)&lt;br /&gt;- Putty&lt;br /&gt;&lt;br /&gt;I’ll lay it out in steps to make it easier:&lt;br /&gt;&lt;br /&gt;1- Install Squid on the remote PC&lt;br /&gt;Download and install squid (either the Windows version or *nix). Make sure you know what port is open and change if necessary (default is 3128).&lt;br /&gt;&lt;br /&gt;Test it from another computer in the LAN or using 127.0.0.1:3128.&lt;br /&gt;&lt;br /&gt;2- Install SSH server on the remote PC. Configure the listening port and configure a user if required. Test it to confirm that it’s working.&lt;br /&gt;&lt;br /&gt;3- Configure port forwarding on your remote router to forward port we will use at your work (443 or 80) to the port the SSH server is listening to.&lt;br /&gt;&lt;br /&gt;4- Download &lt;/span&gt;&lt;a href="http://www.putty.nl/download.html"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;Putty.exe&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;.&lt;br /&gt;Now we need to configure it with all the required information for the connection.&lt;br /&gt;&lt;br /&gt;4.1 Open putty and fill out the “Host name” with your remote IP (home) and the port you will be connecting to your router or directly to the PC with SSH installed (port 80, 443…)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://wazem.dyndns.org/temp/blog/putty-remote-address.png"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;img style="margin: 0px auto 10px; display: block; width: 200px; text-align: center;" alt="" src="http://wazem.dyndns.org/temp/blog/putty-remote-address.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;4.2 On “Connection =&gt; Proxy” we need to enter the Proxy type, Proxy, Port, Username and Password. Remember that this information is for the proxy that we are trying to bypass&lt;br /&gt;- Proxy type - Could be HTTP, SOCKS 4, SOCKS 5&lt;br /&gt;- Proxy hostname - IP or hostname of the proxy&lt;br /&gt;- Port - Port used to connect to the proxy (remember the netstat command)&lt;br /&gt;- Username - Username that you usually input into IE when accessing the web&lt;br /&gt;- Password - Password you usually input into IE when accessing the web&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://wazem.dyndns.org/temp/blog/putty-proxy.png"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;img style="margin: 0px auto 10px; display: block; width: 200px; text-align: center;" alt="" src="http://wazem.dyndns.org/temp/blog/putty-proxy.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;br /&gt;&lt;br /&gt;4.3 Open “Connection =&gt; SSH =&gt; Tunnels” and enter the following rules.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://wazem.dyndns.org/temp/blog/putty-tunnel.png"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;img style="margin: 0px auto 10px; display: block; width: 200px; text-align: center;" alt="" src="http://wazem.dyndns.org/temp/blog/putty-tunnel.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;br /&gt;&lt;br /&gt;- Source port - Port you are going to use on your browser (I use 80)&lt;br /&gt;- Destination:port - LAN IP address of the Squid server and port that is listening to. If you are using one server as SSH and another as Squid, this must be the IP of the Squid server. Now if you are using the Squid server and the SSH in one PC, you need to do a loopback into the port that squid is listening to. Eg: 127.0.0.1:80&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://wazem.dyndns.org/temp/blog/putty-tunnel-added.png"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;img style="margin: 0px auto 10px; display: block; width: 200px; text-align: center;" alt="" src="http://wazem.dyndns.org/temp/blog/putty-tunnel-added.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;br /&gt;&lt;br /&gt;5 Configure your web-browser to send requests to the source port we configured on the previous step. I have downloaded a different browser (Opera) that I use to bypass the proxy.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://wazem.dyndns.org/temp/blog/browser-proxy.png"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;img style="margin: 0px auto 10px; display: block; width: 200px; text-align: center;" alt="" src="http://wazem.dyndns.org/temp/blog/browser-proxy.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;br /&gt;&lt;br /&gt;That’s it. You should now be able to access the blocked pages when putty is open and connected.&lt;br /&gt;&lt;br /&gt;Process Explanation:&lt;br /&gt;1- Browser sends a request to 127.0.0.1:80 (your PC)&lt;br /&gt;2- Putty listens to the request and binds local port 80 to remote address 127.0.0.1 on port 80&lt;br /&gt;3- Putty connects to the proxy and authenticates using username and password&lt;br /&gt;4- Proxy connects to address and port we configured on step 4.1 (your remote address)&lt;br /&gt;5- Your router accepts the request and forwards it to the port the SSH server is listening to&lt;br /&gt;6- A putty terminal window opens and asks for username and password for SSH server&lt;br /&gt;7- SSH server authenticates username and password and binds configuration from step 2&lt;br /&gt;8- Squid sends requests to the Internet and replies back to tunnel&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://wazem.dyndns.org/temp/blog/SSH_X_Proxy.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://wazem.dyndns.org/temp/blog/SSH_X_Proxy.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;All this process is encrypted starting from step 2, so local proxy is not aware of any of the information sent over the tunnel.&lt;br /&gt;&lt;br /&gt;There are also another 2 things that you might want to add for security and flexibility.&lt;br /&gt;&lt;br /&gt;=&gt; Security&lt;br /&gt;- Use a USB pen to store an RSA key, which can be used for authentication with your SSH server. You can them configure your SSH server to only accept connections if the key is provided.&lt;br /&gt;&lt;br /&gt;There are many how to’s on the Internet that show you how to do this. &lt;/span&gt;&lt;a href="http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;This&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt; one is a good tutorial for RSA and putty.&lt;br /&gt;&lt;br /&gt;- You can also CHROOT you SSH user. &lt;/span&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=248724&amp;amp;highlight=chroot"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;This&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt; is a good tutorial for Ubuntu.&lt;br /&gt;&lt;br /&gt;- If you decide to use CHROOT you can also limit WAN connections only for that limited CHROOT user. Take a look &lt;/span&gt;&lt;a href="http://www.linux1.ca/docs/limited_ssh.shtml"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;.&lt;br /&gt;&lt;br /&gt;=&gt; Flexibility&lt;br /&gt;- As you are using a USB pen, your configurations will be saved to the registry, and not your pen. You will have to reconfigure putty every time you connect to a different computer.&lt;br /&gt;&lt;br /&gt;A good idea would be to use a batch file that loads your configuration when you open putty, and deletes it when you close the connection, so no one has access to it. Check &lt;/span&gt;&lt;a href="http://www.tartarus.org/%7Esimon/putty-snapshots/htmldoc/Chapter4.html#config-file"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;this&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt; link.&lt;br /&gt;&lt;br /&gt;Have fun setting this up…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-3288042559961086312?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/3288042559961086312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=3288042559961086312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3288042559961086312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/3288042559961086312'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/06/how-to-bypass-proxy-server-with-ssh.html' title='How to bypass a proxy server with SSH'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-2224627480591502530</id><published>2007-06-09T22:58:00.000-07:00</published><updated>2007-10-14T11:59:42.753-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Coffee Break'/><title type='text'>Funny Phrases</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span&gt;&lt;span&gt;I'm going to post here some of weird and funny stuff I've heard on the past few years working on a call center. If you think you are crazy, wait till you read this. These are sentences that came out of peoples mouth during group conversations...&lt;br /&gt;&lt;br /&gt;- Amenizador de trauma da mucosa anal - Relief of trauma of the anal mucosa - Daniel&lt;br /&gt;- Se a minha vó tivesse saco seria o meu avo - If my grandma had balls she'd be my grandpa - Daniel&lt;br /&gt;- Uma mordidinha na bunda é gostoso - A little bite in the ass is good - Alkmim&lt;br /&gt;- Eu posso ser feio, mas na cama eu sou foda - I may be ugly, but I'm the shit in bed - Alkmim&lt;br /&gt;- I like facials!!!! (loud and enthusiastic) - Lucy&lt;br /&gt;- Gostaria de ouvir a sua cadela ladrar - I would like to rear you dog bark - Veiga&lt;br /&gt;- Procurei o seu nome, virei para o outro lado e nao encontrei - I looked for your name, turned around and could not find it - Lucy&lt;br /&gt;- A coisa que eu estou a perguntar, é duas - The thing I'm asking is two&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;Portuguese only&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;- 2 P de patos e um T de tatu mudo  - Maite&lt;br /&gt;- Obrigado por segurar aí as pontas - Daniel&lt;br /&gt;- Isso é uma sequência de momentos que têm de ser - Veiga&lt;br /&gt;- A sua cadela é macho ou fêmea? - Veiga&lt;br /&gt;- A linha está um bocado fraca&lt;br /&gt;- As ligações do brasil são um bocado chatas - Danny P.&lt;br /&gt;- Aguarde um segundo enquanto eu lhe arranjo um engenheiro de telefonia&lt;br /&gt;- Eu nao sei se estou confusado ou nao&lt;br /&gt;- Mas eu sou consideravelmente certo que escrevi...&lt;br /&gt;- Só vou meter voce a guardar pontas&lt;br /&gt;- Voce tem que instalaçar o software&lt;br /&gt;- Se alguma coisa acontecer, é só telefonar pa dentro&lt;br /&gt;- Faca maria faca - Kathleen&lt;br /&gt;- Quando falas com uma pessoa, tens de falar com a pessoa&lt;br /&gt;- Não se percebe.. é como 2 gregos a falar entre si&lt;br /&gt;- Ele foi-se permufar&lt;br /&gt;- Vamos estar em contato come você brevemente.Espero que vai estar tudo pronto hoje&lt;br /&gt;- O senhor manda pa dentro&lt;br /&gt;- Voce podiria abrir uma conta debaixo do seu nome&lt;br /&gt;- Depois de voce abrir o cadrastro - Andre&lt;br /&gt;- Quando as códias se tocam&lt;br /&gt;- Já foi á nossa 3com website?&lt;br /&gt;- Hub? É um hub? sabe o que é um hub? Eu vou-lhe dizer outra coisa completamente diferente&lt;br /&gt;- O senhor mandou a fonte feituosa&lt;br /&gt;- Falei com o nosso engenheiro de nota fiscal&lt;br /&gt;- Acredita que não passou aqui uma hora sem pensar em você, e como nos podemos assistir você&lt;br /&gt;- Como por nossa conversação, eu e-estou enviando-o esta e-mail.&lt;br /&gt;- Se você poderia e-mail mim toda a informação pertinente.&lt;br /&gt;- Codigo de fecho de correio = Codigo postal&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I'll keep updating this as I hear more an more stuff...&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-2224627480591502530?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/2224627480591502530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=2224627480591502530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2224627480591502530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/2224627480591502530'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/06/funny-phrases.html' title='Funny Phrases'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-397768251583479912</id><published>2007-06-08T13:05:00.001-07:00</published><updated>2007-10-14T11:59:03.678-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Media'/><title type='text'>Organizing all your audio with Jinzora</title><content type='html'>&lt;span style=";font-family:times new roman;font-size:85%;"  &gt;If you are like me and like to keep all your music stored on you PC for easy access, you are going to love this.&lt;br /&gt;&lt;br /&gt;I have all my music saved on my main PC (one of the 11). I’m kind of a neat freak when it comes to computers, so I keep it all organized by Genre =&gt; Artist =&gt; Album =&gt; Music.&lt;br /&gt;&lt;br /&gt;A while ago I was looking for a server type where I could store all my songs and have easy access from the network. That’s when I stumbled on Jinzora’s name on the Ubuntu forum. It’s a great application that let’s you import all your music information to a database (My SQL) and easy access it from anywhere with a browser (LAN or WAN). Here’s is some screen shots and a link for a &lt;a href="http://www.jinzora.com/demos/standalone/slick.php"&gt;live demo&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.jinzora.com/images/screens/themes/bluegray-medium.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://www.jinzora.com/images/screens/themes/bluegray-medium.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.jinzora.com/images/screens/themes/sandstone-medium.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://www.jinzora.com/images/screens/themes/sandstone-medium.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.jinzora.com/images/screens/themes/slick-medium.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://www.jinzora.com/images/screens/themes/slick-medium.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Some of the features included are:&lt;br /&gt;- Import music information by folder (like me) or by ID3;&lt;br /&gt;- Use different players, even a built in flash player (XSPF);&lt;br /&gt;- Download music;&lt;br /&gt;- Download album art;&lt;br /&gt;- Download lyrics;&lt;br /&gt;- Create users and playlists by users;&lt;br /&gt;- Play random cds, artists or songs;&lt;br /&gt;- Others&lt;br /&gt;&lt;br /&gt;I literally felt in love with the application. Requirements are not that high. Any old Pentium 3 PC is more than enough for an in-house streaming. I’m using a Pentium 3 (about 500MHz) and 384Kbps upload to my ISP. I was able to stream to 3 different users at the same time over the Internet with no problem.&lt;br /&gt;&lt;br /&gt;You will need a LAMP OS, which can be achieved easily with Ubuntu. Just follow the steps &lt;a href="http://www.ubuntugeek.com/build-low-cost-lamp-server-using-ubuntu-edgy-eft-in-about-15min.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Now configure your web server using the configuration files. I’m not going to get into that here.&lt;br /&gt;&lt;br /&gt;Once your server is up and running, web/php/mysql are installed, it’s time for us to create a user and database on MySQL. This can be done easily by using the following commands:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ mysql -u root&lt;br /&gt;mysql&gt; create database [database];&lt;br /&gt;mysql&gt; GRANT ALL PRIVILEGES ON [database].* TO '[user]'@'localhost'&lt;br /&gt;-&gt;     IDENTIFIED BY '[password]' WITH GRANT OPTION;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Copy all your media to a folder on the server. I actually bought a new HD and mounted it to fstab. I was stupid enough to buy an 80Gb HD, and I’m now getting close to being full. You can also mount a NFS or SMB share.&lt;br /&gt;&lt;br /&gt;After that, download Jinzora to your server (See Jinzora.com for download link) web root folder (usually /var/www), extract the tar.gz file, change the folder permission/ownership (to web user) and execute Jinzora:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo tar -xzvf [file]&lt;br /&gt;$ sudo chown -R www-data [jinzora folder]&lt;br /&gt;$ sudo chmod 777 [jinzora folder]&lt;br /&gt;$ sh configure.sh&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;You can now use a browser to access your install page, either from another PC or from the same (127.0.0.1/[Jinzora folder]). The installation is pretty straight forward from now on. It will give you information if something is wrong, which you can search on the web or on the &lt;a href="http://www.jinzora.com/forums/"&gt;Jinzora official forum&lt;/a&gt; for an answer.&lt;br /&gt;&lt;br /&gt;One common error msg will be in regards to your PHP configuration. It will show something in regards to this:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;max_execution_time:&lt;br /&gt;memory_limit:&lt;br /&gt;post_max_size:&lt;br /&gt;file_uploads:&lt;br /&gt;upload_max_filesize:&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;You can change these settings on “/etc/php5/apache2/php.ini”. Open:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ sudo nano /etc/php5/apache2/php.ini&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Press Ctrl+W to find value and change it to the value indicated on the web-based install page. Ctrl+x to save.&lt;br /&gt;&lt;br /&gt;If you are not sure about the “Create Database” field on step 6, just simply use drop and recreate (if it’s a new database).&lt;br /&gt;&lt;br /&gt;Don’t forget to delete the install file after you are done. Access the web page (computer address/Jinzora folder) in case you don’t know what the file is and Jinzora will remember you.&lt;br /&gt;&lt;br /&gt;Installation is done. Now we can tweak a bit of the options from the main Jinzora page.&lt;br /&gt;&lt;br /&gt;Go to the Jinzora page and logon using your admin password. Click on Admin Tools button (looks like a hammer and a screw driver), go to System Tools =&gt; Settings Manager =&gt; Main Settings =&gt; Playlist and add the value “xspf” to “embedded_player”.&lt;br /&gt;&lt;br /&gt;Another important thing to add (in my opinion) is album art. Admin Tools =&gt; Meta Data =&gt; Retrieve Meta Data.&lt;br /&gt;&lt;br /&gt;You can also add lyrics by going to Admin Tools =&gt; Meta Data =&gt; Retrieve Lyrics.&lt;br /&gt;&lt;br /&gt;You should now be set. Open a port on your router/firewall or just listen from anywhere on your LAN.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-397768251583479912?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/397768251583479912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=397768251583479912' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/397768251583479912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/397768251583479912'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/06/organizing-all-your-audio-with-jinzora.html' title='Organizing all your audio with Jinzora'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-4217568172777413065</id><published>2007-06-07T20:02:00.000-07:00</published><updated>2007-10-14T12:00:00.776-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSH'/><title type='text'>known_hosts Clean Up</title><content type='html'>&lt;span style=";font-family:times new roman;font-size:85%;"  &gt;Have you ever got the following message:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @&lt;br /&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!&lt;br /&gt;Someone could be eavesdropping on you right now (man-in-the-middle attack)!&lt;br /&gt;It is also possible that the RSA host key has just been changed.&lt;br /&gt;The fingerprint for the RSA key sent by the remote host is&lt;br /&gt;5c:9b:16:56:a6:cd:11:10:3a:cd:1b:a2:91:cd:e5:1c.&lt;br /&gt;Please contact your system administrator.&lt;br /&gt;Add correct host key in /home/user/.ssh/known_hosts to get rid of this message.&lt;br /&gt;Offending key in /home/user/.ssh/known_hosts:1&lt;br /&gt;RSA host key for [host or IP] has changed and you have requested strict checking.&lt;br /&gt;Host key verification failed.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;This usually means that the host IP or name is not matching the entry recorded on known_hosts file. This would be as easy as deleting the entry on the known_hosts file and try to reconnect, but apparantelly on Ubuntu, those entries are encrypted.&lt;br /&gt;&lt;br /&gt;This adds security, and if I'm not mistaken is also an option that can be configured on other distros.&lt;br /&gt;&lt;br /&gt;If you open you know_hosts file (~/.ssh/known_hosts) you'll see that it looks something like this:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;myserver1.com,64.2.5.111 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA11F&lt;br /&gt;V0EnGahT2EK8qElocjuHTsu1jaCfxkyIgBTlxlrOIR&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;[1]AAAB3NzaC1yc2EAAAABIwAAAIEA11FV&lt;br /&gt;0EnGahT2EK8qElocjuHTsu1jaCfxkyIgBTlxl&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;To get around this problem is very simple. All you have to do is issue the following command:&lt;br /&gt;&lt;br /&gt;1- This will delete the entry for the host&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ ssh-keygen -R [hostname or IP]&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;2- This will display the entry&lt;br /&gt;&lt;table bgcolor="#ffffcc" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;$ ssh-keygen -F [hostname or IP]&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Hope that was enough info. Let me know if you have any question or any corrections&lt;br /&gt;&lt;br /&gt;Vic.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-4217568172777413065?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/4217568172777413065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=4217568172777413065' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4217568172777413065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/4217568172777413065'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/06/knownhosts.html' title='known_hosts Clean Up'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7966727725512849871.post-445806984029497177</id><published>2007-06-06T12:23:00.000-07:00</published><updated>2007-06-06T12:53:16.897-07:00</updated><title type='text'>Welcome!!!</title><content type='html'>&lt;span style="font-family: arial;font-size:85%;" &gt;Hi all,&lt;br /&gt;&lt;br /&gt; Welcome to my blog!!! &lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: arial;"&gt;I hope you will enjoy your visit and find the information I post here useful (or at least of some use)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt; A little bit about me in case you don't know me. My name is Victor. I'm a Brazilian who's been living in Canada (Toronto area) since late 2000. I'm a single dad, born in 1981.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt; I've been working in the IT area for the past year. I'm currently working as Tech Support for 3Com call center.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt; I'm also a Linux noob and fanboy. Started using Linux (Ubuntu) on November 2006 as I was studying for my Network+ certification, and I've not been able to stop since them. I just love the operating system.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt; I spent a lot of my time playing on my computers at home, about 11 of them (&lt;/span&gt;&lt;a style="font-family: arial;" href="http://wazem.dyndns.org/temp/wazem-present-public.png"&gt;diagram&lt;/a&gt;&lt;span style="font-family: arial;"&gt;). They include BSD, Ubuntu and a few that are left of Windows.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt; Anyways.... I hope you enjoy.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;Vic.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7966727725512849871-445806984029497177?l=wazem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wazem.blogspot.com/feeds/445806984029497177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7966727725512849871&amp;postID=445806984029497177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/445806984029497177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7966727725512849871/posts/default/445806984029497177'/><link rel='alternate' type='text/html' href='http://wazem.blogspot.com/2007/06/welcome.html' title='Welcome!!!'/><author><name>Victor</name><uri>http://www.blogger.com/profile/04337112644900142867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_diRcWSYsSCI/TCqXYjmoTiI/AAAAAAAAbVI/Qinw2UkA9NM/S220/avatar.png'/></author><thr:total>0</thr:total></entry></feed>
