How to change IP address and hostanem of a proxy server

So what all (and where) needs to change, so that our proxy (Squid) server gets a new IP address, and a new name?

Changing hostname
Files that need changing :
# hostname
# hostname
# service network restart
# reboot
After reboot check with : #hostname

Changing of IP address
In all of the below mentioned files, IP needs to be changed :
Restart the server.

Check once again :
# grep -H -r “old.IP.address” /etc/

This entry was posted in Linux and tagged , , , . Bookmark the permalink.

Comments are closed.