<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: hostname in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775486#M78816</link>
    <description>I found this entry on a different mailing list:&lt;BR /&gt;&lt;BR /&gt;+++++++++++++++++++++++++++++++++++++++++++++&lt;BR /&gt;&lt;BR /&gt;&amp;gt; If the point is to keep the machine running (ideal), then two files should &lt;BR /&gt;&amp;gt; be modified. /etc/HOSTNAME again can be easily modified using the command &lt;BR /&gt;&amp;gt; "hostname host.domain.tld".&lt;BR /&gt;&lt;BR /&gt;I recently did this, and also had to change:&lt;BR /&gt;/proc/sys/kernel/hostname, via sysctl. I also restarted daemons, just&lt;BR /&gt;in case (postfix, apache, etc). But still had the problem with X as&lt;BR /&gt;the OP.&lt;BR /&gt;&lt;BR /&gt;-- &lt;BR /&gt;Hal Burgiss&lt;BR /&gt;&lt;BR /&gt;+++++++++++++++++++++++++++++++++++++++++++++&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
    <pubDate>Tue, 30 Jul 2002 11:42:44 GMT</pubDate>
    <dc:creator>Daimian Woznick</dc:creator>
    <dc:date>2002-07-30T11:42:44Z</dc:date>
    <item>
      <title>hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775485#M78815</link>
      <description>Hi,&lt;BR /&gt;i know it's a stupid thing, but i'm not able to change the hostname on my Redhat 7.2. It's localhost now. I tried with hostname command, it changes it but after reboot restore's the old one. I had also modified the /etc/hosts and also /etc/hostname. It seems so difficult to change the hostname.</description>
      <pubDate>Tue, 30 Jul 2002 11:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775485#M78815</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-30T11:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775486#M78816</link>
      <description>I found this entry on a different mailing list:&lt;BR /&gt;&lt;BR /&gt;+++++++++++++++++++++++++++++++++++++++++++++&lt;BR /&gt;&lt;BR /&gt;&amp;gt; If the point is to keep the machine running (ideal), then two files should &lt;BR /&gt;&amp;gt; be modified. /etc/HOSTNAME again can be easily modified using the command &lt;BR /&gt;&amp;gt; "hostname host.domain.tld".&lt;BR /&gt;&lt;BR /&gt;I recently did this, and also had to change:&lt;BR /&gt;/proc/sys/kernel/hostname, via sysctl. I also restarted daemons, just&lt;BR /&gt;in case (postfix, apache, etc). But still had the problem with X as&lt;BR /&gt;the OP.&lt;BR /&gt;&lt;BR /&gt;-- &lt;BR /&gt;Hal Burgiss&lt;BR /&gt;&lt;BR /&gt;+++++++++++++++++++++++++++++++++++++++++++++&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Tue, 30 Jul 2002 11:42:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775486#M78816</guid>
      <dc:creator>Daimian Woznick</dc:creator>
      <dc:date>2002-07-30T11:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775487#M78817</link>
      <description>I appreciate your help Daimian but unfortunately it doesn't work! I also rebooted the ws, but without result.&lt;BR /&gt;On other unix systems (hpux,solaris..) it's so simple to change a hostname. On redhat there's something strange. The /etc/HOSTNAME does not exist, i don't know where redhat stores the hostname. I've seen the hostname man and it says to change that file, but it seems that at boot it isn't read!</description>
      <pubDate>Tue, 30 Jul 2002 12:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775487#M78817</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-30T12:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775488#M78818</link>
      <description>Tarek, just go to /etc/sysconfig and vi network, there should be an entry for HOSTNAME=blabla, change that to whatever you want. You don't have to reboot, type "hostname &lt;NAMEOF your="" host=""&gt;" or just reboot. This should work.&lt;/NAMEOF&gt;</description>
      <pubDate>Tue, 30 Jul 2002 14:16:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775488#M78818</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2002-07-30T14:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775489#M78819</link>
      <description>The hostname is set in /etc/sysconfig/network by anaconda.  You can manually change it there, if you like.</description>
      <pubDate>Tue, 30 Jul 2002 14:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775489#M78819</guid>
      <dc:creator>Craig Kelley</dc:creator>
      <dc:date>2002-07-30T14:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775490#M78820</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;You must modify the following config file :&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network&lt;BR /&gt;&lt;BR /&gt;NETWORKING=yes&lt;BR /&gt;HOSTNAME=yourhostname&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then do a restart of your network&lt;BR /&gt;&lt;BR /&gt;service network restart or do a reboot&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Steven</description>
      <pubDate>Tue, 30 Jul 2002 14:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hostname/m-p/2775490#M78820</guid>
      <dc:creator>Steven Mertens</dc:creator>
      <dc:date>2002-07-30T14:19:13Z</dc:date>
    </item>
  </channel>
</rss>

