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

<channel>
	<title>gHacks technology news &#187; Advice</title>
	<atom:link href="http://www.ghacks.net/category/advice/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Wed, 25 Nov 2009 09:43:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use MP3 Diags in Linux to repair your MP3 collection</title>
		<link>http://www.ghacks.net/2009/11/24/use-mp3-diags-in-linux-to-repair-your-mp3-collection/</link>
		<comments>http://www.ghacks.net/2009/11/24/use-mp3-diags-in-linux-to-repair-your-mp3-collection/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 19:38:56 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music and Video]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[mp3 tags]]></category>
		<category><![CDATA[normalization]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=20546</guid>
		<description><![CDATA[Do you have a massive MP3 collection that contains files with problems? Don&#8217;t you wish you had a program that could search through that collection, find problems with those files, and fix the problems? Fortunately for all of your MP3 horders, there are programs for just that task. One of those programs, for the Linux [...]]]></description>
			<content:encoded><![CDATA[<p>Do you have a massive MP3 collection that contains files with problems? Don&#8217;t you wish you had a program that could search through that collection, find problems with those files, and fix the problems? Fortunately for all of your MP3 horders, there are programs for just that task. One of those programs, for the Linux operating system only, is MP3 Diags. This application is an open source app will serve as your one-stop shop to identify and repair over 50 different problems that can occur with MP3 files.</p>
<p>You might think, because of the nature of the task surrounding this tool, that MP3 Diags would be challenging to use. It&#8217;s not. In fact it&#8217;s quite simple to scan and repair your music collection. In this tutorial you will learn how to install and use MP3 Diags to diagnose and repair your broken MP3s.</p>
<p>NOTE: Martin covered using MP3 Diags for the Windows operating system in his article &#8220;<a title="Diagnose your MP3 collection with MP3 Diags" href="http://www.ghacks.net/2009/08/20/diagnose-your-mp3-collection-with-mp3-diag/" target="_blank">Diagnose your MP3 collection with MP3 Diags</a>&#8220;. Since there are issues to over come when using this application in the Linux operating system, I decided it was beneficial to cover it once again.</p>
<p><span id="more-20546"></span><strong>What can it fix?</strong></p>
<p>Some of the problems that MP3 Diags can repair are:</p>
<ul>
<li>Adding/fixing track info.</li>
<li>Correcting song duration times.</li>
<li>Correcting seek problems.</li>
<li>Renaming files based on fields.</li>
<li>Low quality audio.</li>
<li>Missing VBR header.</li>
<li>Missing normalization data.</li>
<li>and much more.</li>
</ul>
<p>Now before I continue on, I will tell you that MP3 Diags can be resource intensive. If your collection is large you can expect this to take some time. During an initial scan MP3 Diags was running at approximately 2,000 files every 15 minutes. You can do the math from there.</p>
<p><strong>Installing</strong></p>
<p>MP3 Diags should be found in your distributions repositories. If you are using Ubuntu you can either open up Synaptic or the Ubuntu Software Center, do a search for &#8220;mp3 diags&#8221; (no quotes) mark the application for installation, and apply the changes.</p>
<p>When the application is installed you will find it in your Sound &amp; Video menu entry.</p>
<p><strong>Usage</strong></p>
<p>When you first start up MP3 Diags a window will appear asking you to create a file which the application can save its configuration data. You can place this file anywhere you have write permission. In that same window you can set up a scan by including the directories you want to scan. In most modern Linux distributions you will find a <strong>~/Music</strong> directory. If you&#8217;re like me (and you like to keep everything well organized), you can just select that folder and begin the scan.</p>
<p>During the scan expect your machine to become a big sluggish. You might want to start the scan and walk away (to keep yourself from getting a wee frustrated). When the scan is over, the real fun begins.</p>
<p><strong>Scan results</strong></p>
<div id="attachment_20547" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-20547" href="http://www.ghacks.net/2009/11/24/use-mp3-diags-in-linux-to-repair-your-mp3-collection/mp3_diags_results/"><img class="size-medium wp-image-20547  " src="http://www.ghacks.net/wp-content/uploads/2009/11/mp3_diags_results-500x353.png" alt="Figure 1" width="180" height="127" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>Take a look at Figure 1.  What you are seeing is the results of a first-run scan containing over 2,000 audio files. Near the top (under the tool bar) is a listing of all the possible issues that each file contains. Let&#8217;s just look at one file. To show only one file highlight that file and click the &#8220;Show One Song At a Time&#8221; button (Sixth button from the left on the toolbar). I will select a file, downloaded and converted from Youtube, of Rush&#8217;s La Villa Strangiato. Obviously, since this was a download from Youtube, the audio quality is going to be poor. So let&#8217;s repair that as much as it is possible.</p>
<div id="attachment_20548" class="wp-caption alignright" style="width: 190px"><a rel="attachment wp-att-20548" href="http://www.ghacks.net/2009/11/24/use-mp3-diags-in-linux-to-repair-your-mp3-collection/mp3_diags_one_song/"><img class="size-medium wp-image-20548  " src="http://www.ghacks.net/wp-content/uploads/2009/11/mp3_diags_one_song-500x353.png" alt="Figure 2" width="180" height="127" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>Once you have your one file selected (see Figure 2) click the first work icon on the left (that&#8217;s the first hammer on the left) which is a drop-down. When you first click this you will get a warning that says &#8220;although this works on the developers&#8217; machine, it might not work on yours&#8221;. Take this as a caution and back up your files before you start working on them.</p>
<p>From the drop-down you will see numerous fixes for your file. However, instead of searching from the drop-down, you can hover your mouse over hammer icons labeled 1-4. Each of these contains a pre-configured set of fixes that allow you a single click to fix numerous, related issues on a file. For my poor audio quality file you can see it suffers from four issues:</p>
<ul>
<li>fa &#8211; No ID3V2.3.0 tag found</li>
<li>ea &#8211; ID3V2 tag doesn&#8217;t have APIC frame.</li>
<li>ab &#8211; Low quality MPEG audio stream.</li>
<li>an &#8211; No normalization undo data found.</li>
</ul>
<p>When you go to fix these problems you will instantly come across an issue when using MP3 Diags in Linux. MP3 Diags uses the application mp3gain to normalize mp3 files, which is not installed by default. And, to make matters worse, MP3 Diags does not install this dependency for you. So you will have to fire up Synaptic, search for &#8220;mp3gain&#8221; (no quotes), select the results for installation, and apply the changes.</p>
<p>Once mp3gain is installed you can now normalize with MP3 Diags.</p>
<p>Another issue, specific to Linux, is that if you want to configure MP3 Diags to not erase original files, but instead to move them to another directory, you will need to make sure you change the destination directories in the preferences window. By default all of the temporary directories are set to <strong>/tmp </strong>which you will have write access to, but if you want to archive that file you do not want it saved in the <strong>/tmp </strong>directory, because it will be deleted automatically. Different distributions handle this task differently &#8211; some clean up <strong>/tmp </strong>regularly, some upon reboot, some will empty a file in <strong>/tmp</strong> after it has gone untouched for a pre-determined span of time (usually 30 days). If you want to keep those original files around, you will want to reconfigure MP3 Diags to use a different directory than <strong>/tmp.</strong></p>
<p><strong>Final thoughts</strong></p>
<p>After running MP3 Diags on my music collection, I have found that all MP3 files do, in fact, sound better and have far fewer issues. You should definitely give this application a go if you have a collection of MP3s lying around in need of repair.</p>

	Tags: <a href="http://www.ghacks.net/tag/audio/" title="audio" rel="tag">audio</a>, <a href="http://www.ghacks.net/tag/mp3/" title="mp3" rel="tag">mp3</a>, <a href="http://www.ghacks.net/tag/mp3-tags/" title="mp3 tags" rel="tag">mp3 tags</a>, <a href="http://www.ghacks.net/tag/normalization/" title="normalization" rel="tag">normalization</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/08/03/winamp-auto-tagger/" title="Winamp Auto Tagger (August 3, 2008)">Winamp Auto Tagger</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/07/04/trout-is-a-lightweight-free-music-player/" title="Trout Is A Lightweight Free Music Player (July 4, 2009)">Trout Is A Lightweight Free Music Player</a> (2)</li>
	<li><a href="http://www.ghacks.net/2007/08/18/the-ultimate-way-to-tag-and-rename-mp3s/" title="The ultimate way to tag and rename mp3s (August 18, 2007)">The ultimate way to tag and rename mp3s</a> (20)</li>
	<li><a href="http://www.ghacks.net/2007/02/26/semi-automatic-mp3-tagger/" title="Semi-Automatic MP3 Tagger (February 26, 2007)">Semi-Automatic MP3 Tagger</a> (7)</li>
	<li><a href="http://www.ghacks.net/2007/02/09/record-sounds-from-any-source/" title="Record Sounds from any source (February 9, 2007)">Record Sounds from any source</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/24/use-mp3-diags-in-linux-to-repair-your-mp3-collection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Chrome OS: First looks, first impressions</title>
		<link>http://www.ghacks.net/2009/11/20/google-chrome-os-first-looks-first-impressions/</link>
		<comments>http://www.ghacks.net/2009/11/20/google-chrome-os-first-looks-first-impressions/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 18:13:42 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Browsing]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[google os]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18727</guid>
		<description><![CDATA[The very early stages of the REAL Google Chrome operating system has been released (and done so fully open sourced). It&#8217;s not an operating system you can (and should) be putting on a stand alone machine. Actually what has been released are VirtualBox and VMware images that can be booted in their respective virtual machines.
Martin [...]]]></description>
			<content:encoded><![CDATA[<p>The very early stages of the REAL Google Chrome operating system has been released (and done so fully open sourced). It&#8217;s not an operating system you can (and should) be putting on a stand alone machine. Actually what has been released are VirtualBox and VMware images that can be booted in their respective virtual machines.</p>
<p>Martin has posted his concerns about Chrome OS in his insightful &#8220;<a title="Google Chrome OS: My concerns" href="http://www.ghacks.net/2009/11/20/google-chrome-os-my-concerns/" target="_blank">Google Chrome OS: My concerns</a>&#8220;. I am in full accord with Martins&#8217; take on cloud computing. But instead of discussing my feelings on the cloud or why we need another OS, I thought it would be beneficial to take a look at a running instance of the Google Chrome OS. I will preface this by saying the OS is in the very early stages of development. But even with the early stages it is quite obvious where this fledgling operating system is heading.</p>
<p><span id="more-18727"></span><strong>Getting and &#8220;installing&#8221;</strong></p>
<p>In case you are interested in trying Chrome OS out you can with the help of either VirtualBox or VMware. Since we&#8217;ve covered VirtualBox here on Ghacks (read my article &#8220;<a title="Install VirtualBox with USB support" href="http://www.ghacks.net/2009/08/01/install-virtualbox-with-usb-support/" target="_blank">Install VirtualBox with USB Support</a>&#8221; to learn how to install VirtualBox) I will show you how to get Chrome running with that application.</p>
<p>After you have VirtualBox up and running you will need to download an image file to use. I have tried both the Chrome OS VirtualBox image and the VMware image on VirtualBox. The results of the VirtualBox image was a black screen that wouldn&#8217;t boot. The VMware image, however, was able to successfully boot. So it is my recommendation that you hop over to the <a title="Google Chrome on gdgt" href="http://gdgt.com/google/chrome-os/" target="_blank">Google Chrome page on Gdgt</a> and download the VMware image. You will have to register on the site in order to get to the downloads page.</p>
<p>The download is just over 300 MB and will come in zip form. After you unzip the file you will have a vmdk file ready to use. What you will need to do is move that file to your VirtualBox hard disk directory with the command:</p>
<p><em>mv *vmdk ~/.VirtualBox/HardDisks/</em></p>
<p>When that file is properly located you can then create a new virtual machine using that image as your hard disk.</p>
<p><strong>What you get</strong></p>
<div id="attachment_18740" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-18740" href="http://www.ghacks.net/2009/11/20/google-chrome-os-first-looks-first-impressions/google_chrome_os/"><img class="size-thumbnail wp-image-18740 " src="http://www.ghacks.net/wp-content/uploads/2009/11/google_chrome_os-300x300.png" alt="Figure 1" width="180" height="180" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>When Chrome OS boots (and it does so fairly quickly) you will be at a login prompt. It shouldn&#8217;t surprise you to find out the login/password is your <a href="http://www.ghacks.net/2009/02/09/gmail-90-tools-and-tips-to-make-you-a-gmail-pro/">GMail</a> username/password credentials. As you can see, in Figure 1, your Google Chrome OS experience will very closely resemble the experience you have in Google Chrome &#8211; the browser.</p>
<p>But what else can you do? So far not much. I have read about application panels, but it seems as if you have to have a google.com login to experience them. I am, sadly enough, only the holder of a gmail.com login so I can not witness, first hand, some of the other features of the OS. Without having that login there is so little to the OS, in its current state, that it seems nothing more than a web browser running without an apparent operating system (which I believe is the point).</p>
<p>One of the few features of the OS I have managed to find is the ability to pin a page to a tab. What this effectively does is allow you to create a tab dedicated to a page (or Google application). For example: If you use Calendar, Mail, and Documents frequently you could pin each of these tools to their own tabs so that, in order to use a tool, you only have to click that that tools&#8217; tab.</p>
<p>It should be pretty obvious what the intention of the Google Chrome OS is &#8211; a foolproof, web-based, single minded operating system who&#8217;s experience will only be as good as the applications available to it. This type of operating system seems as if it wants to take the metaphor of the mobile OS and put it square in the middle of your desktop. But with the way the web experience is growing vs. the computing habits of the average user &#8211; it makes perfect sense. You have a stripped down OS that can do everything you need to do without having anything on the periphery to confuse or confound the user.</p>
<p><strong>&#8220;Features&#8221;</strong></p>
<div id="attachment_18741" class="wp-caption alignleft" style="width: 510px"><a rel="attachment wp-att-18741" href="http://www.ghacks.net/2009/11/20/google-chrome-os-first-looks-first-impressions/nav_bar/"><img class="size-medium wp-image-18741" src="http://www.ghacks.net/wp-content/uploads/2009/11/nav_bar-500x18.png" alt="Figure 2" width="500" height="18" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>After playing around with the OS I have found a few features in place that are usable. You can add a compact navigation bar (see Figure 2). By default this bar (text area to the left in Figure 2) is not there. You have to click on the Options menu and select &#8220;Compact Nav Bar&#8221; for this to appear. But where is the Options menu? Take a look in Figure 2. The downward-pointing arrow in the far right corner is clicked in order to reveal the Options. You will be surprised to see that this menu is very similar to the Google Chrome Options menu.</p>
<p>As I mentioned earlier, you can pin a page to a tab. Say you use Gmail, Google Calendar, and Google Documents frequently. Instead of creating bookmarks for these pages, all you need to do is open that page up, right click the tab, and select Pin Tab. This will create a tab for that page (or App if you will). Now, as Google Chrome OS is very much in the early stages, these pinned tabs will disappear upon reboot.</p>
<p><strong>Final thoughts</strong></p>
<p>It&#8217;s only a start, but the Google Chrome OS has all of the underpinnings of something that could have remarkable impact on a very specific application. I wouldn&#8217;t necessarily suggest using this early release, but when it hits beta, it will certainly be worth a try.</p>

	Tags: <a href="http://www.ghacks.net/tag/chrome/" title="Chrome" rel="tag">Chrome</a>, <a href="http://www.ghacks.net/tag/google/" title="Google" rel="tag">Google</a>, <a href="http://www.ghacks.net/tag/google-os/" title="google os" rel="tag">google os</a>, <a href="http://www.ghacks.net/tag/operating-systems/" title="Operating Systems" rel="tag">Operating Systems</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/03/18/the-beta-is-back-for-google-chrome/" title="The beta is back for Google Chrome (March 18, 2009)">The beta is back for Google Chrome</a> (8)</li>
	<li><a href="http://www.ghacks.net/2008/10/24/google-chrome-installer-fails-with-error-4/" title="Google Chrome Installer fails with error 4 (October 24, 2008)">Google Chrome Installer fails with error 4</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/07/07/google-chrome-3-updated/" title="Google Chrome 3 Updated (July 7, 2009)">Google Chrome 3 Updated</a> (15)</li>
	<li><a href="http://www.ghacks.net/2008/09/03/chromatose/" title="Chromatose (September 3, 2008)">Chromatose</a> (13)</li>
	<li><a href="http://www.ghacks.net/2009/11/20/youtube-videos-get-automatic-captions-1080p-videos-roll-out/" title="Youtube Videos Get Automatic Captions. 1080p Videos Roll-Out (November 20, 2009)">Youtube Videos Get Automatic Captions. 1080p Videos Roll-Out</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/20/google-chrome-os-first-looks-first-impressions/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Take advantage of md5 checksums for download validity</title>
		<link>http://www.ghacks.net/2009/11/20/take-advantage-of-md5-cecksums-for-download-validity/</link>
		<comments>http://www.ghacks.net/2009/11/20/take-advantage-of-md5-cecksums-for-download-validity/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 22:53:31 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[check sum]]></category>
		<category><![CDATA[file downloads]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[secure downloads]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18689</guid>
		<description><![CDATA[I&#8217;m fairly confident that you have, at one time or another, run across an md5checksum file as you have perused the internet. Whether it was a download file or even an application upgrade, those md5 files are there for a reason. But just what is the reason?
When someone puts a file up on a server [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m fairly confident that you have, at one time or another, run across an md5checksum file as you have perused the internet. Whether it was a download file or even an application upgrade, those md5 files are there for a reason. But just what is the reason?</p>
<p>When someone puts a file up on a server for download, how does the host or the end-user know, for sure, the file they are about to download (or are serving up) is the valid file? What if someone hacked into the server and replaced the file with a bogus file that contained malicious code? It&#8217;s happened before and it will happen again. Fortunately there is a way to avoid downloading invalid files &#8211; checking the md5 hash. The only problem is that this method only works if the host and user knows how to use md5 tools. In this tutorial you will learn how to add an md5 checksum to a file and how to run a check on a file you have downloaded.</p>
<p><span id="more-18689"></span><strong>What is md5 and checksum?</strong></p>
<p>Before we continue with the actual steps, you might benefit from knowing exactly how the process of checksumming works. MD5 stands for Message Digest algorithm 5, which is a cryptographic 128 bit hash function and serves as a &#8220;fingerprint&#8221; for a digital file. A checksum is a fixed-size datum that is computed from a block of data. When it is crucial for a piece of data (such as a download) to be valid, the datum is compared to the original block the datum was computed from to check for a match. When an md5 checksum matches, the user/host can be certain the file is valid. When the md5 checksum does not match, a red flag should immediately go up and the original block of data should be discarded. If a file changes by so much as a byte, the checksum will fail.</p>
<p>For most users these tasks are handled from the command line. There are GUI tools available (such as GtkHASH) that can tackle the same tasks. But for the purposes of this tutorial we will stick with the command line tool.</p>
<p><strong>Creating an md5 sum</strong></p>
<p>For those who plan on hosting files for download, you will want to know how to create an md5 sum. This is very simple. Open up a terminal and change to the directory holding the file you want to work with. Say, for example, you want to create an md5 on the file <strong>/var/www/files/download.tgz</strong>. To do this you would change to the <strong>/var/www/files</strong> directory and issue the following command:</p>
<p><em>md5 download.tgz</em></p>
<p>The above command will output something like:</p>
<div>
<p><em>632668fb5bb3fe578033a42b4ba718f2  download.tgz</em></p>
<p>Now for those that are wanting to have an md5 checksum file available you can run that command and pipe the output to a file like so:</p>
<p>md5 download.tgz &gt; download.md5</p>
<p>Now you can upload the <strong>download.md5 </strong>file alongside the <strong>download.tgz </strong>file so the users can run a checksum.</p>
<p><strong>Running a checksum</strong></p>
<p>Now that you have both files, you want to run your checksum to make sure the .tgz file is the legitimate file. To do this you would issue the command:</p>
<p><em>md5sum  download.md5</em></p>
<p>The output of the above command should look familiar (if you created the md5sum):</p>
<p><em> 632668fb5bb3fe578033a42b4ba718f2  download.md5</em></p>
<p>Now run the md5sum command on the .tgz file like this:</p>
<p><em>md5sum download.tgz</em></p>
<p>The output should reveal the exact same string as shown above (the only difference being the file name will be different):</p>
<p><em>632668fb5bb3fe578033a42b4ba718f2  download.md5</em></p>
<p>If that string of characters isn&#8217;t the same, the checksum didn&#8217;t pass and you might be dealing with a corrupted file. In case of a corrupted file you will want to contact the host of the file or the developer. But if the strings match you know the checksum passed and the file should be safe to use.</p>
<p><strong>Final thoughts</strong></p>
<p>MD5 sums have been in use for quite some time. Whenever given the chance you should always take advantage of that system. Who knows, it might save you from installing a piece of malicious software some day.</p>
<div></div>
</div>

	Tags: <a href="http://www.ghacks.net/tag/check-sum/" title="check sum" rel="tag">check sum</a>, <a href="http://www.ghacks.net/tag/file-downloads/" title="file downloads" rel="tag">file downloads</a>, <a href="http://www.ghacks.net/tag/md5/" title="md5" rel="tag">md5</a>, <a href="http://www.ghacks.net/tag/secure-downloads/" title="secure downloads" rel="tag">secure downloads</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2007/12/24/verify-the-integrity-and-authenticity-of-files/" title="Verify the integrity and authenticity of files (December 24, 2007)">Verify the integrity and authenticity of files</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/01/12/verify-file-integrity-of-backups/" title="Verify File Integrity Of Backups (January 12, 2009)">Verify File Integrity Of Backups</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/02/07/theoretical-cryptography-part-i-md5/" title="Theoretical Cryptography Part I &#8211; MD5 (February 7, 2008)">Theoretical Cryptography Part I &#8211; MD5</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/07/13/how-to-download-files-from-the-internet-the-secure-way/" title="How To Download Files From The Internet The Secure Way (July 13, 2009)">How To Download Files From The Internet The Secure Way</a> (9)</li>
	<li><a href="http://www.ghacks.net/2006/04/09/clickcrypt-26/" title="ClickCrypt 2.6 (April 9, 2006)">ClickCrypt 2.6</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/20/take-advantage-of-md5-cecksums-for-download-validity/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Keep your Linux system up to date with KPackageKit</title>
		<link>http://www.ghacks.net/2009/11/17/keep-your-linux-system-up-to-date-with-kpackagekit/</link>
		<comments>http://www.ghacks.net/2009/11/17/keep-your-linux-system-up-to-date-with-kpackagekit/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 20:05:37 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Desktop Manager]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[packagkit]]></category>
		<category><![CDATA[repositories]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18610</guid>
		<description><![CDATA[As you have most likely seen on Ghacks, there are numerous ways to keep your Linux distributions up to date. There are new systems available such as the Ubuntu Software Center (see my article &#8220;The new Ubuntu Software Center&#8220;) that make installing software a piece of cake. But even with applications such as the USC [...]]]></description>
			<content:encoded><![CDATA[<p>As you have most likely seen on Ghacks, there are numerous ways to keep your Linux distributions up to date. There are new systems available such as the Ubuntu Software Center (see my article &#8220;<a title="The new Ubuntu Software Center" href="http://www.ghacks.net/2009/10/30/the-new-ubuntu-software-center/" target="_blank">The new Ubuntu Software Center</a>&#8220;) that make installing software a piece of cake. But even with applications such as the USC in place, there is still a need for other systems. Take, for instance, the USCs inability to install more than one package at a time&#8230;this is a big issue within the Linux community. Add to that the fact that there are many Linux users who prefer to stick with older, more proven technologies, and you can see why other installation tools remain.</p>
<p>One of those tools is PackageKit. PackageKit is a background service charged with updating and installing software on your computer. But because PackageKit itself is just a background service, it requires a front end so that end users can take advantage of the system. One very powerful front end is KPackageKit. KPackageKit is the KDE front end for PackageKit, whereas Gnome PackageKit is the GNOME front end (see my article &#8220;<a title="Installing applications in Linux with GNOME PackageKIT" href="http://www.ghacks.net/2008/12/24/installing-applications-in-linux-with-gnome-packagekit/" target="_blank">Installing applications in Linux with GNOME PackageKIT</a>.&#8221;)</p>
<p><span id="more-18610"></span></p>
<p>One of the things I like about KPackageKIT, over the Ubuntu Software Center, is that it can not only install applications, it can update your already installed applications. But unlike USC or Synaptic, you will have to know the name of the software package in order to find it. KPackageKIT does not show all software available. Instead you start up the tool with a blank slate and search for what you want to install. You can search by:</p>
<ul>
<li>Description.</li>
<li>File name.</li>
</ul>
<p>But you can also apply various filters to your search. Included search filters are:</p>
<ul>
<li>Collections.</li>
<li>Installed.</li>
<li>Development.</li>
<li>Graphical.</li>
<li>Free.</li>
</ul>
<p>Let&#8217;s take a look and see how software is installed with KPackageKIT.</p>
<p><strong>Starting KPackageKIT</strong></p>
<div id="attachment_18615" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-18615" href="http://www.ghacks.net/2009/11/17/keep-your-linux-system-up-to-date-with-kpackagekit/kde_menu/"><img class="size-thumbnail wp-image-18615 " src="http://www.ghacks.net/wp-content/uploads/2009/11/kde_menu-300x300.png" alt="Figure 1" width="180" height="180" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>You can start the application two ways: Command line or from the menu. To start from the command line hit &lt;Alt&gt;F2 to open the run dialog and enter the command <em>kpackagekit</em>. To start the tool from the KDE menu click on the menu, click on the Computer tab, and then click on the KPackageKIT entry (see Figure 1).</p>
<p>When KPackageKIT starts what you will see is a fairly simple interface (see Figure 2). From this window you are able to:</p>
<ul>
<li>Install software.</li>
<li>Update your system.</li>
<li>Configure KPakcageKIT.</li>
</ul>
<div id="attachment_18616" class="wp-caption alignright" style="width: 190px"><a rel="attachment wp-att-18616" href="http://www.ghacks.net/2009/11/17/keep-your-linux-system-up-to-date-with-kpackagekit/kpackagekit_install_scribus/"><img class="size-thumbnail wp-image-18616 " src="http://www.ghacks.net/wp-content/uploads/2009/11/kpackagekit_install_scribus-300x300.png" alt="Figure 2" width="180" height="180" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>Let&#8217;s install the Scribus DTP tool as an example. Follow these simple steps:</p>
<ol>
<li>Select Software Management.</li>
<li>Open up KPackageKIT and enter &#8220;scribus&#8221; (no quotes) in the search area.</li>
<li>Click the downward-pointing arrows of the software(s) you want to install.</li>
<li>Click Apply.</li>
<li>When the new window appears, click Install Now.</li>
<li>If dependencies are necessary, OK them.</li>
<li>Enter your sudo (or root &#8211; depending upon your distribution) password.</li>
<li>Wait for the installation to complete.</li>
<li>Click OK to dismiss the window.</li>
</ol>
<p>Updating your system with KPackageKIT is just as simple. Follow these steps:</p>
<ol>
<li>Open up KPackageKIT.</li>
<li>Click on the Software Update section.</li>
<li>If there are updates available, either select the updates you want to run or click the Select All Updates button.</li>
<li>Click Apply.</li>
<li>Enter your password.</li>
<li>Wait for the update to finish.</li>
<li>Click OK to dismiss the window.</li>
</ol>
<p><strong>Configuration</strong></p>
<p>From within the Configuration section there are a minimal number of options to configure. The primary configuration to take care of here is adding new software sources. To add a new repository follow these steps:</p>
<ol>
<li>Click on the Settings section.</li>
<li>Click the Edit Software Sources button.</li>
<li>Click on the Other Software tab.</li>
<li>Click on the Add button.</li>
<li>Enter the complete apt line for the source (not just the address).</li>
<li>Click OK to dismiss the address window.</li>
<li>Click Close to dismiss the Software Sources window.</li>
</ol>
<p>If you manually edit your <strong>/etc/apt/sources.list</strong> (or your Yum repository file &#8211; depending upon your distribution) these changes will appear in KPackageKIT.</p>
<p><strong>Final thoughts</strong></p>
<p>Although not perfect, KPackageKIT is certainly a viable solution for Linux software installation. If you need a simple KDE-based means of installing software, and do not want to use the command line, this tool might be just what you need.</p>

	Tags: <a href="http://www.ghacks.net/tag/apt/" title="apt" rel="tag">apt</a>, <a href="http://www.ghacks.net/tag/kde/" title="KDE" rel="tag">KDE</a>, <a href="http://www.ghacks.net/tag/packagkit/" title="packagkit" rel="tag">packagkit</a>, <a href="http://www.ghacks.net/tag/repositories/" title="repositories" rel="tag">repositories</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/17/where-do-i-find-linux-software/" title="Where do I find Linux software? (April 17, 2009)">Where do I find Linux software?</a> (9)</li>
	<li><a href="http://www.ghacks.net/2009/01/29/leave-no-trace-in-kde-with-sweeper/" title="Leave No Trace in KDE with Sweeper (January 29, 2009)">Leave No Trace in KDE with Sweeper</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/10/27/konqueror-tips-and-tricks/" title="Konqueror tips and tricks (October 27, 2009)">Konqueror tips and tricks</a> (2)</li>
	<li><a href="http://www.ghacks.net/2008/12/22/installing-linux-applications-with-aptitude/" title="Installing Linux applications with Aptitude (December 22, 2008)">Installing Linux applications with Aptitude</a> (12)</li>
	<li><a href="http://www.ghacks.net/2009/11/15/installing-kde-4-3-2-on-ubuntu/" title="Installing KDE 4.3.2 on Ubuntu (November 15, 2009)">Installing KDE 4.3.2 on Ubuntu</a> (9)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/17/keep-your-linux-system-up-to-date-with-kpackagekit/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Let Password Gorilla store all of your passwords</title>
		<link>http://www.ghacks.net/2009/11/17/let-password-gorilla-store-all-of-your-passwords/</link>
		<comments>http://www.ghacks.net/2009/11/17/let-password-gorilla-store-all-of-your-passwords/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 00:37:35 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Online Services]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[password encryption]]></category>
		<category><![CDATA[passwords]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18586</guid>
		<description><![CDATA[If you&#8217;re like me (and I know you are) you have an endless assortment of passwords stored in your head. And, again, if you&#8217;re like me your age is defying your memory such that your brain isn&#8217;t always so quick to recall that endless stream of random characters you have for passwords (and you know [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me (and I know you are) you have an endless assortment of passwords stored in your head. And, again, if you&#8217;re like me your age is defying your memory such that your brain isn&#8217;t always so quick to recall that endless stream of random characters you have for passwords (and you know they are random, because you are a geek after all).</p>
<p>So what do you do when you&#8217;re brain reaches critical mass for passwords? Simple, you let a single application store and encrypt them for you so all you need is a single password to access all of those crucial passwords. And what Linux distribution is without a tool (or twelve) to enable such a feature? One of those many tools is Password Gorilla. Password Gorilla manages your logins as well as all of your passwords for web sites, encrypted files, etc. But PG does more than just store those passwords. Password Gorilla makes logging in to various websites easy by copying and pasting your username/password to the clipboard. Those passwords are never revealed on the screen so you&#8217;re even safe from prying eyes. But how does it work? Let&#8217;s find out.</p>
<p><span id="more-18586"></span><strong>Installation</strong></p>
<p>Installing Password Gorilla is quite simple as you will most likely find it in your distributions&#8217; default repositories. In Ubuntu just fire up the Software Center enter the string &#8220;gorilla&#8221; (no quotes) in the search field, and install the resulting entry. That&#8217;s it.</p>
<p>To launch Password Gorilla click on KDE&#8217;s &#8220;K&#8221; menu and enter &#8220;password&#8221; (no quotes) in the search string, select the entry for Password Gorilla, and hit enter.</p>
<p>When you first start the application up you will be asked to select a password database. Well you can&#8217;t because you&#8217;ve not created one. So just click Cancel and the main window will open. The first step here is to create a new password database. To do this click the File menu and select New which will open up a new window asking for a password and a password confirmation. Make sure you use a strong password here because it will be the database containing your passwords. After you confirm your password click the OK button.</p>
<p><strong>Adding Logins</strong></p>
<p>The first thing you will want to do is to add a login. Now don&#8217;t confuse this login with your user account login. A login for PG is, for example, your login to your Slashdot account.</p>
<div id="attachment_18588" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-18588" href="http://www.ghacks.net/2009/11/17/let-password-gorilla-store-all-of-your-passwords/pg_login/"><img class="size-thumbnail wp-image-18588 " src="http://www.ghacks.net/wp-content/uploads/2009/11/pg_login-300x300.png" alt="Figure 1" width="180" height="180" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>To add a new login click on the Login menu and select Add Login. This will open up a new window (see Figure 1) where you will enter the details for your login.</p>
<p>You will notice, by default, when you enter a password it is visible. If you are a paranoid person, right before you enter the password, click the Hide Password button so your password will be obscured.</p>
<p>Once you have entered all of the details of the login click OK to save the new login details.</p>
<div id="attachment_18589" class="wp-caption alignright" style="width: 190px"><a rel="attachment wp-att-18589" href="http://www.ghacks.net/2009/11/17/let-password-gorilla-store-all-of-your-passwords/pg_added/"><img class="size-thumbnail wp-image-18589 " src="http://www.ghacks.net/wp-content/uploads/2009/11/pg_added-300x282.png" alt="Figure 2" width="180" height="169" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>Now if you look in the Login menu you will see the entry Add Group. Adding groups allows you to keep your various logins better organized. You can see, in Figure 2, I have created a group called &#8220;Work&#8221;.</p>
<p><strong>Using Password Gorilla</strong></p>
<p>Now let&#8217;s take a look at the real benefits of Password Gorilla. Go back to the main window and right click on one of your login entries. You will see a menu (see Figure 3) that allows you to copy username, password, and even URL to the clipboard.</p>
<div id="attachment_18592" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-18592" href="http://www.ghacks.net/2009/11/17/let-password-gorilla-store-all-of-your-passwords/pg_right_click/"><img class="size-thumbnail wp-image-18592 " src="http://www.ghacks.net/wp-content/uploads/2009/11/pg_right_click-300x258.png" alt="Figure 3" width="180" height="155" /></a><p class="wp-caption-text">Figure 3</p></div>
<p>In order to login to a website you have a login for follow these steps:</p>
<ol>
<li>Right click the login entry and select &#8220;Copy URL to clipboard&#8221;.</li>
<li>Go to your browser and click the middle mouse button (or click &lt;Ctrl&gt;v) to copy the URL to the browser address bar.</li>
<li>Go back to the Password Gorilla and right click the entry again and select &#8220;Copy username to clipboard&#8221;.</li>
<li>Go to your browser and click the spot where you would enter your username and either click the middle mouse button or click &lt;Ctrl&gt;v to paste the username.</li>
<li>Go back to Password Gorilla, right click the entry, and select &#8220;Copy password to clipboard&#8221;.</li>
<li>Go to your web browser and click the the spot where you would enter the password and either click the middle mouse button or click &lt;Ctrl&gt;v to paste the password.</li>
</ol>
<p>It sounds like a lot of steps, but it beats trying to remember numerous login credentials.</p>
<p><strong>Final thoughts</strong></p>
<p>When the amount of credentials you have exceeds your brains ability to remember, a handy tool like Password Gorilla comes in handy. But it&#8217;s not just about trying to remember, it&#8217;s also about keeping those password secure.</p>

	Tags: <a href="http://www.ghacks.net/tag/password-encryption/" title="password encryption" rel="tag">password encryption</a>, <a href="http://www.ghacks.net/tag/passwords/" title="passwords" rel="tag">passwords</a>, <a href="http://www.ghacks.net/tag/security/" title="Security" rel="tag">Security</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2006/05/27/ultra-high-security-password-generator/" title="Ultra High Security Password Generator (May 27, 2006)">Ultra High Security Password Generator</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/01/15/remove-stored-net-user-names-and-passwords/" title="Remove Stored .Net User Names and Passwords (January 15, 2008)">Remove Stored .Net User Names and Passwords</a> (2)</li>
	<li><a href="http://www.ghacks.net/2006/04/04/password-recovery-speeds/" title="Password Recovery Speeds (April 4, 2006)">Password Recovery Speeds</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/07/01/password-recovery-questions-make-online-accounts-vulnerable/" title="Password Recovery Questions Make Online Accounts Vulnerable (July 1, 2009)">Password Recovery Questions Make Online Accounts Vulnerable</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/07/17/log-into-websites-with-your-sites-url-and-openid/" title="Log in to websites with your site&#8217;s URL as your OpenID (July 17, 2009)">Log in to websites with your site&#8217;s URL as your OpenID</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/17/let-password-gorilla-store-all-of-your-passwords/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Installing KDE 4.3.2 on Ubuntu</title>
		<link>http://www.ghacks.net/2009/11/15/installing-kde-4-3-2-on-ubuntu/</link>
		<comments>http://www.ghacks.net/2009/11/15/installing-kde-4-3-2-on-ubuntu/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 01:06:56 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Desktop Manager]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[desktop manager]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[linux desktop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18507</guid>
		<description><![CDATA[KDE is not a desktop that should be overlooked. Not only did it completely redefine itself upon the launch of 4.x, it has added features that have made it unique in the land of desktops. But because KDE completely re-invented itself at version 4 it&#8217;s almost as if you have to consider this a completely [...]]]></description>
			<content:encoded><![CDATA[<p>KDE is not a desktop that should be overlooked. Not only did it completely redefine itself upon the launch of 4.x, it has added features that have made it unique in the land of desktops. But because KDE completely re-invented itself at version 4 it&#8217;s almost as if you have to consider this a completely new desktop. That should explain the landslide of problems that surrounded the Linux desktop until some of the more recent releases fixed many of the major issues. And although not as slick and clean as the latest releases of GNOME, KDE 4.3.2 has made plenty of strides forward to once again became an outstanding desktop environment for the Linux operating system.</p>
<p>The only problem you will find is that some of the many distributions do not ship with KDE installed. If you want KDE on these distributions you must install it. In this article I am going to walk you through the steps for installing the latest KDE on a Ubuntu system. Now you may be saying to yourself: &#8220;Why don&#8217;t I just install <a title="Kubuntu" href="http://www.kubuntu.org/" target="_blank">Kubuntu</a> and be done with it? That&#8217;s a good question. The answer? Most new users have no idea that Kubuntu even exists and will have already installed the GNOME-based Ubuntu. For those people who already have their Linux running, they might want to give the KDE desktop a try as well. That is where tutorials like this come in handy. And of course, once we get KDE installed, we will also take it one step further and install support for Compiz so you can have your 3D effects just like you can on GNOME.</p>
<p><span id="more-18507"></span><strong>Installation</strong></p>
<p>Unfortunately you can&#8217;t just open up the Ubuntu Software Center, do a search for KDE, and install. You will have to add repositories to you <strong>/etc/apt/sources.list </strong>file before you can run the installation command. Fortunately, this is as simple as issuing a few commands.</p>
<p>The first two commands you need to issue will add the proper repositories to your <strong>sources.list </strong>file. With the help of these commands you will not need to open that file up in an editor, as they will simply add the necessary lines for you. So open up a terminal window and issue these two commands (NOTE: Each command is one line long so just copy and paste each command, one at a time, into your terminal. After you copy one command hit enter and then copy paste the next command.):</p>
<p><code>sudo sh -c "echo 'deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu jaunty main' &gt;&gt; /etc/apt/sources.list"</code></p>
<p>and:</p>
<p><code>sudo sh -c "echo 'deb http://ppa.launchpad.net/kubuntu-ppa/staging/ubuntu jaunty main' &gt;&gt; /etc/apt/sources.list"</code></p>
<p>Now that you have the necessary lines you will need to add the correct GPG key with this command:</p>
<p><code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A</code></p>
<p>Finally, for the installation, issue the command:</p>
<p><code>sudo aptitude install kubuntu-desktop</code></p>
<p>This will require a fairly hefty download, so give this some time.  During the installation you will have to do one bit of configuration which is to choose your graphical login manager. I would suggest sticking with the GNOME login manager GDM.</p>
<p><strong>Compiz support</strong></p>
<p>Now it&#8217;s time to build in some Compiz support. You will find, after you install KDE that, no matter how you configure it, KDE will not work with Compiz &#8211; even if Compiz is working perfectly with GNOME. That is because you have to add KDE Compiz support. To do this issue the command:</p>
<p><em>sudo apt-get install compiz-kde</em></p>
<p>Once that installation has completed you will then need to open the Compiz Configuration Settings Manager (use the command <em>ccsm</em>) and then, under the General category, check the KDE Compatibility check box. You should now be good to go with both KDE and Compiz.</p>
<p><strong>Final thoughts</strong></p>
<p>Do not judge KDE 4.x on previous releases. You owe it to yourself and to the developers of KDE to give the 4.3 release a try. Once you do I think you will see it has matured quite a bit over the last year. And now, with the help of this tutorial, you can do just that.</p>

	Tags: <a href="http://www.ghacks.net/tag/desktop-manager/" title="desktop manager" rel="tag">desktop manager</a>, <a href="http://www.ghacks.net/tag/kde/" title="KDE" rel="tag">KDE</a>, <a href="http://www.ghacks.net/tag/linux-desktop/" title="linux desktop" rel="tag">linux desktop</a>, <a href="http://www.ghacks.net/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/08/choosing-the-right-distributio-will-ease-your-migration/" title="Choosing the right distribution will ease your migration (December 8, 2008)">Choosing the right distribution will ease your migration</a> (19)</li>
	<li><a href="http://www.ghacks.net/2009/10/30/with-ubuntu-9-10-arrives-wubi-9-10/" title="With Ubuntu 9.10 Arrives Wubi 9.10 (October 30, 2009)">With Ubuntu 9.10 Arrives Wubi 9.10</a> (2)</li>
	<li><a href="http://www.ghacks.net/2006/12/20/why-you-should-switch-your-parents-pc-to-ubuntu/" title="Why you should switch your parents pc to ubuntu (December 20, 2006)">Why you should switch your parents pc to ubuntu</a> (20)</li>
	<li><a href="http://www.ghacks.net/2009/04/02/which-ubuntu-derivative-is-right-for-you/" title="Which Ubuntu Derivative Is Right For You? (April 2, 2009)">Which Ubuntu Derivative Is Right For You?</a> (16)</li>
	<li><a href="http://www.ghacks.net/2009/10/06/what-makes-ubuntu-so-user-friendly/" title="What makes Ubuntu so user friendly? (October 6, 2009)">What makes Ubuntu so user friendly?</a> (47)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/15/installing-kde-4-3-2-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>GNOME Office: Is it a viable office suite?</title>
		<link>http://www.ghacks.net/2009/11/11/gnome-office-is-it-a-viable-office-suite/</link>
		<comments>http://www.ghacks.net/2009/11/11/gnome-office-is-it-a-viable-office-suite/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 17:43:45 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Desktop Manager]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Calc]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[MS Office]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[office suite]]></category>
		<category><![CDATA[powerpoint]]></category>
		<category><![CDATA[presents]]></category>
		<category><![CDATA[word]]></category>
		<category><![CDATA[writer]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18403</guid>
		<description><![CDATA[When you think about office suites, two names come to mind: Microsoft Office and OpenOffice. There is a good reason for that &#8211; they are the two powerhouses in the field. Of course there are alternatives. For Windows there is Softmaker Office and Lotus Symphony. For the Mac there is iWork. For Linux there is [...]]]></description>
			<content:encoded><![CDATA[<p>When you think about office suites, two names come to mind: Microsoft Office and OpenOffice. There is a good reason for that &#8211; they are the two powerhouses in the field. Of course there are alternatives. For Windows there is Softmaker Office and Lotus Symphony. For the Mac there is iWork. For Linux there is Softmaker Office, Lotus Symphony, KOffice and GNOME Office. Although the vast majority of Linux users depend upon OpenOffice for their office needs, the alternatives should not be overlooked.</p>
<p>But is GNOME office and alternative that you should overlook? More than likely most readers didn&#8217;t even know there was a <a title="GNOME Office" href="http://live.gnome.org/GnomeOffice" target="_blank">GNOME office</a>. And of those that have heard rumors of this suite, many probably didn&#8217;t even know it was ready for installation. It is. But the big question&#8230;is it worth try? In this article I will highlight the tools that make up GNOME Office and help you to decide if this suite is worth your time.</p>
<p><span id="more-18403"></span></p>
<p><strong>Installation</strong></p>
<p>The first thing I should bring up is the installation. Previous incarnations of GNOME Office required the user to install the pieces separately. That has changed and now you can open up the GNOME Software Center and follow these steps:</p>
<ol>
<li><span style="background-color: #ffffff">Search for &#8216;gnome office&#8221;.</span></li>
<li><span style="background-color: #ffffff">Select GNOME Office.</span></li>
<li><span style="background-color: #ffffff">Click the right-pointing arrow.</span></li>
<li><span style="background-color: #ffffff">Click the Install button.</span></li>
<li><span style="background-color: #ffffff">Enter your password.</span></li>
<li><span style="background-color: #ffffff">Sit back and watch the installation happen.</span></li>
</ol>
<p>What GNOME office installs is the following (some may already be installed):</p>
<ul>
<li><span style="background-color: #ffffff">Abiword: Word processor</span></li>
<li><span style="background-color: #ffffff">Gnumeric: Spreadsheet</span></li>
<li><span style="background-color: #ffffff">Evolution: Email, contacts, calendar</span></li>
<li><span style="background-color: #ffffff">Planner: Project manager</span></li>
<li><span style="background-color: #ffffff">Inkscape: Vector graphics</span></li>
<li><span style="background-color: #ffffff">XSane: Scanning</span></li>
</ul>
<p>There are other tools that are supposed to be included with GNOME Office, but are not installed:</p>
<ul>
<li><span style="background-color: #ffffff">Gnucash: Finances.</span></li>
<li><span style="background-color: #ffffff">gLables: Label designer</span></li>
<li><span style="background-color: #ffffff">Glom: Database designer.</span></li>
</ul>
<p>Why the above tools are listed on the GNOME Office official site and not installed I have no clue.  Of course those are simple enough to install, just by going to the Software Center and going through the same steps above.</p>
<p><strong>Value of the applications</strong></p>
<p>Instead of taking each piece apart and showing you how they work, I want to spend a little time on whether or not each application is a worthy usurper of your current tool. And since I do not know the tool you are using, the usurper is going to have to be pretty good.</p>
<p><strong>Abiword</strong>: I have always wanted to like Abiword. And, in some instances I do. But the problem is that Abiword really stinks at document exchange. Abiword&#8217;s idea of formatting doesn&#8217;t always gel with another Office Suite&#8217;s idea. But I will say that Abiword has come a long, long way. And if you are just needing a simple word processor that is lightweight and fast, Abiword is a great alternative. Does it match the skills of OpenOffice? Not so much.</p>
<p><strong>Gnumeric:</strong> Another tool that I have always wanted to like, but have been prevented from doing so because of its poor ability to work with other tools. Any spreadsheet that uses complex formulas or formatting will most likely wind up a bit of a mess in Gnumeric. But for basic spreadsheet use, Gnumeric will get the job done.</p>
<p><strong>Evolution: </strong>If you are looking for a groupware suite to take the place of MS Outlook, this is where you need to go. Evolution is, without question, the best groupware suite available for Linux. It&#8217;s power, easy to use, reliable, and includes everything you need for a groupware suite. This is, by far, the best tool of the GNOME Office suite.</p>
<p><strong>Planner</strong>: Because most office suites do not generally include a project management tool, planner is a surprising addition to the suite. Not only does planner bring a much needed tool to the office suite, it does so with aplomb.</p>
<p><strong>Inkscape: </strong>There is only one office suite that includes a vector graphics application &#8211; OpenOffice. Inkscape brings to GNOME Office one tool that the competition can not touch. Inkscape is the best vector graphics tool for the Linux operating system. There is, however, a rather steep learning curve that comes with using Inkscape. So don&#8217;t expect to just jump into this tool without any idea of what you are doing.</p>
<p><strong>XSane: </strong>You can read my article on Xscane (&#8221;<a title="Scanning in Linux with iScan and XSane" href="http://www.ghacks.net/2009/11/01/scanning-in-linux-with-iscan-and-xsane/" target="_blank">Scanning in Linux with iScan and XSane</a>.&#8221;) I think most readers will agree that XSane is an overly complex tool for a simple task. However, XSane can be made simple by simply closing all of the unnecessary windows.</p>
<p><strong>The verdict</strong></p>
<p>Although GNOME Office makes a valiant a<span style="background-color: #ffffff">ttempt at replacing your current office suite, it fails in too many categories to actually usurp the big dogs in this space. Now, if are in a situation where you are not having to trade documents with others and you do not need the power features of tools like Excel or Calc, and you don&#8217;t need a tool for presentations then GNOME Office might be your go-to suite of tools. Otherwise, stick with OpenOffice or MS Office.</span></p>
<p>What do you think? Is GNOME Office a worthy entry in the office suite category?</p>

	Tags: <a href="http://www.ghacks.net/tag/calc/" title="Calc" rel="tag">Calc</a>, <a href="http://www.ghacks.net/tag/excel/" title="excel" rel="tag">excel</a>, <a href="http://www.ghacks.net/tag/ms-office/" title="MS Office" rel="tag">MS Office</a>, <a href="http://www.ghacks.net/tag/office/" title="office" rel="tag">office</a>, <a href="http://www.ghacks.net/tag/office-suite/" title="office suite" rel="tag">office suite</a>, <a href="http://www.ghacks.net/tag/powerpoint/" title="powerpoint" rel="tag">powerpoint</a>, <a href="http://www.ghacks.net/tag/presents/" title="presents" rel="tag">presents</a>, <a href="http://www.ghacks.net/tag/word/" title="word" rel="tag">word</a>, <a href="http://www.ghacks.net/tag/writer/" title="writer" rel="tag">writer</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/06/30/remove-hidden-data-tool-for-office-2003-and-office-xp/" title="Remove Hidden Data tool for Office 2003 and Office XP (June 30, 2008)">Remove Hidden Data tool for Office 2003 and Office XP</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/09/18/office-web-apps/" title="Office Web Apps (to be) Included Free In Windows Live (September 18, 2009)">Office Web Apps (to be) Included Free In Windows Live</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/05/10/microsoft-office-add-ins-manager/" title="Microsoft Office Add-ins Manager (May 10, 2009)">Microsoft Office Add-ins Manager</a> (12)</li>
	<li><a href="http://www.ghacks.net/2009/09/19/how-to-join-the-microsoft-office-web-apps-technical-preview-right-now/" title="How To Join The Microsoft Office Web Apps Technical Preview Right Now (September 19, 2009)">How To Join The Microsoft Office Web Apps Technical Preview Right Now</a> (18)</li>
	<li><a href="http://www.ghacks.net/2008/06/16/go-oo-open-office-fork/" title="Go-OO Open Office Fork (June 16, 2008)">Go-OO Open Office Fork</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/11/gnome-office-is-it-a-viable-office-suite/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Apache troubleshooting tips</title>
		<link>http://www.ghacks.net/2009/11/08/apache-troubleshooting-tips/</link>
		<comments>http://www.ghacks.net/2009/11/08/apache-troubleshooting-tips/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 00:21:57 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache log]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[apache2ctl]]></category>
		<category><![CDATA[log files]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18266</guid>
		<description><![CDATA[How many times have you installed a LAMP server only to find Apache doesn&#8217;t seem to want to run right? Or you install a new module only to see Apache try to download pages as file, instead of displaying them on screen?
There are a hundred and one thousand things that can go wrong with any [...]]]></description>
			<content:encoded><![CDATA[<p>How many times have you installed a LAMP server only to find Apache doesn&#8217;t seem to want to run right? Or you install a new module only to see Apache try to download pages as file, instead of displaying them on screen?</p>
<p>There are a hundred and one thousand things that can go wrong with any web server installation. From a fresh installation to an installation that has been running for a long time, you never know when something is going to cause your web server to go astray. When it does happen, it&#8217;s always nice to know that, usually, Occam&#8217;s Razor applies.</p>
<p>In this tutorial you will find some advice that will help you through some of the more common issues that can pop up with an Apache web server.</p>
<p><span id="more-18266"></span><strong>Is your server actually running?</strong></p>
<p>Believe it or not, this has happened to plenty of administrators. You take the server down, do some maintenance, and when you go to check out the server you&#8217;re getting errors. The first thing you do, naturally, is check out that <strong>/etc/apache2/apache.conf</strong> file to make sure your syntax is correct. But it&#8217;s perfect! What&#8217;s up? The first thing you might want to check is to make sure the server is running. But you don&#8217;t want to just issue the command to start the server or reload the server. Instead, issue the command:</p>
<p><em>sudo /etc/init.d/apache2 status</em></p>
<p>Which should return something like:</p>
<p><em>* apache is running (pid 9751).</em></p>
<p>If not, start the server with either:</p>
<p><em>sudo /etc/init.d/apache2 start</em></p>
<p>or</p>
<p><em>sudo apache2ctl start</em></p>
<p>NOTE: If you are using a distribution like Fedora, SuSE, or Mandriva you will need to first <em>su </em>to the root user and issue the above commands WITHOUT using <em>sudo</em>.</p>
<p><strong>It&#8217;s not running and it won&#8217;t start</strong></p>
<p>Did you just make changes to your Apache configuration file? Are the changes correct? If you&#8217;re not sure, you can use the <em>apache2ctl </em>command to check the syntax of your configuration file. This is done with the command:</p>
<p><em>sudo apache2ctl configtext</em></p>
<p><em><span style="font-style: normal">The above command should report:</span></em></p>
<p><em><span style="font-style: normal">Syntax OK</span></em></p>
<p><em><strong><span style="font-style: normal"><span style="font-weight: normal">If you don&#8217;t get an OK, you will get information that points to the errors in your configuration file. </span></span></strong></em></p>
<p><em><strong><span style="font-style: normal"><span style="font-weight: normal"><strong>Apache wants to download .php files!</strong></span></span></strong></em></p>
<p><em><strong><span style="font-style: normal"><span style="font-weight: normal"><strong><span style="font-weight: normal">This is another common issue. When you add a new tool on your web server (such as Drupal), if your configuration file is set up properly, any .php file might not be displayed. Instead any attempt to view a .php file will instead have your browser trying to download the file. Why is this? Apache must be informed that certain extensions are to be displayed, not downloaded. This is done from within the Apache configuration file. Open up that file (in the Ubuntu server it will be </span>/etc/apache2/apache2.conf<span style="font-weight: normal">) and first look for the following line:</span></strong></span></span></strong></em></p>
<p><em><strong><span style="font-weight: normal"><strong><span style="font-weight: normal">DirectoryIndex index.html</span></strong></span></strong></em></p>
<p>If that file doesn&#8217;t include <em>index.php </em>nearly all sites that use php will be rendered useless.</p>
<p>The second line to look for is:</p>
<p><em>AddHandler application/x-httpd-php .php</em></p>
<p>If you find this line, and it is commented out, make sure you uncomment it by removing the &#8220;#&#8221; character. If it is not there add it to the bottom of the configuration file.</p>
<p>And, as always, when you make a change to the configuration file, restart Apache.</p>
<p><strong>Know where to look for problems</strong></p>
<p>Finally, it is crucial that you know where to first turn when the above doesn&#8217;t help you out. Any time I have an issue with Apache where Occam&#8217;s Razor does not apply, the first place I turn is the log files.</p>
<p>If you look in <strong>/var/log/apache2</strong> you will find, at least, the following files:</p>
<ul>
<li><span style="background-color: #ffffff">access.log: This keeps track of any connection made to your server.</span></li>
<li><span style="background-color: #ffffff">error.log: This keeps track of any errors that occur with Apache.</span></li>
<li><span style="background-color: #ffffff">other_vhosts_access.log: This is where virtual hosts will log when the virtual host has not been prescribed its own log file.</span></li>
</ul>
<p>Of course, as your site evolves so will your available log files. Regardless of what you find in <strong>/var/log/apache2</strong>, that is where you should always first turn when you have problems. Even before you google.</p>
<p><strong>Final thoughts</strong></p>
<p>Now you should be able to handle some of the more common issues with the Apache server. And if your problem isn&#8217;t common, you also know where to turn to find clues that will lead you down the right path to correction.</p>

	Tags: <a href="http://www.ghacks.net/tag/apache/" title="apache" rel="tag">apache</a>, <a href="http://www.ghacks.net/tag/apache-log/" title="apache log" rel="tag">apache log</a>, <a href="http://www.ghacks.net/tag/apache2/" title="apache2" rel="tag">apache2</a>, <a href="http://www.ghacks.net/tag/apache2ctl/" title="apache2ctl" rel="tag">apache2ctl</a>, <a href="http://www.ghacks.net/tag/log-files/" title="log files" rel="tag">log files</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/28/portable-web-server/" title="Portable Web Server (December 28, 2008)">Portable Web Server</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/09/17/local-apache-web-server-wampserver/" title="Local Apache Web Server Wampserver (September 17, 2009)">Local Apache Web Server Wampserver</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/07/23/how-to-install-a-lamp-server/" title="How to: Install a LAMP server (July 23, 2009)">How to: Install a LAMP server</a> (7)</li>
	<li><a href="http://www.ghacks.net/2007/01/31/host-your-own-webserver/" title="Host your own webserver (January 31, 2007)">Host your own webserver</a> (18)</li>
	<li><a href="http://www.ghacks.net/2009/03/29/wordpress-template-tags-you-should-know/" title="Wordpress template tags you should know (March 29, 2009)">Wordpress template tags you should know</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/08/apache-troubleshooting-tips/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Let Munin monitor your servers and network</title>
		<link>http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/</link>
		<comments>http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 19:50:59 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Network Monitoring]]></category>
		<category><![CDATA[system monitoring]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web monitoring]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18152</guid>
		<description><![CDATA[If you are looking for an easy to install, configure, and use systems monitor, look no further. The Munin is a network/systems monitor that presents all its data is easy to read graphs. Munin is setup as a server/client (or node) which makes this system very flexible. Munin also offers an extensive plugins library that [...]]]></description>
			<content:encoded><![CDATA[<p>If you are looking for an easy to install, configure, and use systems monitor, look no further. The Munin is a network/systems monitor that presents all its data is easy to read graphs. Munin is setup as a server/client (or node) which makes this system very flexible. Munin also offers an extensive plugins library that extends that flexibility to include the monitoring of many various systems and even applications.</p>
<p>And what&#8217;s best is you don&#8217;t have to jump through a bunch of hoops to get munin up and running. In this tutorial you will see how to get your Munin server up and running and monitoring your system and a sample client configuration that will monitor a client node. As you might expect, I will continue to build upon the Ubuntu Server series and install Munin on a Ubuntu 9.04 installation. NOTE: This same installation will work on Ubuntu 9.10 as well.<span id="more-18152"></span><strong>Server installation/configuration</strong></p>
<p>Installing Munin on the Ubunter server is simple. Open up a terminal window (or log into your server console) and issue the command:</p>
<p><em>sudo apt-get install munin </em></p>
<p>The above command will also install <em>munin-node</em> which is the client-side software. This is fine, so let it happen. Upon installation Munin will install the configuration files in <strong>/etc/munin,</strong> the executable in <strong>/etc/init.d/, </strong>and the web files in <strong>/var/www/munin</strong>.</p>
<p>The first thing that will need to be done is to configure your server correctly. Open up the <strong>/etc/munin/munin.conf</strong> file and look for this section:</p>
<p><code>dbdir     /var/lib/munin<br />
htmldir    /var/www/munin/<br />
logdir     /var/log/munin<br />
rundir     /var/run/munin</code></p>
<p>Out of the box, this will work just fine.  But if you have any other needs that would dictate any of these directives change, change them here.</p>
<p>The next section to look for is this:</p>
<p><code># a simple host tree<br />
[localhost.localdomain]<br />
address 127.0.0.1<br />
use_node_name yes</code></p>
<p>What the above section does is monitor the server Munin is installed on. This configuration only needs to change if you have specific requirements. Also, if you need to add a client (node), this is where you add it.</p>
<p>In order to instruct Munin to monitor a remote machine you need to add a new host tree. Say, for instance, you want to monitor a machine on the IP addres 192.168.1.150. To do this you would add:</p>
<p><code>[MACHINE NAME]<br />
address 192.168.1.150<br />
use_node_name yes</code></p>
<p>Where MACHINE NAME is a name to indicate the job (or user, or department, etc) of the machine.</p>
<p>Once you have these configurations and save the file. Now to move on to the <strong>/etc/munin/munin-node.conf</strong> file. There is only one configuration you would need to add in order to monitor nodes. Look for this line:</p>
<p><em>allow ^127\.0\.0\.1$</em></p>
<p>Beneath this line you will want to add (in order to enable our new node):</p>
<p><em>allow ^192\.168\.1\.1$</em></p>
<p>Save this file and restart the Munin server with the command:</p>
<p><em>/etc/init.d/munin restart</em></p>
<p><strong>Installing for client</strong></p>
<p>All you need to do for your client is to install the <em>munin-node</em> package. To do this issue the command:</p>
<p><em>sudo apt-get install munin-node</em></p>
<p>On the client machine. Now start munin-node with the command:</p>
<p><em>sudo /etc/init.d/munin-node start</em></p>
<p>Munin will begin to monitor this client now.</p>
<p><strong>The graphs</strong></p>
<p>When all is up and running, point your browser to http://ADDRESS_TO_SERVER/munin/</p>
<div id="attachment_18157" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-18157" href="http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/munin_overview/"><img class="size-thumbnail wp-image-18157 " src="http://www.ghacks.net/wp-content/uploads/2009/11/munin_overview-300x245.png" alt="Figure 1" width="180" height="147" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>Where ADDRESS_TO_SERVER is the actual address of the server. Very shortly after you install Munin you may only see a listing of the nodes being watched (see Figure 1). This is okay, it will take some time before data is actually collected.</p>
<p>After a while you will notice data collected and graphs developing. If you click on the <strong>localhost.localdomain</strong> link you will see data beginning to collect (see Figure 2).</p>
<p><strong> </strong></p>
<p><strong></p>
<div id="attachment_18158" class="wp-caption alignright" style="width: 310px"><a rel="attachment wp-att-18158" href="http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/munin_early_data/"><img class="size-thumbnail wp-image-18158" src="http://www.ghacks.net/wp-content/uploads/2009/11/munin_early_data-300x300.png" alt="Figure 2" width="300" height="300" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>Final thoughts</strong></p>
<p>Munin is a very powerful tool that allows you to gather crucial data about your systems and networks. Now that you have Munin installed and running you can begin to extend the server by adding more and more clients as well as plugins. You will quickly find Munin to be a very valuable tool for data analysis on your various systems and networks.</p>

	Tags: <a href="http://www.ghacks.net/tag/network-monitoring/" title="Network Monitoring" rel="tag">Network Monitoring</a>, <a href="http://www.ghacks.net/tag/system-monitoring/" title="system monitoring" rel="tag">system monitoring</a>, <a href="http://www.ghacks.net/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://www.ghacks.net/tag/web-monitoring/" title="web monitoring" rel="tag">web monitoring</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/06/08/how-to-install-nagios-on-ubuntu-server/" title="How to install Nagios on Ubuntu server (June 8, 2009)">How to install Nagios on Ubuntu server</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/10/30/with-ubuntu-9-10-arrives-wubi-9-10/" title="With Ubuntu 9.10 Arrives Wubi 9.10 (October 30, 2009)">With Ubuntu 9.10 Arrives Wubi 9.10</a> (2)</li>
	<li><a href="http://www.ghacks.net/2006/12/20/why-you-should-switch-your-parents-pc-to-ubuntu/" title="Why you should switch your parents pc to ubuntu (December 20, 2006)">Why you should switch your parents pc to ubuntu</a> (20)</li>
	<li><a href="http://www.ghacks.net/2009/04/02/which-ubuntu-derivative-is-right-for-you/" title="Which Ubuntu Derivative Is Right For You? (April 2, 2009)">Which Ubuntu Derivative Is Right For You?</a> (16)</li>
	<li><a href="http://www.ghacks.net/2009/10/06/what-makes-ubuntu-so-user-friendly/" title="What makes Ubuntu so user friendly? (October 6, 2009)">What makes Ubuntu so user friendly?</a> (47)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting services at boot in Linux</title>
		<link>http://www.ghacks.net/2009/11/04/starting-services-at-boot-in-linux/</link>
		<comments>http://www.ghacks.net/2009/11/04/starting-services-at-boot-in-linux/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 17:25:40 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[boot services]]></category>
		<category><![CDATA[init]]></category>
		<category><![CDATA[linux boot]]></category>
		<category><![CDATA[rc.local]]></category>
		<category><![CDATA[runlevels]]></category>
		<category><![CDATA[sysV]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18116</guid>
		<description><![CDATA[There are plenty of times when you may want to add a new service to start when your Linux machine boots. Or you may want to stop a service from starting upon boot. And, like nearly every aspect of Linux, there are many ways to deal with this scenario. And different distributions handle this in [...]]]></description>
			<content:encoded><![CDATA[<p>There are plenty of times when you may want to add a new service to start when your Linux machine boots. Or you may want to stop a service from starting upon boot. And, like nearly every aspect of Linux, there are many ways to deal with this scenario. And different distributions handle this in different ways. So what is the best way for you to manage this task?</p>
<p>Because different distributions handle this task differently, we will examine how Fedora (and friends) handle the task and how Ubuntu (and friends) handle the task. As well we will also examine a neutral method that can always work in a pinch. All three methods will be command line, so stretch out those fingers and get ready to type.</p>
<p><span id="more-18116"></span><strong>Fedora (and friends)</strong></p>
<p>The Fedora distribution uses the <em>chkconfig</em> command to update and query system run-level information for system services. The usage of this command is:</p>
<p><em>chkconfig OPTIONS SERVICE ON/OF</em></p>
<p>Where:</p>
<ul>
<li><span style="background-color: #ffffff">OPTIONS are the various options the command offers.</span></li>
<li><span style="background-color: #ffffff">SERVICE is the service you want to add at startup.</span></li>
<li><span style="background-color: #ffffff">ON/OFF is either on or off &#8211; depending on if you want the s<span style="background-color: #ffffff">ervice to start or not.</span></span></li>
</ul>
<p><span style="background-color: #ffffff">The confusion with the <em>chkconfig </em>command generally boils down to runlevel. The typical Linux runlevels are:</span></p>
<ul>
<li><span style="background-color: #ffffff">0 &#8211; Halt</span></li>
<li><span style="background-color: #ffffff">1 &#8211; Single user mode</span></li>
<li><span style="background-color: #ffffff">2 &#8211; Multi user mode</span></li>
<li><span style="background-color: #ffffff">3 &#8211; Multi user mode with networking</span></li>
<li><span style="background-color: #ffffff">4 &#8211; Not used</span></li>
<li><span style="background-color: #ffffff">5 &#8211; X11</span></li>
<li><span style="background-color: #ffffff">6 &#8211; Reboot</span></li>
</ul>
<p><span style="background-color: #ffffff">So with <em>chkconfig </em>you can also define at which point the service starts. So let&#8217;s say you want Apache to start at boot and you want it to start for levels 3, 4, and 5. For this you would issue the command (as the root user):</span></p>
<p><span style="background-color: #ffffff"><em>chkconfig &#8211;level 345 httpd on</em></span></p>
<p><span style="background-color: #ffffff">Now, if you don&#8217;t want Apache to run at boot you could issue the command:</span></p>
<p><span style="background-color: #ffffff"><em>chkconfig httpd off</em></span></p>
<p><span style="background-color: #ffffff">If you want to know what services are running at boot you can issue the command:</span></p>
<p><span style="background-color: #ffffff"><em>chkconfig &#8211;list</em></span></p>
<p><span style="background-color: #ffffff">The above command will list out all services that are starting at boot time.</span></p>
<p><span style="background-color: #ffffff"><strong>Ubuntu (and friends)</strong></span></p>
<p><span style="background-color: #ffffff">Ubuntu (and friends) takes a totally different route to the same destination. Instead of using <em>chkconfig </em>Ubuntu uses the <em>update-rc.d</em> command. This command makes things pretty simple. The command structure is:</span></p>
<p><em>update-rc.d SERVICE OPTIONS</em></p>
<p>Where OPTIONS are available options and SERVICE is the service you want to start.</p>
<p>With <em>update-rc.d</em> there is an option that makes it simple: <em>defaults.</em> So to add sshd to the start up process, you would issue the command:</p>
<p><em>sudo update-rc.d sshd defaults</em></p>
<p>To remove the same service from start up you would issue the following command:</p>
<p><em>sudo update-rc.d sshd remove</em></p>
<p>Now let&#8217;s take a look at a fail safe, nearly-universal method</p>
<p><strong>rc.local</strong></p>
<p>There is another means of getting a service to start. I recommend using either of the two above before you try this means. The <strong>rc.local</strong> file is a file that is executed at the end of the multiuser runlevel. By default, this script does nothing, but you can add to it so that it does.</p>
<p>Say you want Apache to start at boot up, and you want to do so from <strong>rc.local</strong>. You can do this by adding one of the following lines at the end of your <strong>/etc/rc.local</strong> file.</p>
<p>Fedora:</p>
<p><em>/etc/init.d/rc.d/httpd star</em>t</p>
<p>Ubuntu:</p>
<p><em>/etc/init.d/apache2 start</em></p>
<p>Save that file and you should be good to go. If you change your mind and do not want that service to start at boot, just remove the line you added.</p>
<p><strong>Final thoughts</strong></p>
<p>The above should allow you get that service that needs to start at boot working correctly. Make sure, however, you use the distribution-prescribed method before you use the <strong>rc.local</strong> method.</p>

	Tags: <a href="http://www.ghacks.net/tag/boot-services/" title="boot services" rel="tag">boot services</a>, <a href="http://www.ghacks.net/tag/init/" title="init" rel="tag">init</a>, <a href="http://www.ghacks.net/tag/linux-boot/" title="linux boot" rel="tag">linux boot</a>, <a href="http://www.ghacks.net/tag/rclocal/" title="rc.local" rel="tag">rc.local</a>, <a href="http://www.ghacks.net/tag/runlevels/" title="runlevels" rel="tag">runlevels</a>, <a href="http://www.ghacks.net/tag/sysv/" title="sysV" rel="tag">sysV</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/04/get-to-know-linux-the-etcinitd-directory/" title="Get To Know Linux: The /etc/init.d Directory (April 4, 2009)">Get To Know Linux: The /etc/init.d Directory</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/04/starting-services-at-boot-in-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Connect to your Samba server from Linux</title>
		<link>http://www.ghacks.net/2009/11/04/connect-to-your-samba-server-from-linux/</link>
		<comments>http://www.ghacks.net/2009/11/04/connect-to-your-samba-server-from-linux/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 23:03:42 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[samba shares]]></category>
		<category><![CDATA[smb.conf]]></category>
		<category><![CDATA[smbclient]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18072</guid>
		<description><![CDATA[I have written a few articles on Samba here on Ghacks. And most people know how to connect to Samba shares via Windows. Generally speaking (when all is set up correctly) it&#8217;s just a matter of opening up Explorer and entering \\ADDRESS_OF_SAMBA_SERVER\SHARENAME to get to your Samba shares. But what about in Linux? How do [...]]]></description>
			<content:encoded><![CDATA[<p>I have written a few articles on Samba here on Ghacks. And most people know how to connect to Samba shares via Windows. Generally speaking (when all is set up correctly) it&#8217;s just a matter of opening up Explorer and entering \\ADDRESS_OF_SAMBA_SERVER\SHARENAME to get to your Samba shares. But what about in Linux? How do you go about connecting to Samba shares with the same operating system that is running the Samba server?</p>
<p>One would think that an easy task. It actually is, once you know how it is done.  And in this article I am going to show you two different ways of making the connection to your Samba server. You will need to have a working knowledge of how the Samba server is set up as well as a username/password configured on the Samba server. There are also a few steps to take on the desktop for one certain method of connection.</p>
<p>The two methods I will describe are: Using GNOME&#8217;s Connect To Server dialog and the command line. The latter will be used to show you how to set up auto mounting for Samba.</p>
<p><span id="more-18072"></span></p>
<p><strong>The graphical method</strong></p>
<div id="attachment_18074" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-18074" href="http://www.ghacks.net/2009/11/04/connect-to-your-samba-server-from-linux/connect_to_server/"><img class="size-thumbnail wp-image-18074 " src="http://www.ghacks.net/wp-content/uploads/2009/11/connect_to_server-300x300.png" alt="Figure 1" width="180" height="180" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>If you take a look at the GNOME Places menu you will see an entry labeled &#8220;Connect to server&#8230;&#8221;. This is what you want to use in order to connect to your Samba server. When you click on that a new window will open. From the Service type drop-down select &#8220;Windows share&#8221; (see Figure 1).</p>
<p>When you select that entry some of the configuration options will change. As you can see (in Figure 1), I have entered the necessary options to connect to a Samba server on my internal network. You will want to replace the information so it reflects your needs. The only tricky bit of information might be the Folder entry. If you are connecting to the root directory on the share you will not need to enter anything there. Say, for instance, you share is <strong>/media/samba/user<em>. </em><span style="font-weight: normal">If you want to connect to that directory leave the Folder entry blank. Say, however, you want to connect directly to a sub-folder within that share &#8211; you can enter that folder here. This, of course, isn&#8217;t needed because you can always traverse the sub-directories with simple navigation. <span style="background-color: #ffffff"><strong><span style="font-weight: normal">You can also choose to add a bookmark instantly, from in this window. </span></strong></span></span></strong></p>
<p><strong><span style="font-weight: normal"><span style="background-color: #ffffff"><strong><span style="font-weight: normal"> </span></strong></span></span></strong></p>
<p><strong><strong> </strong></strong></p>
<p><strong><strong> </strong></strong></p>
<div id="attachment_18075" class="wp-caption alignright" style="width: 190px"><a rel="attachment wp-att-18075" href="http://www.ghacks.net/2009/11/04/connect-to-your-samba-server-from-linux/connect_to_server_password/"><img class="size-thumbnail wp-image-18075 " src="http://www.ghacks.net/wp-content/uploads/2009/11/connect_to_server_password-300x300.png" alt="Figure 2" width="180" height="180" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>Once you have all of the information entered click Connect and you will be greeted with a new window that requires you to enter a password. Also, if you do not supply a Domain name in the previous window, you will be required to enter it here.</p>
<p>You can also set this up to remember your password either until you logout or until, well, forever. Once you have entered the password/domain click the Connect button and a new Nautilus window will open inside of your Samba Share.</p>
<p><strong>Using the command line</strong></p>
<p>Now we&#8217;re going to use the command line to accomplish a similar goal. The biggest difference is that we are going to actually mount the Samba share into another directory, very much the same way we would mount a second hard drive.</p>
<p>There are a few pieces to put together before we actually take care of the mounting. First let&#8217;s create a directory that the Samba share will be mounted to. So from the terminal window issue the following command:</p>
<p><em>sudo mkdir /media/samba</em></p>
<p>Now let&#8217;s make sure our users can read/write to this directory with the command:</p>
<p><em>sudo chmod -R u+rw /media/samba</em></p>
<p>Okay now let&#8217;s make sure we can see the Samba shares from the command line. We&#8217;ll do that with the <em>smbclient </em>command like so:</p>
<p><em>smbclient -L //SAMBA_SERVER_ADDRESS</em></p>
<p>Where <em>SAMBA_SERVER_ADDRESS</em> is the actual IP address of the Samba server.</p>
<div id="attachment_18089" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-18089" href="http://www.ghacks.net/2009/11/04/connect-to-your-samba-server-from-linux/smbclient/"><img class="size-thumbnail wp-image-18089 " src="http://www.ghacks.net/wp-content/uploads/2009/11/smbclient-300x300.png" alt="Figure 3" width="180" height="180" /></a><p class="wp-caption-text">Figure 3</p></div>
<p>You will be prompted for your username and password. If you get an error it could be that the usernames don&#8217;t match on each end. If that&#8217;s the case you could add the <em>-U </em>switch to the command like so:</p>
<p><em>smbclient &#8211;user=jlwallen -L  //SAMBA_SERVER_ADDRESS</em></p>
<p>You should see output similar to that shown in Figure 3.</p>
<p>Now it&#8217;s time to try to mount the Samba share to the <strong>/media/samba</strong> directory. To do this issue the command:</p>
<p><em>sudo mount -t cifs //SAMBA_SERVER_ADDRESS/SHARE -o username=USERNAME /media/samba/</em></p>
<p>Where:</p>
<ul>
<li><span style="background-color: #ffffff">SAMBA_SERVER_ADDRESS is the IP address of the Samba server.</span></li>
<li><span style="background-color: #ffffff">SHARE is the share name.</span></li>
<li><span style="background-color: #ffffff">USERNAME is the username to connect with.</span></li>
</ul>
<p>If that works you can now make this an automated mount by adding the following line to your <strong>/etc/fstab</strong> file:</p>
<p><code>//SAMBA_SERVER_ADDRESS/SHARE     /media/samba    cifs  credentials=/etc/samba/user.cred 0 0 </code></p>
<p>Where SAMBA_SERVER_ADDRESS is the IP address of the Samba server and SHARE is the share name.</p>
<p>Notice the user.cred file. This is one last thing we need to create. With your text editor create this file and place into it:</p>
<p><em>username=USER</em></p>
<p><em>password=PASSWORD</em></p>
<p>Where USER is the username to log in with and PASSWORD is the password to use for authentication. The final step is the give this new file the proper permissions with the command:</p>
<p>sudo chmod 600 /etc/samba/user.cred</p>
<p>You can ensure this works by issuing the command <em>mount -a</em> which should mount your Samba share.</p>
<p><strong>Final thoughts</strong></p>
<p>You should now have an auto-mounting Samba share &#8211; or the ability to easily connect your GNOME desktop to a Samba share. Samba is a very powerful tool that not only can share files with Windows machines, but with Linux machines as well.</p>

	Tags: <a href="http://www.ghacks.net/tag/gnome/" title="GNOME" rel="tag">GNOME</a>, <a href="http://www.ghacks.net/tag/samba/" title="samba" rel="tag">samba</a>, <a href="http://www.ghacks.net/tag/samba-shares/" title="samba shares" rel="tag">samba shares</a>, <a href="http://www.ghacks.net/tag/smbconf/" title="smb.conf" rel="tag">smb.conf</a>, <a href="http://www.ghacks.net/tag/smbclient/" title="smbclient" rel="tag">smbclient</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/09/04/set-up-your-new-ubuntu-server-as-a-samba-server/" title="Set up your new Ubuntu Server as a Samba Server (September 4, 2009)">Set up your new Ubuntu Server as a Samba Server</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/02/06/get-to-know-linux-understanding-smbconf/" title="Get To Know Linux: Understanding smb.conf (February 6, 2009)">Get To Know Linux: Understanding smb.conf</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/04/19/auto-mounting-a-samba-share-in-linux/" title="Auto mounting a Samba share in Linux (April 19, 2009)">Auto mounting a Samba share in Linux</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/11/24/walk-through-installation-of-opensuse-11-2/" title="Walk-through installation of OpenSuSE 11.2 (November 24, 2009)">Walk-through installation of OpenSuSE 11.2</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/04/03/simple-gnome-note-taking-with-tomboy/" title="Simple GNOME Note Taking with Tomboy (April 3, 2009)">Simple GNOME Note Taking with Tomboy</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/04/connect-to-your-samba-server-from-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Scanning in Linux with iscan and XSane</title>
		<link>http://www.ghacks.net/2009/11/01/scanning-in-linux-with-iscan-and-xsane/</link>
		<comments>http://www.ghacks.net/2009/11/01/scanning-in-linux-with-iscan-and-xsane/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 15:04:58 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Espon]]></category>
		<category><![CDATA[flatbed scanners]]></category>
		<category><![CDATA[linux scanning]]></category>
		<category><![CDATA[scanning]]></category>
		<category><![CDATA[usb scanners]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=17986</guid>
		<description><![CDATA[If you are one of those that depends upon a scanner for your daily work, and you want to handle this task using the Linux operating system, you are in luck. In the past, Linux has had some serious issues with scanning tools. When USB scanners replaced the old parallel port scanners it seemed nothing [...]]]></description>
			<content:encoded><![CDATA[<p>If you are one of those that depends upon a scanner for your daily work, and you want to handle this task using the Linux operating system, you are in luck. In the past, Linux has had some serious issues with scanning tools. When USB scanners replaced the old parallel port scanners it seemed nothing would work. But, as usual, Linux caught up and USB scanner support started appearing. Now many scanners are supported under Linux and the tools available for scanning have improved greatly. The improvements in scanner support have been made possible by the <a title="Sane Project" href="http://www.sane-project.org" target="_blank">Sane Project</a>.</p>
<p>The first thing you will want to do is check the <a title="Supported Scanners" href="http://www.sane-project.org/sane-mfgs.html#SCANNERS" target="_blank">Sane supported scanner listing</a> on the Sane Project site. But don&#8217;t let your scanner not being on that list stop you. My Epson Perfection V30 was not on the list and I still managed to get it working with the help of iscan. The iscan package is a simple scanning tool for Epson scanners.  You can find the iscan tool within Synaptic. The iscan tool also integrates perfectly into The GIMP, so all your image needs can be met within one tool. But iscan is not the only option. There is also the Xsane tool, which is far more powerful than iscan. Let&#8217;s take a look at both of these scanning utilities to see how scanning is handled under the Linux operating system.</p>
<p><span id="more-17986"></span>NOTE: This article is not going to cover getting your scanner to work under Linux. If your scanner is not listed in the Sane hardware listing, your best bet is to google your model numer and your distribution. For example, in my case I would google <em>epson perfection v30 ubuntu 9.10</em>. You should come up with results that will tell you what approximate drivers to use to get your scanner working.</p>
<p><strong>iscan</strong></p>
<div id="attachment_17989" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-17989" href="http://www.ghacks.net/2009/11/01/scanning-in-linux-with-iscan-and-xsane/iscan/"><img class="size-thumbnail wp-image-17989" src="http://www.ghacks.net/wp-content/uploads/2009/11/iscan-300x300.png" alt="Figure 1" width="180" height="180" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>We&#8217;ll first look at iscan. This tool is, by far, the easier of the two tools to use. And, like its bigger brother XSane, it integrates perfectly with The GIMP. That doesn&#8217;t mean you have to use iscan from within The GIMP. Once installed you will find iscan within the Graphics sub menu of the Applications menu. The entry will be called &#8220;Image Scan!&#8221; (No quotes). Or, if you&#8217;d rather, you can start iscan from within The Gimp by going to the File menu, then to the Create sub menu, and selecting the &#8220;Scanning (iscan)&#8221; entry. Both will start the iscan interface.</p>
<p>When you fire up iscan you will notice how simple the interface is (see Figure 1). This scanner utility is just as easy to use as any Windows or Mac utility. The only configuration option for iscan is your print command. That is how simple this tool is.</p>
<p>With your picture in your scanner hit the Preview button to first get a preview of your image. Once the image is up you can then select the portion of the image you want to scan, select the Destination (either file or printer), and click the Scan button. When you click the Scan button you will be asked to give the file a name. The scanner will then do it&#8217;s job and save the file for you. It&#8217;s that simple.</p>
<p><strong>XSane</strong></p>
<div id="attachment_17992" class="wp-caption alignright" style="width: 190px"><a rel="attachment wp-att-17992" href="http://www.ghacks.net/2009/11/01/scanning-in-linux-with-iscan-and-xsane/xsane/"><img class="size-thumbnail wp-image-17992" src="http://www.ghacks.net/wp-content/uploads/2009/11/xsane-300x300.png" alt="Figure 2" width="180" height="180" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>XSane can be found in your distributions repositories. So whether you use Ubuntu or Fedoar (or anything in between), you should be able to open up your distributions Add/Remove Software tool and find XSane easily. XSane, like iscan, is a graphical frontend for the Sane project. But XSane is a bit more serious of a tool. You can see (in Figure 2) there is much more to XSane than your average scanning tool. In Figure 2 you see the standard windows that open along with the Main window. Pictured are the  Main windows (far left), Preview window (center), Standard Options window (top right), and Histogram (lower right). You can also include an Advanced Options window, and a Batch Scan window.</p>
<p>But even with all of the extra options, acquiring a scan with XSane is just as simple as with iscan. Follow these directions:</p>
<ol>
<li>Place your photo on the scanner.</li>
<li>Open XSane.</li>
<li>Click the Aquire preview button in the Preview window.</li>
<li>Adjust the size, rotation, and scale at the bottom of the Preview window.</li>
<li>Adjust the color in the Main window.</li>
<li>Select the file type in the Main window.</li>
<li>Adjust the scan resultion in the Main window.</li>
<li>Click the Scan button in the Main window.</li>
</ol>
<p>When the scan is complete a new window will open that allows you to further adjust your image. In this window you can apply a despeckle or blur filter, adjust the geometry, rotate the image, clone image, do optical character  recognition, and save the image.</p>
<p>And what about the Histogram window? This window allows you to fine-tune the color of your image. You use this tool after you preview and before you scan. You will be suprised at how well you can perfect the color of your scans with this tool.</p>
<p><strong>Final thoughts</strong></p>
<p>For my preferences, I lean toward XSane to handle my scanning tasks. But iscan does the job quite well. Either tool will allow you to take advantage of that flatbed scanner you have in your office while using Linux. One less excuse to continue using Windows. ;-)</p>

	Tags: <a href="http://www.ghacks.net/tag/espon/" title="Espon" rel="tag">Espon</a>, <a href="http://www.ghacks.net/tag/flatbed-scanners/" title="flatbed scanners" rel="tag">flatbed scanners</a>, <a href="http://www.ghacks.net/tag/linux-scanning/" title="linux scanning" rel="tag">linux scanning</a>, <a href="http://www.ghacks.net/tag/scanning/" title="scanning" rel="tag">scanning</a>, <a href="http://www.ghacks.net/tag/usb-scanners/" title="usb scanners" rel="tag">usb scanners</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/01/07/document-scanning-with-digital-cameras/" title="Document Scanning With Digital Cameras (January 7, 2009)">Document Scanning With Digital Cameras</a> (5)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/01/scanning-in-linux-with-iscan-and-xsane/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Set up a Linux media server</title>
		<link>http://www.ghacks.net/2009/10/29/set-up-a-linux-media-server/</link>
		<comments>http://www.ghacks.net/2009/10/29/set-up-a-linux-media-server/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 17:51:54 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music and Video]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[DAAP]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mp3 server]]></category>
		<category><![CDATA[multimedia server]]></category>
		<category><![CDATA[music server]]></category>
		<category><![CDATA[songbird]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=17860</guid>
		<description><![CDATA[Do you have multiple machines around your house that would like to share a centralized server for multi-media? Having such a server for music allows for consolidation, ease of use, and space saving on client PCs. Of course to many users, the idea of setting up a multi-media server sounds like it would be a [...]]]></description>
			<content:encoded><![CDATA[<p>Do you have multiple machines around your house that would like to share a centralized server for multi-media? Having such a server for music allows for consolidation, ease of use, and space saving on client PCs. Of course to many users, the idea of setting up a multi-media server sounds like it would be a nightmare&#8230;especially on the Linux platform. That couldn&#8217;t be further from the truth.</p>
<p><a title="Firefly Media Server" href="http://www.fireflymediaserver.org/" target="_blank">The Firefly Media Server</a> (formerly mt-daap) is a fast DAAP server that is simple to install and even easier to configure. Firefly resides on a single Linux machine that doesn&#8217;t have to be a powerhouse. In fact, you can install this lightweight server on Ubuntu Server and you&#8217;re almost ready to go. In this article you will see how to do just that &#8211; install and configure Firefly Media Server on Ubuntu Server.</p>
<p><span id="more-17860"></span><strong>Features</strong></p>
<p>The Firefly server has all of the features you will want in a DAAP server:</p>
<ul>
<li><span style="background-color: #ffffff">Supports Unix/POSIX</span></li>
<li><span style="background-color: #ffffff">Beta for Windows in the works</span></li>
<li><span style="background-color: #ffffff">On the fly transcoding of OGG, FLAC, Apple Lossless, and WM</span></li>
<li><span style="background-color: #ffffff">User-created smart playlist support</span></li>
<li><span style="background-color: #ffffff">Integrates with iTunes and many other DAAP-supporting media players</span></li>
<li><span style="background-color: #ffffff">Serve streaming radio stations</span></li>
</ul>
<p><strong>Installation</strong></p>
<p>Since we are installing on a Ubuntu Server, the installation is simple:</p>
<ol>
<li><span style="background-color: #ffffff">Open up a terminal (or just log into your servers&#8217; console)</span></li>
<li><span style="background-color: #ffffff">Issue the command <em>sudo apt-get install mt-daap</em></span></li>
<li><span style="background-color: #ffffff">Enter your user password</span></li>
</ol>
<p>That&#8217;s it. Now it&#8217;s time to set it up.</p>
<p><strong>Configuration file</strong></p>
<p>There is only one configuration file for Firefly: <strong>/etc/mt-daapd.conf</strong>. This file is quite easy to set up. For a basic DAAP server, out of the box, there is really only one option you must configure. If you open up the configuration file look for the line:</p>
<p><em>mp3_dir = /home/media/music</em></p>
<p>This is the line you will need to change to reflect the directory you will serve your media from. For my setup I created a new sub-directory in <strong>/opt </strong>called <strong>music</strong>. Do this with the command:</p>
<p><em>sudo mkdir /opt/media</em></p>
<p>Now you have to make that directory readable by the DAAP server with the command:</p>
<p><em>sudo chmod ug+r -R /opt/media</em></p>
<p>Now all files and sub-directories created with the <strong>/opt/media</strong> directory will have the proper permissions such that the DAAP server can serve up the files.</p>
<p>Of course what you have just set up is a very basic DAAP server. There are a lot of other options within the configuration file you can set up, such as:</p>
<ul>
<li><span style="background-color: #ffffff">servername: This is the name your DAAP server will broadcast. By default the server will be listed as Firefly <em>RELEASE_NUMBER HOSTNAME</em> (Where <em>RELEASE_NUMBER </em>is the release number of the Firefly installation and <em>HOSTNAME</em> is the hostname of the server.)</span></li>
<li><span style="background-color: #ffffff">password protection: This will cause any user attempting to access the DAAP server to have to enter a password in order to see the files. </span></li>
<li><span style="background-color: #ffffff">port: If you need to use a port other than the default (3689), configure it here.</span></li>
<li><span style="background-color: #ffffff">extensions: The file types you want to allow to be served by your DAAP server.</span></li>
<li><span style="background-color: #ffffff">Valid codectypes: These are the configurations for the format conversion. There are already lines for this in the configuration file &#8211; you just have to uncomment the ones you want to add for internal conversion.</span></li>
<li><span style="background-color: #ffffff">rescan_interval: If you want to enable background scanning you need to uncomment this entry and set an interval. This will enable you to add new files without having to restart the DAAP server to pick up the new files. Very handy if you frequently add new files.</span></li>
</ul>
<p>There are other configuration options, but those are the ones you will want to focus on first.</p>
<p><strong>Start the daemon</strong></p>
<p>After your configuration file is complete, go ahead and move your media files into the directory and then start the server with the command:</p>
<p><em>sudo /etc/init.d/mt-daap start</em></p>
<p>With the server up and running you can fire up a DAAP enabled client, like iTunes or Songbird (Note: Songbird requires the addition of a DAAP add on), and you should automatically see the files on the DAAP server.</p>
<p><strong>Final thoughts</strong></p>
<p>Setting up a DAAP server is a great idea for a small internal network where you want to be able to share out a multi-media library. Anyone looking to set this up, and has a Linux server up and running, would do well to give Firefly a try. The simplicity, size, and speed of this server makes it the perfect candidate.</p>

	Tags: <a href="http://www.ghacks.net/tag/daap/" title="DAAP" rel="tag">DAAP</a>, <a href="http://www.ghacks.net/tag/itunes/" title="itunes" rel="tag">itunes</a>, <a href="http://www.ghacks.net/tag/mp3-server/" title="mp3 server" rel="tag">mp3 server</a>, <a href="http://www.ghacks.net/tag/multimedia-server/" title="multimedia server" rel="tag">multimedia server</a>, <a href="http://www.ghacks.net/tag/music-server/" title="music server" rel="tag">music server</a>, <a href="http://www.ghacks.net/tag/songbird/" title="songbird" rel="tag">songbird</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/08/03/songbird-07-rc1-released/" title="Songbird 0.7 RC1 Released (August 3, 2008)">Songbird 0.7 RC1 Released</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/05/29/itunes-music-server-pulptunes/" title="iTunes Music Server pulpTunes (May 29, 2009)">iTunes Music Server pulpTunes</a> (7)</li>
	<li><a href="http://www.ghacks.net/2008/07/16/winamp-ipod-plugin-2/" title="Winamp iPod Plugin (July 16, 2008)">Winamp iPod Plugin</a> (5)</li>
	<li><a href="http://www.ghacks.net/2007/06/11/view-and-edit-information-about-songs-with-more-tunes/" title="View and Edit information of songs with More Tunes (June 11, 2007)">View and Edit information of songs with More Tunes</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/08/22/the-complete-media-player-review-part-1-2/" title="The Complete Media Player Review (Part 1) (August 22, 2008)">The Complete Media Player Review (Part 1)</a> (15)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/10/29/set-up-a-linux-media-server/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Stop SPAM in Postfix with Spamassassin</title>
		<link>http://www.ghacks.net/2009/10/26/stop-spam-in-postfix-with-spamassassin/</link>
		<comments>http://www.ghacks.net/2009/10/26/stop-spam-in-postfix-with-spamassassin/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 20:46:31 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[email filtering]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[SPAM scoring]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=17653</guid>
		<description><![CDATA[So you have your Ubuntu server up and running with a Postfix mail server (see &#8220;Install Postfix for reliable email delivery&#8220;). You have also set up Postfix for antivirus with the help of ClamAV (see &#8220;Add antivirus to Post fix with ClamAV&#8220;). Finally you have Postfix set up to relay (see &#8220;Mail relaying made simple [...]]]></description>
			<content:encoded><![CDATA[<p>So you have your Ubuntu server up and running with a Postfix mail server (see &#8220;<a title="Install Postfix for reliable email delivery" href="http://www.ghacks.net/2009/10/24/install-postfix-for-reliable-email-delivery/" target="_blank">Install Postfix for reliable email delivery</a>&#8220;). You have also set up Postfix for antivirus with the help of ClamAV (see &#8220;<a title="Add antivirus to Postfix with ClamAV" href="http://www.ghacks.net/2009/10/24/install-postfix-for-reliable-email-delivery/" target="_blank">Add antivirus to Post fix with ClamAV</a>&#8220;). Finally you have Postfix set up to relay (see &#8220;<a title="Mail relaying made simple with Postfix" href="http://www.ghacks.net/2009/09/23/mail-relaying-made-simple-with-postfix/" target="_blank">Mail relaying made simple with Postfix</a>&#8220;). The last trick in this bag is to add SPAM prevention to Postfix.</p>
<p>Fortunately there is a tool for that. The tool? <a title="Spamassassin" href="http://spamassassin.apache.org/" target="_blank">Spamassassin</a>. Spamassassin is a very versatile SPAM tool that is part of the <a title="Apache Foundation" href="http://www.apache.org/" target="_blank">Apache Foundation</a>. Spamassassin uses numerous means to detect SPAM including: DNS and Checksum based SPAM detection as well as Bayesian filtering, external programs, black lists, and online databases. These tools together make for a fairly powerful detection system.</p>
<p>In this article you are going to see how to install and configure Spamassassin to work in conjunction with Postfix to further enhance your email server.</p>
<p><span id="more-17653"></span><strong>Installing Spamassassin</strong></p>
<p>Obviously the first thing you need to do is install Spamassassin. You will find Spamassassin in the Ubuntu repositories. And since this entire series has been laid on top of a Ubuntu Server installation, that is quite convenient. So, to install Spamassassin, open up your terminal window and issue the following command:</p>
<p><em>sudo apt-get install spamassassin</em></p>
<p>There may or may not be some dependencies to install in order for the Spamassassin  installation to complete. Go ahead and OK those. Once this installation is complete you are ready to start configuring.</p>
<p><strong>Configuration</strong></p>
<p>Before we actually get to the configuration it is important to understand the SPAM scoring system. With Spamassassin, messages are tagged as SPAM only when they have enough SPAM-matching characteristics (according to a scoring level). The scoring level is 0-5, however it&#8217;s not as simple as saying a 0 means it is 0% SPAM. The system is set up so that every characteristic can add to the overall score. For example a message tested to find a base64 attachment does not have a file name filtered with both bayes+net will add 0.224 to the over all score of the message. When all of the characteristic scores are added up, if they exceed the default score you have set in the configuration file, that message is considered SPAM.</p>
<p>Now that you have a basic understand of how the scoring system works. Let&#8217;s start configuring Spamassassin.</p>
<p>The main configuration file is <strong>/etc/spamassassin/local.cf. </strong>The first option you want to configure is the default score. Look for the line:</p>
<p><em> # required_score 5.0</em></p>
<p>The first thing you want to do is uncomment that line (by removing the &#8220;#&#8221; character) and then changing the score. A score of 5 is pretty high and sure to be SPAM. Understand the more you lower that score the likely you are of missing message messages that are tagged false-positives. A score of 3.5 is a fairly reliable score that will catch a lot of SPAM but not a lot of false positives.</p>
<p>Above this line are a couple of other options that are important. The first is the option to set the option:</p>
<p>report_safe</p>
<p>To 0. This option can be set to either 0 or 1. A zero means that if a message is found to be SPAM the message will not be deleted, but instead the subject line will be rewritten to include a message marking it as SPAM.  This is handy to prevent users from losing important messages to false positives. This also allows you to set a lower score threshold.</p>
<p>To do this first look for the line:</p>
<p><em># report_safe 1</em></p>
<p>Uncomment this line by removing the &#8220;#&#8221; character and then change the &#8220;1&#8243; to &#8220;0&#8243; (no quotes).</p>
<p>The next step is to uncomment the line:</p>
<p># rewrite_header Subject *****SPAM*****</p>
<p>Now you can alter the &#8220;*****SPAM*****&#8221; section of this line to reflect what you&#8217;d prefer it to say. Just make sure it is clear to your users that a message with this rewritten subject line is most likely SPAM.</p>
<p>Now restart the Spamassassin daemon with the command:</p>
<p><em>sudo /etc/init.d/spamassassin restart </em></p>
<p><strong>Configure Postfix</strong></p>
<p>The last step is to set up Postfix to use Spamassassin. To do this open up the file <strong>/etc/postfix/master.cf<em> </em><span style="font-weight: normal">and look for the line:</span></strong></p>
<p><strong><span style="font-weight: normal"><em>smtp     inet    n   &#8211;   &#8211;   &#8211;   &#8211;   smtpd</em></span></strong></p>
<p>You need to alter this line to look like:</p>
<p><code>smtp      inet   n   -   -   -   -   smtpd -o content_filter=spamassassin</code></p>
<p>Finally, at the end of this file add the following:</p>
<p><code>spamassassin<br />
unix - n n - - pipe<br />
flags=R<br />
user=spamd<br />
argv=/usr/bin/spamc<br />
-e /usr/sbin/sendmail<br />
-oi -f ${sender} ${recipient}</code></p>
<p>Now all you need to do is restart Postfix with the command:</p>
<p><em>sudo /etc/init.d/postfix restart</em></p>
<p>Your mail server should now be scoring incoming message as SPAM or HAM.</p>
<p><strong>Final thoughts</strong></p>
<p>The mail server is a tricky beast. You have to ensure that users are getting their mail, but you have to make sure they aren&#8217;t receive SPAM or viruses. After completing this series of articles, you should have a pretty solid server running that will send out mail that is safe for users eyes.</p>

	Tags: <a href="http://www.ghacks.net/tag/email/" title="Email" rel="tag">Email</a>, <a href="http://www.ghacks.net/tag/email-filtering/" title="email filtering" rel="tag">email filtering</a>, <a href="http://www.ghacks.net/tag/postfix/" title="Postfix" rel="tag">Postfix</a>, <a href="http://www.ghacks.net/tag/spam/" title="spam" rel="tag">spam</a>, <a href="http://www.ghacks.net/tag/spam-scoring/" title="SPAM scoring" rel="tag">SPAM scoring</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/07/01/trap-spammers-with-project-honey-pot/" title="Trap Spammers with Project Honey Pot (July 1, 2009)">Trap Spammers with Project Honey Pot</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/08/28/tinymail-email-protection/" title="Tinymail Email Protection (August 28, 2008)">Tinymail Email Protection</a> (18)</li>
	<li><a href="http://www.ghacks.net/2008/02/26/reduce-spam-by-using-alternative-google-mail-address/" title="Reduce Spam by using alternative Google Mail Address ? (February 26, 2008)">Reduce Spam by using alternative Google Mail Address ?</a> (8)</li>
	<li><a href="http://www.ghacks.net/2006/01/25/phishing-explained/" title="Phishing Explained (January 25, 2006)">Phishing Explained</a> (4)</li>
	<li><a href="http://www.ghacks.net/2006/05/09/introduction-series-part-1-spam/" title="Introduction Series Part 1: Spam (May 9, 2006)">Introduction Series Part 1: Spam</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/10/26/stop-spam-in-postfix-with-spamassassin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add antivirus to Postfix with ClamAV</title>
		<link>http://www.ghacks.net/2009/10/25/add-antivirus-to-postfix-with-clamav/</link>
		<comments>http://www.ghacks.net/2009/10/25/add-antivirus-to-postfix-with-clamav/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 15:46:17 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[anti virus]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[virus definitions]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=17707</guid>
		<description><![CDATA[By now you have your Postfix mail server up and running (see &#8220;Install Postfix for reliable email delievery&#8220;). You even have relaying working (see &#8220;Mail relaying made simple with Postfix&#8220;). But one of the most important features you can add to a mail server is an system to prevent viruses from being passed to users. [...]]]></description>
			<content:encoded><![CDATA[<p>By now you have your Postfix mail server up and running (see &#8220;<a title="Install Postfix for reliable email delievery" href="http://www.ghacks.net/2009/10/24/install-postfix-for-reliable-email-delivery/" target="_blank">Install Postfix for reliable email delievery</a>&#8220;). You even have relaying working (see &#8220;<a title="Mail relaying made simple with Postfix" href="http://www.ghacks.net/2009/09/23/mail-relaying-made-simple-with-postfix/" target="_blank">Mail relaying made simple with Postfix</a>&#8220;). But one of the most important features you can add to a mail server is an system to prevent viruses from being passed to users. Naturally, the Linux fan will say &#8220;But Linux isn&#8217;t affected by viruses!&#8221;. Although that may, for the most part, be true, this is a mail SERVER which could be serving up mail to Windows users. And Windows machines ARE effected by viruses. To that end, anti-virus measures are a necessity on a Linux email server.</p>
<p>One of the best anti-virus systems for a Postfix server is <a title="ClamAV" href="http://www.clamav.net/" target="_blank">ClamAV</a>. This anti-virus tool kit is open sourced and can be used on all UNIX-like operating systems. It&#8217;s easy to install and effective. In this article we will be following our series started way back in the <a title="Installing Ubuntu Server 9.04" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/" target="_blank">Installing Ubuntu Server 9.04 article</a>. Of course we will be installing ClamAV on a Ubuntu server running LAMP and Postfix. With that in mind, let&#8217;s get busy!</p>
<p><span id="more-17707"></span><strong>Installation</strong></p>
<p>The first thing to take care of is the installation of ClamAV. There are a number of tools you will need to install. Open up a terminal window and issue the command:</p>
<p><code>sudo apt-get install clamav clamav-freshclam clamsmtp</code></p>
<p>The above command should also pick up all of the necessary dependencies. The installation will also start the clamav daemon. You will restart that momentarily</p>
<p><strong>Configuration</strong></p>
<p>Once installed you have some configurations to take care of. There are three files you are going to have to edit:</p>
<ul>
<li><span style="background-color: #ffffff"><strong>/etc/clamsmtpd.conf</strong></span></li>
<li><span style="background-color: #ffffff"><strong>/etc/postfix/main.cf</strong></span></li>
<li><span style="background-color: #ffffff"><strong>/etc/postfix/master.cf</strong></span></li>
</ul>
<p>The first file to configure is the <strong>clamsmtpd.conf </strong>file. The configuration in this file is simple. Look for the lines:</p>
<p><em>OutAddress: 10025</em></p>
<p><em><em>127.0.0.1:10026</em></em></p>
<p>Change them to:</p>
<p><em>OutAddress: 10026</em></p>
<p><em><em>127.0.0.1:10025</em></em></p>
<p>That&#8217;s it for the <strong>clamsmtpd.conf </strong>file. Now let&#8217;s move on to the heavier configurations.</p>
<p>Open up the <strong>/etc/postfix/main.cf </strong>file. Scroll down to the bottom of this file and add the following:</p>
<p><em>content_filter = scan:127.0.0.1:10025</em></p>
<p><em>receive_override_options = no_address_mappings</em></p>
<p>Save that file and now move on over to the <strong>/etc/postfix/master.cf</strong> file. Again, scroll down to the bottom of this file and add the following:</p>
<p><code># AV scan filter (used by content_filter)<br />
scan      unix  -       -       n       -       16      smtp<br />
-o smtp_send_xforward_command=yes<br />
# For injecting mail back into postfix from the filter<br />
127.0.0.1:10026 inet  n -       n       -       16      smtpd<br />
-o content_filter=<br />
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks<br />
-o smtpd_helo_restrictions=<br />
-o smtpd_client_restrictions=<br />
-o smtpd_sender_restrictions=<br />
-o smtpd_recipient_restrictions=permit_mynetworks,reject<br />
-o mynetworks_style=host<br />
-o smtpd_authorized_xforward_hosts=127.0.0.0/8</code></p>
<p>Save that file.</p>
<p><strong>Restarting</strong></p>
<p>The first thing you need to do is restart Postfix with the command:</p>
<p><em>sudo /etc/init.d/postfix restart</em></p>
<p>Once that has restarted you need to restart clamsmtpd with the command:</p>
<p><em>sudo /etc/init.d/clamsmtpd restart</em></p>
<p>Now, if nothing has gone horribly wrong, you should have a virus protected Postfix mail server.</p>
<p><strong>Updating signatures</strong></p>
<p>You should never go without updating your virus signatures. This is critical for keeping your mail server virus-free as new viruses are created or old viruses mutate. Fortunately ClamAV has its own tool for this. You will need to go back to that terminal window and issue the command:</p>
<p><em>sudo freshclam</em></p>
<p>Which will update the signatures.</p>
<p>You might even add the <em>freshclam</em> command into the root users crontab for regular signature updates.</p>
<p><strong>Final thoughts</strong></p>
<p>Your Postfix mail server is getting better and stronger each day. Adding anti-virus is a critical step in the grand scheme of Postfix things. In our next addition to the Postfix series, we will add Spamassassin for anti-spam measures.</p>

	Tags: <a href="http://www.ghacks.net/tag/anti-virus/" title="anti virus" rel="tag">anti virus</a>, <a href="http://www.ghacks.net/tag/postfix/" title="Postfix" rel="tag">Postfix</a>, <a href="http://www.ghacks.net/tag/virus-definitions/" title="virus definitions" rel="tag">virus definitions</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2007/04/10/what-is-your-security-concept/" title="What is your Security Concept ? (April 10, 2007)">What is your Security Concept ?</a> (9)</li>
	<li><a href="http://www.ghacks.net/2007/01/01/test-your-anti-virus-program/" title="Test your Anti-virus program (January 1, 2007)">Test your Anti-virus program</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/10/26/stop-spam-in-postfix-with-spamassassin/" title="Stop SPAM in Postfix with Spamassassin (October 26, 2009)">Stop SPAM in Postfix with Spamassassin</a> (1)</li>
	<li><a href="http://www.ghacks.net/2007/01/11/secure-windows-xp/" title="Secure Windows XP (January 11, 2007)">Secure Windows XP</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/09/23/mail-relaying-made-simple-with-postfix/" title="Mail relaying made simple with Postfix (September 23, 2009)">Mail relaying made simple with Postfix</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/10/25/add-antivirus-to-postfix-with-clamav/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Let your medical practice go open source with Gnumed</title>
		<link>http://www.ghacks.net/2009/10/20/let-your-medical-practice-go-open-source-with-gnumed/</link>
		<comments>http://www.ghacks.net/2009/10/20/let-your-medical-practice-go-open-source-with-gnumed/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 19:13:49 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[medical records]]></category>
		<category><![CDATA[medical software]]></category>
		<category><![CDATA[patient database]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=17506</guid>
		<description><![CDATA[Gnumed is an open source management tool for medical practices. If your practice (or a practice you do IT for) is in need of an electronic record-keeping system, and you do not want to have to shell out your entire IT budget for a proprietary solution, Gnumed might be the perfect tool for you.
Gnumed is [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Gnumed" href="http://wiki.gnumed.de/bin/view/Gnumed" target="_blank">Gnumed</a> is an open source management tool for medical practices. If your practice (or a practice you do IT for) is in need of an electronic record-keeping system, and you do not want to have to shell out your entire IT budget for a proprietary solution, Gnumed might be the perfect tool for you.</p>
<p>Gnumed is developed by doctors and programmers from around the globe and is gaining plenty of traction. Gnumed is broken into a client and a backend server and is released for both the Linux platform and the Windows platform. In order to use Gnumed you do have to have the Server up and running. You can, however, demo Gnumed by connecting to one of the public demo databases.</p>
<p>For the purposes of this introductory article, we will connect to the public demo. In a later article I will outline setting up the backend server for Gnumed.</p>
<p><span id="more-17506"></span><strong>Installation</strong></p>
<p>Fortunately the Gnumed client will be found in your distribution repositories. So to install the software you will only have to follow these steps:</p>
<ol>
<li><span style="background-color: #ffffff">Open the Add/Remove Software utility.</span></li>
<li><span style="background-color: #ffffff">Search for &#8220;gnumed&#8221; (no quotes).</span></li>
<li><span style="background-color: #ffffff">Select the results for installation.</span></li>
<li><span style="background-color: #ffffff">Click Apply to install.</span></li>
</ol>
<div id="attachment_17508" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-17508" href="http://www.ghacks.net/2009/10/20/let-your-medical-practice-go-open-source-with-gnumed/gnumed_welcome/"><img class="size-thumbnail wp-image-17508 " src="http://www.ghacks.net/wp-content/uploads/2009/10/gnumed_welcome-300x300.png" alt="Figure 1" width="180" height="180" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>There are a few dependencies to meet, but the Add/Remove tool will take care of that for you. Once installed the application can be started from the Office sub-menu of the Application menu. When you first start Gnumed you will be welcomed by the connection window (see Figure 1). In this window you enter your credentials and connect to a server.</p>
<p>For those that are just testing out Gnumed you will want to connect to the public testing server. Here is the information to enter in order to connect to the public server:</p>
<ul>
<li><span style="background-color: #ffffff">Backend: public Gnumed database</span></li>
<li><span style="background-color: #ffffff">username: any-doc</span></li>
<li><span style="background-color: #ffffff">password: any-doc<span style="background-color: #ffffff"> </span></span></li>
</ul>
<p>Once the authentication is successful you will be greeted by a welcome screen warning you that, since this is a publicly accessible database, any data you add will be lost. Once you OK that window you will see another window that requires you to set the database language. By default the language will be &#8220;None&#8221; and it needs to be set (for the demo) to &#8220;en_US&#8221;. To do this all you need to do is click the Set button.</p>
<div id="attachment_17509" class="wp-caption alignright" style="width: 190px"><a rel="attachment wp-att-17509" href="http://www.ghacks.net/2009/10/20/let-your-medical-practice-go-open-source-with-gnumed/gnumed_main/"><img class="size-thumbnail wp-image-17509 " src="http://www.ghacks.net/wp-content/uploads/2009/10/gnumed_main-300x300.png" alt="Figure 2" width="180" height="180" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>After the db language is set the main window will open (see Figure 2).  As you can see, all entered patients are listed in this window. From here you can do just about anything you need to do. And that is the crucial question. Just what can you do with Gnumed? The feature list includes:</p>
<ul>
<li><span style="background-color: #ffffff">Appointment managment.</span></li>
<li><span style="background-color: #ffffff">Client creation/import/management.</span></li>
<li><span style="background-color: #ffffff">Staff management.</span></li>
<li><span style="background-color: #ffffff">Allergy records.</span></li>
<li><span style="background-color: #ffffff">Forms and letters.</span></li>
<li><span style="background-color: #ffffff">Inbox.</span></li>
<li><span style="background-color: #ffffff">Track patient progress.</span></li>
<li><span style="background-color: #ffffff">Doctor journal.</span></li>
<li><span style="background-color: #ffffff">Document management.</span></li>
<li><span style="background-color: #ffffff">Drug information.</span></li>
<li><span style="background-color: #ffffff">Built-in report generator. </span></li>
</ul>
<p>A word of note: The public database is fairly slow, so your experience with Gnumed may seem a bit lackluster. Do not assume this is the case with a private database, because Gnumed runs much, much faster when using a local backend.</p>
<p><strong>Final thoughts</strong></p>
<p>Gnumed is an outstanding open source tool for medical practices. With similar features as very costly proprietary solutions, any practice looking to cut costs need look no further than this application. Now, in our next look at Gnumed we will visit setting up a backend server so you can begin to actually use Gnumed for your practice.</p>

	Tags: <a href="http://www.ghacks.net/tag/medical-records/" title="medical records" rel="tag">medical records</a>, <a href="http://www.ghacks.net/tag/medical-software/" title="medical software" rel="tag">medical software</a>, <a href="http://www.ghacks.net/tag/patient-database/" title="patient database" rel="tag">patient database</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/11/10/set-up-a-gnumed-backend-server/" title="Set up a Gnumed backend server (November 10, 2009)">Set up a Gnumed backend server</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/10/20/let-your-medical-practice-go-open-source-with-gnumed/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Troubleshoot networking problems with GNOME&#8217;s Nettools</title>
		<link>http://www.ghacks.net/2009/10/18/troubleshoot-networking-problems-with-gnomes-nettools/</link>
		<comments>http://www.ghacks.net/2009/10/18/troubleshoot-networking-problems-with-gnomes-nettools/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 14:40:44 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[finger]]></category>
		<category><![CDATA[lookup]]></category>
		<category><![CDATA[netstat]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[port scan]]></category>
		<category><![CDATA[traceroute]]></category>
		<category><![CDATA[whois]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=17415</guid>
		<description><![CDATA[How many times have you had networking issues and not known exactly where to start? With Linux there are so many tools you can choose from. Add to that the choice between console and GUI and you have the making for a rather confusing start. Most new Linux users (and many of those who have [...]]]></description>
			<content:encoded><![CDATA[<p>How many times have you had networking issues and not known exactly where to start? With Linux there are so many tools you can choose from. Add to that the choice between console and GUI and you have the making for a rather confusing start. Most new Linux users (and many of those who have used Linux for a while) have no idea how to use the whois, finger, Port Scanning, and other helpful networking tools. But it doesn&#8217;t have to be that way.</p>
<p>With the help of the GNOME Nettools you can have a sweet collection of powerful tools that will help you to troubleshoot your network in no time. And this collection of tools is all wrapped up into a user-friendly graphical interface. So without any further adieu, let&#8217;s take a look at this powerful suite of tools.</p>
<p><span id="more-17415"></span><strong>Features</strong></p>
<p>The GNOME Nettools includes the following tools:</p>
<ul>
<li>Devices: Have all information about your networking devices at your fingertips.</li>
<li>Ping: Get detailed information using the ping tool.</li>
<li>Netstat: Get detailed information about your routing table, active network services, and multicast information about your machine.</li>
<li>Traceroute: Trace the path to a network host.</li>
<li>Port scan: Scan for open ports on servers and desktops.</li>
<li>Lookup: Get detailed information about a server.</li>
<li>Finger: Lookup a users finger entry.</li>
<li>Whois: Lookup a whois entry for a domain.</li>
</ul>
<p>GNOME Nettools also features:</p>
<ul>
<li>Copy information to text report.</li>
<li>Help system.</li>
<li>Drop downs for previously entered addresses/domains.</li>
<li>Easy to use GUI.</li>
</ul>
<p>Now let&#8217;s take a look and see how this tool is used.</p>
<p><strong>Usage</strong></p>
<div id="attachment_17417" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-17417" href="http://www.ghacks.net/2009/10/18/troubleshoot-networking-problems-with-gnomes-nettools/nettools_devices/"><img class="size-thumbnail wp-image-17417" src="http://www.ghacks.net/wp-content/uploads/2009/10/nettools_devices-300x300.png" alt="Figure 1" width="180" height="180" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>As you can see there has been no mention of installation. That is because GNOME Nettools is installed by default. In order to start up the tool you only have to go to the Administration sub-menu of the System menu. Once you have fired up the tool you will be greeted with main window at the Devices tab. This tab is where you gather the information about your installed networking devices. As you can see (In Figure 1) there is plenty of detailed information about my default eth0 interface. You can switch this to display information about any connected internet device you have on the machine by using the Interface drop-down.</p>
<p>The next tab, Ping, is where you can actually start troubleshooting networking issues. Ping is almost always one of the first tools I use, but I generally use it in command line form. Since most new Linux users prefer to not use the command line &#8211; you can still get your ping on with Nettools. Click on the Ping tab to reveal how the Ping tool works (see Figure 2).</p>
<div id="attachment_17419" class="wp-caption alignright" style="width: 190px"><a rel="attachment wp-att-17419" href="http://www.ghacks.net/2009/10/18/troubleshoot-networking-problems-with-gnomes-nettools/nettools_ping-2/"><img class="size-thumbnail wp-image-17419" src="http://www.ghacks.net/wp-content/uploads/2009/10/nettools_ping1-300x300.png" alt="Figure 2" width="180" height="180" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>By default the Nettools Ping tool will be configured for a limited 5 requests. You can up that number or even change it to an unlimited number if you need. In Figure 2 I have sent 5 ping requests to an internal server and received 100% sucess on my packets. I know this server is at least responding.</p>
<p>The other tools will all work exactly as you would expect them. One thing that is nice is as a tool is working you can switch over to another tool without disrupting the original tools task. This is especially nice when running a traceroute that can take a while (see Figure 3).</p>
<div id="attachment_17422" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-17422" href="http://www.ghacks.net/2009/10/18/troubleshoot-networking-problems-with-gnomes-nettools/nettools_traceroute/"><img class="size-thumbnail wp-image-17422" src="http://www.ghacks.net/wp-content/uploads/2009/10/nettools_traceroute-300x300.png" alt="Figure 3" width="180" height="180" /></a><p class="wp-caption-text">Figure 3</p></div>
<p>The traceroute tool will follow a path, hop for hop, to a destination you enter. In Figure 3 I ran a traceroute on www.google.com which ended before it reached its goal. This, of course, was only to show you the output of the traceroute (as there is not much I can personally do if my route to www.google.com is stopped outside of the boundaries of my network or my service providers network. But it gives you an idea of where the route stops. If this were a corporate issue, and the destination was one I had to reach, I would know precisely where the last known successful hop was (in the case of Figure 3 &#8211; after the 65.222.158.82 address).</p>
<p>I can then use the Whois tool to discover who is connected to that address. By clicking on the Whois tab and then entering the IP address above I receive the following information:</p>
<p><code>MCI Communications Services, Inc. d/b/a Verizon Business UUNET65 (NET-65-192-0-0-1)<br />
65.192.0.0 - 65.223.255.255<br />
SPLICE COMMUNICATIONS, INC. UU-65-222-158-80-D4 (NET-65-222-158-80-1)<br />
65.222.158.80 - 65.222.158.87</code></p>
<p>If www.google.com were a critical address for me (and my company) to reach for work (or a host of my company&#8217;s web site) I could at least contact the owner of this domain.</p>
<p><strong>Final thoughts</strong></p>
<p>As you would expect, the rest of the Nettools tools work in a very similar fashion than their command line counter parts. The only difference? You don&#8217;t have to open up a terminal window to use them. No commands to remember, no commands to type. Just easy network analysis, with the help of a user-friendly GUI tool.</p>

	Tags: <a href="http://www.ghacks.net/tag/finger/" title="finger" rel="tag">finger</a>, <a href="http://www.ghacks.net/tag/lookup/" title="lookup" rel="tag">lookup</a>, <a href="http://www.ghacks.net/tag/netstat/" title="netstat" rel="tag">netstat</a>, <a href="http://www.ghacks.net/tag/ping/" title="ping" rel="tag">ping</a>, <a href="http://www.ghacks.net/tag/port-scan/" title="port scan" rel="tag">port scan</a>, <a href="http://www.ghacks.net/tag/traceroute/" title="traceroute" rel="tag">traceroute</a>, <a href="http://www.ghacks.net/tag/whois/" title="whois" rel="tag">whois</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/03/16/ways-to-check-if-a-website-is-really-down/" title="Ways to check if a website is really down (March 16, 2008)">Ways to check if a website is really down</a> (12)</li>
	<li><a href="http://www.ghacks.net/2009/02/18/internet-maniac-networking-software/" title="Internet Maniac Networking Software (February 18, 2009)">Internet Maniac Networking Software</a> (2)</li>
	<li><a href="http://www.ghacks.net/2008/05/11/etoolz-network-toolset/" title="eToolz Network Toolset (May 11, 2008)">eToolz Network Toolset</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/06/30/who-shares-your-shared-hosting/" title="Who shares your shared hosting? (June 30, 2009)">Who shares your shared hosting?</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/01/04/webhopper-internet-traceroute-tool/" title="WebHopper Internet Traceroute Tool (January 4, 2009)">WebHopper Internet Traceroute Tool</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/10/18/troubleshoot-networking-problems-with-gnomes-nettools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Five handy secure shell tips and tricks</title>
		<link>http://www.ghacks.net/2009/10/17/five-handy-secure-shell-tips-and-tricks/</link>
		<comments>http://www.ghacks.net/2009/10/17/five-handy-secure-shell-tips-and-tricks/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 17:47:49 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[linux shell]]></category>
		<category><![CDATA[secure shell]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=17386</guid>
		<description><![CDATA[I use secure shell a LOT, every day. So much so that I often take for granted how important this tool is. Not only does it allow me to log into remote machines to handle management of said machine, it can do other things as well &#8211; X tunneling being one of the most useful features. But [...]]]></description>
			<content:encoded><![CDATA[<p>I use secure shell a LOT, every day. So much so that I often take for granted how important this tool is. Not only does it allow me to log into remote machines to handle management of said machine, it can do other things as well &#8211; X tunneling being one of the most useful features. But for many users ssh only serves as a means to log in, do a few command-line tasks, and log out. It doesn&#8217;t (and shouldn&#8217;t) have to be that way.</p>
<p>With Secure Shell there are a number of ways to use (and configure) this tool to make it more useful and more secure. In this article  you will learn five different (and handy) secure shell tips to make sure your ssh usage is as good as it can be. And for some basic secure shell knowledge, check out my article &#8220;<a title="Get to know Linux: Secure Shell" href="http://www.ghacks.net/2009/02/17/get-to-know-linux-secure-shell/" target="_blank">Get to know Linux: Secure shell</a>&#8220;.</p>
<p><span id="more-17386"></span><strong>Password-less logon</strong></p>
<p>Have have dealt with this before (as a side note), but wanted to re-iterate this process. Because I use ssh so much I get tired of having to enter passwords constantly. Now I will preface this by saying only do this on a network you trust. Yes you will be logging into ssh with a certificate, and that certificate will be on your machine, but you don&#8217;t want to employ this method on a network that can not be trusted. With that in mind, here are the steps for setting this up.</p>
<p>On the local machine issue the command:</p>
<p><em>ssh-keygen -t dsa</em></p>
<p>This command will generate a public key that will be then copied to your server. During this creation process you will be asked for a password &#8211; just press enter to use a blank password for this. You will have to verify the password, so hit enter again. )</p>
<p>With the key created you have to copy it to the server you want to ssh into. To do this enter the command:</p>
<p><em>ssh-copy-id -i .ssh/id_dsa.pub username@destination</em></p>
<p>Where <em>username</em> is the username you will be logging into on the remote server and <em>destination</em> is the IP address of the remote server.</p>
<p>Now when you go to secure shell into that remote machine you will not have to enter a password.</p>
<p><strong>Block root login</strong></p>
<p>Although secure shell is a secure means of logging into your server, you do not want to allow root access (for obvious reasons). Blocking root access is simple. Open up the <strong>/etc/ssh/sshd_config</strong> file and look for this line:</p>
<p><em>PermitRootLogin</em></p>
<p>and make sure it is set to &#8220;no&#8221; (no quotes). So the complete line will read:</p>
<p><em>PermitRootLogin no</em></p>
<p>Once you have saved that file, restart the ssh daemon with the command:</p>
<p><em>sudo /etc/init.d/ssh restart</em></p>
<p>Now the root user can no longer log in remotely via ssh.</p>
<p><strong>Enable X tunneling</strong></p>
<p>Secure shell is made even more powerful when you can run a remote X application on your local machine. And what is better is that it&#8217;s not difficult at all. In order to allow X tunneling you will first need to open up the <strong>/etc/ssh/sshd_config </strong>file and search for this line:</p>
<p><em>X11Forwarding</em></p>
<p>and make sure it looks like:</p>
<p><em>X11Forwarding yes</em></p>
<p>Once that is set save the file, restart sshd, and you are ready to tunnel and X Windows application through ssh. To accomplish this you have to add the <em>-X </em>flag to your secure shell command like this:</p>
<p><em>ssh -v -l USERNAME IP_ADDRESS -X</em></p>
<p>Where USERNAME is the username you want to log in with and IP_ADDRESS is the actual IP address of the machine you are logging into.</p>
<p><strong>Final thoughts</strong></p>
<p>There are so many cool tricks and tips with secure shell, but the above three are, in my opinion, the most helpful. Have you come across a helpful ssh tip you&#8217;d like to share? Or are you looking for a particular behavior out of secure shell? If so. share with your fellow Ghacks readers.</p>

	Tags: <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/linux-shell/" title="linux shell" rel="tag">linux shell</a>, <a href="http://www.ghacks.net/tag/secure-shell/" title="secure shell" rel="tag">secure shell</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/18/linux-command-line-fu/" title="Linux Command Line Fu (February 18, 2009)">Linux Command Line Fu</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/02/17/get-to-know-linux-secure-shell/" title="Get To Know Linux: Secure Shell (February 17, 2009)">Get To Know Linux: Secure Shell</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/02/07/yoggie-pico-personal-mobile-security-computer/" title="Yoggie PICO Personal Mobile Security Computer (February 7, 2008)">Yoggie PICO Personal Mobile Security Computer</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/10/30/with-ubuntu-9-10-arrives-wubi-9-10/" title="With Ubuntu 9.10 Arrives Wubi 9.10 (October 30, 2009)">With Ubuntu 9.10 Arrives Wubi 9.10</a> (2)</li>
	<li><a href="http://www.ghacks.net/2006/12/07/widgets-for-linux-superkaramba/" title="Widgets for Linux: SuperKaramba (December 7, 2006)">Widgets for Linux: SuperKaramba</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/10/17/five-handy-secure-shell-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Spam filtering with Kmail</title>
		<link>http://www.ghacks.net/2009/10/16/spam-filtering-with-kmail/</link>
		<comments>http://www.ghacks.net/2009/10/16/spam-filtering-with-kmail/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 14:55:44 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Bogofilter]]></category>
		<category><![CDATA[HAM]]></category>
		<category><![CDATA[kmail]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spamassassin]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=17337</guid>
		<description><![CDATA[SPAM. It&#8217;s a dreadful word that causes many a computer user to yank out their hair and wish their service provider would do a better job of keeping SPAM out of your inbox. But that is not going to happen over night. So&#8230;it is up to the end user to make sure they have extra [...]]]></description>
			<content:encoded><![CDATA[<p>SPAM. It&#8217;s a dreadful word that causes many a computer user to yank out their hair and wish their service provider would do a better job of keeping SPAM out of your inbox. But that is not going to happen over night. So&#8230;it is up to the end user to make sure they have extra means of SPAM prevention rolled into their email clients.</p>
<p>Most email clients contain some sort of SPAM prevention. On the Linux operating system you can employ such tools as <a title="Bogofilter" href="http://bogofilter.sourceforge.net/" target="_blank">Bogofilter</a> or <a title="Spamassassin" href="http://spamassassin.apache.org/" target="_blank">Spamassassin</a>. Either of these tools are great for stopping SPAM &#8211; but what about using them with your favorite email client? With some Linux email clients you have to add extra applications in order to have one of these SPAM filters doing their job with your client. Some clients, however, have built-in tools to save you a little work. KMail belongs to the latter category. So long as you have either/or Bogofilter or Spamassassin installed, you are one step closer to having solid SPAM filtering.</p>
<p>In this article you will learn how to set up reliable SPAM filtering in the KMail mail client.</p>
<p><span id="more-17337"></span><strong>Bogofilter and Spamassassin</strong></p>
<p>KMail can use either Bogofilter or Spammassassin easily. Read up on either tool and decide which application you want to use. I have had good luck with both, but I do believe Bogofilter is easier to set up. And since KMail will automatically detect either, the choice is yours.</p>
<p>You can install either tool from within the Add/Remove Software utility by following these steps:</p>
<ol>
<li><span style="background-color: #ffffff">Open Add/Remove Software utility.</span></li>
<li><span style="background-color: #ffffff">Search for either &#8220;bogofilter&#8221; or &#8220;spamassassin&#8221; (No quotes).</span></li>
<li><span style="background-color: #ffffff">Select either (or both) tools for installation.</span></li>
<li><span style="background-color: #ffffff">Click Apply to install.</span></li>
</ol>
<p>That&#8217;s it. Now you are ready to move on to KMail.</p>
<p><strong>Kmail SPAM Wizard</strong></p>
<div id="attachment_17339" class="wp-caption alignleft" style="width: 190px"><a rel="attachment wp-att-17339" href="http://www.ghacks.net/2009/10/16/spam-filtering-with-kmail/kmail_spam_wizard_1/"><img class="size-thumbnail wp-image-17339 " src="http://www.ghacks.net/wp-content/uploads/2009/10/kmail_spam_wizard_1-300x300.png" alt="Figure 1" width="180" height="180" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>When you have KMail set up and running click on the Tools menu and select the &#8220;Anti-SPAM Wizard&#8221; entry. When the Wizard opens the first thing it will do is detect which SPAM tools you have installed (see Figure 1).</p>
<p>Once the wizard has detected your SPAM tools, select the tool you want to use and click Next. For the purpose of this article I will select Bogofilter.</p>
<p>The next step in the wizard will ask you for two configurations:</p>
<ul>
<li><span style="background-color: #ffffff">Mark detected SPAM as read: I prefer to unset this, because of the next configuration option.</span></li>
<li><span style="background-color: #ffffff">Which folder to relocate SPAM: By default KMail will move SPAM to the trash folder. I prefer to create a new SPAM folder in order to catch any false-positives.</span></li>
</ul>
<p>By moving SPAM to a specific SPAM folder (and not the trash folder) and keeping SPAM unread, you are less likely to miss any email mistakenly marked as SPAM (false-positive).</p>
<p>The final window of the wizard gives you a report on what you have set up. In my case the wizard creates the following filters:</p>
<ul>
<li><span style="background-color: #ffffff">Bogofilter Check</span></li>
<li><span style="background-color: #ffffff">Spam handling</span></li>
<li><span style="background-color: #ffffff">Classify as Spam</span></li>
<li><span style="background-color: #ffffff">Classify as NOT Spam</span></li>
</ul>
<p>Click the Finish button and your KMail client is ready to learn. And learning is the key.</p>
<p><strong>Help Bogofilter learn</strong></p>
<div id="attachment_17340" class="wp-caption alignright" style="width: 190px"><a rel="attachment wp-att-17340" href="http://www.ghacks.net/2009/10/16/spam-filtering-with-kmail/ham_button/"><img class="size-thumbnail wp-image-17340 " src="http://www.ghacks.net/wp-content/uploads/2009/10/ham_button-300x124.png" alt="Figure 2" width="180" height="74" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>Before Bogofilter can become a reliable SPAM filter, it has to learn what should be classified as SPAM and what should be classified as HAM. Here&#8217;s how I like to do it. Allow plenty of email to collect in your inbox. As the mail comes in take all SPAM (that is not already marked and moved) and move it to the SPAM folder. Once you have cleared your Inbox of all SPAM, select all mail in that folder and then click the Ham button (see Figure 2).</p>
<p>Now, once you have collect a good amount of SPAM in your SPAM folder open that folder up, select all the SPAM, and click the SPAM button.</p>
<p>You may have to do this trick a few times before Bogofilter has been properly trained. You will know when Bogofilter has become accurate with your SPAM/HAM.</p>
<p><strong>Final thoughts</strong></p>
<p>It couldn&#8217;t be much easier to catch and mark SPAM with KMail and Bogofilter. But if you find Bogofilter not as reliable as you would like, run the Wizard and try Spamassassin instead.</p>

	Tags: <a href="http://www.ghacks.net/tag/bogofilter/" title="Bogofilter" rel="tag">Bogofilter</a>, <a href="http://www.ghacks.net/tag/ham/" title="HAM" rel="tag">HAM</a>, <a href="http://www.ghacks.net/tag/kmail/" title="kmail" rel="tag">kmail</a>, <a href="http://www.ghacks.net/tag/spam/" title="spam" rel="tag">spam</a>, <a href="http://www.ghacks.net/tag/spamassassin/" title="spamassassin" rel="tag">spamassassin</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/06/20/use-bogofilter-for-better-junk-detection-in-evolution/" title="Use Bogofilter for better junk detection in Evolution (June 20, 2009)">Use Bogofilter for better junk detection in Evolution</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/05/01/use-spamassassin-for-better-spam-detection/" title="Use Spamassassin for better SPAM detection (May 1, 2009)">Use Spamassassin for better SPAM detection</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/05/18/whats-wrong-with-those-rapidshare-captchas/" title="What&#8217;s wrong with those Rapidshare Captchas ? (May 18, 2008)">What&#8217;s wrong with those Rapidshare Captchas ?</a> (44)</li>
	<li><a href="http://www.ghacks.net/2006/06/15/understanding-email-headers/" title="Understanding Email Headers (June 15, 2006)">Understanding Email Headers</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/07/01/trap-spammers-with-project-honey-pot/" title="Trap Spammers with Project Honey Pot (July 1, 2009)">Trap Spammers with Project Honey Pot</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/10/16/spam-filtering-with-kmail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux equivalents to popular Mac apps</title>
		<link>http://www.ghacks.net/2009/10/15/linux-equivalents-to-popular-mac-apps/</link>
		<comments>http://www.ghacks.net/2009/10/15/linux-equivalents-to-popular-mac-apps/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 18:50:02 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[iCal]]></category>
		<category><![CDATA[iPhoto]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[iWork]]></category>
		<category><![CDATA[linux equivalent applications]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=17302</guid>
		<description><![CDATA[In my most recent article (&#8221;Five tips to help ease the migration from Mac to Linux&#8220;) I outlined ways to help end-users transfer from the Mac operating system to the Linux operating system. It was suggested to me that I should cover applications that could serve as replacements for popular Mac apps. Your wish is [...]]]></description>
			<content:encoded><![CDATA[<p>In my most recent article (&#8221;<a title="Mac to Linux" href="http://www.ghacks.net/2009/10/14/five-tips-to-help-ease-the-migration-from-mac-to-linux/" target="_blank">Five tips to help ease the migration from Mac to Linux</a>&#8220;) I outlined ways to help end-users transfer from the Mac operating system to the Linux operating system. It was suggested to me that I should cover applications that could serve as replacements for popular Mac apps. Your wish is my command.</p>
<p>In this article I will outline a few of the possibilities that can be used to replace the beloved applications often used in Mac. In some cases their may be equivalents that are nearly identical. In some cases, however, there may be equivalents that miss some features, or even offer better features. Either way, after this article, you should feel much more comfortable about migrating from OS X to Linux.</p>
<p><span id="more-17302"></span>In the previous article I already mentioned using <a title="Songbird" href="http://getsongbird.com/" target="_blank">Songbird</a> as a replacement for iTunes. Personally I prefer Songbird to iTunes. The only downfall is that Songbird can not yet communicate to either the iPhone or the iTouch. Yet. There is another tool that is currently in development that will most likely change that. But for now &#8211; you can use Songbird as a replacement for iTunes &#8211; just don&#8217;t expect Songbird to communicate with your iPhone/iTouch.</p>
<p><strong>Garage Band</strong></p>
<p>For those looking to compose music on your Linux machine, a good replacement for Garage Band is <a title="Jokosher" href="http://www.jokosher.org/" target="_blank">Jokosher</a>. Jokosher is a simple, powerful multi-track recording studio. With this outstanding tool you can import music, record instruments, mix down, set tempos, and more. You will not, however, find a large collection of pre-recorded instruments and sounds to add and manipulate. But, if you have a <a title="Freesound" href="http://www.freesound.org/" target="_blank">Freesound</a> account, you can import anything from their. Unlike Garage Band, Jokosher is really more a user-friendly multi-track recorder. So don&#8217;t expect to just open up the application and start piecing together music without picking up an instrument.</p>
<p>For more information on other audio creating software take a look at <a title="Linux Sound" href="http://linux-sound.org/" target="_blank">Linux-Sound.org</a>. In my humble opinion, if you are looking for mult-media creation, your best bet is to download <a title="Ubuntu Studio" href="http://ubuntustudio.org/" target="_blank">Ubuntu Studio</a> which will include so man pre-installed applications for media creation/editing.</p>
<p><strong>iWork</strong></p>
<p><strong></strong>This one should be obvious. If you&#8217;re looking for an office suite to take care of all your office needs, look no further than <a title="OpenOffice" href="http://www.openoffice.org" target="_blank">OpenOffice</a>. Although OpenOffice may have a different look and feel, you will find it just as easy to use AND it includes more features and applications than iWork.</p>
<p><strong>iCal</strong></p>
<p>If you like Apple&#8217;s stand alone calendar (that also integrates with other applications) you can install the stand alone <a title="Sunbird" href="http://www.mozilla.org/projects/calendar/sunbird/" target="_blank">Sunbird</a> calendar. Sunbird was created by Mozilla so it has a very <a href="http://www.ghacks.net/tag/firefox/">Firefox</a>/Thunderbird feel to it. Sunbird is very close to a feature-for-feature equivalent to iCal.</p>
<p><strong>iPhoto</strong></p>
<p>My wife uses a Mac and she HATES iPhoto. But it is the standard for Mac photo management. For Linux there is the <a title="F-spot" href="http://f-spot.org/Main_Page" target="_blank">F-spot</a> photo management tool. F-spot not only manages your photo collections, but will work with your digital camera as an import tool. F-spot is actually easier to use than iPhoto and will not have you fighting to try to get a piece of software to do something you KNOW it should do, but won&#8217;t.</p>
<p><strong>Final thoughts</strong></p>
<p>It&#8217;s not an exhaustive list, but it will help you get by with the main applications one would use on a modern Mac computer.  If you have a Mac-based application you are looking for a Linux equivalent, let me know what that is and I will attempt to locate an equivalent for you.</p>

	Tags: <a href="http://www.ghacks.net/tag/ical/" title="iCal" rel="tag">iCal</a>, <a href="http://www.ghacks.net/tag/iphoto/" title="iPhoto" rel="tag">iPhoto</a>, <a href="http://www.ghacks.net/tag/itunes/" title="itunes" rel="tag">itunes</a>, <a href="http://www.ghacks.net/tag/iwork/" title="iWork" rel="tag">iWork</a>, <a href="http://www.ghacks.net/tag/linux-equivalent-applications/" title="linux equivalent applications" rel="tag">linux equivalent applications</a>, <a href="http://www.ghacks.net/tag/mac/" title="mac" rel="tag">mac</a>, <a href="http://www.ghacks.net/tag/os-x/" title="os x" rel="tag">os x</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/09/05/xnjb-transfer-music-to-and-from-a-mtp-mp3-player-on-a-mac/" title="XNJB: Transfer music to and from a MTP MP3 player on a Mac (September 5, 2009)">XNJB: Transfer music to and from a MTP MP3 player on a Mac</a> (0)</li>
	<li><a href="http://www.ghacks.net/2007/02/06/replace-itunes-with-floola/" title="Replace iTunes with Floola (February 6, 2007)">Replace iTunes with Floola</a> (12)</li>
	<li><a href="http://www.ghacks.net/2009/09/20/quickly-capture-screens-and-share-them-on-os-x-with-skitch/" title="Quickly capture screens and share them on OS X with Skitch (September 20, 2009)">Quickly capture screens and share them on OS X with Skitch</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/08/jdarkroom-productively-word-process/" title="jDarkRoom: Productively word process (February 8, 2009)">jDarkRoom: Productively word process</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/10/14/five-tips-to-help-ease-the-migration-from-mac-to-linux/" title="Five tips to help ease the migration from Mac to Linux (October 14, 2009)">Five tips to help ease the migration from Mac to Linux</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/10/15/linux-equivalents-to-popular-mac-apps/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
