<?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>www.mrvinux.com &#187; Linux</title>
	<atom:link href="http://www.mrvinux.com/category/tutorials/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mrvinux.com</link>
	<description>product reviews,hosting reviews,tech news,software</description>
	<lastBuildDate>Wed, 26 May 2010 19:53:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to change the hostname in Ubuntu</title>
		<link>http://www.mrvinux.com/how-to-change-the-hostname-in-ubuntu/</link>
		<comments>http://www.mrvinux.com/how-to-change-the-hostname-in-ubuntu/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 19:22:34 +0000</pubDate>
		<dc:creator>Vince</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.mrvinux.com/?p=248</guid>
		<description><![CDATA[We are going to use nano to edit the file. as always sudo if you&#8217;re not root Lets update; apt-get update apt-get upgrade Now install nano apt-get install nano how to use nano? CTRL+o: this will save the file CTRL+x: this will exit the file CTRL+w: this will allow you to enter a phrase to [...]]]></description>
			<content:encoded><![CDATA[<p>We are going to use nano to edit the file.<br />
as always sudo if you&#8217;re not root</p>
<p>Lets update;</p>
<blockquote><p>apt-get update</p></blockquote>
<blockquote><p>apt-get upgrade</p></blockquote>
<p>Now install nano</p>
<blockquote><p>apt-get install nano</p></blockquote>
<p>how to use nano?<br />
CTRL+o: this will save the file<br />
CTRL+x: this will exit the file<br />
CTRL+w: this will allow you to enter a phrase to search the file<br />
CTRL+k: this will allow you to cut 1 or more lines of text<br />
CTRL+u: this will allow you to uncut lines of text that were cut using CTRL k (similar to pasting text)<br />
CTRL+v: this will advance the file to the next page<br />
CTRL+y: this will move the file to the previous page<br />
CTRL+t: this will run spellcheck on the file</p>
<p>Now change hostname in Ubuntu or any Debian variant Linux, modify the /etc/hostname and /etc/hosts.</p>
<blockquote><p>sudo nano /etc/hostname</p></blockquote>
<p>Change the old hostname to a new hostname.</p>
<blockquote><p>sudo nano /etc/hosts</p></blockquote>
<p>Change the oldhostname to a new hostname,</p>
<p>000.00.0.00             newhostname</p>
<p>After changing the /etc/hostname and /etc/hosts, you need to restart the hostname service duh..</p>
<blockquote><p>sudo /etc/init.d/hostname.sh stop</p></blockquote>
<blockquote><p>sudo /etc/init.d/hostname.sh start</p></blockquote>
<p>Is it working? why not find out;log out,login, SSH and type</p>
<blockquote><p>hostname</p></blockquote>
<p>Best of luck!<br />
www.mrvinux.com</p>
<p><a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.mrvinux.com%2Fhow-to-change-the-hostname-in-ubuntu%2F&amp;linkname=How%20to%20change%20the%20hostname%20in%20Ubuntu" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.mrvinux.com/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.mrvinux.com%2Fhow-to-change-the-hostname-in-ubuntu%2F&amp;linkname=How%20to%20change%20the%20hostname%20in%20Ubuntu" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.mrvinux.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.mrvinux.com%2Fhow-to-change-the-hostname-in-ubuntu%2F&amp;linkname=How%20to%20change%20the%20hostname%20in%20Ubuntu" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.mrvinux.com/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.mrvinux.com%2Fhow-to-change-the-hostname-in-ubuntu%2F&amp;linkname=How%20to%20change%20the%20hostname%20in%20Ubuntu" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.mrvinux.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.mrvinux.com%2Fhow-to-change-the-hostname-in-ubuntu%2F&amp;linkname=How%20to%20change%20the%20hostname%20in%20Ubuntu" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.mrvinux.com/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.mrvinux.com%2Fhow-to-change-the-hostname-in-ubuntu%2F&amp;linkname=How%20to%20change%20the%20hostname%20in%20Ubuntu">Like this post? Share it!</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.mrvinux.com/how-to-change-the-hostname-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
