Change Hostname on Centos 6.x

Saya lanjutkan mengenai hostname. Menurut wikipedia hostname adalah

is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication, such as the World Wide Web. Hostnames may be simple names consisting of a single word or phrase, or they may be structured.

langsung aj ya..ikuti perintah di bawah ini

vi /etc/sysconfig/network

vi /etc/hosts phenom1711 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
init 1
Setelah selesai kemudian lakukan restart. Selamat mencoba 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s