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

<channel>
	<title>gHacks technology news &#187; ubuntu server</title>
	<atom:link href="http://www.ghacks.net/tag/ubuntu-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 11:26:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Basic postgresql server setup</title>
		<link>http://www.ghacks.net/2009/11/10/basic-postgresql-server-setup/</link>
		<comments>http://www.ghacks.net/2009/11/10/basic-postgresql-server-setup/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 23:09:50 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database user]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18345</guid>
		<description><![CDATA[So many tool require databases. If you are a web administrator or a company with large stores of information, then you know the importance of databases. One of the most oft-used databases available is MySQL. But that is not the only player on the court. Another cross platform object-relational database management tool is PostgreSQL. Many [...]]]></description>
			<content:encoded><![CDATA[<p>So many tool require databases. If you are a web administrator or a company with large stores of information, then you know the importance of databases. One of the most oft-used databases available is MySQL. But that is not the only player on the court. Another cross platform object-relational database management tool is <a title="PostgreSQL" href="http://www.postgresql.org/" target="_blank">PostgreSQL</a>. Many people refer to PostgreSQL as the Oracle of the open source world. That is because PostgreSQL is dense with features but not as fast as MySQL. And where MySQL is a simple to use database management tool, PostgreSQL is often seen as overly complicated.</p>
<p>Of course there are variations on that opinion. But that is neither here nor there. The purpose of this tutorial is to help you get a PostgreSQL server up and running quickly and easily. To make this simple we will make this a part of our Ubuntu Server series, so all you have to do is have your Ubuntu Server up and running (see my article &#8220;<a title="Installing Ubuntu Server 9.04" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/" target="_blank">Installing Ubuntu Server 9.04</a>&#8221; to get started.) Once you have that server up and running you are ready to get your PostgreSQL server up.</p>
<p><span id="more-18345"></span><strong>Installation</strong></p>
<p>The first thing you need to do is to install the necessary software. Since this is Ubuntu, it&#8217;s quite easy. Open up a terminal window and issue the command:</p>
<p><em>sudo apt-get install postgresql</em></p>
<p>Once the software is installed you are ready to set it all up.</p>
<p><strong>Change the default user password</strong></p>
<p>One of the first steps you want to take is to change the default password for the user postgres. Sine we are using Ubuntu you will have to use the sudo command to change to the postgres user like so:</p>
<p><em>sudo su &#8211; postgres</em></p>
<p>You will have to enter your sudo password after which you will now be issuing commands as the user postgres. The next step is to gain access to the postgresql command prompt with the command:</p>
<p><em>psql</em></p>
<p>Your new command prompt will look like:</p>
<p><em>postgres=#</em></p>
<p>NOTE: The only user that can open the PostgreSQL prompt without defining a database to work with is the user postgres. Other users would have to gain access to the command prompt with a command like:</p>
<p><em>psql DB_NAME</em></p>
<p>Where <em>DB_NAME </em>is the name of an existing database.</p>
<p>Changing the password is as simple as issuing the command:</p>
<p><em>\password postgres</em></p>
<p>You will then be asked to enter a password and then verify that password.</p>
<p>Your default password has not been changed. You can exit from the PostgreSQL prompt by issuing the command:</p>
<p><em>\q</em></p>
<p><strong>Create a database</strong></p>
<p>Now, while still logged in as the postgres user, let&#8217;s create a database. For this you do not have to be logged into the PostgreSQL command prompt. Instead just issue the command:</p>
<p><em>createdb testdb</em></p>
<p>Where <em>testdb</em> is the name of the database you want to create. To check to make sure that database was created go back to the PostgreSQL command prompt (remember, the command <em>psql</em>) and enter:</p>
<p><em>\l</em></p>
<p>You should see a listing for your new database like:</p>
<p><code>testdb | postgres | UTF8 | en_US.UTF-8  | en_US.UTF-8</code></p>
<p>Once again, log out of the PostgreSQL command prompt with the command:</p>
<p><em>\q</em></p>
<p><strong>Create a user</strong></p>
<p>By default, the only user that can connect to a database is the postgres user. This will be of no help when you need to connect with another user. To create a new user (that can connect to databases) you would issue the command (as the user <em>postgres</em>):</p>
<p><em>createuser &#8211;superuser USERNAME</em></p>
<p>Where <em>USERNAME </em>is the name of the user you want to create.</p>
<p><strong>Final thoughts</strong></p>
<p>Now you should have a basic PostgreSQL installation with a test database and a user, besides postgres, that can work with the tools. Next time we work with PostgreSQL we&#8217;ll discuss more challenging issues with this outstanding database tool.</p>

	Tags: <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/database-user/" title="database user" rel="tag">database user</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/postgresql/" title="postgresql" rel="tag">postgresql</a>, <a href="http://www.ghacks.net/tag/ubuntu-server/" title="ubuntu server" rel="tag">ubuntu server</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/" title="Set up MySQL database replication (April 9, 2009)">Set up MySQL database replication</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" title="Install phpmyadmin for easy MySQL administration (December 20, 2008)">Install phpmyadmin for easy MySQL administration</a> (6)</li>
	<li><a href="http://www.ghacks.net/2008/11/05/have-wordpress-back-ups-emailed/" title="Have WordPress back-ups emailed (November 5, 2008)">Have WordPress back-ups emailed</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/07/30/database-monitoring-software-db2rss/" title="Database Monitoring Software Db2rss (July 30, 2009)">Database Monitoring Software Db2rss</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/01/12/backup-mysql-databases-in-linux-regularly/" title="Backup MySQL Databases In Linux Regularly (January 12, 2009)">Backup MySQL Databases In Linux Regularly</a> (11)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/10/basic-postgresql-server-setup/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Use this iptables script for Web/Mail server security</title>
		<link>http://www.ghacks.net/2009/10/03/use-this-iptables-script-for-webmail-server-security/</link>
		<comments>http://www.ghacks.net/2009/10/03/use-this-iptables-script-for-webmail-server-security/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 21:15:59 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=16909</guid>
		<description><![CDATA[Security. Ah, security. It&#8217;s the make or break for administrators on so many levels. For the Linux operating system you could go in so many directions with your security. You could go the graphical front-end and make life easy but lose some flexibility. Or you could go the far more challenging route and use the [...]]]></description>
			<content:encoded><![CDATA[<p>Security. Ah, security. It&#8217;s the make or break for administrators on so many levels. For the Linux operating system you could go in so many directions with your security. You could go the graphical front-end and make life easy but lose some flexibility. Or you could go the far more challenging route and use the command line <em>iptables. </em>I will say the GUI tools have come a long way, but in some instances the ease of use the offer gets in the way of being able to granularly configure your server/network security.</p>
<p>When you spend a lot of time creating and administering the web/mail server combination, it&#8217;s always good to have a solution that is easy to put in place. I have found one that I have used for a while now and trust its security and ease of use. This &#8220;system&#8221; uses a fairly complex iptables script that has just a single line that you will need to modify in order to have sound security for a web/mail server that serves up web pages via Apache on port 80 and mail via SMTP on port 25 and IMAP via port 143. Included in this script is the inclusion of port 25 for secure shell access.</p>
<p><span id="more-16909"></span>You will be surprised how simple this script is to use. I have uploaded the script to a pastebin site which you can access using <a title="iptables script on pastebin" href="http://pastebin.com/f7ae155ad" target="_blank">this address</a>. Copy that script to your Linux server (for the sake of simplicity save it in <strong>~/scripts</strong>, which you will create) and you are ready to set the system up.</p>
<p><strong>Configuration</strong></p>
<p>The only line you need to configure (unless you need to change the networking device name and/or want to include extra ports or remove ports from the script) is line 8. This line looks like:</p>
<p><code>SCRIPT_DIR="/PATH/TO/DIRECTORY"</code></p>
<p>What you want to have there is the location that will be filled with any IP address blocked by the firewall. For the purposes of this tutorial it will be saved in <strong>~/scripts</strong>.</p>
<p>Once you have that edited you can save the file and call it <em>start_iptables.sh</em>. Now give the file executable permission with the command:</p>
<p><em>chmod u+x start_iptables.sh</em></p>
<p>Now create a new file called <em>stop_iptables.sh</em>. The contents of that file will be:</p>
<p><code>iptables -F<br />
iptables -X<br />
iptables -t nat -F<br />
iptables -t nat -X<br />
iptables -t mangle -F<br />
iptables -t mangle -X<br />
iptables -P INPUT ACCEPT<br />
iptables -P OUTPUT ACCEPT<br />
iptables -P FORWARD ACCEPT</code></p>
<p>Make that file executable with the command:</p>
<p><em>chmod u+x stop_iptables.sh</em></p>
<p>The former script will start your firewall, the latter script will stop it.</p>
<p><strong>Starting this script</strong></p>
<p>You can start and stop this script any time you feel like with the command:</p>
<p><em>sudo ~/scripts/start_iptables.sh</em></p>
<p>If there are no errors you should see something like:</p>
<p><em>Starting IPv4 Wall&#8230;</em></p>
<p>You can also check to see by listing all of your iptables chains with the command:</p>
<p><em>sudo iptables -L</em></p>
<p>Stopping the firewall is done with the command:</p>
<p><em>sudo ~/scripts/stop_iptables.sh</em></p>
<p><strong>Start at bootup</strong></p>
<p>Now let&#8217;s make it such that the firewall script starts upon boot of the server (should the need arise).  Open up the <strong>/etc/rc.local </strong>file and add the line:</p>
<p>/PATH/TO/scripts/start_iptables.sh</p>
<p>before the &#8220;exit 0&#8243; line.</p>
<p>Where /PATH/TO/ is the explicit path to the <strong>~/scripts</strong> directory (you can&#8217;t use &#8220;~/&#8221; in rc.local).</p>
<p>The script will now start at boot.</p>
<p><strong>Final thoughts</strong></p>
<p>This easy to install firewall will add a level of saftey to your web/mail server that would be hard to come by with a GUI tool. And if you are using a headless (console only) server, it&#8217;s the only way to go.</p>

	Tags: <a href="http://www.ghacks.net/tag/firewall/" title="firewall" rel="tag">firewall</a>, <a href="http://www.ghacks.net/tag/iptables/" title="iptables" rel="tag">iptables</a>, <a href="http://www.ghacks.net/tag/ubuntu-server/" title="ubuntu server" rel="tag">ubuntu server</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/09/15/firestarter-simple-to-use-powerful-desktop-firewall/" title="Firestarter: Simple to use, powerful desktop firewall (September 15, 2009)">Firestarter: Simple to use, powerful desktop firewall</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/03/27/configure-a-linux-firewall-with-webmin/" title="Configure a Linux Firewall with Webmin (March 27, 2009)">Configure a Linux Firewall with Webmin</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/25/build-a-quick-and-reliable-firewall-with-fwbuilder/" title="Build a Quick and Reliable Firewall with fwbuilder (March 25, 2009)">Build a Quick and Reliable Firewall with fwbuilder</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/10/13/zonealarm-pro-firewall-2010-promotion/" title="Zonealarm Pro Firewall 2010 Promotion (October 13, 2009)">Zonealarm Pro Firewall 2010 Promotion</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/08/15/windows-vista-firewall-control/" title="Windows Vista Firewall Control (August 15, 2008)">Windows Vista Firewall Control</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/10/03/use-this-iptables-script-for-webmail-server-security/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add a second drive to your Ubuntu server</title>
		<link>http://www.ghacks.net/2009/09/10/add-a-second-drive-to-your-ubuntu-server/</link>
		<comments>http://www.ghacks.net/2009/09/10/add-a-second-drive-to-your-ubuntu-server/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 19:20:12 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ext3 file system]]></category>
		<category><![CDATA[fstab]]></category>
		<category><![CDATA[mount drives]]></category>
		<category><![CDATA[new linux drive]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=16193</guid>
		<description><![CDATA[You have your Ubuntu Server up and running (with the help of &#8220;Installing Ubuntu Server 9.04&#8220;) but you&#8217;re afraid you&#8217;ll run out of room on your drive. To solve this problem you have installed a new hard drive, but because this is a GUI-less server you do not have access to the user-friendly GUI tools [...]]]></description>
			<content:encoded><![CDATA[<p>You have your Ubuntu Server up and running (with the help of &#8220;<a title="Installing Ubuntu Server 9.04" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/" target="_blank">Installing Ubuntu Server 9.04</a>&#8220;) but you&#8217;re afraid you&#8217;ll run out of room on your drive. To solve this problem you have installed a new hard drive, but because this is a GUI-less server you do not have access to the user-friendly GUI tools that make this job easy. So you&#8217;re going to have to install this drive with the help of the command line.</p>
<p>GASP!</p>
<p>Never fear, it&#8217;s not that hard. Just a few commands and you&#8217;ll be up and running with your new hard drive installed on your server. This article will assume the physical drive is already installed on your machine.</p>
<p><span id="more-16193"></span>I am going to make a couple of assumptions here, for the sake of simplicity for this article. The first assumption is that the new drive will be mounted to the directory <strong>/data</strong>. The next assumption is that you want this directory to be both readable and writable by all users on the system. Another assumption is that you will want the drive to be formatted with the ext3 file system with just one partition. Finally I will assume you want this drive to be automatically mounted upon boot of the system.</p>
<p>With that out of the way, let&#8217;s get down to business.</p>
<p>Once you boot the machine with the new drive log into the console and issue the command:</p>
<p><span style="background-color: #ffffff">dmesg</span></p>
<p>Near the bottom of the output you should see where the disk is located. it will be <span style="background-color: #ffffff">something like:</span></p>
<p><em>/dev/sdb</em></p>
<p>So let&#8217;s assume it is on <strong>/dev/sdb.</strong></p>
<p>If you can&#8217;t figure it out where the drive is located  with <em>dmesg</em> issue the command:</p>
<p><em>sudo fdisk -l</em></p>
<p>The above command will report something like:</p>
<p><code>/dev/sda1   *           1       18709   150280011   83  Linux<br />
/dev/sda2           18710       19457     6008310    5  Extended<br />
/dev/sda5           18710       19457     6008278+  82  Linux swap / Solaris</code></p>
<p>But will include a listing for your new drive. If you only see listings for <strong>/dev/sda*</strong> then your new drive has not been recognized and there is a problem with the physical installation.</p>
<p>Once you know where your drive is located (again we&#8217;ll use <strong>/dev/sdb</strong> for our example) it&#8217;s time to create a new directory where this drive will be mounted. We are mounting our drive to the directory <strong>/data </strong><span style="background-color: #ffffff">so we&#8217;ll create this directory with the following command:</span></p>
<p><em>sudo mkdir /data</em></p>
<p>Now let&#8217;s make it available to all users:</p>
<p><em>sudo chmod -R 777 /data</em></p>
<p>With a place to mount the drive, it&#8217;s time to format the new drive. The formatting will be done with the command:</p>
<p><em>sudo mkfs.ext3 /dev/sdb</em></p>
<p>When this is complete you are ready to mount the drive. Before you edit fstab entry (so the drive will be automatically mounted) make sure it can be successfully mounted <span style="background-color: #ffffff">with the command:</span></p>
<p><em>sudo mount /dev/sdb /data</em></p>
<p>If this is successful let&#8217;s create an entry in <strong>/etc/fstab</strong>. open that <span style="background-color: #ffffff">file with the command</span></p>
<p><em>sudo nano /etc/fstab</em></p>
<p>Now add the following entry at the end of that file:</p>
<p><code>/dev/sdb /data  ext3 defaults 0 0</code></p>
<p>Once you save that file, mount the drive (without having to reboot) with the command:</p>
<p><em>sudo mount -a</em></p>
<p>To make sure the drive mounted successfully issue the command:</p>
<p><em>df</em></p>
<p>The above should include in the report:</p>
<p><em>/dev/sdb   /data</em></p>
<p>If that&#8217;s the case, success! You can run one file test by trying to write a file to the new drive with the command:</p>
<p><em>touch /data/test</em></p>
<p>If you can write that file all is well.</p>
<p><strong>Final thoughts</strong></p>
<p>Yes it is a bit more complicated than adding a new drive when you have GUI tools available, but it&#8217;s not anything that can&#8217;t be accomplished by the average user. If you are not afraid of the command line, you can add a second drive in Ubuntu with ease.</p>

	Tags: <a href="http://www.ghacks.net/tag/ext3-file-system/" title="ext3 file system" rel="tag">ext3 file system</a>, <a href="http://www.ghacks.net/tag/fstab/" title="fstab" rel="tag">fstab</a>, <a href="http://www.ghacks.net/tag/mount-drives/" title="mount drives" rel="tag">mount drives</a>, <a href="http://www.ghacks.net/tag/new-linux-drive/" title="new linux drive" rel="tag">new linux drive</a>, <a href="http://www.ghacks.net/tag/ubuntu-server/" title="ubuntu server" rel="tag">ubuntu server</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/02/which-ubuntu-derivative-is-right-for-you/" title="Which Ubuntu Derivative Is Right For You? (April 2, 2009)">Which Ubuntu Derivative Is Right For You?</a> (16)</li>
	<li><a href="http://www.ghacks.net/2009/10/03/use-this-iptables-script-for-webmail-server-security/" title="Use this iptables script for Web/Mail server security (October 3, 2009)">Use this iptables script for Web/Mail server security</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/01/03/understanding-linux-etcfstab/" title="Understanding Linux /etc/fstab (January 3, 2009)">Understanding Linux /etc/fstab</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/04/06/keep-logged-in-users-informed-with-motd/" title="Keep logged in users informed with motd (April 6, 2009)">Keep logged in users informed with motd</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/" title="Installing Ubuntu Server 9.04 (September 3, 2009)">Installing Ubuntu Server 9.04</a> (20)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/09/10/add-a-second-drive-to-your-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install Mantis Bug Tracking tool on your Ubuntu Server</title>
		<link>http://www.ghacks.net/2009/09/08/install-mantis-bug-tracking-tool-on-your-ubuntu-server/</link>
		<comments>http://www.ghacks.net/2009/09/08/install-mantis-bug-tracking-tool-on-your-ubuntu-server/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 11:32:14 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[bug tracking]]></category>
		<category><![CDATA[Mantis]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=16128</guid>
		<description><![CDATA[Here we go again, building upon that rock solid Ubuntu Server installation. If you haven&#8217;t already done so, you should read the first article in this series (&#8221;Installing Ubuntu Server 9.04&#8220;). Once you&#8217;ve read that (and followed the steps), you are ready to go for installing one of the easiest to use and most reliable [...]]]></description>
			<content:encoded><![CDATA[<p>Here we go again, building upon that rock solid Ubuntu Server installation. If you haven&#8217;t already done so, you should read the first article in this series (&#8221;<a title="Installing Ubuntu Server 9.04" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/" target="_blank">Installing Ubuntu Server 9.04</a>&#8220;). Once you&#8217;ve read that (and followed the steps), you are ready to go for installing one of the easiest to use and most reliable bug tracking systems available from the open source community.</p>
<p><a title="Mantis" href="http://www.mantisbt.org" target="_blank">Mantis</a> is an open source bug tracking tool that is as feature-rich and stable as it is free. It is written in PHP and works with MySQL, MS SQL, and PostgreSQL databases. Mantis can be installed on Linux, Windows, and OS X and can use nearly any modern web browser.</p>
<p><span id="more-16128"></span><strong>Features</strong></p>
<p>Naturally, before you try a bug tracking software, you will want to see the feature listing. Mantis Bug Tracking includes such features as:</p>
<ul>
<li>Simple or Advanced issue pages.</li>
<li>Multiple projects per instances.</li>
<li>User access levels.</li>
<li>Projects, sub-projects, and category support.</li>
<li>Built in reporting.</li>
<li>Custom fields.</li>
<li>Email notification.</li>
<li>Issue monitoring.</li>
<li>Sponsorship support.</li>
<li>Issue report via email.</li>
</ul>
<p>And much, much more (for a full list see the <a title="Feature list" href="http://www.mantisbt.org/wiki/doku.php/mantisbt:features" target="_blank">Mantis Feature List page</a>). But enough said with the what, let&#8217;s get on with the how.</p>
<p><strong>Getting and installing</strong></p>
<p>The first step is to download the file. You can download the latest, stable release from the <a title="Mantis download" href="http://sourceforge.net/projects/mantisbt/files/mantis-stable/1.1.8/mantisbt-1.1.8.tar.gz/download" target="_blank">Mantis Sourceforge site</a>. Once you have that file move it into the Apache document root with the command:</p>
<p><em>sudo mv mantis-XXX.tar.gz /var/www/</em></p>
<p>Where XXX is the release number.</p>
<p>Now unpack the tar file with the command;</p>
<p><em>sudo tar xvzf mantisbt-XXX.tar.gz</em></p>
<p>Where XXX is the release number.</p>
<p>Now change the name of the mantis directory with the command:</p>
<p><em>mv mantisbt-XXX mantis</em></p>
<p>Where XXX is the release number.</p>
<p>Before you move on to the web-based installation, you need to create a database. I use phpmyadmin to do this (Read how to set this up in my article &#8220;<a title="Install phpmyadmin" href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" target="_blank">Install phpmyadmin for easy MySQL administration</a>&#8220;.) Create a database called &#8220;bugtracker&#8221; (no quotes). Once you have done that you then need to go to the file <strong>/var/www/mantis/config_inc.php.sample </strong>and edit the Database Settings variables. You will need to edit the variables:</p>
<ul>
<li>g_hostname</li>
<li>g_db_username</li>
<li>g_db_password</li>
</ul>
<p>Make these reflect your particular installation. Once you have that finished change the name of that file to <strong>config_inc.php</strong> and you are ready to check your installation.</p>
<p>You are now ready to point your browser to:</p>
<p>http://ADDRESS_OF_SERVER/mantis/admin/</p>
<p>Where ADDRESS_OF_SERVER is the actual IP or URL for your server.</p>
<p>You will see four links:</p>
<ul>
<li>Check your installation.</li>
<li>Upgrade your installation.</li>
<li>Modify stylesheets.</li>
<li>System utilities.</li>
</ul>
<p>Click on the Check your installation link. This address will take you to the page that will check your server for all the necessary requirements for installation. Once that passes you are ready for the installation.</p>
<p><strong>Web-based setup</strong></p>
<div id="attachment_16131" class="wp-caption alignleft" style="width: 380px"><a rel="attachment wp-att-16131" href="http://www.ghacks.net/2009/09/08/install-mantis-bug-tracking-tool-on-your-ubuntu-server/mantis_install/"><img class="size-full wp-image-16131" src="http://www.ghacks.net/wp-content/uploads/2009/09/mantis_install.png" alt="Figure 1" width="370" height="203" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>Now point your browser to http://ADDRESS_OF_SERVER/admin/install.php This page will walk you through the steps for the database setup (see Figure 1.)</p>
<p>Oddly enough it looks like you are being asked to create an admin acccount here. You&#8217;re not, for the Admin Username/Password you will want to use the same Username/Password that you used for the Database user.</p>
<p>Fill that information out and click the Install button. The next page will greet you with a bunch of information that informs you (Hopefully) that everything passes. At the bottom of that page is a small link to continue with login. Click that link and you will find yourself at the Mantis Log In screen. The default username/login for a mantis installation is:</p>
<p>Username: administrator</p>
<p>Password: root</p>
<p>The first thing you will want to do, upon logging in, is to change the account information for this login. Click on the My Account button and make the necessary changes.</p>
<p>You are now ready to start using your Mantis Bug Tracking system.</p>
<p><strong>Final thoughts</strong></p>
<p>I have found the Mantis Bug Tracking system to be one of the easiest to use in a category that is often filled with overly complicated tool (either to install or use). I think you will find that Mantis meets (or exceeds) all of your bug tracking needs.</p>

	Tags: <a href="http://www.ghacks.net/tag/bug-tracking/" title="bug tracking" rel="tag">bug tracking</a>, <a href="http://www.ghacks.net/tag/mantis/" title="Mantis" rel="tag">Mantis</a>, <a href="http://www.ghacks.net/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://www.ghacks.net/tag/ubuntu-server/" title="ubuntu server" rel="tag">ubuntu server</a><br />

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

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/09/08/install-mantis-bug-tracking-tool-on-your-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Add ftp service to your Ubuntu Server</title>
		<link>http://www.ghacks.net/2009/09/06/add-ftp-service-to-your-ubuntu-server/</link>
		<comments>http://www.ghacks.net/2009/09/06/add-ftp-service-to-your-ubuntu-server/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 22:51:55 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[anonymous ftp]]></category>
		<category><![CDATA[ftp server]]></category>
		<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=16052</guid>
		<description><![CDATA[So you now have your Ubuntu Server up and running with the help of &#8220;Installing Ubuntu Server 9.04&#8221; and you now have Samba working with the help of &#8220;Set up your new Ubuntu Server as a Samba Server&#8220;. Now it&#8217;s time to add ftp to the mix. Of course many people are of the mind [...]]]></description>
			<content:encoded><![CDATA[<p>So you now have your Ubuntu Server up and running with the help of &#8220;<a title="Installing Ubuntu Server 9.04" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/" target="_blank">Installing Ubuntu Server 9.04</a>&#8221; and you now have Samba working with the help of &#8220;<a title="Samba" href="http://www.ghacks.net/2009/09/04/set-up-your-new-ubuntu-server-as-a-samba-server/" target="_blank">Set up your new Ubuntu Server as a Samba Server</a>&#8220;. Now it&#8217;s time to add ftp to the mix. Of course many people are of the mind set that FTP servers are slowly becoming a thing of the past. I would disagree because of the low cost of hardware, ease of set up, and ease of use. You can&#8217;t beat an FTP server up on your network as a central file repository.</p>
<p>Now that you already have your Ubuntu Server up and running, adding FTP is actually quite easy. There are numerous FTP servers available, but the one I tend to prefer is vsftpd. Not only is it more secure than many other FTP servers, it&#8217;s easy to install and configure, even for anonymous use.</p>
<p>In this article you will see how to get vsftpd installed and configured for both user login and anonymous use.</p>
<p><span id="more-16052"></span></p>
<p><strong>Installing vsftpd</strong></p>
<p>Since the installation for the base server is a GUI-less Ubuntu 9.04, the entire installation and configuration will be done from the command line. Log into your server and then issue the following command:</p>
<p><em>sudo apt-get install vsftpd</em></p>
<p>The above command will install everything needed for your FTP server. What you will find is your configuration file located in the <strong>/etc</strong> directory and the executable located in <strong>/etc/init.d/</strong>. By default vsftpd is installed to allow ONLY anonymous download. The default location for anonymous files is in <strong>/home/ftp</strong>. So by default all you need to do is place files you want to be accessible anonymously in <strong>/home/ftp</strong>, start the vsftp daemon with the command:</p>
<p><em>sudo /etc/init.d/vsftpd start</em></p>
<p>And you can immediately connect anonymously. Any file located within <strong>/home/ftp</strong> will be available to anonymous users. That&#8217;s not a bad setup for an internal LAN. But if you need to control what people use/see, or if you do not want to allow anonymous access, you will have to take care of a little configuration.</p>
<p><strong>Configuring user-authenticated login</strong></p>
<p>Let&#8217;s say you have four users on your system that need access to their own individual accounts. For this you will need to enable user-authenticated login. This is done within the <strong>/etc/vsftpd.conf</strong> file. Open up this file and scroll down to around line 26. Here you will see the entry:</p>
<p><em>#local_enable=YES</em></p>
<p>Notice the &#8220;#&#8221; symbol at the beginning of the line? This means that line is commented out. Remove the &#8220;#&#8221; symbol, save the file, restart vsftpd, and now anyone with an account on your ftp server can log in with their username and password.</p>
<p>But what if the users need to upload as well as download? Simple. Below the <em>local_enable</em> line you will see the line:</p>
<p><em>#write_enable=YES</em></p>
<p>Uncomment out that line and restart vsftpd to enable write access for your users. Remember, you have to restart vsftpd any time you make a change to the configuration file. You can also disable anonymous access by commenting out the line:</p>
<p><em>anonymous_enable=YES</em></p>
<p>This can be handy for departments as well. Say you have an editorial department, a graphics department, and an accounting department. You will have to have those accounts added to the system. You can add those accounts (and their home directories) with these commands:</p>
<p>sudo useradd -m ACCOUNT_NAME</p>
<p>sudo passwd ACCOUNT_NAME</p>
<p>Where ACCOUNT_NAME is the name of the user account to create. The above commands will create the user, the users&#8217; home directory, and give the user a password.</p>
<p>Once these accounts have been created you can log into the FTP server with the username and password.</p>
<p><strong>Final thoughts</strong></p>
<p>Setting up an FTP server couldn&#8217;t be any easier. With the Ubuntu Server already up and running, you can have anonymous ftp set up in about a minute.</p>

	Tags: <a href="http://www.ghacks.net/tag/anonymous-ftp/" title="anonymous ftp" rel="tag">anonymous ftp</a>, <a href="http://www.ghacks.net/tag/ftp-server/" title="ftp server" rel="tag">ftp server</a>, <a href="http://www.ghacks.net/tag/ubuntu-server/" title="ubuntu server" rel="tag">ubuntu server</a>, <a href="http://www.ghacks.net/tag/vsftpd/" title="vsftpd" rel="tag">vsftpd</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/02/which-ubuntu-derivative-is-right-for-you/" title="Which Ubuntu Derivative Is Right For You? (April 2, 2009)">Which Ubuntu Derivative Is Right For You?</a> (16)</li>
	<li><a href="http://www.ghacks.net/2009/10/03/use-this-iptables-script-for-webmail-server-security/" title="Use this iptables script for Web/Mail server security (October 3, 2009)">Use this iptables script for Web/Mail server security</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/08/08/two-free-file-hosts-with-ftp-access/" title="Two Free File Hosts With FTP Access (August 8, 2009)">Two Free File Hosts With FTP Access</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/04/23/set-up-a-reliable-ftp-server-with-proftpd/" title="Set up a reliable ftp server with proftpd (April 23, 2009)">Set up a reliable ftp server with proftpd</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/03/23/secure-ftp-client-online/" title="Secure FTP Client Online (March 23, 2009)">Secure FTP Client Online</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/09/06/add-ftp-service-to-your-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Ubuntu Server 9.04</title>
		<link>http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/</link>
		<comments>http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 11:32:03 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[install linux server]]></category>
		<category><![CDATA[lamp server]]></category>
		<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[unbuntu 9.04]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=15967</guid>
		<description><![CDATA[Recently a friend requested I help him with an installation of Ubuntu Server. Since he was completely new to the process of installing Linux (and the topic is a winner anyway) I thought it would be smart to walk through the process of installing a Ubuntu Server, step by step, here on Ghacks.
Ubuntu Server is, [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a friend requested I help him with an installation of Ubuntu Server. Since he was completely new to the process of installing Linux (and the topic is a winner anyway) I thought it would be smart to walk through the process of installing a Ubuntu Server, step by step, here on Ghacks.</p>
<p><a title="Ubuntu Server" href="http://www.ubuntu.com/products/WhatIsUbuntu/serveredition" target="_blank">Ubuntu Server</a> is, in my experience, one of the finest servers on the Linux landscape. This server distribution can be used for just about any server needs. But one thing to be warned about &#8211; it is headless. With the Ubuntu server you can have just about any server package you can think of, but don&#8217;t expect a GUI to help you along. And due to its headless nature, it is faster than a desktop-based counterpart. But what is it like to install?</p>
<p>Let&#8217;s find out.</p>
<p><span id="more-15967"></span>NOTE: This particular installation will be done in a Virtual Machine using <a title="VirtualBox" href="http://www.ghacks.net/2009/06/14/installing-and-configuring-virtualbox-for-virtual-oses/" target="_blank">VirtualBox</a>. So any oddities (or small hard disk sizes) you see will be due to that.</p>
<div id="attachment_15969" class="wp-caption alignleft" style="width: 394px"><a rel="attachment wp-att-15969" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install1-2/"><img class="size-full wp-image-15969" src="http://www.ghacks.net/wp-content/uploads/2009/09/install1.png" alt="Figure 1" width="384" height="317" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>The first step is to insert the CD of Ubuntu Server (I am using 9.04) into the machine and boot. The first screen you will see is the language screen (see Figure 1).</p>
<p>In the language section you just use the up and down keys to migrate through the various languages available and, when you land on the correct language, click the enter key.</p>
<div id="attachment_15970" class="wp-caption alignright" style="width: 394px"><a rel="attachment wp-att-15970" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install2-2/"><img class="size-full wp-image-15970" src="http://www.ghacks.net/wp-content/uploads/2009/09/install2.png" alt="Figure 2" width="384" height="317" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>The next step (see Figure 2) gives you a few different actions to take.</p>
<p>Here you can start the installation by selecting &#8220;Install Ubuntu Server&#8221; or you can check the disk, test the memory on your machine, bypass the installation and start from your hard drive, or use this disk as a rescue disk.</p>
<p>Go ahead and select &#8220;Install Ubuntu Server&#8221; and click the Enter key.</p>
<div id="attachment_15971" class="wp-caption alignleft" style="width: 394px"><a rel="attachment wp-att-15971" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install3/"><img class="size-full wp-image-15971" src="http://www.ghacks.net/wp-content/uploads/2009/09/install3.png" alt="Figure 3" width="384" height="317" /></a><p class="wp-caption-text">Figure 3</p></div>
<p>The nex screen (see Figure 3) again is asking you to choose a language. The difference between this language selection and the first language is that this language selection will be the language used on your actual server, whereas the original language screen was for the installation process. You select the language using the same technique you did for the first language.</p>
<p>Notice the difference in color and style on this screen? This is the typical Linux text-based installation. Get used to it, because this is the look and feel for the rest of the installation.</p>
<div id="attachment_15973" class="wp-caption alignright" style="width: 394px"><a rel="attachment wp-att-15973" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install4-2/"><img class="size-full wp-image-15973" src="http://www.ghacks.net/wp-content/uploads/2009/09/install4.png" alt="Figure 4" width="384" height="317" /></a><p class="wp-caption-text">Figure 4</p></div>
<p>The next screen (see Figure 4) has you select the country where you (or your server) reside. As you can see the selections offered for your country are based on the languages you chose. This selection is actually important because it will help configure your region-based settings.</p>
<p>You make this selection the same way you did the language (scroll up or down with your arrow keys). To make your selection hit the enter key.</p>
<div id="attachment_15975" class="wp-caption alignleft" style="width: 394px"><a rel="attachment wp-att-15975" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install5-2/"><img class="size-full wp-image-15975" src="http://www.ghacks.net/wp-content/uploads/2009/09/install5.png" alt="Figure 5" width="384" height="317" /></a><p class="wp-caption-text">Figure 5</p></div>
<p>The next screen (figure 5) is the keyboard selection screen. Most likely you can just use your left arrow key, move to &lt;Yes&gt; and then hit the enter key. If you&#8217;re not sure  select &lt;No&gt; and you will walked through a very simple keyboard selection wizard that will ask you if certain keys are present. This will narrow down your selection. After you select &lt;Yes&gt; and hit enter the next window will ask for the original of your keyboard. Select the country associated with your keyboard and hit the enter key. After that you will need to further narrow down your keyboard selection by choosing the layout type. I leave the last two screens out because they should be very obvious to you.</p>
<div id="attachment_15976" class="wp-caption alignright" style="width: 394px"><a rel="attachment wp-att-15976" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install6-2/"><img class="size-full wp-image-15976" src="http://www.ghacks.net/wp-content/uploads/2009/09/install6.png" alt="Figure 6" width="384" height="317" /></a><p class="wp-caption-text">Figure 6</p></div>
<p>The next few screens require no interaction on your part. It isn&#8217;t until you finally get to the Hostname screen (see Figure 6) that you will have to do anything.</p>
<p>The hostname will be the &#8220;nickname&#8221; your machine will be known for on your network. It is a single word name. Say this machine will be your mail server. For that you can name the machine &#8220;mail&#8221;.</p>
<p>Once you have entered your hostname click the tab button until &lt;Continue&gt; is slected and press Enter.</p>
<div id="attachment_15977" class="wp-caption alignleft" style="width: 394px"><a rel="attachment wp-att-15977" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install7-2/"><img class="size-full wp-image-15977" src="http://www.ghacks.net/wp-content/uploads/2009/09/install7.png" alt="Figure 7" width="384" height="317" /></a><p class="wp-caption-text">Figure 7</p></div>
<p>The next screen (Figure 7) requires you to enter your time zone. Make sure you select this properly because it will effect many services on your machine. If your machine is an email server it could incorrectly stamp all incoming email with the wrong time (if  the wrong zone is selected).</p>
<p>Scroll through the listing with the up and down arrows and, once you have highlighted the selection you want, click the Enter key.</p>
<div id="attachment_15978" class="wp-caption alignright" style="width: 394px"><a rel="attachment wp-att-15978" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install8-2/"><img class="size-full wp-image-15978" src="http://www.ghacks.net/wp-content/uploads/2009/09/install8.png" alt="Figure 8" width="384" height="317" /></a><p class="wp-caption-text">Figure 8</p></div>
<p>The next screen (see Figure 8) sets up the disk partitioning scheme. You have four choices. Only one of these choices is manual which should only be used by more experienced users. Of the other choices you will want to stick with one of the LVM options only if you already know how to set up LVM. LVM is the Logical Volume Management scheme which is much more flexible than a standard scheme. If you choose to use LVM you can then choose if you want your disk encrypted or not. An encrypted disk will be slightly slower than a non-encrypted disk, but it will be much more secure. The easiest partition method is to select &#8220;Guided &#8211; use entire disk&#8221;. For a default Ubuntu Server, I always select this.</p>
<div id="attachment_15980" class="wp-caption alignleft" style="width: 394px"><a rel="attachment wp-att-15980" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install9-3/"><img class="size-full wp-image-15980" src="http://www.ghacks.net/wp-content/uploads/2009/09/install91.png" alt="Figure 9" width="384" height="317" /></a><p class="wp-caption-text">Figure 9</p></div>
<p>The next screen (Figure 9)  is just a confirmation window showing you what the installer is about to do to your disk and is it okay. If what you see listed is okay, select &#8220;Finish Partitioning and write changes to disk&#8221; by using the Tab key and then hit the enter key.</p>
<p>After that you will have one more chance at making changes because the next screen asks for you to verify the changes. Tab to &lt;Yes&gt; and click enter on this screen.</p>
<div id="attachment_15981" class="wp-caption alignright" style="width: 394px"><a rel="attachment wp-att-15981" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install10-2/"><img class="size-full wp-image-15981" src="http://www.ghacks.net/wp-content/uploads/2009/09/install10.png" alt="Figure 10" width="384" height="317" /></a><p class="wp-caption-text">Figure 10</p></div>
<p>Depending upon the size of the disk you have partitioned, the partitioning process could take a while. Once the paritioning is complete the installation will start. This will take a bit of time (but far less time than you are used to for an operating system installation). Figure 10 was taken after about 30 seconds into the process and the installation of the base system was already at 31%.  Don&#8217;t be fooled. This is not 31% of the entire installation. This is just the base packages like the kernel. You will still have to install the packages you need for your server.</p>
<p>The next three screens are all dedicated to creating a user account. You will will first enter a full name for your user, then a login name for your user, followed by a password for your user. Once you are done with those you will be at the next important screen.</p>
<div id="attachment_15984" class="wp-caption alignleft" style="width: 394px"><a rel="attachment wp-att-15984" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install11/"><img class="size-full wp-image-15984" src="http://www.ghacks.net/wp-content/uploads/2009/09/install11.png" alt="Figure 11" width="384" height="317" /></a><p class="wp-caption-text">Figure 11</p></div>
<p>The next window (see Figure 11) asks if you want to encrypt your /home directory. If you plan on having log in users on the system it might be a good idea to encrypt the data. If, however, you don&#8217;t think the <strong>/home</strong> directory will be used all that much (say this will be a public web server) this isn&#8217;t that necessary.</p>
<p>After that screen you will be presented by a screen asking if you need to set up a proxy. If you need a proxy enter the address in the blank space, tab down to &lt;Continue&gt; and click Enter. If you do not need a proxy just tab down to &lt;Continue&gt; and click Enter.</p>
<div id="attachment_15985" class="wp-caption alignright" style="width: 394px"><a rel="attachment wp-att-15985" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install12-2/"><img class="size-full wp-image-15985" src="http://www.ghacks.net/wp-content/uploads/2009/09/install12.png" alt="Figure 12" width="384" height="317" /></a><p class="wp-caption-text">Figure 12</p></div>
<p>The next screen will, depending upon how fast your network connection is, seem to hold for a bit. This screen is scanning the mirror for packages.</p>
<p>You will then proceed to the updates section. If you want to have all of the updates applied automatically you will want to selec the &#8220;Install security updates automatically&#8221;. If you prefer to handle the updates on your own select &#8220;No automatica updates&#8221;. You can also use Landscape which is a web-based updater. If you want the easiest method, my suggestion is to go with automatic updates.</p>
<div id="attachment_15987" class="wp-caption alignleft" style="width: 394px"><a rel="attachment wp-att-15987" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install13/"><img class="size-full wp-image-15987" src="http://www.ghacks.net/wp-content/uploads/2009/09/install13.png" alt="Figure 13" width="384" height="317" /></a><p class="wp-caption-text">Figure 13</p></div>
<p>The next screen is the longest screen, because it is the package installation screen. But during this you will be given the change to select the software you want (see Figure 13). This porition is set up easily.</p>
<p>You can use the arrow keys to move up and down and then select a package with the space bar. From this list you can see what types of servers can be installed. If you go to Manual selection make sure you know what you need. Tab down to continue and then hit Enter when you&#8217;re ready to install.</p>
<p>The installation process will now download the necessary packages, based on the packages you selected.</p>
<p>Depending upon the packages you selected you might have to handle a few configuration options. For example, if you are installing a LAMP server, you will be prompted for a MySQL password for the &#8220;root&#8221; user. If you are prompted for this, type the password and hit Enter. Most likely you will be prompted for the MySQL password three times.</p>
<div id="attachment_15993" class="wp-caption alignright" style="width: 394px"><a rel="attachment wp-att-15993" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install14/"><img class="size-full wp-image-15993" src="http://www.ghacks.net/wp-content/uploads/2009/09/install14.png" alt="Figure 14" width="384" height="317" /></a><p class="wp-caption-text">Figure 14</p></div>
<p>After the package installation is complete you will see the installer automatically take care of the GRUB installation/configuration as well as some clean up tasks. When you reach the final screen (Figure 14) you are complete! You can now reboot your Ubuntu Server installation and enjoy.</p>

	Tags: <a href="http://www.ghacks.net/tag/install-linux-server/" title="install linux server" rel="tag">install linux server</a>, <a href="http://www.ghacks.net/tag/lamp-server/" title="lamp server" rel="tag">lamp server</a>, <a href="http://www.ghacks.net/tag/ubuntu-server/" title="ubuntu server" rel="tag">ubuntu server</a>, <a href="http://www.ghacks.net/tag/unbuntu-9-04/" title="unbuntu 9.04" rel="tag">unbuntu 9.04</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/02/which-ubuntu-derivative-is-right-for-you/" title="Which Ubuntu Derivative Is Right For You? (April 2, 2009)">Which Ubuntu Derivative Is Right For You?</a> (16)</li>
	<li><a href="http://www.ghacks.net/2009/10/03/use-this-iptables-script-for-webmail-server-security/" title="Use this iptables script for Web/Mail server security (October 3, 2009)">Use this iptables script for Web/Mail server security</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/04/06/keep-logged-in-users-informed-with-motd/" title="Keep logged in users informed with motd (April 6, 2009)">Keep logged in users informed with motd</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/09/08/install-mantis-bug-tracking-tool-on-your-ubuntu-server/" title="Install Mantis Bug Tracking tool on your Ubuntu Server (September 8, 2009)">Install Mantis Bug Tracking tool on your Ubuntu Server</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/07/23/how-to-install-a-lamp-server/" title="How to: Install a LAMP server (July 23, 2009)">How to: Install a LAMP server</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>How to install Nagios on Ubuntu server</title>
		<link>http://www.ghacks.net/2009/06/08/how-to-install-nagios-on-ubuntu-server/</link>
		<comments>http://www.ghacks.net/2009/06/08/how-to-install-nagios-on-ubuntu-server/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 23:06:10 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[server monitoring]]></category>
		<category><![CDATA[system monitoring]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=13369</guid>
		<description><![CDATA[Are you one of those special geeks that think there is never TMI (too much information)? If that describes you then Nagios is the monitor for you. Once installed, Nagios will keep you busy with more information about your system than you ever thought possible. But it&#8217;s not just a matter of running apt-get install [...]]]></description>
			<content:encoded><![CDATA[<p>Are you one of those special geeks that think there is never TMI (too much information)? If that describes you then <a title="Nagios" href="http://www.nagios.org" target="_blank">Nagios</a> is the monitor for you. Once installed, Nagios will keep you busy with more information about your system than you ever thought possible. But it&#8217;s not just a matter of running apt-get install nagios. No, there&#8217;s more to the installation than that.</p>
<p>In this article you will see how to install Nagios on a working Ubuntu Server installation. The release I used was 9.04, but you should be able to use 8.04 just as easily.</p>
<p><span id="more-13369"></span><strong>Features</strong></p>
<p>You want features? Nagios is full of them. Nagios can monitor your entire network, you can handle problem remediation, you can plan network downtime, you can watch hosts, systems, services, applications..there&#8217;s very little you can&#8217;t do with Nagios.</p>
<p>But let&#8217;s think about this installation. The best (and really only good) way to install Nagios is from source. This means you are going to have to do some compliation. Don&#8217;t worry, it&#8217;s not hard&#8230;when you have a step-by-step guide that is.</p>
<p><strong>Before you start</strong></p>
<p>If you are using, as I did, a Ubuntu server installation, you will need to install a few tools first. So from the command line (on your Ubuntu server) issue the following commands:</p>
<p><em>sudo apt-get install php5-gd</em></p>
<p><em>sudo apt-get install gcc</em></p>
<p><em>sudo apt-get install make</em></p>
<p>The above commands will install the tools you need in order to get Nagios installed. If you don&#8217;t install the above, you won&#8217;t be able to complete the installation.</p>
<p><strong>Installing Nagios &#8211; preflight</strong></p>
<p>Before you actually run the installation you will need to take care of some user/group accounting first.</p>
<p>Create the user <strong>nagios:</strong></p>
<p><strong></strong><em>sudo useradd -m nagios</em></p>
<p><em><span style="font-style: normal;">Give the nagios user a password:</span></em></p>
<p><em>sudo passwd nagios<span style="font-style: normal;"> </span></em></p>
<p>NOTE: You will have to enter the new password twice for the above command.</p>
<p>Create the group <strong>nagios:<br />
<span style="font-weight: normal;"><em>sudo groupadd nagios</em></span> </strong></p>
<p>Add the user <strong>nagios </strong>to the group <strong>nagios:</strong></p>
<p><em>sudo usermod -G nagios nagios</em></p>
<p>Create the group <strong>nagcmd:</strong></p>
<p>sudo groupadd nagcmd</p>
<p>Add the user <strong>nagios </strong>to the group <strong>nagcmd:</strong></p>
<p>sudo usermod -a -G nagcmd nagios</p>
<p>Add the Apache user to the group <strong>nagcmd:</strong></p>
<p><em>sudo usermod -a -G nagcmd www-data</em></p>
<p><em><strong>Installing Nagios and Nagios Plugins</strong></em></p>
<p><em>The first thing to do is to download the files you need. Issue the commands:</em></p>
<p><code>wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.6.tar.gz</code></p>
<p>and</p>
<p><code>wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-<br />
plugins-1.4.11.tar.gz</code></p>
<p>to download the files you need.</p>
<p>Untar the Nagios file with:</p>
<p><em>tar xvzf nagios-3.0.6.tar.gz</em></p>
<p>Change into the newly created Nagios directory with the command:</p>
<p><em>cd nagios-3.0.6</em></p>
<p>Now run the configure script using the nagcmd defined as the command group with the command:</p>
<p><em>sudo ./configure &#8211;with-command-group=nagcmd</em></p>
<p>Time to compile:</p>
<p><em>sudo make all</em></p>
<p>Time to install everything:</p>
<p><em>make install</em></p>
<p><em>make install-init</em></p>
<p><em>make install-config</em></p>
<p><em>make install-commandmode</em></p>
<p>Almost ready to finalize the installation of Nagios (before moving on to installing the plugins.) There is one simple configuration to take care of (for the basic installation). Open up the <strong>/usr/local/nagios/etc/objects/contacts.cfg </strong>file and add your email address as the contact email address. That&#8217;s the only configuration to change for now.</p>
<p><strong>Configuring for the Web interface</strong></p>
<p>There are just a few commands to run to configure the Web interface:</p>
<p><em>make install-webconf</em></p>
<p><em>htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin</em></p>
<p><em>/etc/init.d/apache2 reload</em></p>
<p>The final command above simply restarts Apache.</p>
<p><strong>Install the plugins</strong></p>
<p>Before you log into your Nagios installation you have to install your plugins first. Change to the directory you downloaded the Nagios files to and untar the plugins file:</p>
<p><em>tar xvzf nagios-plugins-1.4.11.tar.gz</em></p>
<p>Now change into the newly created directory:</p>
<p><em>cd nagios-plugins-1.4.11</em></p>
<p>Compile the plugins with the command:</p>
<p><em>sudo ./configure &#8211;with-nagios-user=nagios &#8211;with-nagios-group=nagios</em></p>
<p>Now install the plugins with the following commands:</p>
<p>make</p>
<p>make install</p>
<p><em><strong>Fire it up!</strong></em></p>
<p><em>Of course you want to make sure Nagios starts any time the system is restarted. Do this with the command:</em></p>
<p><em>sudo ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios</em></p>
<p>And finally, before you start up Nagios, make sure there are no errors with the command:</p>
<p><em>sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg</em></p>
<p>If you see no errors reported, it&#8217;s time to start it up. Issue the command:</p>
<p><em>sudo /etc/init.d/nagios start</em></p>
<p>Nagios is ready to go. Point your browser to:</p>
<p><em>http://ADDRESS_OF_NAGIOS_SERVER/nagios</em></p>
<p>You should be ready to enjoy all that is Nagios. Congratulations.</p>

	Tags: <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/nagios/" title="nagios" rel="tag">nagios</a>, <a href="http://www.ghacks.net/tag/server-monitoring/" title="server monitoring" rel="tag">server monitoring</a>, <a href="http://www.ghacks.net/tag/system-monitoring/" title="system monitoring" rel="tag">system monitoring</a>, <a href="http://www.ghacks.net/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://www.ghacks.net/tag/ubuntu-server/" title="ubuntu server" rel="tag">ubuntu server</a><br />

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

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/06/08/how-to-install-nagios-on-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Keep logged in users informed with motd</title>
		<link>http://www.ghacks.net/2009/04/06/keep-logged-in-users-informed-with-motd/</link>
		<comments>http://www.ghacks.net/2009/04/06/keep-logged-in-users-informed-with-motd/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 19:22:09 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Polls]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[log in message]]></category>
		<category><![CDATA[message of the day]]></category>
		<category><![CDATA[motd]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2009/04/06/keep-logged-in-users-informed-with-motd/</guid>
		<description><![CDATA[If you have users that log into a server, or a desktop (for whatever reason) you might want to take advantage of the Linux Message Of The Day file. This file resides in the /etc directory and, when a user logs in, the contents of that file are displayed every time a user logs into [...]]]></description>
			<content:encoded><![CDATA[<p>If you have users that log into a server, or a desktop (for whatever reason) you might want to take advantage of the Linux Message Of The Day file. This file resides in the <strong>/etc</strong> directory and, when a user logs in, the contents of that file are displayed every time a user logs into that machine. Of course there is a bit of a trick involved. If you write your own nice <strong>/etc/motd</strong> file every time you reboot that machine part of the <strong>/etc/motd</strong> file contents will be replaced by new information. Easily we can make the portion of the file that is not rewritten suite our needs. And with a little trickery we can fine tune the entire motd to our satisfaction.</p>
<p>In reality the message you see upon login is a combination of two files:<strong> /etc/motd </strong>and <strong>/etc/motd.tail</strong>. The former file is the file that is regenerated upon boot. The latter file contains static information. The first thing we will do is change the <strong>/etc/motd</strong> file so that, upon loggin in, the users can get system (or company) specific information. Once that is done we&#8217;ll trick <strong>/etc/motd.tail</strong> into getting content different than that from <strong>/etc/init.d/bootmisc.sh</strong>.</p>
<p><span id="more-11723"></span><strong>/etc/motd.tail</strong></p>
<p>The first thing you should is open up your <strong>/etc/motd.tail</strong> file in your favorite text editor. When I open up that file in Ubuntu Server 8.10 the contents look like:</p>
<p><em>The programs included with the Ubuntu system are free software;<br />
the exact distribution terms for each program are described in the<br />
individual files in /usr/share/doc/*/copyright.</em></p>
<p><em>Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by<br />
applicable law.</em></p>
<p><em>To access official Ubuntu documentation, please visit:<br />
http://help.ubuntu.com/</em></p>
<p>I want to change that content so I know exactly which server I am on when I log in. So let&#8217;s say I want to change that to say:</p>
<p><em>welcome to the Ubuntu Server. have a good time and do not break anything.</em></p>
<p>Now when I log into my Ubuntu Server I will see the following motd:</p>
<p><em>welcome to the Ubuntu Server. have a good time and do not break anything.</em></p>
<p><em>System information as of Mon Apr 6 15:00:01 EDT 2009</em></p>
<p><em>System load: 0.0 Swap usage: 0% Users logged in: 1<br />
Usage of /: 18.5% of 13.46GBTemperature: 52 C<br />
Memory usage: 43% Processes: 104</em></p>
<p><em>Graph this data and manage this system at https://landscape.canonical.com/<br />
Last login: Mon Apr 6 15:06:41 2009 from 192.168.1.8</em></p>
<p>As you can see there is some useful information to be had with this. But you may not want all of your users to see this information. Say you want to first let the users know which server they are on. We&#8217;ve already covered that with <strong>/etc/motd.tail</strong>. But let&#8217;s say you also want to send out a message to all users who log onto the server. You can change <strong>/etc/motd</strong> to reflect that message but when you reboot the machine that message will be replaced. So to get around that we can create a shell script that will over write the information written at bootup. A possible (and overly simple) shell script could look like this:</p>
<p><code>#!/bin/bash<br />
rm /etc/motd<br />
touch /etc/motd<br />
echo "this is my message" &gt; /etc/motd</code></p>
<p>Save that file in, say <strong>/opt</strong> (for example sake we&#8217;ll call it <strong>/opt/motd_append</strong>) and make it executable with the command <em>chmod u+x /opt/motd_append. </em>Now to make sure this command runs we can create an entry at the end of <strong>/etc/rc.local</strong> like this:</p>
<p><em>/opt/motd_append</em></p>
<p>Now when <strong>/etc/rc.local </strong>runs the script will run and over write the information in <strong>/etc/motd</strong>. Now when your users log in they will see your special message every time.</p>

	Tags: <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/log-in-message/" title="log in message" rel="tag">log in message</a>, <a href="http://www.ghacks.net/tag/message-of-the-day/" title="message of the day" rel="tag">message of the day</a>, <a href="http://www.ghacks.net/tag/motd/" title="motd" rel="tag">motd</a>, <a href="http://www.ghacks.net/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://www.ghacks.net/tag/ubuntu-server/" title="ubuntu server" rel="tag">ubuntu server</a><br />

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

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/06/keep-logged-in-users-informed-with-motd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which Ubuntu Derivative Is Right For You?</title>
		<link>http://www.ghacks.net/2009/04/02/which-ubuntu-derivative-is-right-for-you/</link>
		<comments>http://www.ghacks.net/2009/04/02/which-ubuntu-derivative-is-right-for-you/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 16:28:19 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Desktop Manager]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[edubuntu]]></category>
		<category><![CDATA[eeebuntu]]></category>
		<category><![CDATA[gobuntu]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu derivatives]]></category>
		<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[ubuntu studio]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11609</guid>
		<description><![CDATA[If you&#8217;re interested in Linux then most likely you have taken a look at Ubuntu. And if you have taken a look at Ubuntu then you know there are a lot of derivatives out there that specialize in one cross section of society or another. But which one is right for you? That is where [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re interested in Linux then most likely you have taken a look at <a title="Ubuntu" href="http://www.ubuntu.com" target="_blank">Ubuntu</a>. And if you have taken a look at Ubuntu then you know there are a lot of derivatives out there that specialize in one cross section of society or another. But which one is right for you? That is where gHacks comes in.</p>
<p>In this article we will examine the different Ubuntu Linux spin offs, highlight what each spin off is about, and decide who that spin off would suit. Hopefully, in the end, you will know exactly which *buntu ISO to download, burn with your CD or DVD burning, and install on your computer.</p>
<p><span id="more-11609"></span><strong>What is a derivative</strong> <strong>and why would I want to use one?</strong></p>
<p>A derivative takes the original (in this case Ubuntu Linux) and alters it to fit a particular need or audience. As for Ubuntu there are quite a few derivatives and each one targets a very specific need. That specific need is why you would want to use a derivative. Say, for example, you are a teacher and you have specific needs from your operating system. There is a derivative for you. Or say you want KDE instead of GNOME. There i a derivative for you.</p>
<p>With that in mind, let&#8217;s take a look at what derivatives are out there and who they are for. First we will look at the officially supported Ubuntu derivatives.</p>
<p><a title="Edubuntu" href="http://www.edubuntu.org" target="_blank"><strong>Edubuntu</strong></a></p>
<p>If you are in the business of education as either a teacher or a student, and you need software to fit those specific needs, Edubuntu contains everything you would need to teach a class, be in a class, or learn about a class. Edubuntu contains software for math, science, writing, educational games, and more. As for target age, Edubuntu is useful for elementary school through graduate school.</p>
<p><a title="Kubuntu" href="http://www.kubuntu.org/" target="_blank"><strong>Kubuntu</strong></a></p>
<p>The default Ubuntu &#8220;ships&#8221; with GNOME. Although GNOME is an outstanding desktop environment, there are those that will prefer the KDE desktop environment. For those fans of KDE who do not want to have to spend the time installing KDE, Kubuntu is for you. Kubuntu is now defaulting to KDE 4.x.</p>
<p><strong><a title="Ubuntu Server Edition" href="http://www.ubuntu.com/products/whatisubuntu/serveredition" target="_blank">Ubuntu Server Edition</a><br />
</strong></p>
<p>If you are looking for a reliable and fast server installation that contains nearly everything you need for a server by default, the Ubuntu Server Edition is for you. But be warned, this is a text-based install as well as a GUI-less operating system. So to use the Ubuntu Server Edition you best bone up on your command line skills.</p>
<p>And now for the Recognized derivatives.</p>
<p><a title="Xubuntu" href="http://www.xubuntu.org/" target="_blank"><strong>Xubuntu</strong></a></p>
<p>If you&#8217;re looking for a full-blown Ubuntu installation that has smaller hardware requirements than the stock GNOME or KDE based Ubuntu, Xubuntu might be for you. Xubuntu uses the Xfce window manager to keep system requirments as low as possible while still offering as much user-friendliness as possible.</p>
<p><a title="Gobuntu" href="http://www.ubuntu.com/products/whatisubuntu/gobuntu" target="_blank"><strong>Gobuntu</strong></a></p>
<p>If you long to have an operating system completely free of restrictive licensing then Gobuntu is for you. Gobuntu endeavors to hold true to the Free Software Foundations&#8217; four freedoms:</p>
<ul>
<li>The freedom to run the program for any purpose.</li>
<li>The freedom to study how the program and adapt it to fit it to your needs.</li>
<li>The freedom to redistribute your modified program.</li>
<li>The freedom to improve the program.</li>
</ul>
<p>So using Gobuntu you can rest assured that the included software will ahere to the four freedoms. This can cause problems if you have hardare that depends upon restricted drivers (such as NVidia cards).</p>
<p><a title="Ubuntu Studio" href="http://ubuntustudio.org/" target="_blank"><strong>Ubuntu Studio</strong></a></p>
<p>If you have serious multimedia needs Ubuntu Studio is for you. This derivative includes: <a title="Ardour" href="http://ardour.org/" target="_blank">Ardour</a> (professional-level audio tools); <a title="Gimp" href="http://www.gimp.org" target="_blank">Gimp</a>, <a title="Inkscape" href="http://inkscape.org/" target="_blank">Inkscape</a>, and <a title="Blender" href="http://www.blender.org/" target="_blank">Blender</a> (Graphics tools), <a title="PiTiVi" href="http://www.pitivi.org/wiki/Main_Page" target="_blank">PiTiVi</a>, <a title="Kino" href="http://www.kinodv.org/" target="_blank">Kino</a>, and <a title="Cinepaint" href="http://www.cinepaint.org/" target="_blank">Cinepaint</a> (Video tools). What Ubuntu Studio does is install all of these tool for you so the end results is an outstanding distrubtion ready to fulfill your multimedia needs.</p>
<p><a title="MythBuntu" href="http://www.mythbuntu.org/" target="_blank"><strong>MythBuntu</strong></a></p>
<p>If you need a media center PC and you want it based on an open source operating system, Mythbuntu is the OS you&#8217;ve been looking for. Once you have met all of the hardware requirements for your media setup, this Ubuntu distribution makes creating a stand-alone PVR system a snap. And because your media center will be powered by Ubuntu, you can bet that media center will serve as a standard desktop or a server. With MythBuntu you can meet many needs with one distribution.</p>
<p>And some unofficial derivatives</p>
<p><a title="Eeebuntu" href="http://www.eeebuntu.org" target="_blank"><strong>Eeebuntu</strong></a></p>
<p>Eeebuntu replaces the default operating system on your Eee PC. But Eeebuntu isn&#8217;t just a replacement for your Eee operating system, it is definitely an upgrade. Eeebuntu will make your Eee PC seem more like a standard PC than many other Netbook respins.</p>
<p><a title="CrunchBang" href="http://crunchbanglinux.org/" target="_blank"><strong>CrunchBang</strong></a></p>
<p>I hadn&#8217;t heard of Crunchbang, but with a name like that I had to look. Of course CrunchBang is a relevant derivative because it uses the OpenBox window manager and GTK+ applications. That means an incredibly light weight distribution (even more so than Xbuntu.)</p>
<p><strong><a title="OpenGEU" href="http://opengeu.intilinux.com/Home.html" target="_blank">OpenGEU</a></strong></p>
<p>This is my favorite Ubuntu derivative because it uses the Enlightenment (E17) window manager. It&#8217;s sleek, well done, and chock full of eye candy.</p>
<p><strong>Final Thoughts</strong></p>
<p>Have you found a derivative that would match your needs yet? The above list includes all of the officially supported and the recognized (as well as some unrecognized) derivatives. If one of these derivatives does? not meet your needs you could either roll your own or look at a different distribution. Fortunately Ubuntu and its derivatives cover a lot of ground.</p>

	Tags: <a href="http://www.ghacks.net/tag/edubuntu/" title="edubuntu" rel="tag">edubuntu</a>, <a href="http://www.ghacks.net/tag/eeebuntu/" title="eeebuntu" rel="tag">eeebuntu</a>, <a href="http://www.ghacks.net/tag/gobuntu/" title="gobuntu" rel="tag">gobuntu</a>, <a href="http://www.ghacks.net/tag/kubuntu/" title="kubuntu" rel="tag">kubuntu</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://www.ghacks.net/tag/ubuntu-derivatives/" title="ubuntu derivatives" rel="tag">ubuntu derivatives</a>, <a href="http://www.ghacks.net/tag/ubuntu-server/" title="ubuntu server" rel="tag">ubuntu server</a>, <a href="http://www.ghacks.net/tag/ubuntu-studio/" title="ubuntu studio" rel="tag">ubuntu studio</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/04/24/ubuntu-8-is-out/" title="Ubuntu 8 is out (April 24, 2008)">Ubuntu 8 is out</a> (7)</li>
	<li><a href="http://www.ghacks.net/2007/10/18/ubuntu-710-has-been-released/" title="Ubuntu 7.10 has been released (October 18, 2007)">Ubuntu 7.10 has been released</a> (1)</li>
	<li><a href="http://www.ghacks.net/2006/12/14/my-first-day-with-ubuntu/" title="My first day with Ubuntu (December 14, 2006)">My first day with Ubuntu</a> (22)</li>
	<li><a href="http://www.ghacks.net/2009/03/29/let-eeebuntu-free-your-eee-pc-2/" title="Let Eeebuntu Free your Eee PC (March 29, 2009)">Let Eeebuntu Free your Eee PC</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/04/06/keep-logged-in-users-informed-with-motd/" title="Keep logged in users informed with motd (April 6, 2009)">Keep logged in users informed with motd</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/02/which-ubuntu-derivative-is-right-for-you/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
