CentOS - IP Setting - Static IP- Command Line

Commands required to set a static IP in CentOS  are. In Terminal , turn into root user and type asvi /etc/sysconfig/network-scripts/ifcfg-eth0 There Place the content asThere as you can see the parameter. Set similar in your PC.Then save & close it with <Shift> + <:> +<w>...