You are here Home > Know-how > Linux > Networking

Linux Reference

10 Networking


20.02.2008
9 Development [  up  ] - [ top ] - [ linux a-z ] 10.1 Change / set IP address

10.1   Change / set IP address
10.2   iptables


Change / Set a Hostname

$ hostname {HOSTNAME}
vi /etc/hosts
# comment
{INTERNAL_IP_ADDR} {HOSTNAME(S)} # another comment
< empty line(s) >

vi /etc/sysconfig/network
# comment
HOSTNAME={HOSTNAME}

vi /etc/resolv.conf
# comment
search {DOMAIN}



copyright by retoh - created with mytexi