Recent Changes - Search:

Softwares

.

Red-Hat-Enterprise-Linux-How-do-I-change-my-hostname

Main.Red-Hat-Enterprise-Linux-How-do-I-change-my-hostname History

Hide minor edits - Show changes to output

August 20, 2012, at 03:52 PM by 101.63.156.224 -
Changed lines 7-8 from:
!!IMP *** procedure also works for a standalone system without a DNS subsystem.
to:
!!Tools that we can use to change the hostname.

This procedure also works for a standalone system without a DNS
subsystem.

!! setup - A text mode system configuration tool
August 20, 2012, at 03:50 PM by 101.63.156.224 -
Changed lines 35-50 from:
to:
!!Example:

[@

[root@localhost ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6


[root@localhost ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
NTPSERVERARGS=iburst
[root@localhost ~]#

@]
August 20, 2012, at 03:48 PM by 101.63.156.224 -
Added lines 14-15:
!!/etc/sysconfig/network
Changed lines 18-22 from:
or

2
. IP hostnames or machine names can be changed dynamically with the command hostname and persistently by setting the HOSTNAME environment variable in /etc/sysconfig/network.

or
to:
!!Steps.
August 20, 2012, at 03:46 PM by 101.63.156.224 -
Added lines 8-10:


!! redhat-config-network command
August 20, 2012, at 03:42 PM by 101.63.156.224 -
Changed lines 7-9 from:
!!IMP *** procedure also works for a standalone system without a DNS subsystem
to:
!!IMP *** procedure also works for a standalone system without a DNS subsystem.

You can also run the redhat-config-network command in the Red Hat Enterprise Linux 3 and run system-config-network command in the Red Hat Enterprise Linux 4 and 5 , click on the "DNS" tab, and change the "Hostname" field.
August 20, 2012, at 05:38 AM by 15.211.153.75 -
Changed lines 7-9 from:
IMP *** procedure also works for a standalone system without a DNS subsystem

1. IP hostnames or machine names can be changed dynamically with the command hostname and persistently by setting the HOSTNAME environment variable in /etc/sysconfig/network. or
to:
!!IMP *** procedure also works for a standalone system without a DNS subsystem

1. IP hostnames or machine names can be changed dynamically with the command hostname and persistently by setting the HOSTNAME environment variable in /etc/sysconfig/network.

or
August 20, 2012, at 05:38 AM by 15.211.153.75 -
Added lines 1-32:
(:Google1:)
(:Googletxt:)
----
!!Red Hat Enterprise Linux How do I change my hostname.
----

IMP *** procedure also works for a standalone system without a DNS subsystem

1. IP hostnames or machine names can be changed dynamically with the command hostname and persistently by setting the HOSTNAME environment variable in /etc/sysconfig/network. or
2. IP hostnames or machine names can be changed dynamically with the command hostname and persistently by setting the HOSTNAME environment variable in /etc/sysconfig/network.

or

(:table border=1 width=50% bgcolor=yellow cellspacing=0 :)
(:cellnr:)
[@
1. Change the ^HOSTNAME line in /etc/sysconfig/network

2. Change the hostname (FQDN and alias) in /etc/hosts

3. Run /bin/hostname new_hostname for the hostname change to take effect immediately.

4. Run /sbin/service syslog restart for syslog to log using the new hostname.

A reboot is not required to change the system hostname.
@]
(:tableend:)


----

(:Googlemm:)
Edit - History - Print - Recent Changes - Search
Page last modified on August 20, 2012, at 03:52 PM