<?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/"
	>

<channel>
	<title>Hacking.BecauseIcan.eu</title>
	<atom:link href="http://hacking.becauseican.eu/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://hacking.becauseican.eu</link>
	<description>Just another WordPress weblog about Hacking</description>
	<pubDate>Tue, 04 Aug 2009 05:52:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Run Linux inside Vista with VirtualBox - An Illustrated Tutorial - Part IV - Installing Sabayon Linux</title>
		<link>http://hacking.becauseican.eu/index.php/2009/08/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-iv-installing-sabayon-linux/</link>
		<comments>http://hacking.becauseican.eu/index.php/2009/08/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-iv-installing-sabayon-linux/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 03:00:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[VirtualBox]]></category>

		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=149</guid>
		<description><![CDATA[Installing Sabayon Linux
The new Virtual Machine is finished and configured. The last step is the installation of the guest operative system inside the VM. From now on, this will be the same as installing a new OS on any real computer.



02:59 - Let&#8217;s starting the installation of Sabayon linux by selecting the Virtual Machine Sabayon [...]]]></description>
			<content:encoded><![CDATA[<h2>Installing Sabayon Linux</h2>
<p>The new Virtual Machine is finished and configured. The last step is the installation of the guest operative system inside the VM. From now on, this will be the same as installing a new OS on any real computer.</p>
<table border="1" frame="void">
<tbody>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_034-2009-08-04-02_59_42.jpg"><img class="alignnone size-medium wp-image-195" title="sabayon_034-2009-08-04-02_59_42" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_034-2009-08-04-02_59_42-300x223.jpg" alt="sabayon_034-2009-08-04-02_59_42" width="300" height="223" /></a>02:59 - Let&#8217;s starting the installation of Sabayon linux by selecting the Virtual Machine Sabayon on the VirtualBox  left panel. Click the button <strong>Start</strong> on the menu above.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_035.jpg"><img class="alignnone size-medium wp-image-150" title="sabayon_035" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_035-300x255.jpg" alt="sabayon_035" width="300" height="255" /></a>A new window will show up. That&#8217;s the window of the new Virtual Machine where Sabayon will be installed. A pop up window with information  will show up. It&#8217;s self explanatory. Read it and activate the check box &#8220;Do not show this message again&#8221;. It explains how the mouse and keyboard works between the VM and the real computer.</p>
<p>When working on your windows desktop click Right Ctrl key and mouse and keyboard will be active on your VM. Click again Right Ctrl and the control of the mouse and keyboard will be passed again to your windows desktop.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_036.jpg"><img class="alignnone size-medium wp-image-151" title="sabayon_036" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_036-300x255.jpg" alt="sabayon_036" width="300" height="255" /></a>Another information may also appear. Read it and activate the check box &#8220;Do not show this message again&#8221;.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_037.jpg"><img class="alignnone size-medium wp-image-152" title="sabayon_037" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_037-282x300.jpg" alt="sabayon_037" width="282" height="300" /></a>A warning window can also appear. Read it and click OK.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_037-2009-08-04-03_01_39.jpg"><img class="alignnone size-medium wp-image-198" title="sabayon_037-2009-08-04-03_01_39" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_037-2009-08-04-03_01_39-300x255.jpg" alt="sabayon_037-2009-08-04-03_01_39" width="300" height="255" /></a>03:01 - The menu to chose the installation type will show up. Select with the arrow keys the &#8220;Start graphical Installation&#8221; option and press Enter.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_039-2009-08-04-03_02_10.jpg"><img class="alignnone size-medium wp-image-200" title="sabayon_039-2009-08-04-03_02_10" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_039-2009-08-04-03_02_10-300x244.jpg" alt="sabayon_039-2009-08-04-03_02_10" width="300" height="244" /></a></p>
<p>03:02 - The installation process will start.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_046-2009-08-04-03_04_29.jpg"><img class="alignnone size-medium wp-image-207" title="sabayon_046-2009-08-04-03_04_29" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_046-2009-08-04-03_04_29-300x244.jpg" alt="sabayon_046-2009-08-04-03_04_29" width="300" height="244" /></a></p>
<p>03:04 - First screen. Click Next.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_042.jpg"></a><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_048-2009-08-04-03_05_27.jpg"><img class="alignnone size-medium wp-image-209" title="sabayon_048-2009-08-04-03_05_27" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_048-2009-08-04-03_05_27-300x244.jpg" alt="sabayon_048-2009-08-04-03_05_27" width="300" height="244" /></a></p>
<p>03:05 - Chose your keyboard and click Next.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_049-2009-08-04-03_05_58.jpg"><img class="alignnone size-medium wp-image-210" title="sabayon_049-2009-08-04-03_05_58" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_049-2009-08-04-03_05_58-300x244.jpg" alt="sabayon_049-2009-08-04-03_05_58" width="300" height="244" /></a></p>
<p>03:05 - Chose the desktop type. Select Sabayon Linux KDE Desktop and click Next.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_050-2009-08-04-03_06_29.jpg"><img class="alignnone size-medium wp-image-211" title="sabayon_050-2009-08-04-03_06_29" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_050-2009-08-04-03_06_29-300x244.jpg" alt="sabayon_050-2009-08-04-03_06_29" width="300" height="244" /></a></p>
<p>03:06 - Services configuration. Accept the default values and click Next.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_051-2009-08-04-03_06_54.jpg"><img class="alignnone size-medium wp-image-212" title="sabayon_051-2009-08-04-03_06_54" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_051-2009-08-04-03_06_54-300x244.jpg" alt="sabayon_051-2009-08-04-03_06_54" width="300" height="244" /></a></p>
<p>03:06 - Disk partitioning setup. Select automatically partition and click Next.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_046.jpg"></a><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_052-2009-08-04-03_07_26.jpg"><img class="alignnone size-medium wp-image-213" title="sabayon_052-2009-08-04-03_07_26" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_052-2009-08-04-03_07_26-300x244.jpg" alt="sabayon_052-2009-08-04-03_07_26" width="300" height="244" /></a></p>
<p>03:07 - Say Yes to this warning. Don&#8217;t worry. You are working in the Virtual Machine.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_053-2009-08-04-03_08_05.jpg"><img class="alignnone size-medium wp-image-214" title="sabayon_053-2009-08-04-03_08_05" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_053-2009-08-04-03_08_05-300x244.jpg" alt="sabayon_053-2009-08-04-03_08_05" width="300" height="244" /></a></p>
<p>03:08 - Automatic partitioning. Select &#8220;Remove all partitions on this System&#8221; and click next. Say yes to the warning box that will show up.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_055-2009-08-04-03_08_54.jpg"><img class="alignnone size-medium wp-image-216" title="sabayon_055-2009-08-04-03_08_54" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_055-2009-08-04-03_08_54-300x244.jpg" alt="sabayon_055-2009-08-04-03_08_54" width="300" height="244" /></a></p>
<p>03:08 - Disk Setup. Information about the partitions to be created. Click Next.</p>
<p>The next screen will show the boot loader configuration. Accept the default values and click Next. <a title="Boot Loader Configuration" href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_056-2009-08-04-03_09_24.jpg" target="_blank">Click Here</a> to see the screen with the Boot Loader Configuration.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_057-2009-08-04-03_09_45.jpg"><img class="alignnone size-medium wp-image-218" title="sabayon_057-2009-08-04-03_09_45" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_057-2009-08-04-03_09_45-300x244.jpg" alt="sabayon_057-2009-08-04-03_09_45" width="300" height="244" /></a></p>
<p>03:09 - Network Configuration. Accept the default values and click Next.</p>
<p>On the next screen select your time zone and click ext.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_060-2009-08-04-03_14_40.jpg"><img class="alignnone size-medium wp-image-221" title="sabayon_060-2009-08-04-03_14_40" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_060-2009-08-04-03_14_40-300x244.jpg" alt="sabayon_060-2009-08-04-03_14_40" width="300" height="244" /></a></p>
<p>03:14 - Set Root Password. Type the root password. Type the name , username and password for user that will use the system usually. On my case my username will be <strong>myself</strong>. This will be the user that will use the system for normal work. Click Next.</p>
<p>On the next screen click Next to start the installation process.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_062-2009-08-04-03_15_11.jpg"><img class="alignnone size-medium wp-image-223" title="sabayon_062-2009-08-04-03_15_11" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_062-2009-08-04-03_15_11-300x244.jpg" alt="sabayon_062-2009-08-04-03_15_11" width="300" height="244" /></a></p>
<p>03:15 - The installation will start.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_073-2009-08-04-03_34_53.jpg"><img class="alignnone size-medium wp-image-234" title="sabayon_073-2009-08-04-03_34_53" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_073-2009-08-04-03_34_53-300x244.jpg" alt="sabayon_073-2009-08-04-03_34_53" width="300" height="244" /></a></p>
<p>03:34 - Around 20 minutes later the installation will be done. Click Reboot.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_077-2009-08-04-03_36_40.jpg"><img class="alignnone size-medium wp-image-238" title="sabayon_077-2009-08-04-03_36_40" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_077-2009-08-04-03_36_40-300x244.jpg" alt="sabayon_077-2009-08-04-03_36_40" width="300" height="244" /></a></p>
<p>03:36 - The system will reboot.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_081-2009-08-04-03_38_18.jpg"><img class="alignnone size-medium wp-image-242" title="sabayon_081-2009-08-04-03_38_18" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_081-2009-08-04-03_38_18-300x244.jpg" alt="sabayon_081-2009-08-04-03_38_18" width="300" height="244" /></a></p>
<p>03:38 - Click continue without desktop acceleration.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_085-2009-08-04-03_39_26.jpg"><img class="alignnone size-medium wp-image-246" title="sabayon_085-2009-08-04-03_39_26" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_085-2009-08-04-03_39_26-300x244.jpg" alt="sabayon_085-2009-08-04-03_39_26" width="300" height="244" /></a></p>
<p>03:39 - Click the arrow pointing to the right to login.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_086-2009-08-04-03_40_04.jpg"><img class="alignnone size-medium wp-image-247" title="sabayon_086-2009-08-04-03_40_04" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_086-2009-08-04-03_40_04-300x244.jpg" alt="sabayon_086-2009-08-04-03_40_04" width="300" height="244" /></a></p>
<p>03:40 - We are in. But we are still running from the Live CD (our ISO file mounted when we were configuring the VM). The user is Sabayonuser, the default username when running the Live CD. You can already have a feeling of everything.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_087-2009-08-04-03_42_26.jpg"><img class="alignnone size-medium wp-image-248" title="sabayon_087-2009-08-04-03_42_26" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_087-2009-08-04-03_42_26-300x244.jpg" alt="sabayon_087-2009-08-04-03_42_26" width="300" height="244" /></a></p>
<p>03:42 - The KDE Menu. From here you can access and control everything on the system. Let&#8217;s try Firefox.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_089-2009-08-04-03_54_13.jpg"><img class="alignnone size-medium wp-image-250" title="sabayon_089-2009-08-04-03_54_13" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_089-2009-08-04-03_54_13-300x244.jpg" alt="sabayon_089-2009-08-04-03_54_13" width="300" height="244" /></a></p>
<p>03:54 - Ok&#8230; play a little bit and shutdown the system.</p>
<p>Click on the <a title="Log Out" href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_090-2009-08-04-03_55_35.jpg" target="_blank">KDE button</a> and select log out.</p>
<p>Select <a title="Turn Off Computer." href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_091-2009-08-04-03_55_53.jpg" target="_blank">Turn Off Computer</a>.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_096-2009-08-04-04_01_16.jpg"><img class="alignnone size-medium wp-image-257" title="sabayon_096-2009-08-04-04_01_16" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_096-2009-08-04-04_01_16-300x259.jpg" alt="sabayon_096-2009-08-04-04_01_16" width="300" height="259" /></a></p>
<p>04:01 - On the main window of VirtualBox, select on the left panel your VM Sabayon and click on Settings button. Select CD/DVD-ROM and instead of ISO Image File, activate the Host CD/DVD Drive. This will disable the ISO file used to install the system and will enable the CD/DVD drive to be mounted on the VM. Click OK.</p>
<p>Click the Start button to start our Virtual machine.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_064.jpg"><img class="alignnone size-medium wp-image-180" title="sabayon_064" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_064-300x255.jpg" alt="sabayon_064" width="300" height="255" /></a></p>
<p>The Boot loader will show up and <a title="Sabayon booting for the first time from the virtual hard Drive" href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_097-2009-08-04-04_03_12.jpg" target="_blank">Sabayon will start to load</a>.</p>
<p>This time the system will be running from the Virtual Hard drive.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_098-2009-08-04-04_07_47.jpg"><img class="alignnone size-medium wp-image-259" title="sabayon_098-2009-08-04-04_07_47" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_098-2009-08-04-04_07_47-300x244.jpg" alt="sabayon_098-2009-08-04-04_07_47" width="300" height="244" /></a></p>
<p>04:07 - Login screen. Put your username and password and press enter. My username is myself and password is :)). The username and password were setup before (see time 03:14 above).</p>
<p>You can also login as root. Type root on the username field and then type the root&#8217;s password. It&#8217;s not very wise though.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_099-2009-08-04-04_08_57.jpg"><img class="alignnone size-medium wp-image-260" title="sabayon_099-2009-08-04-04_08_57" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_099-2009-08-04-04_08_57-300x244.jpg" alt="sabayon_099-2009-08-04-04_08_57" width="300" height="244" /></a></p>
<p>04:08 - Here we are. The  system is running. A complete linux installation running inside windows Vista with the help of VirtualBox. Play around and have fun.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_100-2009-08-04-04_14_43.jpg"><img class="alignnone size-medium wp-image-261" title="sabayon_100-2009-08-04-04_14_43" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_100-2009-08-04-04_14_43-300x244.jpg" alt="sabayon_100-2009-08-04-04_14_43" width="300" height="244" /></a></p>
<p>04:14 - Firefox is running. KDE file manager is also running and the shell as well for the ones that like to do things the hard way.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_101-2009-08-04-04_17_08.jpg"><img class="alignnone size-medium wp-image-262" title="sabayon_101-2009-08-04-04_17_08" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_101-2009-08-04-04_17_08-300x244.jpg" alt="sabayon_101-2009-08-04-04_17_08" width="300" height="244" /></a></p>
<p>04:17 - I&#8217;ve inserted a DVD disk in the DVD reader and Sabayon has detected the DVD like Windows and asks what we want to do. I have selected &#8220;Open in new window&#8221; and clicked OK.</p>
<p>The KDE file manager will run showing the contents of the DVD. See <a title="KDE file manager" href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_102-2009-08-04-04_18_46.jpg" target="_blank">image Here</a>.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_105-2009-08-04-04_22_55.jpg"><img class="alignnone size-medium wp-image-266" title="sabayon_105-2009-08-04-04_22_55" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_105-2009-08-04-04_22_55-300x244.jpg" alt="sabayon_105-2009-08-04-04_22_55" width="300" height="244" /></a></p>
<p>04:22 - SMPlayer is a media player that can run any kind of multimedia files.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_106-2009-08-04-04_24_42.jpg"><img class="alignnone size-medium wp-image-267" title="sabayon_106-2009-08-04-04_24_42" src="http://hacking.becauseican.eu/wp-content/uploads/2009/08/sabayon_106-2009-08-04-04_24_42-300x244.jpg" alt="sabayon_106-2009-08-04-04_24_42" width="300" height="244" /></a></p>
<p>04:24 - Close all applications. Right click on any place on the desktop and select Log Out &#8220;username&#8221;. On the next screen select Tur Off Computer.</p>
<p>You&#8217;re done&#8230;</p>
<p>Have fun with your new system&#8230;</td>
</tr>
</tbody>
</table>
<table border="1" frame="void">
<tbody></tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2009/08/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-iv-installing-sabayon-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Run Linux inside Vista with VirtualBox - An Illustrated Tutorial - Part III - Configuring The Virtual Machine</title>
		<link>http://hacking.becauseican.eu/index.php/2009/07/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-iii-configuring-the-virtual-machine/</link>
		<comments>http://hacking.becauseican.eu/index.php/2009/07/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-iii-configuring-the-virtual-machine/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 23:20:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[VirtualBox]]></category>

		<category><![CDATA[Windows Vista]]></category>

		<category><![CDATA[linux sabayon]]></category>

		<category><![CDATA[sabayon]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=113</guid>
		<description><![CDATA[Adjusting the Virtual Machine
Now that the virtual machine is done, we need to make a few adjustments to the &#8220;hardware&#8221; of this &#8220;new computer&#8221;.
On the main window of VirtualBox we have two panels. The left panel contains all the virtual machines the you have created. The right panel shows the &#8220;hardware&#8221; characteristics of the virtual [...]]]></description>
			<content:encoded><![CDATA[<h2>Adjusting the Virtual Machine</h2>
<p>Now that the virtual machine is done, we need to make a few adjustments to the &#8220;hardware&#8221; of this &#8220;new computer&#8221;.</p>
<p>On the main window of VirtualBox we have two panels. The left panel contains all the virtual machines the you have created. The right panel shows the &#8220;hardware&#8221; characteristics of the virtual machine selected on the left panel. These characteristics are the ones that we are going to change and adjust to &#8220;build&#8221; our virtual computer.</p>
<table border="1" frame="void">
<tbody>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_0191.png"><img class="alignnone size-medium wp-image-117" title="sabayon_019" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_0191-300x221.png" alt="sabayon_019" width="300" height="221" /></a></p>
<p>To start the &#8220;hardware&#8221; adjustments of the virtual machine just select it on the left panel and click on the <strong>Settings</strong> button above.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_020.jpg"><img class="alignnone size-medium wp-image-118" title="sabayon_020" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_020-300x258.jpg" alt="sabayon_020" width="300" height="258" /></a></p>
<p>A new window will show up. On the left panel are the devices to be configured and the configurations are made on the right panel. The very first adjustments to be done are the <strong>General</strong> configurations where you can adjust the Base Memory Size (RAM assigned to the VM) and the Video Memory Size (memory assigned to the virtual graphics card of the VM). On my VM I have assigned 519 Mb of RAM to the VM and 128Mb to the virtual graphics card.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_021.jpg"><img class="alignnone size-medium wp-image-121" title="sabayon_021" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_021-300x258.jpg" alt="sabayon_021" width="300" height="258" /></a></p>
<p>Still inside the <strong>General</strong> configurations select <strong>Advanced</strong>. Here the Boot Order of the VM can be changed the same way it would be done on a real computer changing the Boot Order on the BIOS. Normally it&#8217;s not necessary to change anything here.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_022.jpg"><img class="alignnone size-medium wp-image-122" title="sabayon_022" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_022-300x258.jpg" alt="sabayon_022" width="300" height="258" /></a></p>
<p>Next there is the <strong>Hard Disks</strong> configuration. There isn&#8217;t any need to change anything here because it was done during the initial wizard to <a title="Create a Virtual Machine with VirtualBox" href="http://hacking.becauseican.eu/index.php/2008/12/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-ii-creating-virtual-machine/" target="_blank">create the VM</a>.<br />
CD/DVD-ROM - Here you can mount the CD/DVD Drive on the VM putting a check on the Mount CD/DVD Drive check box. When starting the VM the CD/DVD/Drive will be assigned to the VM.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_023.jpg"><img class="alignnone size-medium wp-image-123" title="sabayon_023" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_023-300x258.jpg" alt="sabayon_023" width="300" height="258" /></a></p>
<p>To mount the CD/DVD Drive there are two options. Mount the real CD/DVD Drive or mount an ISO image file. The former mounts and assigns the computer&#8217;s CD/DVD Drive on the VM. The latter allows to mount any ISO image file as a CD/DVD Drive.</td>
<td align="left" valign="top">We are going to chose the option Mount ISO Image File. We have already downloaded an ISO image file of the Sabayon Linux distribution on the part one of this tutorial.</p>
<p>After choosing the ISO Image File option, click on the folder icon similar to this one:<br />
<img class="alignnone size-full wp-image-124" title="sabayon_024" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_024.jpg" alt="sabayon_024" width="23" height="22" /></p>
<p>This will evokes the Virtual Media Manager to select the ISOs to be mounted.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_025.jpg"><img class="alignnone size-medium wp-image-126" title="sabayon_025" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_025-300x233.jpg" alt="sabayon_025" width="300" height="233" /></a></p>
<p>The Virtual Media Manager will open. I have already here to ISO image files but none of them is the one the I need to install the Sabayon Linux.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_026.jpg"><img class="alignnone size-medium wp-image-127" title="sabayon_026" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_026-300x233.jpg" alt="sabayon_026" width="300" height="233" /></a></p>
<p>Click the button <strong>Add</strong> to select and add an ISO image file to the Virtual Media Manager.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_027.jpg"><img class="alignnone size-medium wp-image-128" title="sabayon_027" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_027-300x233.jpg" alt="sabayon_027" width="300" height="233" /></a></p>
<p>Got to the location on your hard drive where you have downloaded the Sabayon Linux image file. Select it and click <strong>Open</strong>.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_028.jpg"><img class="alignnone size-medium wp-image-129" title="sabayon_028" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_028-300x233.jpg" alt="sabayon_028" width="300" height="233" /><br />
</a></p>
<p>The ISO image file of Sabayon Linux will be listed now on the Virtual Media Manager. Select it  with the mouse and click on the button <strong>Select</strong> on the lower right corner.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_029.jpg"><img class="alignnone size-medium wp-image-130" title="sabayon_029" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_029-300x258.jpg" alt="sabayon_029" width="300" height="258" /></a></p>
<p>You&#8217;ll be automatically transported to the settings window of the Sabayon Virtual Machine. Click OK.</p>
<p>We&#8217;re again on the <a title="Main window of VirtualBox" href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_0191.png" target="_blank">main window of VirtualBox</a>. With Sabayon selected on the left panel we can see on the right panel all the configurations of our new Sabayon Virtual Machine</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_030.jpg"><img class="alignnone size-medium wp-image-131" title="sabayon_030" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_030-300x292.jpg" alt="sabayon_030" width="300" height="292" /></a></p>
<p>The image above shows the configurations of mine Sabayon VM done until now. Click again on the <strong>Settings</strong> button.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_031.jpg"><img class="alignnone size-medium wp-image-133" title="sabayon_031" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_031-300x258.jpg" alt="sabayon_031" width="300" height="258" /></a></p>
<p>Click the Audio device button.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_032.jpg"><img class="alignnone size-medium wp-image-134" title="sabayon_032" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_032-300x258.jpg" alt="sabayon_032" width="300" height="258" /></a></p>
<p>Activate the Enable Audio check box. This will allow the VM to have a virtual sound card. The configurations shown above have worked just perfect for me. If after running your VM you don&#8217;t have sound, just come here again and try other options.</td>
</tr>
<tr>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_033.jpg"><img class="alignnone size-medium wp-image-135" title="sabayon_033" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_033-300x258.jpg" alt="sabayon_033" width="300" height="258" /></a></p>
<p>Click the USB button and activate the <strong>Enable USB Controller</strong>.</p>
<p>Any USB device being used by the guest OS running on the Virtual Machine will not be accessible by the host OS.</td>
<td align="left" valign="top"><a href="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_034.jpg"><img class="alignnone size-medium wp-image-136" title="sabayon_034" src="http://hacking.becauseican.eu/wp-content/uploads/2009/07/sabayon_034-300x221.jpg" alt="sabayon_034" width="300" height="221" /></a></p>
<p>Click OK and we&#8217;ll be back to the main window of VirtualBox</td>
</tr>
</tbody>
</table>
<p>On part 4 of this tutorial we will finally  install the new operative system Sabayon Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2009/07/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-iii-configuring-the-virtual-machine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple MacBook Pro MB604LL/A 17-Inch Laptop</title>
		<link>http://hacking.becauseican.eu/index.php/2009/01/apple-macbook-pro-mb604lla-17-inch-laptop/</link>
		<comments>http://hacking.becauseican.eu/index.php/2009/01/apple-macbook-pro-mb604lla-17-inch-laptop/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 07:53:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Apple MacBook]]></category>

		<category><![CDATA[laptop]]></category>

		<category><![CDATA[MacBook]]></category>

		<category><![CDATA[notebook]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=102</guid>
		<description><![CDATA[The new Apple MacBook is just about ready to take off.
Apple MacBook Pro MB604LL/A 17-Inch Laptop (2.66 GHz Intel Core 2 Duo Processor, 4 GB RAM, 320 GB Hard Drive, Slot Loading SuperDrive)

Apple MacBook Pro MB604LL/A 17-Inch Laptop is thinner and lighter than its predecessor as well as stronger and more durable. But Apple didn’t [...]]]></description>
			<content:encoded><![CDATA[<p>The new Apple MacBook is just about ready to take off.</p>
<p><a href="http://www.amazon.com/gp/product/B000VR3P9K?ie=UTF8&amp;tag=dating022-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000VR3P9K">Apple MacBook Pro MB604LL/A 17-Inch Laptop (2.66 GHz Intel Core 2 Duo Processor, 4 GB RAM, 320 GB Hard Drive, Slot Loading SuperDrive)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=dating022-20&amp;l=as2&amp;o=1&amp;a=B000VR3P9K" border="0" alt="" width="1" height="1" /></p>
<p><strong></strong></p>
<div class="wp-caption alignleft" style="width: 510px"><strong><strong><img title="Apple MacBook Pro MB604LL" src="http://images.amazon.com/images/G/01/electronics/detail-page/macbookpro-17-hero-500.jpg" alt="Apple MacBook Pro MB604LL/A 17-Inch Laptop" width="500" height="261" /></strong></strong><p class="wp-caption-text">Apple MacBook Pro MB604LL/A 17-Inch Laptop</p></div>
<p><strong>Apple MacBook Pro MB604LL/A 17-Inch Laptop</strong> is thinner and lighter than its predecessor as well as stronger and more durable. But Apple didn’t stop innovating with the body’s design. The MacBook Pro also includes a new high-resolution LED-backlit widescreen with a 1920-by-1200-pixel resolution, a greater color gamut for more vibrant colors, and a 700:1 contrast ratio that makes whites brighter and blacks blacker. It also includes the new glass trackpad that does away with the trackpad button (for larger tracking area) and features Apple’s Multi-Touch technology. And the non-removable battery lasts up to 8 hours on a single charge and can be recharged up to 1000 times–compared with only 200 to 300 times for typical notebooks.</p>
<p>It’s pre-loaded with Apple’s Mac OS X 10.5 Leopard operating system, which enables easy backup of your most important data via Time Machine, a redesigned desktop that helps eliminate clutter. It also comes with the iLife ‘09 suite of applications–including the latest versions of iPhoto, iMovie, and Garageband–and the newest version of the fast-loading Safari web browser. Other hardware features include a 320 GB hard drive, 4 GB of installed RAM (which can be upgraded to 8 GB), an 8x combo Superdrive (for burning dual-layer DVDs as well as CDs), built-in Gigabit Ethernet for high-speed networking, Bluetooth 2.1+EDR (Enhanced Data Rate), FireWire 800 port, Mini DisplayPort video output (for DVI and VGA connections), and an ExpressCard/34 expansion card slot for expansion solutions such as 3G cellular networking.</p>
<p>If I could have one like this I could travel to the moon. My modest laptop is  felling so shy right now.</p>
<p>Full specifications and orders here:</p>
<p><a href="http://www.amazon.com/gp/product/B000VR3P9K?ie=UTF8&amp;tag=dating022-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000VR3P9K">Apple MacBook Pro MB604LL/A 17-Inch Laptop (2.66 GHz Intel Core 2 Duo Processor, 4 GB RAM, 320 GB Hard Drive, Slot Loading SuperDrive)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=dating022-20&amp;l=as2&amp;o=1&amp;a=B000VR3P9K" border="0" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2009/01/apple-macbook-pro-mb604lla-17-inch-laptop/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Manual upgrade of wordpress to the new 2.7 version</title>
		<link>http://hacking.becauseican.eu/index.php/2009/01/manual-upgrade-of-wordpress-to-the-new-27-version/</link>
		<comments>http://hacking.becauseican.eu/index.php/2009/01/manual-upgrade-of-wordpress-to-the-new-27-version/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 08:36:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[templates]]></category>

		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=98</guid>
		<description><![CDATA[manual uograde of wordpress 2.7]]></description>
			<content:encoded><![CDATA[<p>I have just made the manual upgrade of Wordpress to the new 2.7 version.</p>
<p>The layout of the template in use lost some formating. I need to see what wrong with it&#8230; other than that, everything seems to be ok.</p>
<p>Trying now to get used to the new interface on the back-end.</p>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2009/01/manual-upgrade-of-wordpress-to-the-new-27-version/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows Vista Codecs Package - Freeware</title>
		<link>http://hacking.becauseican.eu/index.php/2009/01/windows-vista-codecs-package-freeware/</link>
		<comments>http://hacking.becauseican.eu/index.php/2009/01/windows-vista-codecs-package-freeware/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 02:34:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Codecs]]></category>

		<category><![CDATA[Video]]></category>

		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=96</guid>
		<description><![CDATA[Author’s Description: “Codecs have been a problem for most users at one time or another. This is because there has never been an ‘out of the box’ working solution that the average computer user could install and just have everything work properly from the beginning. There are several decent codec package solutions out there, but [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Author’s Description: </strong>“Codecs have been a problem for most users at one time or another. This is because there has never been an<strong><span style="font-weight: normal;"> ‘out of the box’ working solution</span></strong> that the average computer user could install and just have everything work properly from the beginning. There are several decent codec package solutions out there, but none of them did everything I wanted. I was always in need of a tweak, adjustment, or even a re-installation just to get the codecs I needed/wanted and most of the time, the file still didn’t play properly. I’ve never claimed to be a media guru. My media experience prior to creating these packages was to double-click a file I downloaded and hope that it played. So with the help of the <a href="http://www.msfn.org/board/index.php">MSFN community</a>, I decided to package up the bare minimum of codecs required by most computer users and share them with the rest of the world.”</p>
<p>&#8220;<span class="style2"><strong>It does not contain a media player and it does not associate file-types.</strong> With this package installed you will be able to use any media player, limited only by the players&#8217; capabilities, to play all movies and video clips. Streaming video is supported in several formats in all popular web browsers. Users of VCP have the ability to choose what is installed and where to install it using the public redistributable. After installation you can select to remove specific portions without removing the entire package. You can also re-add the removed items at any time.&#8221;</span></p>
<p><a href="http://shark007.net/vistacodecpackage.html" target="_blank">Software Home Page</a></p>
<p><a href="http://www.mediafire.com/?og2uzy0jix4" target="_blank">Download Codecs 5.0.7</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2009/01/windows-vista-codecs-package-freeware/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Run Linux inside Vista with VirtualBox - An Illustrated Tutorial - Part II - Creating a Virtual Machine</title>
		<link>http://hacking.becauseican.eu/index.php/2008/12/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-ii-creating-virtual-machine/</link>
		<comments>http://hacking.becauseican.eu/index.php/2008/12/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-ii-creating-virtual-machine/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 05:32:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[VirtualBox]]></category>

		<category><![CDATA[Windows Vista]]></category>

		<category><![CDATA[linux sabayon]]></category>

		<category><![CDATA[sabayon]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=69</guid>
		<description><![CDATA[The criation of a virtual machine with VirtualBox inside windows vista.]]></description>
			<content:encoded><![CDATA[<h2>Creating a Virtual Machine</h2>
<p>Run VirtualBox like any other software. It should be under Start &gt; Sun xVM VirtualBox &gt; VirtualBox</p>
<table border="1" frame="void">
<tbody>
<tr>
<td align="left" valign="top">
<div id="attachment_61" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_008.jpg"><img class="size-medium wp-image-61" title="sabayon_008" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_008-300x221.jpg" alt="Start VirtualBox" width="300" height="221" /></a><p class="wp-caption-text">Start VirtualBox</p></div></td>
<td align="left" valign="top">This image on the left is the interface of VirtualBox. i have already a few guests OS installed. Your VM (virtual machine) is empty. To install our new linux system that we have just downloaded, we have to create a virtual machine for it.</p>
<p>Just click on the button <strong>New</strong> and we will start the process of creating a brand new virtual machine.</td>
</tr>
<tr>
<td align="left" valign="top">
<p><div id="attachment_62" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_009.jpg"><img class="size-medium wp-image-62" title="sabayon_009" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_009-300x267.jpg" alt="First step - Click Next" width="300" height="267" /></a><p class="wp-caption-text">First step - Click Next</p></div>
<p>Always read the dialog boxes&#8230; yep&#8230; it&#8217;s a stupid comment but there are a lot of people that don&#8217;t do that.</td>
<td align="left" valign="top">
<div id="attachment_63" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_010.jpg"><img class="size-medium wp-image-63" title="sabayon_010" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_010-300x267.jpg" alt="Give a name to your VM" width="300" height="267" /></a><p class="wp-caption-text">Give a name to your VM</p></div>
<p>Give a name your VM. Name it according the OS you are about to install. This will make things easier later on when you have several Guests OS installed.<br />
You have also to chose the type of OS to be installed. based on that choice , VirtualBox will pre-configure a few things for you. Click Next</td>
</tr>
<tr>
<td align="left" valign="top">
<div id="attachment_64" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_011.jpg"><img class="size-medium wp-image-64" title="sabayon_011" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_011-300x267.jpg" alt="Define the RAM to your VM" width="300" height="267" /></a><p class="wp-caption-text">Define the RAM to your VM</p></div>
<p>Decide the amount of RAM that your VM will have. Based on your previous choice VirtualBox recommends 256MB of memory. Click Next</td>
<td align="left" valign="top">
<div id="attachment_72" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_012.jpg"><img class="size-medium wp-image-72" title="sabayon_012" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_012-300x267.jpg" alt="Chose a virtual Hard Drive" width="300" height="267" /></a><p class="wp-caption-text">Chose a virtual Hard Drive</p></div>
<p>Now it&#8217;s time to chose a virtual hard drive. You still don&#8217;t have any. Click <strong>New</strong> to create one.</td>
</tr>
<tr>
<td align="left" valign="top">
<div id="attachment_73" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_013.jpg"><img class="size-medium wp-image-73" title="sabayon_013" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_013-300x267.jpg" alt="New Virtual Disk Wizzard" width="300" height="267" /></a><p class="wp-caption-text">New Virtual Disk Wizard</p></div>
<p>First step to create a new virtual hard drive. Click Next</td>
<td align="left" valign="top">
<div id="attachment_74" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_014.jpg"><img class="size-medium wp-image-74" title="sabayon_014" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_014-300x267.jpg" alt="Type of Virtual hard drive" width="300" height="267" /></a><p class="wp-caption-text">Type of Virtual Hard Drive</p></div>
<p>Chose the type of virtual drive: Dynamic or Fixed.<br />
Dynamic - VirtualBox will contract or expand the size of the files used as virtual drive as needed.<br />
Fixed - VirtualBox will use always a file with the same size.<br />
If in the future you install lots of software inside your VM and you reach the limit of the virtual drive, you can&#8217;t do anything about it.<br />
With Dynamic drive you will not have that problem but if you chose a drive with 8GB and you don&#8217;t install any kind of software, you will have a few Gbytes of wasted space.<br />
With time you&#8217;ll learn the best option. Click Next.</td>
</tr>
<tr>
<td align="left" valign="top">
<div id="attachment_76" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_015.jpg"><img class="size-medium wp-image-76" title="sabayon_015" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_015-300x267.jpg" alt="Define the size of VirtualHard drive" width="300" height="267" /></a><p class="wp-caption-text">Define the size of VirtualHard drive</p></div>
<p>It&#8217;s time to decide the size of your virtual hard drive. Virtualbox recommends 8GB. If you have that space available accept that value. If not chose half of that value. Give a name to the file that will be saved on your computer as a virtual hard drive. To keep things organized give the same name that you have given to your VM on the beginning. Click Next.</td>
<td align="left" valign="top">
<div id="attachment_77" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_016.jpg"><img class="size-medium wp-image-77" title="sabayon_016" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_016-300x267.jpg" alt="Virtual Hard Drive created" width="300" height="267" /></a><p class="wp-caption-text">Virtual Hard Drive created</p></div>
<p>Your new hard drive is created. Click <strong>Finish</strong> to complete the operation.</td>
</tr>
<tr>
<td align="left" valign="top">
<div id="attachment_78" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_017.jpg"><img class="size-medium wp-image-78" title="sabayon_017" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_017-300x267.jpg" alt="Chose the VM hard drive" width="300" height="267" /></a><p class="wp-caption-text">Chose the VM hard drive</p></div>
<p>We&#8217;re back to step 5. Chose your recently created hard drive as the hard disk of your virtual machine. Click Next.</td>
<td align="left" valign="top">
<div id="attachment_79" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_018.jpg"><img class="size-medium wp-image-79" title="sabayon_018" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_018-300x267.jpg" alt="Final step - VM is finished" width="300" height="267" /></a><p class="wp-caption-text">Final step - VM is finished</p></div>
<p>Your new virtual machine is concluded. Click Finish.</td>
</tr>
</tbody>
</table>
<p>On the next post we will be ajusting our new virtual machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2008/12/run-linux-inside-vista-with-virtualbox-an-illustrated-tutorial-part-ii-creating-virtual-machine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Run Linux inside Vista with VirtualBox - An Illustrated Tutorial - Part I</title>
		<link>http://hacking.becauseican.eu/index.php/2008/12/run-linux-inside-vista-with-virtualbox-illustrated-tutorial-part-i/</link>
		<comments>http://hacking.becauseican.eu/index.php/2008/12/run-linux-inside-vista-with-virtualbox-illustrated-tutorial-part-i/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 01:40:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[VirtualBox]]></category>

		<category><![CDATA[Windows Vista]]></category>

		<category><![CDATA[sabayon]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=39</guid>
		<description><![CDATA[Download and install VirtualBox. Download Linux Sabayon to be installed into virtualbox running inside windows vista]]></description>
			<content:encoded><![CDATA[<h2><strong>Introduction</strong></h2>
<p>Have you ever wondered about having two Operative Systems installed on your PC running simultaneously? It&#8217;s extremely easy to do and very handy.In this illustrated tutorial I am gonna show how to <strong>install Linux Sabayon inside Windows Vista Home Basic.</strong></p>
<p>Linux Sabayon is a flavor of linux based on the Gentoo distribution. It&#8217;s an amazing distribution and the GUI is awesome. Just to give you a taste of it look at this image and video.</p>
<table border="0">
<tbody>
<tr>
<td align="left" valign="top">
<div id="attachment_42" class="wp-caption alignleft" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/linux-sabayon-running-on-vista.jpg"><img class="size-medium wp-image-42" title="linux-sabayon-running-on-vista" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/linux-sabayon-running-on-vista-300x187.jpg" alt="Linux Sabayon running inside Windows Vista" width="300" height="187" /></a><p class="wp-caption-text">Linux Sabayon running inside Windows Vista</p></div></td>
<td align="left" valign="top"></td>
</tr>
<tr>
<td align="left" valign="top"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/o1t6H8rBd5I&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=it&amp;feature=player_embedded&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/o1t6H8rBd5I&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=it&amp;feature=player_embedded&amp;fs=1" allowfullscreen="true"></embed></object></td>
<td>Video showing Linux Sabayon running</td>
</tr>
</tbody>
</table>
<p>Before the advent of virtual machines software, we had only one possibility: dual boot systems. Dual Boot has some advantages but has the inconvenient of while you are running one system, the other is off. Virtual machines solved that problem. With them you can have your main system running and install other Operative Systems inside virtual machines. This allows you to run and test a big variety of systems without messing with partitions.</p>
<p>How about the new shareware just downloaded from the Internet? You could install the old Windows 98 or Windows 2000 in a virtual machine and then test the shareware without jeopardizing your main system. The possibilities are endless.</p>
<h2><strong>Install VirtualBox</strong></h2>
<p>Just a few notes:</p>
<ul>
<li>My computer is a Dell computer with 2GB of RAM and Windows Vista Home Basic installed. This is the <strong>HOST</strong></li>
</ul>
<ul>
<li> OS.After the installation of VirtualBox, each operative system that you install inside it, they will the <strong>GUEST</strong> OS.</li>
</ul>
<p>Go to <a title="VirtualBox" href="http://www.virtualbox.org/" target="_blank">VirtualBox website</a> and download the software. Inside the download section you will find several versions. Download the appropriated version for you. For me was the <a title="Direct Download: VirtualBox-2.1.0-41146-Win_x86.msi" href="http://download.virtualbox.org/virtualbox/2.1.0/VirtualBox-2.1.0-41146-Win_x86.msi"><strong>x86</strong></a> version.</p>
<p>Install it like you install any other software.</p>
<h2>Download Linux Sabayon</h2>
<p>The first thing that you have to do is to download the Linux Sabayon distribution. Go to the <a title="http://www.sabayonlinux.org/" href="http://www.sabayonlinux.org/" target="_blank">Sabayon website</a>.</p>
<table border="1" frame="void">
<tbody>
<tr>
<td align="left" valign="top">
<p><div id="attachment_52" class="wp-caption alignleft" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_001.jpg"><img class="size-medium wp-image-52" title="sabayon_001" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_001-300x215.jpg" alt="Sabayon website" width="300" height="215" /></a><p class="wp-caption-text">Sabayon website</p></div></td>
<td align="left" valign="top">
<p><div id="attachment_53" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_002.jpg"><img class="size-medium wp-image-53" title="sabayon_002" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_002-300x215.jpg" alt="Chose Download bellow &quot;Enjoy Sabayon&quot;" width="300" height="215" /></a><p class="wp-caption-text">Chose Download bellow Enjoy Sabayon</p></div></td>
</tr>
</tbody>
</table>
<p>Go to one of the mirrors  to chose one version of Sabayon. I have used an mirror from Denmark. Chose this file: <a title="http://ftp.klid.dk/ftp/sabayonlinux/SabayonLinux-x86-3.4.miniEdition.iso" href="http://ftp.klid.dk/ftp/sabayonlinux/SabayonLinux-x86-3.4.miniEdition.iso">SabayonLinux-x86-3.4.miniEdition.iso</a> and start your download.</p>
<table border="1" frame="void">
<tbody>
<tr>
<td align="left" valign="top">
<p><div id="attachment_55" class="wp-caption alignleft" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_003.jpg"><img class="size-medium wp-image-55" title="sabayon_003" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_003-300x154.jpg" alt="Chose download mirror" width="300" height="154" /></a><p class="wp-caption-text">Chose download mirror</p></div></td>
<td align="left" valign="top">
<p><div id="attachment_56" class="wp-caption alignleft" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_004.jpg"><img class="size-medium wp-image-56" title="sabayon_004" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_004-300x162.jpg" alt="Chose file to download" width="300" height="162" /></a><p class="wp-caption-text">Chose file to download</p></div></td>
</tr>
<tr>
<td align="left" valign="top">
<p><div id="attachment_57" class="wp-caption alignleft" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_005.jpg"><img class="size-medium wp-image-57" title="sabayon_005" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_005-300x212.jpg" alt="Chose &quot;Save File&quot;" width="300" height="212" /></a><p class="wp-caption-text">Chose Save File </p></div></td>
<td align="left" valign="top">
<p><div id="attachment_58" class="wp-caption alignleft" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_006.jpg"><img class="size-medium wp-image-58" title="sabayon_006" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_006-300x191.jpg" alt="locate a place to save the file" width="300" height="191" /></a><p class="wp-caption-text">locate a place to save the file</p></div></td>
</tr>
</tbody>
</table>
<p><div id="attachment_59" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_007.jpg"><img class="size-medium wp-image-59" title="sabayon_007" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/sabayon_007-300x241.jpg" alt="Start the download" width="300" height="241" /></a><p class="wp-caption-text">Start the download</p></div>
<p>If you are a smoker, lit a cigarette&#8230; it Will take a while to download the file.</p>
<p>Come back soon for part II of this tutorial on How to install linux sabayon inside windows Vista.</p>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2008/12/run-linux-inside-vista-with-virtualbox-illustrated-tutorial-part-i/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rename Files on Windows XP and Windows Vista</title>
		<link>http://hacking.becauseican.eu/index.php/2008/12/rename-files-on-windows-xp-and-windows-vista/</link>
		<comments>http://hacking.becauseican.eu/index.php/2008/12/rename-files-on-windows-xp-and-windows-vista/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 19:11:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Windows Vista]]></category>

		<category><![CDATA[Windows XP]]></category>

		<category><![CDATA[Command prompt]]></category>

		<category><![CDATA[rename files]]></category>

		<category><![CDATA[Vista]]></category>

		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=37</guid>
		<description><![CDATA[Selecting multiple files in Explorer
If you press F2 when more than one file is selected in Windows Explorer,
only one file—the active file—gets a text field for you to type in. Nothing
will happen to the other selected files, at least not yet.
The active file is important, since its name is used as a template to rename
the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Selecting multiple files in Explorer</strong></p>
<p>If you press F2 when more than one file is selected in Windows Explorer,<br />
only one file—the active file—gets a text field for you to type in. Nothing<br />
will happen to the other selected files, at least not yet.</p>
<p>The active file is important, since its name is used as a template to rename<br />
the other selected files. If the file marked as active is not the one you want to<br />
use, hit Esc, and then hold the Ctrl key while clicking another file. If the<br />
new file was highlighted, it will become deselected—in this case, just Ctrlclick<br />
the file once more to reselect it. Then, press F2 again to show the text<br />
field.<br />
Rename the active file as desired, and press Enter when you’re done. The<br />
active file keeps its new name, and then Explorer assigns the same name—<br />
plus a number, in parenthesis—to all the other files.</p>
<p><span id="more-37"></span></p>
<p>Bellow table shows what happens when you rename files this way.</p>
<table border="0">
<tbody>
<tr>
<td>Old filename</td>
<td>New filename</td>
</tr>
<tr>
<td>My file.doc (the active file)</td>
<td>The Penske File.rtf</td>
</tr>
<tr>
<td>Grandma.jpg</td>
<td>The Penske File (1).jpg</td>
</tr>
<tr>
<td>Readme.1st</td>
<td>The Penske File (2).1st</td>
</tr>
<tr>
<td>Purchases.mdb</td>
<td>The Penske File (3).mdb</td>
</tr>
<tr>
<td>Chapter 2 (a folder)</td>
<td>The Penske File (4)</td>
</tr>
</tbody>
</table>
<p>Although Explorer doesn’t show you a preview of your new filenames, you<br />
can undo a multiple rename operation as easily as a single rename operation<br />
by pressing Ctrl-Z once for each file that was renamed. Want to undo a single<br />
rename of 17 files? You’ll need to press Ctrl-Z 17 times.</p>
<p><strong>Using the Command Prompt</strong><br />
An alternative is to use the ren command (see Chapter 9), either directly from<br />
the Command Prompt (cmd.exe), or from a batch file or PowerShell script.<br />
First, use the cd command, also explained in Chapter 9, to change the working<br />
directory to the folder containing the files you wish to rename. For<br />
example, type:<br />
cd c:\stuff<br />
to change to the C:\stuff folder. If the folder name contains a space, enclose<br />
it in quotation marks, like this:<br />
cd &#8220;c:\Progam Files\stuff&#8221;<br />
Next, use the ren command to rename the file; the general syntax is:<br />
ren source destination<br />
where both source and destination can be any combination of permissible<br />
characters and wildcards. Two wildcards are allowed: an asterisk (*), which isused to match any number of characters, and a question mark (?), which<br />
is used to match only a single character. For example:<br />
Rename a single file<br />
ren oldfile.txt newfile.txt<br />
Change the extension of all .txt files to .doc<br />
ren *.txt *.doc<br />
Rename the first part of a filename without changing the extension<br />
ren document.* documentation.*<br />
Remove the extensions of all files in the folder<br />
ren *.* *.<br />
Change the first letter of all files in a folder to “b”<br />
ren *.* b*.*<br />
Add a zero in front of numbered chapter files (note the quotation marks)<br />
ren &#8220;chapter ??.wpd&#8221; &#8220;chapter0??.wpd&#8221;<br />
Rename all files with an “s” in the fourth position so that a “t” appears there<br />
instead<br />
ren ???s*.* ???t*.*<br />
Truncate the filenames of all files in the folder so that only the first four characters<br />
are used<br />
ren *.* ????.*<br />
Now, using wildcards takes a bit of practice and patience. The more you do<br />
it, the better intuitive sense you’ll have of how to phrase a rename operation.<br />
To make things simpler, try issuing several successive ren commands<br />
instead of trying to squeeze all your changes into a single step.<br />
If a naming conflict occurs, the ren command never overwrites a file. For<br />
example, if you try to rename Lisa.txt to Bart.txt, and there’s already<br />
another file called Bart.txt, ren just displays an error.</p>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2008/12/rename-files-on-windows-xp-and-windows-vista/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Running a Mail Server Under Linux</title>
		<link>http://hacking.becauseican.eu/index.php/2008/12/running-a-mail-server-under-linux/</link>
		<comments>http://hacking.becauseican.eu/index.php/2008/12/running-a-mail-server-under-linux/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 11:35:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mail server]]></category>

		<category><![CDATA[pop. imap]]></category>

		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=25</guid>
		<description><![CDATA[Electronic mail hardly requires an introduction. Communications made
through the original forms of e-mail helped shape the Internet.
Widespread availability of access to e-mail and modern enhancements
such as MIME (Multipurpose Internet Mail Extensions, which allow for
inclusion of attachments and alternate message formats) have helped to
make e-mail the most popular application on the Internet.
With a Linux system and [...]]]></description>
			<content:encoded><![CDATA[<p>Electronic mail hardly requires an introduction. Communications made<br />
through the original forms of e-mail helped shape the Internet.<br />
Widespread availability of access to e-mail and modern enhancements<br />
such as MIME (Multipurpose Internet Mail Extensions, which allow for<br />
inclusion of attachments and alternate message formats) have helped to<br />
make e-mail the most popular application on the Internet.<br />
With a Linux system and a suitable Internet connection, you can easily set<br />
up your own mail server for personal or business use. This chapter includes<br />
a description of how Internet mail works at the protocol level, and then<br />
guides you through the process of setting up a mail server, complete with<br />
spam and virus filtering. In the final section, you learn how to secure network<br />
communications between clients and your mail server through the use<br />
of SSL/TLS (Secure Sockets Layer and Transport Layer Security) protocols.<br />
The examples in this chapter are based on a Debian GNU/Linux system. (See<br />
Chapter 9 for more information about Debian.) However, much of the<br />
knowledge you gain from setting up a mail server in Debian applies to other<br />
Linux systems as well.<br />
<span id="more-25"></span><br />
Internet E-Mail’s Inner Workings</p>
<p>E-mail messages are generated either by an automated process, such as a<br />
form processor on a Web page or an automated notification system, or by an<br />
MUA (mail user agent) controlled by an end user. Messages are delivered<br />
through one of two methods to the software performing the MTA (mail<br />
transfer agent) function on a server:</p>
<p>IN THIS CHAPTER<br />
Running a Mail Server<br />
SMTP—The Simple Mail Transfer Protocol is a network-based protocol that allows for<br />
transmission of messages between systems.<br />
Local IPC—Inter-process communications are often used instead of SMTP when transferring<br />
a message between programs within a system.<br />
Upon receiving a message, the MTA places it in a queue to be processed by an MDA (mail delivery<br />
agent). Mail delivery agents come in two varieties:<br />
Local MDAs—Deliver messages to mailboxes on the local server. Simple versions copy<br />
messages directly to a specified mailbox, while complex implementations can alter messages<br />
or delivery parameters based on user-specified rules.<br />
Remote MDAs—Deliver messages over the network to remote servers. Full remote<br />
MDAs use DNS (the Domain Name System) to determine the mail exchanger hosts for<br />
recipient addresses and deliver to the best one available for each. Simple remote MDAs<br />
(sometimes also called “null clients”) forward messages to a central server to continue the<br />
delivery process. Most remote MDAs are capable of either method and will act as configured<br />
by the administrator that performed the configuration.</p>
<p>You will often see the term MTA used in reference to the software that performs both<br />
MTA and MDA functions. This is a carry-over from older designs that did not separate<br />
the functions and is still fairly accurate given the fact that most mail server implementations include a<br />
minimum of an MTA, remote MDA, and basic local MDA.</p>
<p>When a message reaches its destination server, it is written to the user’s mailbox by the local MDA.<br />
From that point, the message may be viewed by the user using one of three methods:<br />
Direct access to the mailbox—An MUA (mail user agent) with access to the mailbox<br />
file, directly or through a network file system, can read messages from the disk and display<br />
them for the user. This is generally a console or Web mail application running on the<br />
server.<br />
Downloaded to a workstation for local viewing—Most mail users use POP3 (Post<br />
Office Protocol, version 3) to download messages to their local computers and view them<br />
in applications such as Evolution or Balsa. By default, messages are removed from the<br />
server during this process (similar to when you get your “snail mail” from the mailbox).<br />
Accessed interactively over the network—Most clients also support viewing messages<br />
while they are still on the server, through IMAP (Internet Message Access Protocol).<br />
Unlike POP3, this protocol enables users to access multiple folders on their servers and<br />
also allows them to access their messages from anywhere. However, this also creates a<br />
heavier burden on the server because it must process (and store) everything that the user<br />
decides to keep. Most Web mail applications use IMAP as their backend protocol for<br />
accessing mailboxes; this eliminates the need for direct access to the mail files and makes<br />
it easier to split functions between systems.</p>
<p>About the System and the Software Used<br />
The mail server configuration described in this chapter is based on the Exim mail transfer agent.<br />
Along with Exim, several other components are added for managing the server and checking<br />
e-mail contents for spam and viruses:<br />
Exim (http://www.exim-mta.org/)—An MTA written and designed by Philip<br />
Hazel at the University of Cambridge, with contributions from many people around the<br />
world. The version referred to in this chapter includes the Exiscan-ACL patches<br />
(http://duncanthrax.net/exiscan-acl/) packages from Tom Kistner. This<br />
patch allows content scanning from within Exim. Because this patch is integrated with<br />
Exim, its features are considered part of Exim for the purposes of this chapter.<br />
Maildrop (http://www.flounder.net/~mrsam/maildrop/)—A local MDA that<br />
is part of the Courier MTA package, but is also available as a standalone program. It is<br />
used in this configuration to allow the use of advanced features, such as mailbox quotas<br />
and server-side message sorting.<br />
Courier IMAP and POP (http://www.courier-mta.org/imap/)—Like Maildrop,<br />
these are parts of the Courier MTA that are also available separately. They were chosen for<br />
their easy installation, good performance, and compatibility with the Maildir format mail<br />
directories.<br />
ClamAV (www.clamav.net)—An open source virus scanner that detects more than<br />
20,000 viruses, worms, and Trojans. It uses a virus pattern database to identify viruses<br />
and includes a program named freshclam that handles updating the database automatically.<br />
Like SpamAssassin, ClamAV includes a daemon (clamd), a client (clamdscan), and a<br />
second command-line tool that does not use the daemon (clamscan).<br />
SpamAssassin (http://spamassassin.apache.org/)—A spam-filtering program<br />
written in Perl. It uses a large set of rules to help determine how “spammy” a message<br />
looks and assigns a score based on the total of the rule values. For performance<br />
reasons, SpamAssassin uses a background daemon called spamd to perform message<br />
analysis. Access to this daemon is performed through the spamc client. A spamassassin<br />
command that performs the analysis without using spamd is also installed but is not used<br />
by either of the example configurations in this chapter.</p>
<p>Preparing Your System<br />
You will need a few common items for the mail server configuration covered in this chapter, starting<br />
with the proper hardware. A personal mail server can easily run on a Pentium-class computer,<br />
although you may notice occasional slowdowns while incoming messages are being scanned. Disk<br />
space requirements depend mostly on how much mail you want to have room for, so plan on having<br />
a few gigabytes for the operating system (which will leave you plenty of extra, just in case),<br />
plus the amount of mail you want to store.</p>
<p>The operating system should be installed with only the basic set of packages before you begin these<br />
examples. Some general information about the installation is provided in Chapter 9. Although the<br />
software described in this chapter works even if you aren’t running Debian, the installation methods<br />
will not. If you don’t have a spare system to act as a dedicated mail server, you can still use it as<br />
your workstation, although this is obviously recommended only for personal use.<br />
Your network settings should also be properly configured before you begin installing the mail software.<br />
The exact requirements depend on the method by which mail will be delivered to your<br />
server:<br />
Direct delivery is the method used by most traditional mail servers. DNS records tell<br />
remote servers that any mail addressed to your domain should be sent to your server via<br />
SMTP.<br />
Retrieval from a mail host is also possible using an MRA (mail retrieval agent) such as<br />
Fetchmail. This option can be used when you have a mailbox under a shared domain but<br />
want to access the mail on your own server. This can also be done in combination with<br />
direct delivery if you have both your own domain and mailboxes under shared domains.</p>
<p>Configuration of Fetchmail is explained in the “Configuring Mail Clients” section of this<br />
chapter.</p>
<p>Configuring DNS for Direct Delivery</p>
<p>For direct delivery to function, the SMTP service (TCP port 25) must be accessible to the outside<br />
world through a fixed name in DNS. This name will be in the form of an A (Address) record. A<br />
record allows DNS resolver processes to determine the IP address associated with a specific name<br />
and are used by most of the common protocols on the Internet. A typical DNS A record looks<br />
something like this:</p>
<p>bigserver.example.org IN A 10.0.12.16</p>
<p>The first parameter, bigserver.example.org, is the label, and the second parameter is the<br />
class (IN for Internet, which is where most DNS records are found). The A indicates the type, and<br />
the final parameter is the IP address associated with the label.<br />
Once you have your A record, you can direct mail to your server using an MX (Mail eXchanger)<br />
record. The A and MX records do not need to be part of the same domain, which allows for much<br />
greater flexibility. Here is a sample MX record:</p>
<p>widgets.test. IN MX 0 bigserver.example.org.</p>
<p>This MX record indicates that mail for any address@widgets.test should be sent through the<br />
server bigserver.example.org. The 0 indicates the numeric priority for this MX record.<br />
When more than one MX record exists for a given label, the MX with the lowest priority is tried<br />
first. If a temporary error is encountered, the next highest priority mail server is tried, and so on<br />
until the list is exhausted. At that point, the sending server will keep trying periodically until the<br />
message times out (generally five days). If multiple MX records exist with the same priority, they<br />
are tried in a random order.</p>
<p>Most mail servers will also fall back on the IP address listed in the A record for a label in<br />
the event that no MX records exist. However, it is considered bad practice to rely on<br />
this.</p>
<p>In some cases, it may be complicated to establish an A record because your IP address frequently<br />
changes. Obviously, this is not suitable for commercial purposes, but there is a workaround that is<br />
acceptably reliable for personal use. This is achieved through dynamic DNS services that are available<br />
(often at no charge) through a number of different companies. A list of these companies is<br />
maintained at http://dmoz.org/Computers/Software/Internet/Servers/<br />
Address_Management/Dynamic_DNS_Services/. Three of the most popular (in no<br />
particular order) are:</p>
<p>DynDNS.org (http://dyndns.org/)—Supported by the ddclient or ipcheck<br />
packages.</p>
<p>ZoneEdit (http://zonedit.com/)—Supported by the ez-ipupdate package.</p>
<p>No-IP (http://no-ip.com/)—Supported by the no-ip package.</p>
<p>The ez-ipupdate package supports all three of these, plus a number of others. View the<br />
package description (apt-cache show ez-ipupdate) for more information.</p>
<p>Most of these services will provide you with a host name under a shared domain at no charge and<br />
can also provide a similar service for your own domain for a reasonable fee.</p>
<p>Configuring for Retrieval from a Mail Host</p>
<p>The configuration requirements when retrieving mail from a mail host are pretty limited. Your<br />
server should be ready to accept mail addressed to localhost and should generally have a name<br />
that is unique to it. In the event that a message sent to one of your mailboxes is rejected, the server<br />
will need to have a valid host name by which to identify itself when sending out the DSN (Delivery<br />
Status Notification).<br />
You must be able to access the server from clients, although you may need to do so only from<br />
clients within your network. In either case, you should be familiar with the information about DNS<br />
and A records in the previous section.</p>
<p>Installing and Configuring<br />
the Mail Server Software</p>
<p>Once you have finished with the prerequisites, you will be ready to begin the software installation.<br />
The software installation and configuration have been divided into two sections. The first section25<br />
covers the installation of Exim and Courier. The second section covers the installation of ClamAV<br />
and SpamAssassin and configuring Exim to use them to filter incoming mail.</p>
<p>Installing Exim and Courier</p>
<p>Installing and configuring Exim and Courier are very straightforward thanks to the quality of the<br />
packages that come with Debian. Chances are, if you have a new Debian system, it already has a<br />
version of Exim installed. However, you’ll want to use a specific version of Exim that contains features<br />
for content scanning. Here are the installation steps:<br />
1. Start by installing this particular Exim package:<br />
# apt-get install exim4-daemon-heavy<br />
2. There are a few configuration options that you need to change from the defaults. Run the<br />
following command:<br />
# dpkg-reconfigure &#8211;priority=medium exim4-config<br />
You are asked a number of questions. Here’s how to answer them:<br />
Split configuration into small files: Yes.<br />
General type: Select “Mail sent by smarthost; received via SMTP or fetchmail” if you<br />
need to send all of your outgoing mail through a server at your Internet service provider.<br />
Otherwise, select “Internet site; mail is sent and received directly using SMTP.”<br />
Mail name: Enter the name of your mail server here.<br />
IP addresses: Clear this box (or leave it empty if it is already so) so that Exim will listen<br />
on all local IP addresses.<br />
Destinations to accept mail for: Enter any domains that your server will be accepting<br />
mail for. Be sure to separate them with colons, and not commas or spaces.<br />
Domains to relay for: Enter the names of any domains that your machine will relay<br />
mail for, meaning that it can receive mail from them but then passes it on. In most<br />
cases, you will not want to enter anything here.<br />
Machines to relay for: Enter the IP address ranges of any client machines that you<br />
want your server to accept mail from. Another (safer) option is to leave this empty and<br />
require clients to authenticate using SMTP authentication. SMTP authentication is best<br />
performed over an encrypted connection, so this process is described in the security<br />
section at the end of this chapter.<br />
Keep DNS queries to a minimum: No.</p>
<p>3. This configuration uses Maildrop for local mail delivery. Maildrop can deliver messages to<br />
the Maildir-style folders that Courier is expecting, and can also handle basic sorting and<br />
filtering (as described in the “Configuring Mail Clients” section). This package is not<br />
installed by default, so install it as follows:</p>
<p># apt-get install maildrop</p>
<p>4. Create Maildir mail directories for every user already on the system. This step must be<br />
performed for every user that is already on the system, and must be run as the user<br />
because running this command as root will result in Maildrop being unable to write to<br />
the folders:<br />
$ maildirmake.maildrop $HOME/Maildir<br />
$ maildirmake.maildrop -f Trash $HOME/Maildir</p>
<p>5. Create mail directories under /etc/skel. The contents of /etc/skel will be copied<br />
to the home directories of any new accounts that you create after the setup is completed:<br />
# maildirmake.maildrop /etc/skel/Maildir<br />
# maildirmake.maildrop -f Trash /etc/skel/Maildir</p>
<p>6. Configure Maildrop to deliver to the Maildir folders instead of mbox files stored in<br />
/var/spool/mail. Use your favorite text editor to edit /etc/maildroprc and add<br />
this line at the end of the file:<br />
DEFAULT=”$HOME/Maildir/”</p>
<p>7. Exim needs to be configured to deliver messages using Maildrop. Use your preferred text<br />
editor to open /etc/exim4/update-exim4.conf.conf and add the following line<br />
at the end of the file:<br />
dc_localdelivery=’maildrop_pipe’</p>
<p>8. Tell Exim to load the most recent configuration change:<br />
# invoke-rc.d exim4 reload</p>
<p>9. Install Courier IMAP and Courier POP:<br />
# apt-get install courier-imap courier-pop<br />
Select “no” when asked whether or not the installer should create directories for Webbased<br />
administration.</p>
<p>Your system should now be capable of receiving messages. You should also be able to connect to<br />
your server using a mail client such as Thunderbird or Evolution. This is a good time to test mail<br />
delivery, even if you’re planning to follow the directions in the next section to enable virus and<br />
spam filters later. More information about configuring a mail client to connect to your server can<br />
be found in the “Configuring Mail Clients” section later in this chapter.</p>
<p>Installing ClamAV and SpamAssassin</p>
<p>Installing and configuring the virus and spam filtering mechanisms is more involved than installing<br />
Exim and Courier, but should still go smoothly as long as you follow the steps carefully. Keep in<br />
mind, however, that this will add a lot of complexity to the system, so it is a good idea to make<br />
sure the Exim mail server is working first so that you don’t have as many things to check if the system<br />
doesn’t work as expected.</p>
<p>The version of ClamAV included with Debian 3.1 (aka “Sarge”) uses an older virus-scanning<br />
engine. Because the updated engine is not likely to make it into an update any time<br />
soon because of the Debian upgrade policies, a group of Debian developers has created special sets<br />
of the ClamAV packages that are designed for easy installation on Sarge. For more information about<br />
how to use these packages instead of the stock versions, see http://volatile.debian.net/.<br />
You may choose to do this from the start, or to add the appropriate URIs to your APT configuration<br />
later and do an upgrade. In either case, the configuration process detailed in this section will be<br />
about the same.</p>
<p>Here’s how to install ClamAV and SpamAssassin, and then configure Exim to use them for scanning<br />
messages:</p>
<p>1. Install the ClamAV and SpamAssassin packages:<br />
# apt-get install clamav-daemon clamav-testfiles \<br />
spamassassin spamc<br />
You’ll be asked a number of questions about how ClamAV should be configured. Here’s<br />
how to answer them:<br />
Virus update method—This is the method that freshclam (part of ClamAV) will use<br />
to download updated virus databases. The recommended option is to run freshclam as<br />
a daemon.<br />
Local database mirror site—This is the site that freshclam will retrieve the virus<br />
information updates from. The second part of the site is the two-letter country code.<br />
Select your country code or that of a nearby country if yours isn’t available.<br />
HTTP proxy information—Do not enter anything here unless you are required to<br />
use a proxy server to access Web servers. If your connection is suitable for running a<br />
mail server, then you probably don’t need to use a proxy server.<br />
Notify clamd after updates—Select “yes” here.</p>
<p>2. Add the clamav user to the Debian-exim group and restart the ClamAV daemon. This<br />
allows the ClamAV daemon access to read the files in Exim’s mail queue:<br />
# gpasswd -a clamav Debian-exim<br />
# invoke-rc.d clamav-daemon restart</p>
<p>3. Replace the report template used by SpamAssassin with one that will fit more easily in a<br />
message header. Use a text editor to add these lines to the end of /etc/spamassassin/<br />
local.cf:<br />
clear_report_template<br />
report _YESNO_, score=_SCORE_, required=_REQD_, summary=<br />
report _SUMMARY_</p>
<p>4. Configure the SpamAssassin background daemon to run automatically and to not attempt<br />
to create preference files for users. Change the following options in<br />
/etc/default/spamassassin:<br />
ENABLED=1<br />
OPTIONS=”&#8211;max-children 5”</p>
<p>5. Start the SpamAssassin daemon:<br />
# invoke-rc.d spamassassin start</p>
<p>6. Create the entries that will be included in Exim’s ACL (Access Control List) for scanning<br />
message data. Use a text editor to create a file named /etc/exim4/acl_check_<br />
data_local that contains the following:<br />
deny message = $malware_name detected in message<br />
demime = *<br />
malware = *<br />
warn message = X-Spam-Score: $spam_score ($spam_bar)<br />
condition = ${if &lt;{$message_size}{80k}{1}{0}}<br />
spam = nobody:true/defer_ok<br />
warn message = X-Spam-Status: $spam_report<br />
condition = ${if &lt;{$message_size}{80k}{1}{0}}<br />
spam = nobody:true/defer_ok<br />
deny message = Spam score too high ($spam_score)<br />
condition = ${if &lt;{$message_size}{80k}{1}{0}}<br />
spam = nobody:true/defer_ok<br />
condition = ${if &gt;{$spam_score_int}{120}{1}{0}}<br />
The first block rejects messages that contain viruses or other malware, and the second<br />
and third add headers to messages indicating whether or not SpamAssassin considers<br />
them spam. The final block checks $spam_score_int (the spam score multiplied by<br />
10) and rejects the message if it is greater than 120.<br />
The /defer_ok in the last three blocks tells Exim that it is okay to continue processing<br />
in the event that the SpamAssassin daemon could not be contacted. You can remove it if<br />
you would prefer to have the server return a temporary failure code in such cases. You<br />
can also add /defer_ok to the end of the malware = * line if you want processing to<br />
continue in the event that a message cannot be scanned by ClamAV.</p>
<p>7. Tell Exim which virus scanner to use and how to connect to SpamAssassin. Use a text<br />
editor to create a file named /etc/exim4/conf.d/main/10_exim4-exiscan_<br />
acl_options that contains the following:<br />
av_scanner = clamd:/var/run/clamav/clamd.ctl<br />
spamd_address = 127.0.0.1 783<br />
CHECK_DATA_LOCAL_ACL_FILE = CONFDIR/acl_check_data_local</p>
<p>8. Tell Exim to load the new configuration:<br />
# invoke-rc.d exim4 reload<br />
All messages transmitted through your server should now be checked for viruses using ClamAV.<br />
Additionally, messages less than 80 kilobytes will also be checked using SpamAssassin. This is a<br />
good time to test the configuration again. Fixes for the problems that you are most likely to<br />
encounter can be found in the next section.<br />
25<br />
Testing and Troubleshooting<br />
This section contains some generic troubleshooting tips, plus specific information about some<br />
common errors and how to fix them.</p>
<p>Checking Logs</p>
<p>All logging information for Exim is written to three log files that can be found in<br />
/var/log/exim4: mainlog, rejectlog, and paniclog. The first of these, mainlog, contains<br />
log entries for all events, including normal events such as message deliveries. The second,<br />
rejectlog, contains entries for rejected messages. The third contains information about configuration<br />
or other errors, and is usually empty unless a serious problem has occurred. Every entry in<br />
these files generally starts with a timestamp.<br />
Entries in the mainlog will often include a string of 15 characters, such as 1E9PTu-0003jN-QY.<br />
This is the message identifier for the message that the log entry is related to. Immediately after the<br />
message identifier there will generally be a two-character string. Table 25-1 details what those<br />
strings mean.<br />
TABLE 25-1<br />
Exim Log File Messages</p>
<p>Symbol     Description         Explanation<br />
&lt;=     Message arrival         These entries show messages coming into Exim, generally through<br />
SMTP or local IPC.<br />
=&gt;     Message delivery         These entries show message deliveries, whether they are to a local<br />
mailbox or to a remote host using SMTP or some other transport.<br />
-&gt;     Additional addresses     These entries show delivery to additional addresses for messages that<br />
in message delivery have already been delivered to another recipient (and logged with an<br />
=&gt; entry).<br />
**     Delivery failure         These entries show permanent delivery errors. Errors such as these<br />
indicate that the message has been removed from the mail queue and<br />
in most cases a DSN (Delivery Status Notification) has been generated<br />
and sent to the original message sender.<br />
==     Delivery deferral         These entries show temporary delivery problems. The system will<br />
continue to retry sending these until delivery succeeds, or a<br />
permanent failure occurs as a result of a retry timeout.</p>
<p>Entries not associated with a message that has not been accepted into the queue will not have the<br />
message identifier or two-character flags. Some samples of these types of entries are included in the<br />
next section.</p>
<p>Logging information for the Courier IMAP and POP daemons is saved to /var/log/mail.log.<br />
Normal entries include LOGIN and LOGOUT messages. DISCONNECTED messages generally indicate<br />
that a connection was broken before a normal logout was performed.</p>
<p>The tail utility is useful for watching for new entries to a log. Use the -f switch to<br />
instruct tail to watch for new entries and display them to the screen as they are written<br />
to the log. For example: tail -f /var/log/exim4/mainlog</p>
<p>Common Errors (and How to Fix Them)</p>
<p>There are two common types of problems that you will encounter with your server: messages being<br />
rejected or not delivered by Exim and login failures when connecting to Courier.<br />
Messages Rejected by Exim<br />
The first places to check when messages are rejected by Exim are the mainlog and rejectlog<br />
files. Here are examples of some common errors and tips for fixing them:<br />
Relaying Denied—The following error indicates that the client sending the message is<br />
not recognized as a client by Exim and that the recipient domain is not in the list of local<br />
or relay domains:</p>
<p>H=sample.client [10.0.12.16] F=&lt;sender@example.org&gt; rejected<br />
RCPT &lt;rcpt@remotesite.example.org&gt;: relay not permitted</p>
<p>If the client IP address will not change frequently or is in part of a trusted range of IP<br />
addresses, you can add them by running the following:</p>
<p># dpkg-reconfigure &#8211;priority=medium exim4-config</p>
<p>The same command can also be used to add the recipient domain as a local or relay<br />
domain.</p>
<p>Do not add client IP ranges unless you trust all of the users that can connect from those<br />
addresses. Likewise, do not add a domain as a relay domain unless you know the owner<br />
of the domain and have made arrangements to relay mail for them. Doing either of these incorrectly<br />
could open your server up as a relay that can be used by spammers to attack other sites.</p>
<p>If the client IP address is likely to change frequently and is not part of a trusted range,<br />
you should either configure the client to use a mail server that is local to it or configure<br />
SMTP authentication in Exim. More information about enabling SMTP authentication can<br />
be found on your server in /usr/share/doc/exim4-base/README.SMTP-AUTH<br />
and /etc/exim4/conf.d/auth/30_exim4-config_examples.</p>
<p>The Courier authdaemon examples in 30_exim4-config_examples can be enabled,<br />
allowing Exim to use that facility for authentication and negating the need to set up a<br />
different mechanism. In order for it to work, however, you will need to add the Debian-exim user to<br />
the daemon group (gpasswd -a Debian-exim daemon) and restart Exim.<br />
25<br />
ClamAV Misconfiguration—The following error indicates that the ClamAV daemon<br />
could not read the temporary message file:<br />
1E9PDq-0003Lo-BY malware acl condition: clamd: ClamAV<br />
returned /var/spool/exim4/scan/1E9PDq-0003Lo-BY:<br />
Access denied. ERROR<br />
Make sure you added clamav to the Debian-exim group and restarted ClamAV, as shown<br />
in the installation section.<br />
ClamAV Unavailable—This error usually indicates that the ClamAV daemon is not<br />
running:<br />
1E9PGL-0003MX-38 malware acl condition: clamd: unable to<br />
connect to UNIX socket /var/run/clamav/clamd.ctl<br />
(No such file or directory)</p>
<p>Start it using invoke-rc.d clamav-daemon start. You can also use the clamdscan<br />
program to test the daemon, as follows:</p>
<p># clamdscan /usr/share/clamav-testfiles/clam.exe<br />
/usr/share/clamav-testfiles/clam.exe: ClamAV-Test-File FOUND<br />
&#8212;&#8212;&#8212;&#8211; SCAN SUMMARY &#8212;&#8212;&#8212;&#8211;<br />
Infected files: 1<br />
Time: 0.001 sec (0 m 0 s)</p>
<p>Messages Not Delivered by Exim<br />
In some cases, messages will be accepted by the server but will not be deliverable. Some of these<br />
errors are considered temporary failures and will not generate a bounced message until the retry<br />
timer runs out. The error that you are most likely to see will look something like this in the<br />
mainlog file:</p>
<p>1E9PTu-0003jN-QY == user@example.org R=local_user T=maildrop_pipe defer (0):<br />
Child process of maildrop_pipe transport returned 75 (could mean temporary<br />
error) from command: /usr/bin/maildrop</p>
<p>This error indicates that Exim attempted to pass the message to Maildrop, but Maildrop returned<br />
an error code. The most likely causes are a missing Maildir directory, or a Maildir directory that is<br />
owned by the wrong user. The next section shows how to detect and fix these problems.</p>
<p>Login Failures When Connecting to Courier</p>
<p>Aside from genuine password errors (which can be remedied by entering the correct password in<br />
the mail client), there are also a few other conditions that can result in login failures. Some of these<br />
conditions will also result in temporary delivery problems. A normal login failure will result in a<br />
log entry that looks similar to this:</p>
<p>courierpop3login: LOGIN FAILED, ip=[::ffff:1.2.3.4]</p>
<p>In this case, a user from IP 1.2.3.4 entered the wrong username or password.</p>
<p>Several of the other errors that may occur will not be logged to the mail log, which means that you<br />
may have to test them by connecting manually to the POP3 service (from the mail server, or from a<br />
remote machine) and sending a valid username and password. This example shows how to connect<br />
to the POP3 service from a shell prompt on the mail server:</p>
<p>$ telnet localhost 110<br />
Trying 127.0.0.1&#8230;<br />
Connected to localhost.localdomain.<br />
Escape character is ‘^]’.<br />
+OK Hello there.<br />
USER username<br />
+OK Password required.<br />
PASS password</p>
<p>The response you receive from the server should be similar to one of the following:</p>
<p>+OK logged in—This is a normal response and should mean that there are no problems<br />
with the service.<br />
-ERR Maildir: No such file or directory—This error indicates that the user’s account<br />
does not have a Maildir directory. Use the maildirmake command to create it, as shown in<br />
the “Installing Exim and Courier” section.<br />
-ERR Maildir: Permission denied—This error indicates that the user’s Maildir directory<br />
cannot be read or belongs to the wrong user. To remedy this, run this command as root:<br />
# chown -R username:groupname ~username/Maildir<br />
Be sure to replace username and groupname with the login name and primary group of the<br />
user. In a stock Debian system, the primary group name will be the same as the username.<br />
-ERR Login failed—If you’re certain that you are using the correct username and password,<br />
it could be that the Courier authdaemon service is not running. Try to start (or<br />
restart) it using this command:<br />
# invoke-rc.d courier-authdaemon restart</p>
<p>Configuring Mail Clients</p>
<p>Any mail client with support for POP3 or IMAP should be able to access mail from your server.<br />
Just use the name of your server in the mail server settings, and follow the troubleshooting steps in<br />
the previous section if something doesn’t work.<br />
25<br />
Configuring Fetchmail</p>
<p>Fetchmail is an MRA (mail retrieval agent) that you can use to pull mail from a remote account to<br />
your new server. It is configured in the $HOME/.fetchmailrc file and is very easy to set up. To<br />
pull mail to your server, log in as the user that the mail should go, and then configure and run it<br />
from there.</p>
<p>Run Fetchmail as the user for whom the mail is being retrieved. You should never run it<br />
as root. If you’re doing a complex setup in which you retrieve mail from a single mailbox<br />
that needs to be sorted out for multiple users, see the fetchmail man page for information about<br />
multidrop mailboxes.</p>
<p>A .fetchmailrc file can be as simple as this:</p>
<p>poll mailserver.yourisp.example protocol pop3 username “foo”</p>
<p>If you have more than one mail server, you can add it as an additional line. If the server from<br />
which you are pulling mail supports IMAP, you can use imap instead of pop3. Other options that<br />
you can have are password=your password&gt; and ssl. Storing the password in the file enables<br />
you to run Fetchmail without entering a password, and the ssl option tells Fetchmail to use an<br />
SSL/TLS connection to the server.</p>
<p>Your .fetchmailrc file should not be readable by others, and Fetchmail will generally<br />
complain if it is. To set the permissions so that only you can read it, run</p>
<p>chmod 0600 $HOME/.fetchmailrc/.</p>
<p>Running Fetchmail is as simple as typing</p>
<p>$ fetchmail</p>
<p>If you want to have Fetchmail run in the background, you can use the &#8211;daemon (or -d) flags<br />
with a parameter telling it how often (in seconds) to poll the servers:</p>
<p>$ fetchmail &#8211;daemon 300</p>
<p>To have Fetchmail automatically start when the system boots, add this to your crontab file:<br />
@reboot /usr/bin/fetchmail &#8211;daemon 300</p>
<p>Fetchmail cannot prompt for passwords when run in this manner, which means that you<br />
must store the passwords in .fetchmailrc for this to work.</p>
<p>If you haven’t configured a crontab file before, setting it up can be as easy as entering the following<br />
three commands:</p>
<p>$ cat &gt; mycron<br />
@reboot /usr/bin/fetchmail &#8211;daemon 300<br />
(hit Ctrl-D here)<br />
$ crontab mycron</p>
<p>Configuring Web-Based Mail</p>
<p>If you’re running an IMAP server, you can offer Web-based access by installing SquirrelMail<br />
(http://squirrelmail.org/, also found in the squirrelmail package). Start by configuring<br />
your system as a LAMP server (see Chapter 24), and then install and configure the appropriate<br />
package.</p>
<p>Securing Communications with SSL/TLS</p>
<p>Because communication between mail clients and the server often contains sensitive information<br />
such as passwords, it is usually desirable to enable SSL/TLS encryption. Here’s how to enable<br />
SSL/TLS in Exim and Courier:</p>
<p>1. Install the Courier daemons with SSL/TLS support:<br />
# apt-get install courier-imap-ssl courier-pop-ssl<br />
2. Third-party CA certificates are provided on the ca-certificates package. This will be referenced<br />
in the configuration, so install it, too:<br />
# apt-get install ca-certificates<br />
Debconf asks you whether you want to trust the CA certificates by default. In most cases,<br />
you want to select Yes.<br />
3. If you are going to be using a certificate from a CA that is not already recognized (this is<br />
generally only true if you are running your own CA), place the CA public certificate in its<br />
own file in /etc/ssl/certs/ and update the certificate database:<br />
# update-ca-certificates<br />
4. Generate the private key and certificate signing request, as described in Chapter 24. The<br />
best location for these files is in /etc/ssl/private/. Here’s an example:<br />
# cd /etc/exim4<br />
# openssl genrsa -out mail.key 1024<br />
# chmod 640 mail.key<br />
# openssl req -new -key mail.key -out mail.csr<br />
# chown root:Debian-exim mail.key<br />
5. Get your CSR (Certificate Signing Request) signed and place the certificate in<br />
/etc/mail/private/mail.crt. Or, to do a self-signed certificate, do the following:<br />
# cd /etc/exim4<br />
# openssl req -new -x509 -nodes -sha1 \<br />
-days 365 -key mail.key -out mail.crt<br />
# chmod 640 mail.crt<br />
# chown root:Debian-exim mail.crt</p>
<p>Some remote servers will refuse to send messages to your server if your certificate is not<br />
signed by a CA that they recognize. Also, make sure the common name (cn) attribute on<br />
your certificate matches the name of the server in DNS.<br />
25<br />
6. Concatenate the private key and certificate into a single file for Courier:<br />
# cd /etc/courier<br />
# cat /etc/exim4/mail.key /etc/exim4/mail.crt &gt; mail.pem<br />
# chmod 600 mail.pem</p>
<p>7. Enable SSL/TLS in the Courier IMAP and POP daemons by editing both<br />
/etc/courier/imapd-ssl and /etc/courier/pop3d-ssl and replacing the values<br />
for TLS_CERTFILE and TLS_TRUSTCERTS with the following:<br />
TLS_CERTFILE=/etc/courier/mail.pem<br />
TLS_TRUSTCERTS=/etc/ssl/certs/ca-certificates.pem</p>
<p>8. Tell Exim where it can find the private key and certificate, and enable TLS. Create a file<br />
named /etc/exim4/conf.d/main/12_exim4-config_local_tlsoptions<br />
containing the following:<br />
MAIN_TLS_CERTIFICATE = CONFDIR/mail.crt<br />
MAIN_TLS_PRIVATEKEY = CONFDIR/mail.key<br />
MAIN_TLS_ENABLE = 1</p>
<p>9. Restart Exim:<br />
# invoke-rc.d exim4 restart<br />
Your server should now support SSL/TLS when communicating with SMTP, POP, and IMAP clients.</p>
<p>Summary</p>
<p>Using Linux and a good Internet connection, you can set up and maintain your own mail server.<br />
Preparing your computer to become a mail server includes configuring your network connection,<br />
setting up delivery and retrieval methods, and adding required software packages.<br />
This chapter describes how to install, configure, and troubleshoot the Exim MTA. Exim can be<br />
used in tandem with spam filtering software (such as SpamAssassin) and virus scanning software<br />
(such as ClamAV). Methods for securing your mail server include configuring support for SSL/TLS<br />
encryption.</p>
<blockquote><p>Christopher Negus, &#8220;Linux® Bible 2007 Edition:,Wiley Publishing, Inc., 2007,  pp. 679-694</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2008/12/running-a-mail-server-under-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows XP running inside Windows Vista</title>
		<link>http://hacking.becauseican.eu/index.php/2008/12/windows-xp-running-inside-windows-vista/</link>
		<comments>http://hacking.becauseican.eu/index.php/2008/12/windows-xp-running-inside-windows-vista/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 01:17:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[VirtualBox]]></category>

		<category><![CDATA[Windows Vista]]></category>

		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://hacking.becauseican.eu/?p=17</guid>
		<description><![CDATA[I&#8217;ve installed VirtualBox and into VirtualBox I have installed Windows XP.
One of these days I&#8217;l put a tutorial on how to do it.
here is a screenshot of XP running inside Vista
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve installed VirtualBox and into VirtualBox I have installed Windows XP.</p>
<p>One of these days I&#8217;l put a tutorial on how to do it.</p>
<p>here is a screenshot of XP running inside Vista</p>
<div id="attachment_18" class="wp-caption alignnone" style="width: 310px"><a href="http://hacking.becauseican.eu/wp-content/uploads/2008/12/XP-0n-Vista.jpg"><img class="size-medium wp-image-18" title="xp-0n-vista" src="http://hacking.becauseican.eu/wp-content/uploads/2008/12/xp-0n-vista-300x208.jpg" alt="XP running inside Vista" width="300" height="208" /></a><p class="wp-caption-text">XP running inside Vista</p></div>
]]></content:encoded>
			<wfw:commentRss>http://hacking.becauseican.eu/index.php/2008/12/windows-xp-running-inside-windows-vista/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
