Wanted to Edit configuration files stored in /etc/sysconfig/network-scripts/

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wanted to Edit configuration files stored in /etc/sysconfig/network-scripts/

    I want to just change ip address because i have deployed new instance on my vps.

    So for that i have go through view console and entered command # cd /etc/sysconfig/network-scripts/

    then # vi ifcfg-eth0 to edit ip address but then for restart the server and to take effect changes i unable to enter # /etc/init.d/network restart this command.

    I am unable to come back to root.... please tell me what to do next after entering ip dns and all details...

    I unable to restart server ... attached screenshot with same


    what should i enter below the screenshot shown line so that updated ip dns and all info will take effect.
Working...
X