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

Started on the old forum in October 2015 · view the original in the archive · old links redirect here

No replies · 201 views · started 11 years ago · 1 min read

zong11 Developer · 98 posts #1

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.

Always Help Needy Peoples !!!!!

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close