How to Change Main IP via SSH URGENT CRITICAL

}{iJacK

Member
Aug 21, 2003
15
0
151
Hello Every one.
i transfer my server into new ip adresses

now i have to change my ip adresses to new one.

How can i change via SSH
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
You can change the IP address of your server (CentOS/Red Hat) by editing the below mentioned file:

vi /etc/sysconfig/network-scripts/ifcfg-etc0