If you want to change the hostname of your Linux box after installation, its really easy to do so.
Step 1: Edit file /etc/sysconfig/network (i.e: vi/etc/sysconfig/network)
Step 2: Add or change HOSTNAME=your-desired-name-here
Step 3: Save your change (i.e: type :wq in vi)
Step 4: Restart the network daemon. (i.e: service xinetd restart). You can alternatively just type reboot on the command line to restart your box.
Maybe there is a different way to do this also, but this is fairly quick and easy!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment