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

<channel>
	<title>Linux İpuçları &#187; hostname</title>
	<atom:link href="http://www.linuxipuclari.com/tag/hostname/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxipuclari.com</link>
	<description>Linux Hakkında Pratik İpuçları</description>
	<lastBuildDate>Sat, 24 Apr 2010 21:14:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Makinanızın hostname&#8217;ini Güncelleyin</title>
		<link>http://www.linuxipuclari.com/genel/makinanizin-hostnameini-guncelleyin</link>
		<comments>http://www.linuxipuclari.com/genel/makinanizin-hostnameini-guncelleyin#comments</comments>
		<pubDate>Thu, 08 Jan 2009 20:13:10 +0000</pubDate>
		<dc:creator>Murat Zaralı</dc:creator>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[hostname]]></category>

		<guid isPermaLink="false">http://www.linuxipuclari.com/genel/makinanizin-hostnameini-guncelleyin</guid>
		<description><![CDATA[Makinanızın hostname&#8217;inin ne olduğunu öğrenmekle işe başlayalım. uname -n hostname -s hostname -d hostname -f hostname If it returns localhost.localdomain then it&#8217;s wrong. If not then your linux box is ok. (Very big hint for me was that before, the command prompt was [root@localhost ~]#) For a static IP Address, /etc/hosts is configured as follows: [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Makinanızın hostname&#8217;inin ne olduğunu öğrenmekle işe başlayalım.</p>
<p><span id="more-24"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">uname</span> <span style="color: #660033;">-n</span>
<span style="color: #c20cb9; font-weight: bold;">hostname</span> <span style="color: #660033;">-s</span>
<span style="color: #c20cb9; font-weight: bold;">hostname</span> <span style="color: #660033;">-d</span>
<span style="color: #c20cb9; font-weight: bold;">hostname</span> <span style="color: #660033;">-f</span>
<span style="color: #c20cb9; font-weight: bold;">hostname</span></pre></div></div>

<p>If it returns localhost.localdomain then it&#8217;s wrong. If not then your linux box is ok. (Very big hint for me was that before, the command prompt was [root@localhost ~]#)</p>
<p>For a static IP Address, <strong>/etc/hosts</strong> is configured as follows:<br />
127.0.0.1 localhost.localdomain localhost<br />
192.168.0.xxx mybox.mydomain.com mybox</p>
<p>Change 192.168.0.xxx to your static IP Address.</p>
<p>Set hostname:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">hostname</span> mybox.mydomain.com</pre></div></div>

<p>Check <strong>/etc/sysconfig/network</strong> file. Must have be like this:<br />
NETWORKING=yes<br />
HOSTNAME=&#8221;mybox.mydomain.com&#8221;
<p><strong style="color:#999;">Bu yazıyı beğendiyseniz, diğer yazılarımıza da <a href="http://www.linuxipuclari.com">Linuxipuclari.com</a> adresinden ulaşabilirsiniz.</strong></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxipuclari.com/genel/makinanizin-hostnameini-guncelleyin/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
