Hi,
I to edit the DNS settings.
DNS ip 192.168.100.29 and 100.35.
Checked alot and found this:
"modify_resolvconf"
"vimsh -n -e "/hostsvc/net/dns_set --dns- 192.168.100.29,192.168.100.35 --dns-searchdomain=mydomain.com"" (i dont need the mydomain part do I?
"cat > /etc/resolv.conf << EOF1"
I either get access/permission denied or command not found.
I have a deadline that is tight so Im praying some friendly soul can help me out
one more thing, this is the first time i use linux so explane like i am a child
Cheers mates,
Robin
You can also change the DNS settings through the VI client - go to the configuration Tab for the ESX host you want to change look for DNS and Routing under software on the left hand side and after highlighting DNS aand Routing clieck on properties on the upper right hand side and you should be able to change your DNS settings - it will require a reboot as I recall for the changes to take effect -
Robin,
I've seen the command not found messages as root when the "su" command was used instead of "su -"
Good Luck!
You can also change the DNS settings through the VI client - go to the configuration Tab for the ESX host you want to change look for DNS and Routing under software on the left hand side and after highlighting DNS aand Routing clieck on properties on the upper right hand side and you should be able to change your DNS settings - it will require a reboot as I recall for the changes to take effect -
you need to alow access for the root user to ssh. edit the sshd.conf the section
vi /etc/ssh/sshd_config" section where it says PermitRootLogin needs to be yes
save file then do "service sshd restart"
root login will now be allowed