|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I would like to change the hostname on a Linux server (RHEL4). I try different methods in vain : - by using hostname command - by changing /etc/hosts and /etc/hostname But after restarting server, the old hostname re-appears... ![]() And the file ./proc/sys/kernel/hostname contains again the old value (however modified after hostname command) Any idea ? |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Correction : OS version is RHEL 2.1
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
check under /etc/sysconfig
[root@myBOX etc]# cd /etc/sysconfig/ [root@myBOX sysconfig]# grep myBOX * network:HOSTNAME=myBOX.domain.com |
|
#4
|
||||
|
||||
|
Here is a quote from the net :
Quote:
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change IP and hostname in red hat ES 5 | chuikingman | Red Hat | 2 | 07-20-2011 09:28 AM |
| Change HostName | nalina | UNIX for Dummies Questions & Answers | 9 | 03-25-2008 06:41 AM |
| Solaris - unknown hostname - how can I change hostname? | XNOR | UNIX for Dummies Questions & Answers | 1 | 03-29-2007 10:52 PM |
| change hostname | fishman2001 | UNIX for Dummies Questions & Answers | 2 | 01-12-2006 08:39 AM |
| change hostname | fishman2001 | UNIX for Dummies Questions & Answers | 9 | 10-21-2002 09:07 AM |
|
|