How do I configure the static IP Address of a linux server?
Ifconfig eth0 192.168.1.13 netmask 255.255.255.0 up
Route add Default gw 192.168.1.254
Echo “nameserver 22.214.171.124”> /etc/resolv.conf
Sudo ifconfig eth0 192.168.1.13 netmask 255.255.255.0
Sudo route add Default gw 192.168.1.254 eth0
Are there other methods?
I just want to cover all the possibilities so I won't get stuck if any of the methods do not work.
I also know that only the root can change the IP Address.