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

<channel>
	<title>Linux and Open Source Blog &#187; ubuntu</title>
	<atom:link href="http://linewbie.com/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://linewbie.com</link>
	<description>News, Reviews, Thoughts and Trends in Linux and Open Source World.</description>
	<lastBuildDate>Wed, 09 May 2012 15:44:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Install Apple Safari Browser On Ubuntu Linux 7.10 With PlayOnLinux</title>
		<link>http://linewbie.com/2008/02/install-apple-safari-browser-on-ubuntu-linux-710-with-playonlinux.html</link>
		<comments>http://linewbie.com/2008/02/install-apple-safari-browser-on-ubuntu-linux-710-with-playonlinux.html#comments</comments>
		<pubDate>Sun, 03 Feb 2008 11:44:28 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[applications/software]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[debian/ubuntu based]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[mac/osx]]></category>
		<category><![CDATA[PlayOnLinux]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2008/02/install-apple-safari-browser-on-ubuntu-linux-710-with-playonlinux.html</guid>
		<description><![CDATA[Version 1.0 Author: Falko Timme &#60;ft [at] falkotimme [dot] com&#62; Last edited 01/18/2008 This guide explains how you can install Apple&#8217;s Safari browser on Ubuntu 7.10. As there is no Linux version of Safari, we will run it under Wine. &#8230; <a href="http://linewbie.com/2008/02/install-apple-safari-browser-on-ubuntu-linux-710-with-playonlinux.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Version 1.0<br />
Author: Falko Timme &lt;ft [at] falkotimme [dot] com&gt;<br />
Last edited 01/18/2008</p>
<p>This guide explains how you can install <a href="http://www.apple.com/safari/download/" target="_blank">Apple&#8217;s Safari browser</a> on Ubuntu 7.10. As there is no Linux version of Safari, we will run it under <a href="http://www.winehq.org/" target="_blank">Wine</a>. We will use a tool called <a href="http://www.playonlinux.com/" target="_blank">PlayOnLinux</a> to install Safari under Wine. With PlayOnLinux you can install lots of Windows games and some Windows applications (such as Office 2003, IE6, MS Money, etc.) on Linux. Installing Safari on Linux is good for people such as web designers who have switched to Linux but still need to test their web sites in other browsers.</p>
<p>I do not issue any guarantee that this will work for you!</p>
<h3>1 Installing PlayOnLinux</h3>
<p>Open Firefox and go to <a href="http://www.playonlinux.com/en/download.html" target="_blank">http://www.playonlinux.com/en/download.html</a>. Click on the link reading <span class="system">Click here for the .deb package</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/1.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/1.png" width="500" /></a></p>
<p>In the Firefox download dialogue, select <span class="system">Open with GDebi Package Installer (default)</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/2.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/2.png" width="500" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><span id="more-458"></span></p>
<p>After the download has finished, the <span class="system">Package Installer</span> comes up. Click on the <span class="system">Install Package</span> button:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/3.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/3.png" width="500" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Type in your password:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/4.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/4.png" width="500" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Afterwards, the dependencies of PlayOnLinux are being downloaded and installed:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/5.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/5.png" width="500" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/6.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/6.png" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Next, PlayOnLinux is being installed:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/7.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/7.png" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>After the installation you can click on <span class="system">Close</span> and leave the <span class="system">Package Installer</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/8.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/8.png" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<h3>2 Starting PlayOnLinux For The First Time</h3>
<p>Now open a terminal (<span class="system">Applications &gt; Accessories &gt; Terminal</span>):</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/9.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/9.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>We install the package <span class="system">cabextract</span> (which is needed to extract .exe files) like this:</p>
<p class="command">sudo apt-get install cabextract</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/10.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/10.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Afterwards, we start PlayOnLinux by typing:</p>
<p class="command">playonlinux</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/11.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/11.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>If 3D aceleration isn&#8217;t enabled on your desktop and you get a warning like in the below image, you can click it away. It&#8217;s not important (at least for Safari &#8211; this might be different if you want to install Windows games which I haven&#8217;t tried):</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/12.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/12.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Now PlayOnLinux is being initialized. Click your way through the following dialogues (which are in French &#8211; we will change PlayOnLinux&#8217; language soon):</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/13.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/13.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/14.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/14.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Click on <span class="system">TÃ©lecharger</span> (means Download in French):</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/15.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/15.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/16.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/16.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Click on <span class="system">Suivant</span> (means Next):</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/17.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/17.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/18.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/18.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Finally, we get to the PlayOnLinux window:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/19.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/19.jpg" height="413" width="550" /></a></p>
<h3>3 Configuring PlayOnLinux</h3>
<p>First let&#8217;s change the language of PlayOnLinux (if French isn&#8217;t your mother tongue). Go to <span class="system">Options &gt; Langue</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/20.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/20.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Click on <span class="system">Suivant</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/21.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/21.jpg" height="413" width="550" /></a></p>
<p>Select your preferred language and click on <span class="system">Suivant</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/22.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/22.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The change will take effect after a restart of PlayOnLinux (which we will do later &#8211; we still have to configure a few other things):</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/23.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/23.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Next we set up the repositories where PlayOnLinux downloads its scripts from (there are scripts for each Windows application that PlayOnLinux can install to run under Wine). Go to <span class="system">Options &gt; DÃ©pots</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/24.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/24.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Enable the <span class="system">Community</span> repository:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/25.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/25.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/26.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/26.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/27.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/27.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Afterwards do the same again for the <span class="system">WorkOnLinux</span> repository:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/28.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/28.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/29.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/29.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/30.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/30.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/31.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/31.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Finally we create a menu entry for PlayOnLinux in the <span class="system">Applications</span> menu. Go to <span class="system">Options &gt; Tableaux de bord</span>&#8230;</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/32.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/32.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>&#8230; and click on <span class="system">Yes</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/33.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/33.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Now we must restart our desktop session. Press <span class="system">CTRL + ALT+ Backspace</span> and log in again.</p>
<h3>4 Installing Safari</h3>
<p>Now start PlayOnLinux again, this time by using its menu entry (<span class="system">Applications &gt; PlayOnLinux &gt; PlayOnLinux</span>):</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/34.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/34.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>After PlayOnLinux has started, click on the <span class="system">Install</span> button:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/36.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/36.jpg" height="413" width="550" /></a></p>
<p>The Installation wizard starts. Select <span class="system">WorkOnLinux</span> and click on <span class="system">Next</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/37.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/37.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>In the next step select <span class="system">Safari</span> and click on <span class="system">Install</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/38.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/38.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Click on <span class="system">Install</span> again:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/39.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/39.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/40.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/40.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Select <span class="system">Next</span>&#8230;</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/41.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/41.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>&#8230; then <span class="system">Download</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/42.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/42.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/43.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/43.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Click on <span class="system">Next</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/44.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/44.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Install Microsoft Visual C++ by accepting its license:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/45.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/45.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The next window tells us that we must download the Safari .exe file from Apple before we can proceed:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/46.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/46.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Open Firefox and go to <a href="http://www.apple.com/safari/download/" target="_blank">http://www.apple.com/safari/download/</a> (although PlayOnLinux displays another URL in the previous image). Select <span class="system">Safari for Windows XP or Vista</span> (without Quicktime) and click on the <span class="system">Download Safari 3 Beta</span> button:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/47.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/47.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Save the file somewhere on your computer:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/48.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/48.png" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/49.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/49.png" height="413" width="550" /></a></p>
<p>Back in PlayOnLinux, click on <span class="system">Next</span>&#8230;</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/50.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/50.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>&#8230; and then on <span class="system">Browse</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/51.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/51.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Select the Safari executable you&#8217;ve just downloaded from your hard drive&#8230;</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/52.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/52.jpg" height="413" width="550" /></a></p>
<p>&#8230; and click on <span class="system">Next</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/53.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/53.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The next message tells us to deselect <span class="system">Install Bonjour for Windows</span> and <span class="system">Install Apple Software Update</span> during the Safari setup &#8211; please keep this in mind, we&#8217;ll need it soon:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/54.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/54.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The Safari installer starts. Click on <span class="system">Next &gt;</span>:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/55.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/55.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Accept the Safari license:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/56.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/56.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Now it&#8217;s time to disable <span class="system">Install Bonjour for Windows</span> as well as the Apple updates. <span class="highlight">This is important &#8211; otherwise Safari might not work as expected on Linux:</span></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/57.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/57.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Now Safari is being installed:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/58.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/58.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Click on <span class="system">Finish</span> to leave the installer:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/59.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/59.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>In the next step PlayOnLinux downloads and installs the Adobe Flash player for Safari:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/60.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/60.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/61.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/61.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/62.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/62.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/63.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/63.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Click on <span class="system">Yes</span> if you want to have a Safari shortcut on your desktop&#8230;</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/64.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/64.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>&#8230; and in the menu:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/65.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/65.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The Safari installation is complete, you can leave PlayOnLinux now:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/66.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/66.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Now you can start Safari:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/67.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/67.jpg" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>This is how it looks:</p>
<p><a href="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/big/68.png" class="thickbox"><img src="http://images.howtoforge.com/images/installing_safari_with_playonlinux_on_ubuntu7.10/68.png" height="413" width="550" /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<h3>5 Links</h3>
<ul>
<li>Safari: <a href="http://www.apple.com/safari/download/" target="_blank">http://www.apple.com/safari/download</a></li>
<li>PlayOnLinux: <a href="http://www.playonlinux.com/" target="_blank">http://www.playonlinux.com</a></li>
<li>Wine: <a href="http://www.winehq.org/" target="_blank">http://www.winehq.org</a></li>
<li>Ubuntu: <a href="http://www.ubuntu.com/" target="_blank">http://www.ubuntu.com</a></li>
</ul>
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2008/02/install-apple-safari-browser-on-ubuntu-linux-710-with-playonlinux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install and Configure TrueCrypt With GUI On Ubuntu 7.10</title>
		<link>http://linewbie.com/2008/01/install-and-configure-truecrypt-with-gui-on-ubuntu-710.html</link>
		<comments>http://linewbie.com/2008/01/install-and-configure-truecrypt-with-gui-on-ubuntu-710.html#comments</comments>
		<pubDate>Mon, 21 Jan 2008 03:18:49 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[applications/software]]></category>
		<category><![CDATA[debian/ubuntu based]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[howtoforge]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[truecrypt]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 7.10]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2008/01/install-and-configure-truecrypt-with-gui-on-ubuntu-710.html</guid>
		<description><![CDATA[Version 1.0 Author: Oliver Meyer &#60;o [dot] meyer [at] projektfarm [dot] de&#62; Last edited 12/18/2007 This document describes how to set up TrueCrypt with GUI on Ubuntu 7.10. TrueCrypt is a free open-source encryption software for desktop usage. This howto &#8230; <a href="http://linewbie.com/2008/01/install-and-configure-truecrypt-with-gui-on-ubuntu-710.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Version 1.0<br />
Author: Oliver Meyer &lt;o [dot] meyer [at] projektfarm [dot] de&gt;<br />
Last edited 12/18/2007</p>
<p>This document describes how to set up TrueCrypt with GUI on Ubuntu 7.10. TrueCrypt is a free open-source encryption software for desktop usage.</p>
<p>This howto is a practical guide without any warranty &#8211; it doesn&#8217;t cover the theoretical backgrounds. There are many ways to set up such a system &#8211; this is the way I chose.</p>
<p><span id="more-451"></span></p>
<h3>1 Preparation</h3>
<p>Set up a standard Ubuntu 7.10 system and update it.</p>
<h3>2 Needed Packages</h3>
<p>First we install some needed packages with the synaptic package manager.</p>
<ul>
<li>sun-java6-jre</li>
<li>python-pexpect</li>
</ul>
<p>You&#8217;ll see this window during the installation &#8211; mark the corresponding checkbox and proceed if you agree with the license agreement.</p>
<p><a href="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/big/java.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/java.jpg" style="border: medium none " /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></p>
<p></a><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Afterwards check if all went well &#8211; open a terminal and enter.</p>
<p class="command">java -version</p>
<p>The output should look like this:</p>
<p class="system">java version &#8220;1.6.0_03&#8243;<br />
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)<br />
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)</p>
<h3>3 Truecrypt</h3>
<h4>3.1 Installation</h4>
<p>Open <a href="http://www.truecrypt.org/downloads.php" title="http://www.truecrypt.org/downloads.php" target="_blank">http://www.truecrypt.org/downloads.php</a> within your browser and download the latest stable version for Ubuntu 7.10 (.tar.gz-file containing the .deb-package).</p>
<p><a href="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/big/tc1.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tc1.jpg" style="border: medium none " /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></p>
<p></a><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tc2.jpg" style="border: medium none " /></p>
<p>Afterwards unpack the .tar.gz-file, &#8230;</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tc3.jpg" style="border: medium none " /></p>
<p>&#8230; switch to the folder with the unpacked files and install the .deb-package with the GDebi package installer (simply double click on the package). Click on &#8220;<span class="system">Install Package</span>&#8221; to start the installation.</p>
<p><a href="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/big/tc4.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tc4.jpg" style="border: medium none " /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></p>
<p></a><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Enter the root password.</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tc5.jpg" style="border: medium none " /></p>
<p>The package and its dependencies are being installed.</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tc6.jpg" style="border: medium none " /></p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tc7.jpg" style="border: medium none " /></p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tc8.jpg" style="border: medium none " /></p>
<h4>3.2 System Configuration</h4>
<p>Please note, that the following steps (3.2.1 &#8211; 3.2.3) can be done automatically by the tcgui installer (step 4). Proceed if you have problems with the tcgui-installer or want to configure the system manually in the first place &#8211; otherwise go ahead with step 4.</p>
<h4>3.2.1 Users &amp; Groups</h4>
<p>We have to add the group &#8220;<span class="system">truecrypt</span>&#8221; to the system and afterwards we add the root-account and our user-account to it. The settings for users and groups are available in the gnome system menu.</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/ug1.jpg" style="border: medium none " /></p>
<p>Enter the root password.</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/ug2.jpg" style="border: medium none " /></p>
<p>Click on &#8220;<span class="system">Manage Groups</span>&#8220;.</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/ug3.jpg" style="border: medium none " /></p>
<p>Click on &#8220;<span class="system">Add Group</span>&#8220;.</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/ug4.jpg" style="border: medium none " /></p>
<p>Insert &#8220;<span class="system">truecrypt</span>&#8221; (without the quotes) as name for the new group, mark the checkbox next to the root and your username and click on &#8220;<span class="system">OK</span>&#8220;.</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/ug5.jpg" style="border: medium none " /></p>
<h4>3.2.2 Sudo</h4>
<p>Next we configure sudo in order that TrueCrypt is useable without a password query &#8211; open a terminal and enter:</p>
<p class="command">sudo visudo</p>
<p>Add the following line:</p>
<p><span class="system">%truecrypt ALL=(root) NOPASSWD:/usr/bin/truecrypt</span></p>
<p>It should look like this:</p>
<pre># /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Defaults
Defaults        !lecture,tty_tickets,!fqdn
# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root    ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
%truecrypt ALL=(root) NOPASSWD:/usr/bin/truecrypt</pre>
<p>To save the changes press CTRL+O (STRG+O on a german keyboard) and hit enter. Close the editor via CTRL+X (STRG+X on a german keyboard).</p>
<h4>3.2.3 TrueCrypt Group</h4>
<p>As a last resort we have to assign TrueCrypt itself to the new group that we created at step 3.2.1. Open terminal and enter:</p>
<p class="command">sudo chgrp truecrypt /usr/bin/truecrypt</p>
<p>Afterwards we check if all went well &#8211; enter:</p>
<p class="command">truecrypt -l</p>
<p>If you&#8217;re NOT asked for a system password and the output looks like this &#8230;</p>
<p class="system">No volumes mapped</p>
<p>&#8230; all is fine.</p>
<h3>4 TrueCrypt GUI (tcgui)</h3>
<p>Tcgui provides a GUI that is similar to the windows GUI for truecrypt. It&#8217;s licensed unter the GPL.</p>
<h4>4.1 Download</h4>
<p>Open <a href="http://tcgui.tc.funpic.de/en/download.htm" title="http://tcgui.tc.funpic.de/en/download.htm" target="_blank">http://tcgui.tc.funpic.de/en/download.htm</a> (<a href="http://tcgui.tc.funpic.de/download.htm" title="http://tcgui.tc.funpic.de/download.htm" target="_blank">http://tcgui.tc.funpic.de/download.htm</a> for German users) within your browser and download the latest version (When I was writing this howto the latest version was 0.4).</p>
<p><a href="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/big/tcgui1.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tcgui1.jpg" style="border: medium none " /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></p>
<p></a><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tcgui2.jpg" style="border: medium none " /></p>
<p>Afterwards unpack the file.</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/tcgui3.jpg" style="border: medium none " /></p>
<h4>4.2 Installation</h4>
<p>Open a terminal, switch to the unpacked files and run the installer.</p>
<p class="command">cd Desktop/tcgui-0.4/<br />
sudo bash install.sh $USER</p>
<p>Note: Don&#8217;t replace $USER with your username &#8211; simply copy &amp; paste the line.</p>
<p>Choose your language (german or english) and answer the following questions with no (n) &#8211; unless you haven&#8217;t realized step 3.2.1 till 3.2.3. After the installation finished you have to log out and back in to take the changes effect.</p>
<h4>4.3 Access The GUI</h4>
<p>The TrueCrypt GUI is available in the gnome applications menu.</p>
<p><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/access1.jpg" style="border: medium none " /></p>
<p>Click on &#8220;<span class="system">Yes</span>&#8221; if you agree with the warranty agreement.</p>
<p><a href="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/big/access2.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/access2.jpg" style="border: medium none " /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></p>
<p></a><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The GUI appears &#8211; make yourself familiar with it.</p>
<p><a href="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/big/access3.jpg" class="thickbox"><img src="http://images.howtoforge.com/images/truecrypt_on_ubuntu_710/access3.jpg" style="border: medium none " /><img src="http://images.howtoforge.com/images/click_to_enlarge.png" alt="Click to enlarge" border="0" height="12" width="100" /></p>
<p></a><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Note: Please have a look at the readme in the tcgui-folder (on your desktop). Which functions are working without problems and which not is described at the end of the file &#8211; so you should read it before you you&#8217;re playing around with the GUI <img src='http://linewbie.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h4>4.4 Deinstallation</h4>
<p>If you want to deinstall the TrueCrypt GUI open a terminal and enter:</p>
<p class="command">sudo bash /usr/share/tcgui/uninstall.sh</p>
<p>Note: The group &#8220;<span class="system">truecrypt</span>&#8221; will not be deleted and the changes in the sudo configuration will not be restored.</p>
<h3>5 Links</h3>
<p>TrueCrypt: <a href="http://www.truecrypt.org/" title="http://www.truecrypt.org/" target="_blank">http://www.truecrypt.org/</a><br />
TrueCrypt License: <a href="http://www.truecrypt.org/license.php" title="http://www.truecrypt.org/license.php" target="_blank">http://www.truecrypt.org/license.php</a><br />
TrueCrypt Linux manpage: <a href="http://www.truecrypt.org/docs/linux-manpage.php" title="http://www.truecrypt.org/docs/linux-manpage.php" target="_blank">http://www.truecrypt.org/docs/linux-manpage.php</a><br />
TrueCrypt GUI (en): <a href="http://tcgui.tc.funpic.de/en/index.htm" title="http://tcgui.tc.funpic.de/en/index.htm" target="_blank">http://tcgui.tc.funpic.de/en/index.htm</a><br />
TrueCrypt GUI (de): <a href="http://tcgui.tc.funpic.de/index.htm" title="http://tcgui.tc.funpic.de/index.htm" target="_blank">http://tcgui.tc.funpic.de/index.htm</a><br />
Ubuntu: <a href="http://www.ubuntu.com/" title="http://www.ubuntu.com/" target="_blank">http://www.ubuntu.com/</a>
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2008/01/install-and-configure-truecrypt-with-gui-on-ubuntu-710.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intrusion Detection: Snort, Base, MySQL, and Apache2 On Ubuntu 7.10 (Gutsy Gibbon)</title>
		<link>http://linewbie.com/2008/01/intrusion-detection-snort-base-mysql-and-apache2-on-ubuntu-710-gutsy-gibbon-2.html</link>
		<comments>http://linewbie.com/2008/01/intrusion-detection-snort-base-mysql-and-apache2-on-ubuntu-710-gutsy-gibbon-2.html#comments</comments>
		<pubDate>Thu, 17 Jan 2008 03:12:24 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[applications/software]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[howtoforge]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[base]]></category>
		<category><![CDATA[intrusion detection]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[snort]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2008/01/intrusion-detection-snort-base-mysql-and-apache2-on-ubuntu-710-gutsy-gibbon-2.html</guid>
		<description><![CDATA[This tutorial is based on another howto written by DevilMan, however I didn&#8217;t like the idea of manually compiling every package or the use of a GUI to get the software installed. This howto will work on a Gutsy Server &#8230; <a href="http://linewbie.com/2008/01/intrusion-detection-snort-base-mysql-and-apache2-on-ubuntu-710-gutsy-gibbon-2.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This tutorial is based on <a href="http://howtoforge.com/intrusion-detection-with-snort-mysql-apache2-on-ubuntu-7.10" target="_blank">another howto</a> written by <a href="http://howtoforge.com/forums/member.php?u=27065" target="_blank">DevilMan</a>, however I didn&#8217;t like the idea of manually compiling every package or the use of a GUI to get the software installed. This howto will work on a Gutsy Server or Gutsy desktop. With that said some of this howto is a direct copy from the original.</p>
<p>In this tutorial I will describe how to install and configure Snort (an intrusion detection system (IDS)) from source, BASE (Basic Analysis and Security Engine), MySQL, and Apache2 on Ubuntu 7.10 (Gutsy Gibbon). Snort will assist you in monitoring your network and alert you about possible threats. Snort will output its log files to a MySQL database which BASE will use to display a graphical interface in a web browser.</p>
<p><span id="more-450"></span></p>
<h3>1. Gain root privileges</h3>
<p>It is easiest to do this install as root user.</p>
<p class="command">sudo su -</p>
<h3>2. Install some packages</h3>
<p>The following will install all the required packages to make this setup work:</p>
<p class="command">apt-get install libpcap0.8-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 bison flex apache2 libapache2-mod-php5 php5-gd php5-mysql libphp-adodb php-pear libc6-dev g++ gcc pcregrep</p>
<h3>3. Get and compile snort</h3>
<p>The Snort package in the Gutsy repo&#8217;s are out of date. So I prefered to download the most current and install that. This is the only thing we will compile from scratch.</p>
<p>The latest version of snort at the time of writing is 2.8.0.1</p>
<p>First let&#8217;s go to a working directory:</p>
<p class="command">cd /usr/src/</p>
<p>Open a web browser and navigate to <a href="http://www.snort.org/dl" target="_blank">http://www.snort.org/dl</a> right click on the most recent release and copy link location.</p>
<h4>a. Download snort and snort rules</h4>
<p class="command">wget http://www.snort.org/dl/current/snort-2.8.0.1.tar.gz</p>
<p>There are a couple options for rules. The following will download the public rules, however with a quick registration at the snort site you can get more current rules. Your choice but the next command is run the same way with the appropriate URL:</p>
<p class="command">wget http://snort.org/pub-bin/downloads.cgi/Download/vrt_pr/snortrules-pr-2.4.tar.gz</p>
<h4>b. Unpack and get them ready for compile</h4>
<p class="command">tar zxvf snort-2.8.0.1.tar.gz<br />
cd snort-2.8.0.1<br />
tar zxvf ../snortrules-pr-2.4.tar.gz</p>
<h4>c. Now compile them</h4>
<p class="command">./configure -enable-dynamicplugin &#8211;with-mysql<br />
make<br />
make install</p>
<p>Keep this directory handy as you can simply run</p>
<p class="command">make uninstall</p>
<p>To uninstall snort later if you choose</p>
<h4>d. Move things into position</h4>
<p>We now need to move the rules and config for snort into position</p>
<p class="command">mkdir /etc/snort /etc/snort/rules /var/log/snort<br />
cd /usr/src/snort-2.8.0.1/etc<br />
cp * /etc/snort/<br />
cd ../rules<br />
cp * /etc/snort/rules</p>
<h3>4. Configure Snort</h3>
<p>We need to modify the snort.conf file to suite our needs.</p>
<p>Open <span class="system">/etc/snort/snort.conf</span> with your favorite text editor (nano, vi, vim, etc.).</p>
<p class="command"># vi /etc/snort/snort.conf</p>
<p>Change &#8220;<strong>var HOME_NET any</strong>&#8221; to &#8220;<strong>var HOME_NET 192.168.1.0/24</strong>&#8221; (your home network may differ from 192.168.1.0)<br />
Change &#8220;<strong>var EXTERNAL_NET any</strong>&#8221; to &#8220;v<strong>ar EXTERNAL_NET !$HOME_NET</strong>&#8221; (this is stating everything except HOME_NET is external)<br />
Change &#8220;<strong>var RULE_PATE ../rules</strong>&#8221; to &#8220;<strong>var RULE_PATH /etc/snort/rules</strong>&#8220;</p>
<p>Scroll down the list to the section with &#8220;<strong># output database: log, mysql, user=</strong>&#8220;, remove the &#8220;<strong>#</strong>&#8221; from in front of this line.<br />
Change the &#8220;<strong>user=root</strong>&#8221; to &#8220;<strong>user=snort&#8221;</strong>, change the &#8220;<strong>password=password</strong>&#8221; to &#8220;<strong>password=snort_password</strong>&#8220;, &#8220;<strong>dbname=snort</strong>&#8220;<br />
Make note of the username, password, and dbname. You will need this information when we set up the Mysql db.<br />
Save and quit.</p>
<h3>5. Setup the Mysql database.</h3>
<p>Log into the mysql server.</p>
<p class="command"># mysql -u root -p</p>
<p>Create the snort database. Make sure you change the &#8216;snort_password&#8217; to something else!</p>
<p class="command">mysql&gt; create database snort;<br />
grant all privileges on snort.* to &#8216;snort&#8217;@'localhost&#8217; identified by &#8216;snort_password&#8217;; mysql&gt; exit</p>
<p>We will use the snort schema for the layout of the database.</p>
<p class="command"># mysql -D snort -u snort -p &lt; /usr/src/snort-2.8.0.1/schemas/create_mysql</p>
<p><strong>NOTE:</strong> Use your snort DB user password when prompted.</p>
<h3>6. Time to test Snort</h3>
<p>In the terminal type:</p>
<p class="command"># snort -c /etc/snort/snort.conf</p>
<p>If everything went well you should see an ascii pig.</p>
<p>To end the test hit <span class="system">ctrl + c</span>.</p>
<p><strong>NOTE:</strong> If you get errors you may want to try commenting out lines 97,98 and 452 of <span class="system">/etc/snort/rules/web-misc.rules</span>.  This was an issue in the past but doesn&#8217;t seem to be anymore.</p>
<h3>7. Get and install BASE</h3>
<p>Open a web browser and go to <a href="http://sourceforge.net/project/showfiles.php?group_id=103348" target="_blank">http://sourceforge.net/project/showfiles.php?group_id=103348</a>.</p>
<p>Click on download then right click on the newest tar.gz package and select copy link (at the time of writing this is base-1.3.9).</p>
<p>In the terminal type:</p>
<p class="command">cd<br />
wget http://easynews.dl.sourceforge.net/sourceforge/secureideas/base-1.3.9.tar.gz</p>
<p>Now go to your web document root (by default this is /var/www), unpack the tarball and set the permissions needed to configure BASE:</p>
<p class="command">cd /var/www/<br />
tar zxvf ~/base-1.3.9.tar.gz cd .. chmod 757 base-1.3.9</p>
<p>We want to make sure that a couple of Pear modules are activated:</p>
<p class="command">pear install Image_Color<br />
pear install Image_Canvas-alpha<br />
pear install Image_Graph-alpha</p>
<h3>8. Set up BASE</h3>
<p>Open a web browser and navigate to <span class="system">http://YOUR.IP.ADDRESS/base-1.3.9/setup</span>.</p>
<p>Click continue on the first page.</p>
<ul>
<li> Step 1 of 5: Enter the path to ADODB.<br />
This is <span class="system">/usr/share/php/adodb</span>.</li>
<li> Step 2 of 5:<br />
Database type = <span class="system">MySQL</span>, Database name = <span class="system">snort</span>, Database Host = <span class="system">localhost</span>, Database username = <span class="system">snort</span>, Database Password = <span class="system">snort_password</span></li>
<li>Step 3 of 5: If you want to use authentication enter a username and password here and check the box.</li>
<li>Step 4 of 5: Click on <span class="system">Create BASE AG</span>.</li>
<li>Step 5 of 5: once step 4 is done at the bottom click on <span class="system">Now continue to step 5.</span></li>
</ul>
<p>Bookmark this page.</p>
<p>Change the permissions back on the <span class="system">/var/www/base-1.3.9</span> folder.</p>
<p class="command"># chmod 755 /var/www/base-1.3.9</p>
<h3>We are done. Congrats!!!</h3>
<p>To start Snort in the terminal type (make sure you change eth0 to the right interface for your machine:</p>
<p class="command"># snort -c /etc/snort/snort.conf -i eth0 -D</p>
<p>This starts snort using eth0 interface in a daemon mode.</p>
<p>To make sure it is running you can check with the following command:</p>
<p class="command"># ps aux | grep snort</p>
<p>If it&#8217;s running you will see an entry similar to <span class="system">snort -c /etc/snort/snort.conf -i eth0 -D</span>.</p>
<p>If you would like to learn how to write your own Snort rules there is a guide at <a href="http://www.snort.org/docs/snort_manual/node16.html" target="_blank">http://www.snort.org/docs/snort_manual/node16.html</a>.<br />
Good luck.
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2008/01/intrusion-detection-snort-base-mysql-and-apache2-on-ubuntu-710-gutsy-gibbon-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install and Set Up Subversion And Trac As Virtual Hosts On An Ubuntu Linux Server</title>
		<link>http://linewbie.com/2008/01/install-and-set-up-subversion-and-trac-as-virtual-hosts-on-an-ubuntu-linux-server.html</link>
		<comments>http://linewbie.com/2008/01/install-and-set-up-subversion-and-trac-as-virtual-hosts-on-an-ubuntu-linux-server.html#comments</comments>
		<pubDate>Sat, 12 Jan 2008 09:06:11 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[guides]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[Linux Server]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trac]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2008/01/install-and-set-up-subversion-and-trac-as-virtual-hosts-on-an-ubuntu-linux-server.html</guid>
		<description><![CDATA[This howto outlines the process by which one can set up the Subversion version control system, and have it work in tandem with Trac, the project manager for software development projects, on a server running Ubuntu (or possibly Debian). It &#8230; <a href="http://linewbie.com/2008/01/install-and-set-up-subversion-and-trac-as-virtual-hosts-on-an-ubuntu-linux-server.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This howto outlines the process by which one can set up the <a href="http://subversion.tigris.org/" target="_blank">Subversion</a> version control system, and have it work in tandem with <a href="http://trac.edgewall.org/" target="_blank">Trac</a>, the project manager for software development projects, on a server running Ubuntu (or possibly Debian). It is brought to you by <a href="http://www.openject.com/" target="_blank">Openject Consulting</a>.</p>
<h3>Setting up Subversion</h3>
<p>For detailed information on this, including alternate setups, have a look at <a href="http://svnbook.red-bean.com/nightly/en/index.html" target="_blank">Version Control with Subversion</a>.</p>
<p><span id="more-442"></span></p>
<ol>
<li>
<dl>
<dt>Install the required packages.</dt>
<dd class="command">sudo aptitude install enscript libapache2-mod-python python-docutils trac db4.3-util libapache2-svn subversion-tools</dd>
</dl>
</li>
<li>
<dl>
<dt>Create a virtual host directory for SVN. We&#8217;ll use /var/local/svn instead of /var/www so that Subversion instances don&#8217;t clog up the directory of web root directories.</dt>
<dd class="command">sudo mkdir -p /var/local/svn/svn.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Create a development group, and add the web user to it.</dt>
<dd class="command">sudo addgroup example; sudo adduser www-data example</dd>
</dl>
</li>
<li>
<dl>
<dt>Add users to the development group.  These are persons that need access to the repository.</dt>
<dd>
<ol>
<li class="command">sudo adduser username1 example</li>
<li class="command">sudo adduser username2 example</li>
<li class="command">sudo adduser username3 example</li>
</ol>
</dd>
</dl>
</li>
<li>
<dl>
<dt>Set the proper permissions.</dt>
<dd class="command">sudo chmod 2770 /var/local/svn/svn.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Set up the repository.</dt>
<dd class="command">sudo svnadmin create /var/local/svn/svn.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Clear the current password file. By default it&#8217;s for the svnserve protocol, but we&#8217;ll be using HTTPS (or just HTTP). We&#8217;ll be adding users to this file later in the process.</dt>
<dd class="command">sudo rm /var/local/svn/svn.example.com/conf/passwd<br />
sudo touch /var/local/svn/svn.example.com/conf/passwd</dd>
</dl>
</li>
<li>
<dl>
<dt>Allow the group to write to the repository.</dt>
<dd class="command">sudo chmod -R g+w /var/local/svn/svn.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Set proper file ownership.</dt>
<dd class="command">sudo chown -R www-data:example /var/local/svn/svn.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Set the repository access permissions.  Information on how to do this can be found in the <a href="http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html" target="_blank">Path-Based Authorization</a> section of <a href="http://svnbook.red-bean.com/nightly/en/index.html" target="_blank">Version Control with Subversion</a>.</dt>
<dd class="command">sudo vi /var/local/svn/svn.example.com/conf/authz</dd>
</dl>
</li>
<li>
<dl>
<dt>Create a directory for the log files.</dt>
<dd class="command">sudo mkdir /var/log/apache2/svn.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Add the site to the log rotation list.</dt>
<dd class="command">sudo vi /etc/logrotate.d/apache2</dd>
</dl>
</li>
<li>
<dl>
<dt>Configure the virtual host&#8230;</dt>
<dd class="command">sudo vi /etc/apache2/sites-available/svn.example.com</dd>
<dt>&#8230;with the following data.  If you don&#8217;t care about SSL, you can ignore the SSL options and run this on port 80.</dt>
<dd>
<pre>&lt;VirtualHost [server's IP address]:443&gt;
  ServerName svn.example.com
  &lt;Location /&gt;
    DAV svn
    AuthType Basic
    AuthName "svn.example.com"
    AuthUserFile /var/local/svn/svn.example.com/conf/passwd
    AuthzSVNAccessFile /var/local/svn/svn.example.com/conf/authz
    SVNPath /var/local/svn/svn.example.com
    Require valid-user
  &lt;/Location&gt;
  CustomLog /var/log/apache2/svn.example.com/access.log combined
  ErrorLog /var/log/apache2/svn.example.com/error.log
  SSLEngine on
  SSLCertificateFile /etc/apache2/ssl/apache.pem
# Add this once there is a real (non self-signed) certificate.
#  SSLCertificateKeyFile /etc/apache2/ssl/server.key
&lt;/VirtualHost&gt;
&lt;VirtualHost [server's IP address]:80&gt;
  ServerName svn.example.com
  Redirect / https://svn.example.com/
&lt;/VirtualHost&gt;</pre>
</dd>
<dt>Reference:</dt>
<dd>/etc/apache2/mods-enabled/dav_svn.conf</dd>
</dl>
</li>
<li>
<dl>
<dt>Enable the subversion virtual host.</dt>
<dd class="command">sudo a2ensite svn.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Create user/password combinations.</dt>
<dd class="command">htpasswd /var/local/svn/svn.example.com/conf/passwd username</dd>
</dl>
</li>
<li>
<dl>
<dt>Restart the web server.</dt>
<dd class="command">sudo /etc/init.d/apache2 restart</dd>
</dl>
</li>
<li>
<dl>
<dt>If you&#8217;re going to have users working locally, set up svnwrap.  (See the man page for details.)</dt>
<dd class="command">sudo ln -s /usr/bin/svnwrap /usr/local/bin/svn</dd>
</dl>
</li>
</ol>
<h3>Setting up Trac</h3>
<ol>
<li>
<dl>
<dt>Create the web directory.  We&#8217;ll use /var/local/trac instead of /var/www so as not to clog up the directory of webroots.</dt>
<dd class="command">sudo mkdir /var/local/trac/trac.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Set the proper permissions.</dt>
<dd class="command">sudo chmod 2770 /var/local/trac/trac.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Create a Trac instance.</dt>
<dd class="command">sudo trac-admin /var/local/trac/trac.example.com initenv</dd>
</dl>
</li>
<li>
<dl>
<dt>Set proper ownership on the web directory.</dt>
<dd class="command">sudo chown -R www-data:example /var/local/trac/trac.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Allow the group to write to the repository.</dt>
<dd class="command">sudo chmod -R g+w /var/local/trac/trac.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Configure it.</dt>
<dd class="command">sudo vi /var/local/trac/trac.example.com/conf/trac.ini</dd>
</dl>
</li>
<li>
<dl>
<dt>Create a directory for the log files.</dt>
<dd class="command">sudo mkdir /var/log/apache2/trac.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Add the site to the log rotation list.</dt>
<dd class="command">sudo vi /etc/logrotate.d/apache2</dd>
</dl>
</li>
<li>
<dl>
<dt>Configure the virtual host&#8230;</dt>
<dd class="command">sudo vi /etc/apache2/sites-available/trac.example.com</dd>
<dt>&#8230;with the following data.  If you don&#8217;t care about SSL, you can skip the SSL options and run this on port 80.</dt>
<dd>
<pre># Trac Configuration
&lt;VirtualHost [server's IP address]:80&gt;
  ServerName trac.example.com
  Redirect / https://trac.example.com/
&lt;/VirtualHost&gt;
&lt;VirtualHost [server's IP address]:443&gt;
  ServerName trac.example.com
  DocumentRoot /var/local/trac/trac.example.com/
  Alias /trac/ /usr/share/trac/htdocs
  &lt;Directory "/usr/share/trac/htdocs/"&gt;
      Options Indexes MultiViews
      AllowOverride None
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  &lt;Location /&gt;
      SetHandler mod_python
      PythonHandler trac.web.modpython_frontend
      PythonInterpreter main_interpreter
      PythonOption TracEnv /var/local/trac/trac.example.com/
      PythonOption TracUriRoot /
      AuthType Basic
      AuthName "trac.example.com"
      # Use the SVN password file.
      AuthUserFile /var/local/svn/svn.example.com/conf/passwd
      Require valid-user
  &lt;/Location&gt;
  CustomLog /var/log/apache2/trac.example.com/access.log combined
  ErrorLog /var/log/apache2/trac.example.com/error.log
  SSLEngine on
  SSLCertificateFile /etc/apache2/ssl/apache.pem
# Add this once there is a real (non self-signed) certificate.
#  SSLCertificateKeyFile /etc/apache2/ssl/server.key
&lt;/VirtualHost&gt;</pre>
</dd>
<dt>Reference:</dt>
<dd><a href="http://trac.edgewall.org/wiki/TracOnUbuntu" target="_blank">http://trac.edgewall.org/wiki/TracOnUbuntu</a></dd>
</dl>
</li>
<li>
<dl>
<dt>Enable the Trac virtual host.</dt>
<dd class="command">sudo a2ensite trac.example.com</dd>
</dl>
</li>
<li>
<dl>
<dt>Restart the web server.</dt>
<dd class="command">sudo /etc/init.d/apache2 restart</dd>
</dl>
</li>
</ol>
<p>The last thing to do is add the subdomains &#8220;svn&#8221; and &#8220;trac&#8221; to the DNS configuration for your domain. Once this is done, Subversion and Trac will be integrated into your server environment, and will be accessible from the web.
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2008/01/install-and-set-up-subversion-and-trac-as-virtual-hosts-on-an-ubuntu-linux-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enlightenment on Ubuntu</title>
		<link>http://linewbie.com/2008/01/enlightenment-on-ubuntu.html</link>
		<comments>http://linewbie.com/2008/01/enlightenment-on-ubuntu.html#comments</comments>
		<pubDate>Tue, 08 Jan 2008 05:09:32 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[debian/ubuntu based]]></category>
		<category><![CDATA[desktop environments]]></category>
		<category><![CDATA[review/preview/tests]]></category>
		<category><![CDATA[enlightment]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2008/01/enlightenment-on-ubuntu.html</guid>
		<description><![CDATA[Many Linux distributions try to be visually appealing. Some use Beryl-Compiz for cool 3-D effects on resource-laden boxes, while others turn to desktops like Enligtenment for a little bit of gloss at the expense of functionality. Geubuntu is a new &#8230; <a href="http://linewbie.com/2008/01/enlightenment-on-ubuntu.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p class="xar-clearleft">Many Linux distributions try to be visually appealing. Some use <a href="http://www.beryl-project.org/">Beryl-Compiz</a> for cool 3-D effects on resource-laden boxes, while others turn to desktops like <a href="http://www.enlightenment.org/">Enligtenment</a> for a little bit of gloss at the expense of functionality. <a href="http://geubuntu.intilinux.com/Home.html">Geubuntu</a> is a new distro that combines the best of those two worlds, equipping Enlightenment with bits from GNOME and Xfce on top of Ubuntu.</p>
<p id="featurecontent" class="xar-align-left"> Geubuntu 7.10 &#8220;Luna Nuova&#8221; is only the second release of the distro, which seems to trace Ubuntu&#8217;s release cycle. As the version number suggests, Geubuntu 7.10 is based on Ubuntu 7.10, from which it borrows the kernel and user conveniences like the restricted-drivers management utility.</p>
<p>Geubuntu is an installable live CD, but it can also be <a href="http://geubuntu.wikispaces.com/Installing+Geubuntu+7.10+from+packages">installed on top of an existing Ubuntu distro</a> by installing specific packages from the Geubuntu mirror. Currently there&#8217;s only a 32-bit ISO available. To run Geubuntu on 64-bit hardware you&#8217;ll have to take the longer route of first installing a 64-bit version of Ubuntu and then getting Geubuntu packages that are compiled for 64-bit platforms.</p>
<p><span id="more-440"></span></p>
<p>Installing from the live CD requires about 1.5GB of disk space. The distro booted smoothly on all the computers I tried it on, including a 1.3GHz Celeron and two dual-core desktops, with a 2.0GHz E4400 and a 1.8GHz E6300. Geubuntu isn&#8217;t short on applications; some of the most used apps it includes are the Firefox Web browser, Pidgin instant messenger, Eclair and VLC media players, and the GIMP image editor. To keep its requirements low, Geubuntu bundles AbiWord word processor, Gnumeric spreadsheet, Orage Calendar, and the Thunar file manager instead of more resource-intensive office suites. If you want to install more apps you can use the Synaptic package manager.</p>
<h4>Very usable desktop</h4>
<p><a href="http://www.linux.com/var/uploads/Image/articles/123494-1%281%29.png" class="thickbox" title="Geubuntu"> <img src="http://linux.com/var/uploads/Image/articles/123494-1-thumb.png" title="Click to enlarge" align="right" /> </a>The first thing you&#8217;ll notice about Geubuntu is its speed. Despite being based on Ubuntu 7.10, it runs well on older hardware like my Pentium Celeron 1.3GHz laptop. This is because Enlightenment isn&#8217;t as resource-hungry as Ubuntu&#8217;s default desktop environment GNOME, which Geubuntu doesn&#8217;t bundle.</p>
<p>Geubuntu boots into the visually stunning Sunshine theme created by its artist developer. The desktop sports panels at the top and bottom of the screen. To maximize the desktop real estate, the top panel folds over the top when not in use. The bottom panel, though minimal, is fully loaded with menu and application launchers, virtual desktop switcher, and applets like clock. I like its animated marquee-style auto-scrolling list of application launchers, which prevents the panel from taking too much space.</p>
<p>In addition to being visually stunning, Geubuntu&#8217;s Sunshine and Moonlight themes both have animated bits. Depending on the theme, a sun beam shines down from the sun or an Enlightenment logo appears on a large Moon and reflects in rippling water after regular intervals. Users can easily (and almost instantaneously) switch between the two themes at a click.</p>
<p>Of course this bling would be useless if it came at the price of usability. But that&#8217;s what I like about Geubuntu. It&#8217;s a stunning distro that&#8217;s also very usable, thanks to an assortment of components. Of note are two Xfce components, the Xfce panel and the Thunar file manager. These are complemented by bits and pieces from GNOME, such as the GNOME bar and applets like the network manager and the search applet.</p>
<h4>Watch out for bugs!</h4>
<p>The components that make this distro usable also introduce a few noticeable bugs, since they were not designed to interact with each other. And Enlightenment is still under heavy development and has several bugs of its own. Despite bundling Thunar file manager, Geubuntu relies on Enlightenment&#8217;s file manager, fm, for displaying desktop icons. However, you can&#8217;t mount or unmount removable devices or browse their files using their desktop icons; for that you need to use Thunar.</p>
<p>Also, when running Geubuntu from the live CD, the distro doesn&#8217;t log out without complaining that some task is taking too long to complete, giving you the option to either wait or continue with the logout. According to a post on the forums, it&#8217;s the Xfce panel that seems to be causing this and the developers are working on a solution. Strangely, once you&#8217;ve installed Geubuntu to the hard drive, it logs out without complaining.</p>
<p>This isn&#8217;t the only discrepancy between the live and installed versions of the distro. When I first installed it, the desktop didn&#8217;t display the top panel. I tried logging out, restarting the computer, killing and restarting the panels, but nothing worked. But reinstalling the distro brought back the panel.</p>
<p>Secondly, my PCMCIA wireless card, which worked from the live CD, didn&#8217;t work from the installed version. On the dual-core desktop, the distro picked up the wide-screen monitor and correctly booted into its 1440&#215;900-pixel resolution. It failed however, to activate the wireless card, even after i installed the correct drivers via NDISwrapper. Also the splash screen that comes up while the distro boots is only visible when the distro boots from the disk. Live CD users get to stare at a blank screen during boot, which can be a little confusing for new users.</p>
<p>Some of the components under the Moonlight theme retain traces of the Sunshine theme, such as the semitransparent terminal window. If you run into any other errors, refer to the <a href="http://geubuntu.wikispaces.com/Geubuntu+Prima+Luna+Documentation">online documentation</a> to check for a solution, if it&#8217;s a known bug.</p>
<h4>Conclusion</h4>
<p>Despite being a young distro with just two releases under its belt, Geubuntu delivers a visually stunning desktop without compromising functionality. As a double benefit, the components it uses to blend functionality with bling have modest hardware requirements. This makes the distro perfectly suitable for older computers.</p>
<p>Built atop Ubuntu, the distro has a solid, well-tested base. Its unique mix of components from desktop environments Xfce and GNOME on top of the under-development Enlightenment environment introduces several bugs, but the developers are working to iron these out, and have already tackled several between the first two releases. I&#8217;d recommend this distro to desktop users with aging hardware, and to users who haven&#8217;t tried Enlightenment before.
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2008/01/enlightenment-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure OpenLDAP + Samba Domain Controller On Ubuntu 7.10</title>
		<link>http://linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html</link>
		<comments>http://linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html#comments</comments>
		<pubDate>Mon, 07 Jan 2008 05:09:30 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[debian/ubuntu based]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[howtoforge]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html</guid>
		<description><![CDATA[Preface This document is a step by step guide for configuring Ubuntu 7.10 as a Samba Domain Controller with an LDAP backend (OpenLDAP). The point is to configure a server that can be comparable, from a central authentication point of &#8230; <a href="http://linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Preface</h3>
<p>This document is a step by step guide for configuring Ubuntu 7.10 as a Samba Domain Controller with an LDAP backend (OpenLDAP). The point is to configure a server that can be comparable, from a central authentication point of view, to a Windows Server 2003 Domain Controller. The end result will be a server with an LDAP directory for storing user, group, and computer accounts. A Windows XP Professional SP2 workstation will be able to join the domain once properly configured. Please note that you do not have a fully comparable Windows domain controller at this time. Do not kid yourself, this guide only gets you a server with LDAP authentication. Of course this can be expanded to include slave servers to spread out authentication over multiple networks. Please also note that it took me approximately two and a half weeks to compile this information and get it working. The same functionality can be had in Windows in less than four hours (and this includes operating system installation). In my humble opinion the open source community will need to work on this side of Linux in order for it to be a true alternative to Windows.</p>
<p><span id="more-439"></span></p>
<h3>Legal/Warranty/Etc&#8230;</h3>
<p>This document is provided as-is with no implied warranty or agreement. I will not support other systems without compensation. This document is the property of Richard Maloley II. This document may be redistributed, copied, printed, and modified at will, however my name must remain as the original source. Legal action can and will be brought against any and all infractions of the terms.</p>
<h3>Special Items of Interest</h3>
<p>* My hostname during the installation was set to: <span class="system">dc01-ubuntu</span><br />
* My fully qualified domain name will be: <span class="system">dc01-ubuntu.example.local</span><br />
* After the installation my <span class="system">/etc/hostname</span> was changed to: <span class="system">dc01-ubuntu.example.local</span><br />
* After the installation my <span class="system">/etc/hosts</span> was changed so that the line 127.0.1.1 contained &#8220;dc01-ubuntu dc01-ubuntu.example.local&#8221; to ensure no issues with name resolution.<br />
* My LDAP domain is: <span class="system">example.local</span><br />
* This translates to a Base DN of: <span class="system">dc=example,dc=local</span><br />
* All passwords used are &#8220;12345&#8243; to keep things simple.<br />
* I am not using TLS or SSL for my LDAP directory. Too much work for this tutorial.<br />
* The user I created during the installation is: <span class="system">sysadmin</span><br />
* The password I assigned during the installation is: <span class="system">12345</span><br />
* This local user will be used for all configuration purposes.</p>
<h3>Assumptions</h3>
<p>* Ubuntu Server 7.10 is installed.<br />
* No other software was installed during the OS install!<br />
* After installation you enabled all the repositories in <span class="system">/etc/apt/sources.list</span><br />
* You fully updated your system</p>
<p class="command">apt-get update<br />
apt-get upgrade<br />
reboot</p>
<p>* You configured a static IP address. For me I used the following information:</p>
<p class="system">address 192.168.0.60<br />
gateway 192.168.0.1<br />
netmask 255.255.255.0</p>
<p>* You edited your <span class="system">/etc/hosts</span> file so that your hostname and fully qualified domain name are on the line <span class="system">127.0.1.1</span></p>
<pre>127.0.1.1 dc01-ubuntu dc01-ubuntu.example.local</pre>
<p>* You installed the OpenSSH Server.</p>
<p class="command">apt-get install openssh-server</p>
<p>* You did not set a password on the root account. All commands will be run with sudo or by opening a root shell.</p>
<p class="command">sudo bash</p>
<p>* Currently you do not have any other software running nor do you have any other users on the system.</p>
<h3>Step 1: Install WebMin</h3>
<p>We will be installing WebMin. Why? I like to use it to configure some things. This step is techinically optional but I feel as though it greatly simplifies administration of the server in the future.</p>
<p>#	Download the WebMin package from their website.</p>
<p class="command">wget http://superb-west.dl.sourceforge.net/sourceforge/webadmin/webmin_1.380_all.deb</p>
<p>#	Install pre-requisite software.</p>
<p class="command">apt-get install openssl libauthen-pam-perl libio-pty-perl libmd5-perl libnet-ssleay-perl</p>
<p>#	Install WebMin</p>
<p class="command">dpkg -i webmin_1.380_all.deb</p>
<p>#	If the installation is successful you will see a message similar to this:</p>
<p class="system">&#8220;Webmin install complete. You can now login to https://dc01-ubuntu.example.local:10000/<br />
as root with your root password,<br />
or as any user who can use sudo to run commands as root.&#8221;</p>
<h3> Step 2: Install OpenLDAP</h3>
<p>For our LDAP server we will be using the very flexible OpenLDAP Server (slapd).</p>
<p>#	Install the software.</p>
<p class="command">apt-get install slapd ldap-utils migrationtools</p>
<p>#	Answer the on-screen prompts with:</p>
<p class="system">Admin password: 12345<br />
Confirm password: 12345</p>
<p>#	We need to configure OpenLDAP now.</p>
<p class="command">dpkg-reconfigure slapd</p>
<p>#	Answer the on-screen prompts with:</p>
<p><span class="system">No<br />
DNS domain name: example.local<br />
Name of your organization: example.local<br />
Admin password: 12345<br />
Confirm password: 12345<br />
OK<br />
BDB<br />
No<br />
Yes<br />
No</span></p>
<p>#	Restart OpenLDAP.</p>
<p class="command">/etc/init.d/slapd restart</p>
<h3> Step 3: Install SAMBA</h3>
<p>We will be using SAMBA for some main functions in this tutorial. In order to configure OpenLDAP correctly we must first install SAMBA.</p>
<p>#	Install the software.</p>
<p class="command">apt-get install samba smbldap-tools smbclient samba-doc</p>
<h3>Step 4: Configure OpenLDAP for use with SAMBA</h3>
<p>In order to use LDAP and SAMBA we need to configure the <span class="system">/etc/ldap/slapd.conf</span> file.</p>
<p>#	Copy the samba.schema file to the OpenLDAP schema directory.</p>
<p class="command">cp /usr/share/doc/samba-doc/examples/LDAP/samba.schema.gz /etc/ldap/schema/</p>
<p>#	Unzip the file.</p>
<p class="command">gzip -d /etc/ldap/schema/samba.schema.gz</p>
<p>#	Open the /etc/ldap/slapd.conf file for editing.</p>
<p class="command">vim /etc/ldap/slapd.conf</p>
<p>#	Add the following lines to the document where the other &#8220;include&#8221; lines are:</p>
<pre>include         /etc/ldap/schema/samba.schema</pre>
<pre>include         /etc/ldap/schema/misc.schema</pre>
<pre></pre>
<p>#	Change the line:</p>
<pre>access to attribute=userPassword</pre>
<p>#	to:</p>
<pre>access to attrs=userPassword,sambaNTPassword,sambaLMPassword</pre>
<p>#	Restart OpenLDAP:</p>
<p class="command">/etc/init.d/slapd restart</p>
<h3> Step 5: Configure SAMBA</h3>
<p>Now we need to configure SAMBA. This includes configuring the <span class="system">/etc/samba/smb.conf</span> file.</p>
<p>#	Open up the SAMBA directory.</p>
<p class="command">cd /etc/samba/</p>
<p>#	Backup the samba configuration file.</p>
<p class="command">cp smb.conf smb.conf.original</p>
<p>#	Open the samba configuration file for editing.</p>
<p class="command">vim smb.conf</p>
<p>#	Make the following changes throughout the file:</p>
<pre>workgroup = EXAMPLE
security = user
passdb backend = ldapsam:ldap://localhost/
obey pam restrictions = no
#######################################################################
#COPY AND PASTE THE FOLLOWING UNDERNEATH "OBEY PAM RESTRICTIONS = NO"
#######################################################################
#
#	Begin: Custom LDAP Entries
#
ldap admin dn = cn=admin,dc=example,dc=local
ldap suffix = dc=example, dc=local
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
; Do ldap passwd sync
ldap passwd sync = Yes
passwd program = /usr/sbin/smbldap-passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*
add user script = /usr/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
domain logons = yes
#
#	End: Custom LDAP Entries
#
#####################################################
#STOP COPYING HERE!
#####################################################</pre>
<p>#	Comment out the line:</p>
<p><a href="http://howtoforge.com/subscription"><img src="http://howtoforge.com/themes/htf_glass/images/remove_ads.gif" alt="Remove ads" border="0" /></a></p>
<p><script type="text/javascript"> <!-- document.write('</div>
<p>'); //--> </script></p>
<pre>invalid users = root</pre>
<p>#	Add the following line:</p>
<pre>logon path =</pre>
<p>#	Restart SAMBA.</p>
<p class="command">/etc/init.d/samba restart</p>
<p>#	Give SAMBA the &#8220;admin&#8221; password to the LDAP tree.</p>
<p class="command">smbpasswd -w 12345</p>
<h3> Step 6: Configure the SMBLDAP-TOOLS package.</h3>
<p>We will be using the smbldap-tools package to populate our directory, add users, add workstations, etc&#8230; But, the tools need to be configured first!</p>
<p>#	Open up the examples directory.</p>
<p class="command">cd /usr/share/doc/smbldap-tools/examples/</p>
<p>#	Copy the configuration files to<span class="system"> /etc/smbldap-tools</span>:</p>
<p class="command">cp smbldap_bind.conf /etc/smbldap-tools/<br />
cp smbldap.conf.gz /etc/smbldap-tools/</p>
<p>#	Unzip the configuration file.</p>
<p class="command">gzip -d /etc/smbldap-tools/smbldap.conf.gz</p>
<p>#	Open up the <span class="system">/etc/smbldap-tools</span> directory.</p>
<p class="command">cd /etc/smbldap-tools/</p>
<p>#	Get the SID (Security ID) for your SAMBA domain.</p>
<p class="command">net getlocalsid</p>
<p> This results in (example): SID for domain DC01-UBUNTU is: S-1-5-21-949328747-3404738746-3052206637</p>
<p>#	Open the <span class="system">/etc/smbldap-tools/smbldap.conf</span> file for editing.</p>
<p class="command">vim smbldap.conf</p>
<p>#	Edit the file so that the following information is correct (according to your individual setup):</p>
<pre>SID="S-1-5-21-949328747-3404738746-3052206637" ## This line must have the same SID as when you ran "net getlocalsid"
sambaDomain="EXAMPLE"
ldapTLS="0"
suffix="dc=example,dc=local"
sambaUnixIdPooldn="sambaDomainName=EXAMPLE,${suffix}"
userSmbHome=
userProfile=
userHomeDrive=
userScript=
mailDomain="example.local"</pre>
<p>#	Open the <span class="system">/etc/smbldap-tools/smbldap_bind.conf</span> file for editing.</p>
<p class="command">vim smbldap_bind.conf</p>
<p>#	Edit the file so that the following information is correct (according to your individual setup):</p>
<pre>slaveDN="cn=admin,dc=example,dc=local"
slavePw="12345"
masterDN="cn=admin,dc=example,dc=local"
masterPw="12345"</pre>
<p>#	Set the correct permissions on the above files:</p>
<p class="command">chmod 0644 /etc/smbldap-tools/smbldap.conf<br />
chmod 0600 /etc/smbldap-tools/smbldap_bind.conf</p>
<h3> Step 7: Populate LDAP using smbldap-tools</h3>
<p>Now we need to populate our LDAP directory with some necessary SAMBA and Windows entries.</p>
<p>#	Execute the command to populate the directory.</p>
<p class="command">smbldap-populate -u 30000 -g 30000</p>
<p>#	At the password prompt assign your root password:</p>
<p class="system">12345</p>
<p>#	Verify that the directory has information in it by running the command:</p>
<p class="command">ldapsearch -x -b dc=example,dc=local | less</p>
<h3>Step 8: Add an LDAP user to the system</h3>
<p>It is time for us to add an LDAP user. We will use this user account to verify that LDAP authentication is working.</p>
<p>#	Add the user to LDAP</p>
<p class="command">smbldap-useradd -a -m -M ricky -c &#8220;Richard M&#8221; ricky</p>
<p>#	Here is an explanation of the command switches that we used.</p>
<p class="system">-a allows Windows as well as Linux login<br />
-m makes a home directory, leave this off if you do not need local access<br />
-M sets up the username part of their email address<br />
-c specifies their full name</p>
<p>#	Set the password the new account.</p>
<p class="command">smbldap-passwd ricky<br />
#	Password will be: 12345</p>
<h3> Step 9: Configure the server to use LDAP authentication.</h3>
<p>The basic steps for this section came from the Ubuntu Forums (<a href="http://ubuntuforums.org/showthread.php?t=597056" target="_blank">http://ubuntuforums.org/showthread.php?t=597056</a>). Thanks to all who contributed to that thread! Basically we need to tell our server to use LDAP authentication as one of its options. Be careful with this! It can cause your server to break! This is why we always have a backup around.</p>
<p>#	Install the necessary software for this to work.</p>
<p class="command">apt-get install auth-client-config libpam-ldap libnss-ldap</p>
<p>#	Answer the prompts on your screen with the following:</p>
<p class="system">Should debconf manage LDAP configuration?: Yes<br />
LDAP server Uniform Resource Identifier: ldapi://127.0.0.1<br />
Distinguished name of the search base: dc=example,dc=local<br />
LDAP version to use: 3<br />
Make local root Database admin: Yes<br />
Does the LDAP database require login? No<br />
LDAP account for root: cn=admin,dc=example,dc=local<br />
LDAP root account password: 12345</p>
<p>#	Open the <span class="system">/etc/ldap.conf</span> file for editing.</p>
<p class="command">vim /etc/ldap.conf</p>
<p>#	Configure the following according to your setup:</p>
<pre>host 127.0.0.1
base dc=example,dc=local
uri ldap://127.0.0.1/
rootbinddn cn=admin,dc=example,dc=local
bind_policy soft</pre>
<p>#	Copy the <span class="system">/etc/ldap.conf</span> file to <span class="system">/etc/ldap/ldap.conf</span></p>
<p class="command">cp /etc/ldap.conf /etc/ldap/ldap.conf</p>
<p>#	Create a new file <span class="system">/etc/auth-client-config/profile.d/open_ldap</span>:</p>
<p class="command">vim /etc/auth-client-config/profile.d/open_ldap</p>
<p>#	Insert the following into that new file:</p>
<pre>[open_ldap]
nss_passwd=passwd: compat ldap
nss_group=group: compat ldap
nss_shadow=shadow: compat ldap
pam_auth=auth       required     pam_env.so
 auth       sufficient   pam_unix.so likeauth nullok
 auth       sufficient   pam_ldap.so use_first_pass
 auth       required     pam_deny.so
pam_account=account    sufficient   pam_unix.so
 account    sufficient   pam_ldap.so
 account    required     pam_deny.so
pam_password=password   sufficient   pam_unix.so nullok md5 shadow use_authtok
 password   sufficient   pam_ldap.so use_first_pass
 password   required     pam_deny.so
pam_session=session    required     pam_limits.so
 session    required     pam_mkhomedir.so skel=/etc/skel/
 session    required     pam_unix.so
 session    optional     pam_ldap.so</pre>
<p>#	Backup the <span class="system">/etc/nsswitch.conf</span> file:</p>
<p class="command">cp /etc/nsswitch.conf /etc/nsswitch.conf.original</p>
<p>#	Backup the <span class="system">/etc/pam.d/</span> files:</p>
<p class="command">cd /etc/pam.d/<br />
mkdir bkup<br />
cp * bkup/</p>
<p>#	Enable the new LDAP Authentication Profile by executing the following command:</p>
<p class="command">auth-client-config -a -p open_ldap</p>
<p>#	Reboot the server and test to ensure that you can still log in using SSH and LDAP.</p>
<p class="command">reboot</p>
<h3> Step 10: Install BIND (DNS Server)</h3>
<p>Because we are going to be a domain controller and source for authentication it makes sense to also have some DNS services available. Please note that if you have multiple servers at your disposal it is recommended to install a seperate DNS server as well so we have two to look at.</p>
<p>#	Install the software.</p>
<p class="command">apt-get install bind9</p>
<h3> Step 11: Configure our primary DNS Zone using WebMin</h3>
<p>We now want to create our DNS zone so that we are in charge of it and can make use of it. I prefer using a GUI to do this as opposed to editing the zone files.</p>
<p>In a web browser navigate to: <span class="system">https://192.168.0.60:10000</span> (Please use the IP address that YOU assigned to your server.)<br />
Login as &#8220;sysadmin&#8221; and &#8220;12345&#8243;.<br />
Servers &gt; BIND DNS Server<br />
Under &#8220;Existing DNS Zones&#8221; click &#8220;Create master zone&#8221;.</p>
<p class="system">Zone type: Forward (Names to Addresses)<br />
Domain name / Network: example.local<br />
Records file: Automatic<br />
Master server: dc01-ubuntu.example.local<br />
Email address: sysadmin@example.local</p>
<p>Click &#8220;Create&#8221; button.</p>
<p>Click &#8220;Apply Changes&#8221; button.</p>
<p>Click &#8220;Address (0)&#8221; at the top.</p>
<p class="system">Name: dc01-ubuntu<br />
Address: 192.168.0.60<br />
Click &#8220;Create&#8221; button<br />
Click &#8220;Return to record types&#8221;</p>
<p>Click &#8220;Apply Changes&#8221; button.</p>
<h3> Step 12: Configure the server to use itself for DNS</h3>
<p>DNS doesn&#8217;t do a whole lot of good if we don&#8217;t use it. In this section we point our <span class="system">/etc/resolv.conf</span> file to ourselves. I also recommend leaving in a known working DNS server as the seconday source just in case something screws up. In some of my trials I did notice that the server would hang trying to start BIND9.</p>
<p>#	Open the <span class="system">/etc/resolv.conf</span> file for editing.</p>
<p class="command">vim /etc/resolv.conf</p>
<p>#	Add the following lines to the beginning of the file:</p>
<pre>search example.local
nameserver 192.168.0.60</pre>
<p>#	Reboot the server to ensure that DNS is working correctly.</p>
<p class="command">reboot</p>
<h3> Step 13: Add a workstation account to LDAP</h3>
<p>This tutorial is meant to create an opensource domain for Windows XP Professional client (and Linux clients) to authenticate against. Therefore we will add a workstation account for the Windows XP Professional workstation that we will be joining to the domain.</p>
<p>#	Execute the command:</p>
<p class="command">smbldap-useradd -w client-winxp</p>
<p><strong>* &#8220;client-winxp&#8221; is the hostname of the computer that you will be adding to the domain. This must be very specific!</strong></p>
<h3> Step 14: Configure your Windows XP Professional Client</h3>
<p>Now I will walk you through configuring your Windows XP Professional workstation so that it will join the domain.</p>
<p>#	Assumptions:</p>
<p>* This is a vanilla installation of Windows XP Professional SP2.<br />
* The computer name was set during installation to be: <span class="system">client-winxp</span><br />
* The Administrator password assigned is: <span class="system">12345</span><br />
* All other installation options have been left at their default settings.<br />
* After the installation the following occurred:<br />
* The only user account on the computer in use was &#8220;Administrator&#8221;<br />
* All available Windows Updates were installed.<br />
* A static IP address was assigned with the following information (for my setup only!)</p>
<p><span class="system">IP Address: 192.168.0.61<br />
Gateway: 192.168.0.1<br />
Netmask: 255.255.255.0<br />
DNS: 192.168.0.60<br />
Search domain: example.local</span></p>
<p>#	Join the workstation to the domain.</p>
<p>* Log into the computer as Administrator.<br />
* Right click &#8220;My Computer&#8221; and click &#8220;Properties&#8221;.<br />
* Click the tab &#8220;Computer Name&#8221;.<br />
* Click the button labeled &#8220;Change&#8221;.<br />
* At the bottom click the radial button labeled &#8220;Domain&#8221;.<br />
* In the box type the word &#8220;example&#8221; without quotes!<br />
* Click the &#8220;OK&#8221; button.<br />
* At the password prompt enter &#8220;root&#8221; for the user and &#8220;12345&#8243; for the password (substitute the password for what you assigned to your root user earlier!).</p>
<p>It should say &#8220;Welcome to the example domain.&#8221;<br />
* Click &#8220;OK&#8221;.<br />
* Click &#8220;OK&#8221; again.<br />
* Click &#8220;OK&#8221; again.<br />
Restart the workstation.</p>
<p>#	Log in with your test user (&#8220;ricky&#8221;) from earlier.<br />
Try logging into the Windows XP workstation (after selecting the domain from the drop down box) using our test user. It should work without issue!</p>
<p>#	Notes<br />
Please note that this is basic authentication right now. You&#8217;re on your own if you wish to add logon scripts, mapped drives, etc&#8230;</p>
<h3> Step 15: (Optional) Install Apache2 and PHPLDAPAdmin</h3>
<p>A nice way to view and modify your LDAP tree is with a GUI. PHPLDAPAdmin is one that many people recommend so I will show you how to install it and use it.</p>
<p>#	Install the software.</p>
<p class="command">apt-get install apache2 phpldapadmin</p>
<p>#	Open the file <span class="system">/etc/apache2/httpd.conf</span> for editing:</p>
<p class="command">vim /etc/apache2/httpd.conf</p>
<p>#	Add the following line to the top of the file. This prevents an annoying error message from Apache2.</p>
<pre>ServerName dc01-ubuntu.example.local</pre>
<p>#	Restart Apache2</p>
<p class="command">/etc/init.d/apache2 restart</p>
<p># Copy the PHPLDAPAdmin folder into the main web site directory. This is the lazy way of doing things. This way we don&#8217;t need to create a virtual server, we just access PHPLDAPAdmin by going to: <span class="system">http://192.168.0.60/phpldapadmin/</span></p>
<p class="command">cp -R /usr/share/phpldapadmin/ /var/www/phpldapadmin</p>
<p> There you have it! A full Ubuntu LDAP and SAMBA Domain Controller in 15 easy steps.</p>
<p><script type="text/javascript"> <!-- document.write('</p>
<div align="center">'); //--> </script><!-- BEGIN NetShelter Ad Tag for HowtoForge 300x250,336x280 -->
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to build the Perfect Server &#8211; with Ubuntu Gutsy Gibbon (Ubuntu 7.10)</title>
		<link>http://linewbie.com/2007/10/how-to-build-the-perfect-server-with-ubuntu-gutsy-gibbon-ubuntu-710.html</link>
		<comments>http://linewbie.com/2007/10/how-to-build-the-perfect-server-with-ubuntu-gutsy-gibbon-ubuntu-710.html#comments</comments>
		<pubDate>Fri, 19 Oct 2007 01:38:47 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[applications/software]]></category>
		<category><![CDATA[debian/ubuntu based]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[lamp server]]></category>
		<category><![CDATA[perfect lamp]]></category>
		<category><![CDATA[perfect lamp server]]></category>
		<category><![CDATA[perfect server]]></category>
		<category><![CDATA[perfect ubuntu]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2007/10/how-to-build-the-perfect-server-with-ubuntu-gutsy-gibbon-ubuntu-710.html</guid>
		<description><![CDATA[This tutorial shows how to set up a Ubuntu Gutsy Gibbon (Ubuntu 7.10) based server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP &#8230; <a href="http://linewbie.com/2007/10/how-to-build-the-perfect-server-with-ubuntu-gutsy-gibbon-ubuntu-710.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This tutorial shows how to set up a Ubuntu Gutsy Gibbon (Ubuntu 7.10) based server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Courier POP3/IMAP, Quota, Firewall, etc. This tutorial is written for the 32-bit version of Ubuntu Gutsy Gibbon, but should apply to the 64-bit version with very little modifications as well.</p>
<p>I will use the following software:</p>
<ul>
<li>Web Server: Apache 2.2</li>
<li>Database Server: MySQL 5.0</li>
<li>Mail Server: Postfix</li>
<li>DNS Server: BIND9</li>
<li>FTP Server: proftpd</li>
<li>POP3/IMAP: I will use Maildir format and therefore install Courier-POP3/Courier-IMAP.</li>
<li>Webalizer for web site statistics</li>
</ul>
<p>In the end you should have a system that works reliably, and if you like you can install the free webhosting control panel <a href="http://www.ispconfig.org/" target="_blank">ISPConfig</a> (i.e., ISPConfig runs on it out of the box).</p>
<p>I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!</p>
<h3>1 Requirements</h3>
<p>To install such a system you will need the following:</p>
<ul>
<li>the Ubuntu Gutsy Gibbon server CD, available here: <a href="http://releases.ubuntu.com/7.10/ubuntu-7.10-server-i386.iso" target="_blank">http://releases.ubuntu.com/7.10/ubuntu-7.10-server-i386.iso</a></li>
<li>a fast internet connection.</li>
</ul>
<h3>2 Preliminary Note</h3>
<p>In this tutorial I use the hostname <span class="system">server1.example.com</span> with the IP address <span class="system">192.168.0.100</span> and the gateway <span class="system">192.168.0.1</span>. These settings might differ for you, so you have to replace them where appropriate.</p>
<h3>3 The Base System</h3>
<p>Insert your Ubuntu install CD into your system and boot from it. Select <span class="system">Install to the hard disk</span>:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/1.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/1.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The installation starts, and first you have to choose your language:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/2.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/2.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Then select your location:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/3.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/3.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/4.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/4.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Choose a keyboard layout (you will be asked to press a few keys, and the installer will try to detect your keyboard layout based on the keys you pressed):</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/5.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/5.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/6.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/6.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/7.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/7.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The installer checks the installation CD, your hardware, and configures the network with DHCP if there is a DHCP server in the network:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/8.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/8.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/9.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/9.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/10.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/10.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/11.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/11.png" height="375" width="499" /></a></p>
<p><span id="more-20"></span></p>
<p>Enter the hostname. In this example, my system is called <em class="system">server1.example.com</em>, so I enter <em class="system">server1</em>:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/12.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/12.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Now you have to partition your hard disk. For simplicity&#8217;s sake I will create one big partition (with the mount point <span class="system">/</span>) and a little swap partition so I select <span class="system">Guided &#8211; use entire disk</span> (of course, the partitioning is totally up to you &#8211; if you like, you can create more than just one big partition, and you can also use LVM):</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/13.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/13.png" height="375" width="499" /></a></p>
<p>Select the disk that you want to partition:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/14.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/14.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>When you&#8217;re finished, hit <span class="system">Yes</span> when you&#8217;re asked <span class="system">Write the changes to disks?</span>:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/15.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/15.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Afterwards, your new partitions are being created and formatted:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/16.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/16.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Configure your system&#8217;s clock. Normally UTC is a good choice:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/17.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/17.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Create a user, for example the user <span class="system">Administrator</span> with the user name <span class="system">administrator</span> (don&#8217;t use the user name <span class="system">admin</span> as it is a reserved name on Gutsy Gibbon):</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/18.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/18.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/19.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/19.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/20.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/20.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/21.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/21.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>Now the base system is being installed:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/22.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/22.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/23.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/23.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/24.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/24.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>We need a DNS, mail, and LAMP server, but nevertheless I don&#8217;t select any of them now because I like to have full control over what gets installed on my system. We will install the needed packages manually later on. The only item I select here is <span class="system">OpenSSH server</span> so that I can immediately connect to the system with an SSH client such as <a href="http://chiark.greenend.org.uk/%7Esgtatham/putty/" target="_blank">PuTTY</a> after the installation has finished:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/25.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/25.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The installation continues:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/26.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/26.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/27.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/27.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The GRUB boot loader gets installed:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/29.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/29.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>The base system installation is now finished. Remove the installation CD from the CD drive and hit <span class="system">Continue</span> to reboot the system:</p>
<p><a href="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/30.png" class="thickbox"><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/30.png" height="375" width="499" /></a></p>
<p><noscript style="font-size: 7pt">(JavaScript must be enabled in your browser to view the large image as an image overlay.)</noscript></p>
<p>On to the next step&#8230;</p>
<h3>4 Enable The root Account</h3>
<p>After the reboot you can login with your previously created username (e.g. <span class="system">administrator</span>). Because we must run all the steps from this tutorial as root user, we must enable the root account now.</p>
<p>Run</p>
<p class="command">sudo passwd root</p>
<p>and give root a password. Afterwards we become root by running</p>
<p class="command">su</p>
<h3>5 Install The SSH Server (Optional)</h3>
<p>If you did not install the OpenSSH server during the system installation, you can do it now:</p>
<p class="command">apt-get install ssh openssh-server</p>
<p>From now on you can use an SSH client such as <a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html" target="_blank">PuTTY</a> and connect from your workstation to your Ubuntu Gutsy Gibbon server and follow the remaining steps from this tutorial.</p>
<h3>6 Install vim-full (Optional)</h3>
<p>I&#8217;ll use <span class="system">vi</span> as my text editor in this tutorial. The default <span class="system">vi</span> program has some strange behaviour on Ubuntu and Debian; to fix this, we install <span class="system">vim-full</span>:</p>
<p class="command">apt-get install vim-full</p>
<p>(You don&#8217;t have to do this if you use a different text editor such as joe or nano.)</p>
<h3>7 Configure The Network</h3>
<p>Because the Ubuntu installer has configured our system to get its network settings via DHCP, we have to change that now because a server should have a static IP address. Edit <em class="system">/etc/network/interfaces </em> and adjust it to your needs (in this example setup I will use the IP address <em class="system">192.168.0.100</em>):</p>
<p class="command">vi /etc/network/interfaces</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre># This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network interface

auto lo

iface lo inet loopback

# The primary network interface

auto eth0

iface eth0 inet static

address 192.168.0.100

netmask 255.255.255.0

network 192.168.0.0

broadcast 192.168.0.255

gateway 192.168.0.1</pre>
</td>
</tr>
</table>
<p>Then restart your network:</p>
<p class="command">/etc/init.d/networking restart</p>
<p>Then edit <span class="system">/etc/hosts</span>. Make it look like this:</p>
<p class="command">vi /etc/hosts</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>127.0.0.1       localhost.localdomain   localhost192.168.0.100   server1.example.com     server1# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback

fe00::0 ip6-localnet

ff00::0 ip6-mcastprefix

ff02::1 ip6-allnodes

ff02::2 ip6-allrouters

ff02::3 ip6-allhosts</pre>
</td>
</tr>
</table>
<p>Now run</p>
<p class="command">echo server1.example.com &gt; /etc/hostname<br />
/etc/init.d/hostname.sh start</p>
<p>Afterwards, run</p>
<p class="command">hostname<br />
hostname -f</p>
<p>Both should show <span class="system">server1.example.com</span> now.</p>
<h3>8    Edit /etc/apt/sources.list And Update Your Linux Installation</h3>
<p>Edit <span class="system">/etc/apt/sources.list</span>. Comment out or remove the installation CD from the file and make sure that the <span class="system">universe</span> and <span class="system">multiverse</span> repositories are enabled. It should look like this:</p>
<p class="command">vi /etc/apt/sources.list</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>## deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted#deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.

deb http://de.archive.ubuntu.com/ubuntu/ gutsy main restricted

deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the

## distribution.

deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## universe WILL NOT receive any review or updates from the Ubuntu security

## team.

deb http://de.archive.ubuntu.com/ubuntu/ gutsy universe

deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy universe

deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates universe

deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## multiverse WILL NOT receive any review or updates from the Ubuntu

## security team.

deb http://de.archive.ubuntu.com/ubuntu/ gutsy multiverse

deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy multiverse

deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'

## repository.

## N.B. software from this repository may not have been tested as

## extensively as that contained in the main release, although it includes

## newer versions of some applications which may provide useful features.

## Also, please note that software in backports WILL NOT receive any review

## or updates from the Ubuntu security team.

# deb http://de.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

# deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's

## 'partner' repository. This software is not part of Ubuntu, but is

## offered by Canonical and the respective vendors as a service to Ubuntu

## users.

# deb http://archive.canonical.com/ubuntu gutsy partner

# deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted

deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted

deb http://security.ubuntu.com/ubuntu gutsy-security universe

deb-src http://security.ubuntu.com/ubuntu gutsy-security universe

deb http://security.ubuntu.com/ubuntu gutsy-security multiverse

deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse</pre>
</td>
</tr>
</table>
<p>Then run</p>
<p class="command">apt-get update</p>
<p>to update the apt package database and</p>
<p class="command">apt-get upgrade</p>
<p>to install the latest updates (if there are any).</p>
<h3>9 Change The Default Shell</h3>
<p><span class="system">/bin/sh</span> is a symlink to <span class="system">/bin/dash</span>, however we need <span class="system">/bin/bash</span>, not <span class="system">/bin/dash</span>. Therefore we do this:</p>
<p class="command">ln -sf /bin/bash /bin/sh</p>
<p>If you don&#8217;t do this, the ISPConfig installation will fail.</p>
<h3>10 Install Some Software</h3>
<p>Now we install a few packages that are needed later on. Run</p>
<p class="command">apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ build-essential</p>
<p>(This command must go into <strong>one line</strong>!)</p>
<h3>11 Quota</h3>
<p class="highlight">(If you have chosen a different partitioning scheme than I did, you must adjust this chapter so that quota applies to the partitions where you need it.)</p>
<p>To install quota, run</p>
<p class="command">apt-get install quota</p>
<p> Edit <span class="system">/etc/fstab</span>. Mine looks like this (I added <span class="system">,usrquota,grpquota</span> to the partition with the mount point <span class="system">/</span>):</p>
<p class="command">vi /etc/fstab</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre># /etc/fstab: static file system information.
#
# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=9fc157ff-975c-4f20-9fef-6a70085abdbd /               ext3    defaults,errors=remount-ro,usrquota,grpquota 0       1
# /dev/sda5
UUID=48fb7dd8-f099-4d63-ac1b-30e886ac7436 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0</pre>
</td>
</tr>
</table>
<p>To enable quota, run these commands:</p>
<p class="command">touch /quota.user /quota.group<br />
chmod 600 /quota.*<br />
mount -o remount /</p>
<p class="command">quotacheck -avugm<br />
quotaon -avug</p>
<h3>12 DNS Server</h3>
<p>Run</p>
<p class="command">apt-get install bind9</p>
<p> For security reasons we want to run BIND chrooted so we have to do the following steps:</p>
<p class="command">/etc/init.d/bind9 stop</p>
<p>Edit the file <span class="system">/etc/default/bind9</span> so that the daemon will run as the unprivileged user <span class="system">bind</span>, chrooted to <span class="system">/var/lib/named</span>. Modify the line: <span class="system">OPTIONS=&#8221;-u bind&#8221;</span> so that it reads <span class="system">OPTIONS=&#8221;-u bind -t /var/lib/named&#8221;</span>:</p>
<p class="command">vi /etc/default/bind9</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>OPTIONS="-u bind -t /var/lib/named"
# Set RESOLVCONF=no to not run resolvconf
RESOLVCONF=yes</pre>
</td>
</tr>
</table>
<p>Create the necessary directories under <span class="system">/var/lib</span>:</p>
<p class="command">mkdir -p /var/lib/named/etc<br />
mkdir /var/lib/named/dev<br />
mkdir -p /var/lib/named/var/cache/bind<br />
mkdir -p /var/lib/named/var/run/bind/run</p>
<p>Then move the config directory from <span class="system">/etc</span> to <span class="system">/var/lib/named/etc</span>:</p>
<p class="command">mv /etc/bind /var/lib/named/etc</p>
<p> Create a symlink to the new config directory from the old location (to avoid problems when bind gets updated in the future):</p>
<p class="command">ln -s /var/lib/named/etc/bind /etc/bind</p>
<p> Make null and random devices, and fix permissions of the directories:</p>
<p class="command">mknod /var/lib/named/dev/null c 1 3<br />
mknod /var/lib/named/dev/random c 1 8<br />
chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random<br />
chown -R bind:bind /var/lib/named/var/*<br />
chown -R bind:bind /var/lib/named/etc/bind</p>
<p>We need to modify <span class="system">/etc/default/syslogd</span> so that we can still get important messages logged to the system logs. Modify the line: <span class="system">SYSLOGD=&#8221;"</span> so that it reads: <span class="system">SYSLOGD=&#8221;-a /var/lib/named/dev/log&#8221;</span>:</p>
<p class="command">vi /etc/default/syslogd</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>#
# Top configuration file for syslogd
#

#
# Full documentation of possible arguments are found in the manpage
# syslogd(8).
#

#
# For remote UDP logging use SYSLOGD="-r"
#
SYSLOGD="-a /var/lib/named/dev/log"</pre>
</td>
</tr>
</table>
<p>Restart the logging daemon:</p>
<p class="command">/etc/init.d/sysklogd restart</p>
<p> Start up BIND, and check <span class="system">/var/log/syslog</span> for  errors:</p>
<p class="command">/etc/init.d/bind9 start</p>
<h3>13 MySQL</h3>
<p>In order to install MySQL, we run</p>
<p class="command">apt-get install mysql-server mysql-client libmysqlclient15-dev</p>
<p>You will be asked to provide a password for the MySQL root user &#8211; this password is valid for the user <span class="system">root@localhost</span> as well as <span class="system">root@server1.example.com</span>, so we don&#8217;t have to specify a MySQL root password manually later on (as was the case with previous Ubuntu versions):</p>
<p><span class="system">New password for the MySQL &#8220;root&#8221; user:</span> <span class="highlight">&lt;&#8211; yourrootsqlpassword</span></p>
<p>We want MySQL to listen on all interfaces, not just localhost, therefore we edit <span class="system">/etc/mysql/my.cnf</span> and comment out the line <span class="system">bind-address           = 127.0.0.1</span>:</p>
<p class="command">vi /etc/mysql/my.cnf</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>[...]
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address           = 127.0.0.1
#
[...]</pre>
</td>
</tr>
</table>
<p>Then we restart MySQL:</p>
<p class="command">/etc/init.d/mysql restart</p>
<p> Now check that networking is enabled. Run</p>
<p class="command">netstat -tap | grep mysql</p>
<p> The output should look like this:</p>
<p class="system">root@server1:~# netstat -tap | grep mysql<br />
tcp        0      0 *:mysql                 *:*                     LISTEN     5286/mysqld<br />
root@server1:~#</p>
<h3>14 Postfix With SMTP-AUTH And TLS</h3>
<p>In order to install Postfix with SMTP-AUTH and TLS do the following steps:</p>
<p class="command">apt-get install postfix libsasl2-2 sasl2-bin libsasl2-modules libdb3-util procmail</p>
<p>You will be asked two questions. Answer as follows:</p>
<p><span class="system">General type of mail configuration:</span> <span class="highlight">&lt;&#8211; Internet Site</span><br />
<span class="system">System mail name:</span> <span class="highlight">&lt;&#8211; server1.example.com</span></p>
<p>Then run</p>
<p class="command">dpkg-reconfigure postfix</p>
<p>Again, you&#8217;ll be asked some questions:</p>
<p><span class="system">General type of mail configuration:</span> <span class="highlight">&lt;&#8211; Internet Site</span><br />
<span class="system">System mail name:</span> <span class="highlight">&lt;&#8211; server1.example.com</span><br />
<span class="system">Root and postmaster mail recipient:</span> <span class="highlight">&lt;&#8211; [blank]</span><br />
<span class="system">Other destinations to accept mail for (blank for none):</span> <span class="highlight">&lt;&#8211; server1.example.com, localhost.example.com, localhost.localdomain, localhost</span><br />
<span class="system">Force synchronous updates on mail queue?</span> <span class="system">&lt;&#8211; No</span><br />
<span class="system">Local networks:</span> <span class="highlight">&lt;&#8211; 127.0.0.0/8</span><br />
<span class="system">Use procmail for local delivery?</span> <span class="highlight">&lt;&#8211; Yes</span><br />
<span class="system">Mailbox size limit:</span> <span class="highlight">&lt;&#8211; 0</span><br />
<span class="system">Local address extension character:</span> <span class="highlight">&lt;&#8211; +</span><br />
<span class="system">Internet protocols to use:</span> <span class="highlight">&lt;&#8211; all</span></p>
<p><script type="text/javascript"> <!-- document.write('</p>
<div align="center">'); //--> </script><!-- BEGIN NetShelter Ad Tag for HowtoForge 300x250,336x280 -->Next, do this:</p>
<p class="command">postconf -e &#8216;smtpd_sasl_local_domain =&#8217;<br />
postconf -e &#8216;smtpd_sasl_auth_enable = yes&#8217;<br />
postconf -e &#8216;smtpd_sasl_security_options = noanonymous&#8217;<br />
postconf -e &#8216;broken_sasl_auth_clients = yes&#8217;<br />
postconf -e &#8216;smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination&#8217;<br />
postconf -e &#8216;inet_interfaces = all&#8217;<br />
echo &#8216;pwcheck_method: saslauthd&#8217; &gt;&gt; /etc/postfix/sasl/smtpd.conf<br />
echo &#8216;mech_list: plain login&#8217; &gt;&gt; /etc/postfix/sasl/smtpd.conf</p>
<p>Afterwards we create the certificates for TLS:</p>
<p class="command">mkdir /etc/postfix/ssl<br />
cd /etc/postfix/ssl/<br />
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024</p>
<p class="command">chmod 600 smtpd.key<br />
openssl req -new -key smtpd.key -out smtpd.csr</p>
<p class="command">openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt</p>
<p class="command">openssl rsa -in smtpd.key -out smtpd.key.unencrypted</p>
<p class="command">mv -f smtpd.key.unencrypted smtpd.key<br />
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650</p>
<p>Next we configure Postfix for  TLS (make sure that you use the correct hostname for <span class="system">myhostname</span>):</p>
<p class="command">postconf -e &#8216;myhostname = server1.example.com&#8217;<br />
postconf -e &#8216;smtpd_tls_auth_only = no&#8217;<br />
postconf -e &#8216;smtp_use_tls = yes&#8217;<br />
postconf -e &#8216;smtpd_use_tls = yes&#8217;<br />
postconf -e &#8216;smtp_tls_note_starttls_offer = yes&#8217;<br />
postconf -e &#8216;smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key&#8217;<br />
postconf -e &#8216;smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt&#8217;<br />
postconf -e &#8216;smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem&#8217;<br />
postconf -e &#8216;smtpd_tls_loglevel = 1&#8242;<br />
postconf -e &#8216;smtpd_tls_received_header = yes&#8217;<br />
postconf -e &#8216;smtpd_tls_session_cache_timeout = 3600s&#8217;<br />
postconf -e &#8216;tls_random_source = dev:/dev/urandom&#8217;</p>
<p>The file <span class="system">/etc/postfix/main.cf</span> should now look like this:</p>
<p class="command">cat /etc/postfix/main.cf</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre># See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = server1.example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = server1.example.com, localhost.example.com, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom</pre>
</td>
</tr>
</table>
<p>Restart Postfix:</p>
<p class="command">/etc/init.d/postfix restart</p>
<p> Authentication will be done by <span class="system">saslauthd</span>. We have to change a few things to make it work properly. Because Postfix runs chrooted in <span class="system">/var/spool/postfix </span> we have to do the following:</p>
<p class="command">mkdir -p /var/spool/postfix/var/run/saslauthd</p>
<p> Now we have to edit <span class="system">/etc/default/saslauthd</span> in order to activate <span class="system">saslauthd</span>. Set <span class="system">START to yes</span> and change the line <span class="system">OPTIONS=&#8221;-c&#8221;</span> to <span class="system">OPTIONS=&#8221;-c -m /var/spool/postfix/var/run/saslauthd -r&#8221;</span>:</p>
<p class="command">vi /etc/default/saslauthd</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>#
# Settings for saslauthd daemon
#

# Should saslauthd run automatically on startup? (default: no)
START=yes

# Which authentication mechanisms should saslauthd use? (default: pam)
#
# Available options in this Debian package:
# getpwent  -- use the getpwent() library function
# kerberos5 -- use Kerberos 5
# pam       -- use PAM
# rimap     -- use a remote IMAP server
# shadow    -- use the local shadow password file
# sasldb    -- use the local sasldb database file
# ldap      -- use LDAP (configuration is in /etc/saslauthd.conf)
#
# Only one option may be used at a time. See the saslauthd man page
# for more information.
#
# Example: MECHANISMS="pam"
MECHANISMS="pam"

# Additional options for this mechanism. (default: none)
# See the saslauthd man page for information about mech-specific options.
MECH_OPTIONS=""

# How many saslauthd processes should we run? (default: 5)
# A value of 0 will fork a new process for each connection.
THREADS=5

# Other options (default: -c)
# See the saslauthd man page for information about these options.
#
# Example for postfix users: "-c -m /var/spool/postfix/var/run/saslauthd"
# Note: See /usr/share/doc/sasl2-bin/README.Debian
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"</pre>
</td>
</tr>
</table>
<p>Now start <span class="system">saslauthd</span>:</p>
<p class="command">/etc/init.d/saslauthd start</p>
<p> To see if SMTP-AUTH and TLS work properly now run the following command:</p>
<p class="command">telnet localhost 25</p>
<p> After you have established the connection to your Postfix mail server type</p>
<p class="command">ehlo localhost</p>
<p>If you see the lines</p>
<p class="system">250-STARTTLS</p>
<p>and</p>
<p class="system">250-AUTH PLAIN LOGIN</p>
<p>everything is fine.</p>
<p>The output on my system looks like this:</p>
<p class="system">root@server1:/etc/postfix/ssl# telnet localhost 25<br />
Trying 127.0.0.1&#8230;<br />
Connected to localhost.localdomain.<br />
Escape character is &#8216;^]&#8217;.<br />
220 server1.example.com ESMTP Postfix (Ubuntu)<br />
ehlo localhost<br />
250-server1.example.com<br />
250-PIPELINING<br />
250-SIZE 10240000<br />
250-VRFY<br />
250-ETRN<br />
250-STARTTLS<br />
250-AUTH PLAIN LOGIN<br />
250-AUTH=PLAIN LOGIN<br />
250-ENHANCEDSTATUSCODES<br />
250-8BITMIME<br />
250 DSN<br />
quit<br />
221 2.0.0 Bye<br />
Connection closed by foreign host.<br />
root@server1:/etc/postfix/ssl#</p>
<p>Type</p>
<p class="command">quit</p>
<p> to return to the system&#8217;s shell.</p>
<h3>15 Courier-IMAP/Courier-POP3</h3>
<p>Run this to     install Courier-IMAP/Courier-IMAP-SSL (for IMAPs on port 993) and Courier-POP3/Courier-POP3-SSL (for POP3s on port 995):</p>
<p class="command">apt-get install courier-authdaemon courier-base courier-imap courier-imap-ssl courier-pop courier-pop-ssl courier-ssl gamin libgamin0 libglib2.0-0</p>
<p>You will be asked two questions:</p>
<p><span class="system">Create directories for web-based administration ?</span> <span class="highlight">&lt;&#8211; No</span><br />
<span class="system">SSL certificate required</span> <span class="highlight">&lt;&#8211; Ok</span></p>
<p>If you do not want to use ISPConfig, configure Postfix to deliver emails to a user&#8217;s Maildir*:</p>
<p class="command">postconf -e &#8216;home_mailbox = Maildir/&#8217;<br />
postconf -e &#8216;mailbox_command =&#8217;<br />
/etc/init.d/postfix restart</p>
<p><strong>*Please note:</strong> You do not have to do this if you intend to use <a href="http://www.ispconfig.org/" target="_blank">ISPConfig</a> on your system as ISPConfig does the necessary configuration using procmail recipes. But please go sure to enable <span class="system">Maildir</span> under <span class="system">Management -&gt; Server -&gt; Settings -&gt; EMail</span> in the ISPConfig web interface.</p>
<h3>16 Apache/PHP5</h3>
<p>Now we install Apache:</p>
<p class="command">apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert</p>
<p>Next we install PHP5:</p>
<p class="command">apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-json php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl</p>
<p>You will be asked the following question:</p>
<p><span class="system">Continue installing libc-client without Maildir support?</span> <span class="highlight">&lt;&#8211; Yes</span></p>
<p>Next we edit <span class="system">/etc/apache2/mods-available/dir.conf</span>:</p>
<p class="command">vi /etc/apache2/mods-available/dir.conf</p>
<p>and change the <span class="system">DirectoryIndex</span> line:</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>&lt;IfModule mod_dir.c&gt;

          #DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
          DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml

&lt;/IfModule&gt;</pre>
</td>
</tr>
</table>
<p>Now we have to enable some Apache modules (<span class="system">SSL</span>, <span class="system">rewrite</span>, <span class="system">suexec</span>, and <span class="system">include</span>):</p>
<p class="command">a2enmod ssl<br />
a2enmod rewrite<br />
a2enmod suexec<br />
a2enmod include</p>
<p>Reload the Apache configuration:</p>
<p class="command">/etc/init.d/apache2 force-reload</p>
<h4>16.1 Disable PHP Globally</h4>
<p class="highlight">(If you do not plan to install ISPConfig on this server, please skip this section!)</p>
<p>In ISPConfig you will configure PHP on a per-website basis, i.e. you can specify which website can run PHP scripts and which one cannot. This can only work if PHP is disabled globally because otherwise all websites would be able to run PHP scripts, no matter what you specify in ISPConfig.</p>
<p>To disable PHP globally, we edit <span class="system">/etc/mime.types</span> and comment out the <span class="system">application/x-httpd-php</span> lines:</p>
<p class="command">vi /etc/mime.types</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>[...]
#application/x-httpd-php                                phtml pht php
#application/x-httpd-php-source                 phps
#application/x-httpd-php3                       php3
#application/x-httpd-php3-preprocessed          php3p
#application/x-httpd-php4                       php4
[...]</pre>
</td>
</tr>
</table>
<p>Edit <span class="system">/etc/apache2/mods-enabled/php5.conf</span> and comment out the following lines:</p>
<p class="command">vi /etc/apache2/mods-enabled/php5.conf</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>&lt;IfModule mod_php5.c&gt;
  #AddType application/x-httpd-php .php .phtml .php3
  #AddType application/x-httpd-php-source .phps
&lt;/IfModule&gt;</pre>
</td>
</tr>
</table>
<p>Then restart Apache:</p>
<p class="command">/etc/init.d/apache2 restart</p>
<h3>17 Proftpd</h3>
<p>In order to install Proftpd, run</p>
<p class="command">apt-get install proftpd ucf</p>
<p>You will be asked a question:</p>
<p><span class="system">Run proftpd from inetd or standalone?</span> <span class="highlight">&lt;&#8211; standalone</span></p>
<p>Then open <span class="system">/etc/proftpd/proftpd.conf</span> and change <span class="system">UseIPv6</span> from <span class="system">on</span> to <span class="system">off</span>; otherwise you&#8217;ll get a warning like this when you start Proftpd:</p>
<p>If you get a message like this:</p>
<p class="system"> &#8211; IPv6 getaddrinfo &#8216;server1.example.com&#8217; error: Name or service not known</p>
<p>you can either modify <span class="system">/etc/hosts</span> and add <span class="system">server1.example.com</span> to the <span class="system">::1</span> line:</p>
<p class="command">vi /etc/hosts</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>127.0.0.1       localhost.localdomain   localhost
192.168.0.100   server1.example.com     server1

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback server1.example.com
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts</pre>
</td>
</tr>
</table>
<p>&#8230; or you can open <span class="system">/etc/proftpd/proftpd.conf</span> and change <span class="system">UseIPv6</span> from <span class="system">on</span> to <span class="system">off</span></p>
<p class="command">vi /etc/proftpd/proftpd.conf</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>[...]
UseIPv6                         off
[...]</pre>
</td>
</tr>
</table>
<p>For security reasons you can also add the following lines to <span class="system">/etc/proftpd/proftpd.conf</span> (thanks to Reinaldo Carvalho; more information can be found here: <a href="http://proftpd.org/localsite/Userguide/linked/userguide.html" target="_blank">http://proftpd.org/localsite/Userguide/linked/userguide.html</a>):</p>
<p class="command">vi /etc/proftpd/proftpd.conf</p>
<table align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
<tr>
<td>
<pre>[...]
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
[...]</pre>
</td>
</tr>
</table>
<p>ISPConfig expects the configuration to be in <span class="system">/etc/proftpd.conf</span> instead of <span class="system">/etc/proftpd/proftpd.conf</span>, therefore we create a symlink (you can skip this command if you don&#8217;t want to install ISPConfig):</p>
<p class="command">ln -s /etc/proftpd/proftpd.conf /etc/proftpd.conf</p>
<p>Then restart Proftpd:</p>
<p class="command">/etc/init.d/proftpd restart</p>
<h3>18 Webalizer</h3>
<p>To install <span class="system">webalizer</span>, just run</p>
<p class="command">apt-get install webalizer</p>
<h3>19 Synchronize the System Clock</h3>
<p>It is a good idea to synchronize the system clock with an NTP (<strong>n</strong>etwork <strong>t</strong>ime <strong>p</strong>rotocol) server over the internet. Simply run</p>
<p class="command">apt-get install ntp ntpdate</p>
<p> and your system time will always be in sync.</p>
<h3>20 Install Some Perl Modules Needed By SpamAssassin (Comes With ISPConfig)</h3>
<p>Run</p>
<p class="command">apt-get install libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl</p>
<h3>21 ISPConfig</h3>
<p>The configuration of the server is now finished, and if you wish you can now install <a href="http://www.ispconfig.org/" target="_blank">ISPConfig</a> on it. Please check out the ISPConfig installation manual: <a href="http://www.ispconfig.org/manual_installation.htm" target="_blank">http://www.ispconfig.org/manual_installation.htm </a></p>
<h4>21.1 A Note On SuExec</h4>
<p>If you want to run CGI scripts under suExec, you should specify <span class="system">/var/www</span> as the home directory for websites created by ISPConfig as Ubuntu&#8217;s suExec is compiled with <span class="system">/var/www</span> as <span class="system">Doc_Root</span>. Run</p>
<p class="command"> /usr/lib/apache2/suexec -V</p>
<p>and the output should look like this:</p>
<p class="system">root@server1:~# /usr/lib/apache2/suexec -V<br />
-D AP_DOC_ROOT=&#8221;/var/www&#8221;<br />
-D AP_GID_MIN=100<br />
-D AP_HTTPD_USER=&#8221;www-data&#8221;<br />
-D AP_LOG_EXEC=&#8221;/var/log/apache2/suexec.log&#8221;<br />
-D AP_SAFE_PATH=&#8221;/usr/local/bin:/usr/bin:/bin&#8221;<br />
-D AP_UID_MIN=100<br />
-D AP_USERDIR_SUFFIX=&#8221;public_html&#8221;<br />
root@server1:~#</p>
<p>So if you want to use suExec with ISPconfig, don&#8217;t change the default web root (which is <span class="system">/var/www</span>) if you use expert mode during the ISPConfig installation (in standard mode you can&#8217;t change the web root anyway so you&#8217;ll be able to use suExec in any case).</p>
<p>The following screenshot is taken from an ISPConfig installation in expert mode. If you want to use ISPConfig, then don&#8217;t change the default web root:</p>
<p><img src="http://www.linewbie.com/upload/linewbie.com/attach-diy/images/perfect-server/31.png" height="164" width="321" /></p>
<h3>22 Links</h3>
<ul>
<li>Ubuntu: <a href="http://www.ubuntu.com/" target="_blank">http://www.ubuntu.com</a></li>
<li>ISPConfig: <a href="http://www.ispconfig.org/" target="_blank">http://www.ispconfig.org</a></li>
</ul>
<p class="command">&nbsp;</p>
<p class="system">&nbsp;</p>
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2007/10/how-to-build-the-perfect-server-with-ubuntu-gutsy-gibbon-ubuntu-710.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7 reasons why Ubuntu is so successful</title>
		<link>http://linewbie.com/2007/10/7-reasons-why-ubuntu-is-so-successful.html</link>
		<comments>http://linewbie.com/2007/10/7-reasons-why-ubuntu-is-so-successful.html#comments</comments>
		<pubDate>Tue, 16 Oct 2007 13:43:45 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[debian/ubuntu based]]></category>
		<category><![CDATA[linux/unix/os distros]]></category>
		<category><![CDATA[quotes & thoughts]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu info]]></category>
		<category><![CDATA[ubuntu intro]]></category>
		<category><![CDATA[ubuntu linux]]></category>
		<category><![CDATA[ubuntu successful]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2007/10/7-reasons-why-ubuntu-is-so-successful.html</guid>
		<description><![CDATA[Most people like it, many others donâ€™t, the fact is that Ubuntu is the king of Linux distributions right now &#8211; and for some very good reasons. Below I will attempt to identify those reasons that made Ubuntu the most &#8230; <a href="http://linewbie.com/2007/10/7-reasons-why-ubuntu-is-so-successful.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Most people like it, many others donâ€™t, the fact is that Ubuntu is the king of Linux distributions right now &#8211; and for some very good reasons. Below I will attempt to identify those reasons that made Ubuntu the most popular distribution and explain why its success was â€œinevitableâ€.</p>
<p>1) A good start: Ubuntu started with a strong background. It wasnâ€™t â€œyet anotherâ€ distribution, it was a distribution that had a vision and enough people and money behind it to support that vision.</p>
<p>2) Easy and straightforward installation: From the text-based installer of the first few versions, to the point&amp;click installer of today, ubuntu always had a very straightforward and simple installation. Every step of the installer was explained in a short, yet clear manner that made it easy for everyone to follow the steps of the installation proccedure (almost) regardless of their experience with computers.</p>
<p>3) ShipIt: Sharing â€œofficialâ€ CDâ€™s with the Ubuntu logo increased the trust of users towards the distribution and made it much easier for users on slow connections to try it. People could now give away several CDâ€™s to their friends and coworkers which made the general adoption of Linux much faster.</p>
<p>4) Synaptic: If you ask a first-time Ubuntu user to tell you what impressed them most, chances are that the answer will be â€œsynapticâ€. Indeed, this application brought APT much closer to the average user and made program installation in Linux a lot easier. Users didnâ€™t have to search for RPMs or worry that they might needed to deal with dependancies, compile from source etc, synaptic solved everything using a very simple interface. When the first versions of Ubuntu came out, the only thing that could be compared to the flexibility and ease of use of APT and Synaptic was Fedoraâ€™s YUM, but unfortunately at that time Fedora didnâ€™t have a good front-end for YUM (although Synaptic could be used with YUM, it was not nearly as easy to set up as synaptic and Ubuntu were).</p>
<p>5) Ubuntu forums/Community: The Ubuntu community was, and still is one of the most important factors that promote the growth of Ubuntu. The forums are very active and old users are very friendly and patient towards newcomers. Maybe it has to do with the philosophy of â€œUbuntuâ€â€¦</p>
<p>6) User promotion: Ubuntu is based heavily on the promotion it receives from itâ€™s users. Nearly every person who uses Ubuntu today has beed advised to try it by someone else who had tried it before them and so on. This, combined with the strong influence of Ubuntu to the internet forums related to GNU/Linux, has led to a major increase in itâ€™s adoption .</p>
<p>7) Fragmented competitors: When Ubuntu started itâ€™s â€œmarch to gloryâ€ there were three â€œbigâ€ distributions, SuSE, Mandriva, and Fedora. Debian and Slackware were popular but were not very appealling to newbies (Debian still had a text based installerâ€¦). All of the â€œbig threeâ€ were not at their best when Ubuntu came out and started gathering users. SuSE had recently been bought by Novell and was still undergoing internal reconstructions, Mandriva has in the middle of a severe financial crisis, and Fedora was just at FC2 which wasnâ€™t nearly as easy as it now is. This â€œfragmentationâ€ (or â€œdecay of the distribution maketâ€ if you like) helped many users make the decision to switch to Ubuntu.</p>
<p>There are definately many other reasons why Ubuntu managed to get to the top, and stay there, but making a complete analysis is not within the purposes of this post. Highlighting some of the points that made Ubuntu what it is today, is.</p>
<p>Till next time, keep drinking coffee
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2007/10/7-reasons-why-ubuntu-is-so-successful.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Ground Rules for upgrading Ubuntu Desktop Edition</title>
		<link>http://linewbie.com/2007/10/5-ground-rules-for-upgrading-ubuntu-desktop-edition.html</link>
		<comments>http://linewbie.com/2007/10/5-ground-rules-for-upgrading-ubuntu-desktop-edition.html#comments</comments>
		<pubDate>Mon, 15 Oct 2007 08:08:37 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[debian/ubuntu based]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[linux/unix/os distros]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu linux]]></category>
		<category><![CDATA[ubuntu rules]]></category>
		<category><![CDATA[ubuntu tips]]></category>
		<category><![CDATA[ubuntu upgrading tips]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2007/10/5-ground-rules-for-upgrading-ubuntu-desktop-edition.html</guid>
		<description><![CDATA[Never use apt-get or aptitude. Use update-manager instead (see how to below). Update-manager fixes common errors, removes old artwork, etc. Don&#8217;t use any critical applications when upgrading. Of course you can browse and such, but the system can&#8217;t upgrade all &#8230; <a href="http://linewbie.com/2007/10/5-ground-rules-for-upgrading-ubuntu-desktop-edition.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ol>
<li><strong>Never use apt-get or aptitude.</strong><br />
Use update-manager instead (see <em>how to</em> below). Update-manager fixes common errors, removes old artwork, etc.</li>
<li><strong>Don&#8217;t use any critical applications when upgrading.</strong><br />
Of course you can browse and such, but the system can&#8217;t upgrade all the<br />
packages at the same time so if you&#8217;re running packages that have<br />
dependencies you might get version conflicts and in the worst case a<br />
program can crash and you lose work.</li>
<li><strong>Take your time.</strong>
<ul>
<li>Upgrading can easily take up to 2 hours depending on your internet connection and computer performance.</li>
</ul>
<ul>
<li>Take into account that some programs might need some extra attention after the upgrade.</li>
</ul>
</li>
<li><strong>Preferably </strong><strong>have another PC with internet close by. </strong><br />
It&#8217;s no must but this way you can always search the internet to find<br />
solutions for any problems that you might encounter. A live CD is also<br />
an option.</li>
<li><strong>Read guides.</strong><br />
They will show you common pitfalls. Learn from other people&#8217;s mistakes.</li>
</ol>
<p class="poweredbyperformancing">&nbsp;</p>
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2007/10/5-ground-rules-for-upgrading-ubuntu-desktop-edition.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell Preps for Next Linux Desktop Release</title>
		<link>http://linewbie.com/2007/10/dell-preps-for-next-linux-desktop-release.html</link>
		<comments>http://linewbie.com/2007/10/dell-preps-for-next-linux-desktop-release.html#comments</comments>
		<pubDate>Tue, 09 Oct 2007 10:18:18 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[debian/ubuntu based]]></category>
		<category><![CDATA[desktop & laptop pc]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux/unix/os distros]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux pc]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2007/10/dell-preps-for-next-linux-desktop-release.html</guid>
		<description><![CDATA[A major desktop Linux upgrade is set to be released on October 18. Michael Dell is expected to personally use it. And the PC giant will pre-load it on selected desktops and notebooks. Buzz about this next Linux release â€” &#8230; <a href="http://linewbie.com/2007/10/dell-preps-for-next-linux-desktop-release.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A major desktop Linux upgrade is set to be released on October 18. Michael Dell is expected to personally use it. And the PC giant will pre-load it on selected desktops and notebooks. Buzz about this next Linux release â€” dubbed Ubuntu Gutsy Gibbon â€” is growing across the web. But what exactly does Gutsy Gibbon (aka Ubuntu 7.10) offer to desktop customers and solutions providers? Hereâ€™s a look.</p>
<p>Canonical (the company that develops Ubuntu) has outlined a long-term road map for the operating system. During the <a href="http://techiqmag.com/?s=UbuntuLive">UbuntuLive conference back in July</a>, Canonical CTO Matt Zimmerman said Ubuntu 7.10 would feature several core enhancements for desktop and server users. On the desktop, 7.10 will support:</p>
<ul>
<li>a 3D interface out of the box</li>
<li>multi-monitor configuration</li>
<li>laptop power profiling</li>
<li>more details still to come</li>
</ul>
<p>On the server, 7.10 will offer:</p>
<ul>
<li>Turn-key web administration</li>
<li>One-step server recipes</li>
<li>Proactive security with AppArmor, an increasingly popular open source security option</li>
<li>â€œdesktopâ€ type simplicity</li>
</ul>
<p>So, what does that mean to Ubuntu resellers and customers? Quite a lot. Ubuntu moved from niche status into the spotlight when Michael Dell himself began running the operating system.</p>
<p>If Ubuntu 7.1o continues that positive buzz, it could help desktop Linux to gradually become a mainstream operating system. But donâ€™t expect that to happen overnight. In an exclusive TechIQ interview with Dellâ€™s Linux gurus last month, the company indicated that it would take a <a href="http://techiqmag.com/2007/09/17/dells-desktop-linux-strategy-slow-and-steady/">slow-and-steady approach to Ubuntu</a>. Translation: Donâ€™t expect Dell to throw marketing dollars at Ubuntu PCs just yet.</p>
<p>I do not expect that to happen for at least another year because Dell doesnâ€™t want to over promise and under deliver to frustrated Windows users and small business owners who are seeking alternatives.</p>
<p>In the meantime, the countdown to Ubuntu 7.10 continues. And the buzz surrounding Ubuntu 7.1 will only grow louder as the upgradeâ€™s <a href="http://www.ubuntu.com/getubuntu/countdown" target="_blank">October 18 launch date approaches</a>.
<div style='clear:both'></div>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2007/10/dell-preps-for-next-linux-desktop-release.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

