How do I set up an IP address on a Linux VM running in VM Player so I can access it from my Windows 7 host?

Posted by BradyKelly on Server Fault See other posts from Server Fault or by BradyKelly
Published on 2012-08-29T09:29:59Z Indexed on 2012/08/29 9:40 UTC
Read the original article Hit count: 463

I have just installed an Openbravo appliance on my Windows 7 VM Player host. I am now staring at a command prompt that tells me to go to http://localhost to access the ERP system, but I cannot find any browser on the appliance. I am guessing I should rather follow their advice to configure an IP address for the Linux VM and just access that from a Windows browser on my host. How do I go about this? More specifically,

  1. How do I choose a local IP address to assign?
  2. How do I set things up so that this IP address is visible to my Windows host?

Their help says to assign an DNS, to make the server visible to the internet, but internet visibility per se is not needed. How should I interpret or adapt this help for that?

Finally to make the IP address available to the Internet, assign some DNS servers to it: $ echo "nameserver IP_DNS1" >> /etc/resolv.conf $ echo "nameserver IP_DNS2" >> /etc/resolv.conf

© Server Fault or respective owner

Related posts about linux

Related posts about virtual-machines