| Author |
Message |
elone
Joined: 29 Dec 2001 Posts: 111
|
18 Jul 2002 15:23 Change hostname ? |
|
|
|
| How to modify my hostname in RH7.3 ?
|
|
| Back to top |
|
 |
tom324
Joined: 26 Jun 2001 Posts: 297
|
18 Jul 2002 15:45 |
|
|
|
| man hostname
|
|
| Back to top |
|
 |
Nobody
Joined: 04 Oct 2001 Posts: 250 Location: Formosa
|
18 Jul 2002 17:21 |
|
|
|
edit /etc/hosts
add or modified this line
xxx.xxx.xxx.xxx(ip) xxx.domain xxxx
|
|
| Back to top |
|
 |
AMX
Joined: 05 Nov 2001 Posts: 18
|
29 Jul 2002 5:42 |
|
|
|
After I modified the hostname in /etc/hosts or the Control Centre GUI, the SENDMAIL reported a failure said that 'hostname not find' when rebooting, I had to modify the hostname back to 'localhost'.
How can I do, then?
Thx a heap.
|
|
| Back to top |
|
 |
Nobody
Joined: 04 Oct 2001 Posts: 250 Location: Formosa
|
29 Jul 2002 11:34 |
|
|
|
Leave localhost un-changed .
Add the hostname show in ur license file in /ect/hosts .
U can use 'hostname' in command line to modify system hostname .
I have no idea if it is related to license's 'hostname' .
|
|
| Back to top |
|
 |
liux100
Joined: 31 Jul 2002 Posts: 44 Helped: 1
|
01 Aug 2002 9:42 the easiest way |
|
|
|
| to modify hostname by using the linuxconf...very easy
|
|
| Back to top |
|
 |