How to change Hostname in the server

To change the hostname in the server, just ssh to the server as root and type

 

system-config-network

 

There is a dns setting menu. Select that one. You can change the hostname at that menu.

You may want to consider rebooting your server after that. More info can be found at http://www.how2centos.com/centos-change-the-hostname/

 

To SSH to the server from windows computer, you need program like putty that can be downloaded from http://www.putty.org/

 

這篇文章有幫助嗎?

 列印本文

Also Read

How to manage fail2ban

From...

How to change your Asterisk System to a different one

As of 2/25/2011,  this feature is not available anymore.  Please send us a ticket to...

How to fix out of space issues

If your web page not loading or your asterisk down, you may want to ssh as root to check what's...

Dahdi Detected time shift in /var/log/message

If you find a lot of message " dahdi detected time shift" in /var/log/message, please...

How to troubleshoot emails not sending out

First thing to check when no emails are being sent or you're not getting any emails from your...