<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Hostname on Details...</title>
    <link>https://www.deepreflect.net/tags/hostname/</link>
    <description>Recent content in Hostname on Details...</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>Copyright © 2003 - 2026 Leonardo Rizzi</copyright>
    <lastBuildDate>Tue, 30 Jun 2026 03:28:29 +0200</lastBuildDate>
    <atom:link href="https://www.deepreflect.net/tags/hostname/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Linux RHEL - Change hostname</title>
      <link>https://www.deepreflect.net/2012/02/26/linux-rhel-change-hostname/</link>
      <pubDate>Sun, 26 Feb 2012 07:26:11 +0000</pubDate>
       <guid isPermaLink="false">http://blog.deepreflect.net/?p=1156</guid> 
      <description>&lt;p&gt;3 step for change hostname to RHEL Linux:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;edit: /etc/hosts&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;127.0.0.1 srv03.mil1.wide-net.org localhost.localdomain localhost
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;
&lt;p&gt;edit: &lt;code&gt;/etc/sysconfig/network&lt;/code&gt;
&lt;code&gt;HOSTNAME=srv03.mil11.wide-net.org&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;past into kernel new hostname
&lt;code&gt;echo &amp;quot;srv03.mil1.wide-net.org&amp;quot; &amp;gt; /proc/sys/kernel/hostname&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Or&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sysctl kernel.hostname=srv03.mil1.wide-net.org&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Consider a restart net services &lt;code&gt;/etc/init.d/network restart&lt;/code&gt; but is not strictly required.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>3 step for change hostname to RHEL Linux:</p>
<ol>
<li>edit: /etc/hosts</li>
</ol>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>127.0.0.1 srv03.mil1.wide-net.org localhost.localdomain localhost
</span></span></code></pre></div><ol start="2">
<li>
<p>edit: <code>/etc/sysconfig/network</code>
<code>HOSTNAME=srv03.mil11.wide-net.org</code></p>
</li>
<li>
<p>past into kernel new hostname
<code>echo &quot;srv03.mil1.wide-net.org&quot; &gt; /proc/sys/kernel/hostname</code></p>
</li>
</ol>
<p>Or</p>
<p><code>sysctl kernel.hostname=srv03.mil1.wide-net.org</code></p>
<p>Consider a restart net services <code>/etc/init.d/network restart</code> but is not strictly required.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
