<?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>Kurinchi Blogger Scribbles ... &#187; ubuntu server configuration steps</title>
	<atom:link href="http://kurinchilamp.kurinchilion.com/tag/ubuntu-server-configuration-steps/feed" rel="self" type="application/rss+xml" />
	<link>http://kurinchilamp.kurinchilion.com</link>
	<description>On Open Source Technologies</description>
	<lastBuildDate>Mon, 02 Jan 2012 06:14:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Ubuntu: How to check if network configuration files work as expected?</title>
		<link>http://kurinchilamp.kurinchilion.com/2009/07/ubuntu-configuration-steps.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2009/07/ubuntu-configuration-steps.html#comments</comments>
		<pubDate>Wed, 29 Jul 2009 08:45:37 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[Tips, Tricks, Guides]]></category>
		<category><![CDATA[pre installation steps]]></category>
		<category><![CDATA[ubuntu server configuration steps]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=547</guid>
		<description><![CDATA[After base Ubuntu installation, you have to configure the network interface file to get the network settings via DHCP/static IP address (if you haven&#8217;t configured during the initial installation). For this you need to edit /etc/network/interfaces file $ vi /etc/network/interfaces Now give the appropriate settings for interface card # This file describes the network interfaces [...]]]></description>
			<content:encoded><![CDATA[<p>After base Ubuntu installation, you have to configure the network interface file to get the network settings via DHCP/static IP address (if you haven&#8217;t configured during the initial installation). For this you need to edit  /etc/network/interfaces file</p>
<p><strong>$ vi /etc/network/interfaces</strong><br />
<span id="more-547"></span><br />
Now give the appropriate settings for interface card</p>
<p># This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).<br />
# The loopback network interface<br />
auto lo<br />
iface lo inet loopback<br />
# The primary network interface<br />
auto eth0<br />
iface eth0 inet static<br />
address 192.168.1.50<br />
netmask 255.255.255.0<br />
network 192.168.1.0<br />
broadcast 192.168.1.255<br />
gateway 192.168.1.1</p>
<p><strong>$ /etc/init.d/networking restart</strong></p>
<p>Now edit the hosts file<br />
<strong>$ vi /etc/hosts</strong></p>
<p>127.0.0.1       localhost<br />
192.168.1.50   kurinchilamp.kurinchilion.com kurinchilamp</p>
<p># The following lines are desirable for IPv6 capable hosts<br />
::1     ip6-localhost ip6-loopback<br />
fe00::0 ip6-localnet<br />
ff00::0 ip6-mcastprefix<br />
ff02::1 ip6-allnodes<br />
ff02::2 ip6-allrouters<br />
ff02::3 ip6-allhosts</p>
<p><strong>$ echo kurinchilamp > /etc/hostname<br />
$ /etc/init.d/hostname.sh start</strong></p>
<p>Ensure to do an update before carrying on other activities<br />
<strong>$ apt-get update<br />
$ apt-get upgrade</strong></p>
<p>At this stage, if you need you can upgrade vi editor</p>
<p><strong>$ apt-get install vim-full</strong></p>
<p>Check the sources.list file<br />
<strong>$ cat /etc/apt/sources.list </strong></p>
<p>This is the file where the source files will be specified for package downloads when you issue the command apt-get</p>
<p>Run the following commands to ensure that the network produces identical result sets.<br />
<strong>hostname<br />
hostname -f</strong></p>
<p>After the network configuration ensure that you are able to connect to the local network. </p>
<p>If have installed openSSH, you should be able to SSH from a remote location</p>
<p><strong>$ ssh &lt;yourlocalserver&gt; </strong><em>should work</em></p>
<p><strong>$ ping -c 4 localhost</strong></p>
<p><strong>$ ping -c 4 192.168.1.1</strong> (gateway)</p>
<p>Then try pinging an external client to ensure that you are able to communicate with external world</p>
<p><strong>$ ping -c 4 yahoo.com </strong>(external IP)</p>
<p><em>References:</em></p>
<ul>
<li>http://www.howtoforge.com/perfect-server-ubuntu8.04-lts</li>
<li>http://www.ubuntugeek.com/ubuntu-804-hardy-heron-lamp-server-setup.html</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2009/07/ubuntu-configuration-steps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

