• 0

VMware Player 5 & Debian 7 NGINX


Go to solution Solved by ichi,

Question

Class

Hello!

 

I would like ask, since I'm pretty unfamiliar with the VMware Player 5. I just injected a virtual machine (.vmdk), with Debian 7 & NGINX, PHP and fastCGI running on it. I want to test out some websites, etc on this virtual server. Currently I have it bridged to the host, and my question is how can I access pages served by this virtual web server on the host (Win7)?

 

I think the main problem is that I don't know VMware works. Is there any settings, config which I missed?

 

Thanks in advance.

 

PS: at the moment of screenshot ETH was turned of, due to I know know, NAT or bridges is the proper solution.

post-121358-0-75086100-1393338258.png

Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
ichi

Ah, so bridged is the answer. But sadly my network does not allow bridged VM-s, so this not possible. Sadly, while I messed around yesterday I somehow figured this out, coz with bridged I get dropped from my network. :(

 

BTW - I'm not using VMware Player that often to be honest, so yeah, installed it more then 1 years ago, then 5 was the newest version, and since the update function is blocked by my proxy service. But to be asking the right questions: Is 6 better then 5?

 

If you can't use bridged (or even NAT) and also you only need to access the VM from the host machine, then setting it as host-only will do. You'll be able to connect to the VM through the private network.

 

VMware Player 6 is obviously better... it has a "6" on the box  :D well it actually has better support for newer OS versions and hardware, and some extra features and performance improvements.

You might not notice any of that but it certainly isn't worse than 5 anyway, and being free it doesn't hurt to upgrade.

Link to post
Share on other sites
  • 0
+BudMan

If it was bridged to your host then your VM network interface should have an IP on your hosts network.. From what you show there is no IP address on the VMs eth0 - so no your not going to be able to access anything on that vm over a network.

 

BTW - something I never understand why would you be using player 5 - 6 has been out for quite some time.  Its not like it not free and you don't want to pay for the upgrade ;)

  • Like 1
Link to post
Share on other sites
  • 0
Class

If it was bridged to your host then your VM network interface should have an IP on your hosts network.. From what you show there is no IP address on the VMs eth0 - so no your not going to be able to access anything on that vm over a network.

 

BTW - something I never understand why would you be using player 5 - 6 has been out for quite some time.  Its not like it not free and you don't want to pay for the upgrade ;)

 

Ah, so bridged is the answer. But sadly my network does not allow bridged VM-s, so this not possible. Sadly, while I messed around yesterday I somehow figured this out, coz with bridged I get dropped from my network. :(

 

BTW - I'm not using VMware Player that often to be honest, so yeah, installed it more then 1 years ago, then 5 was the newest version, and since the update function is blocked by my proxy service. But to be asking the right questions: Is 6 better then 5?

Link to post
Share on other sites
  • 0
Class

If you can't use bridged (or even NAT) and also you only need to access the VM from the host machine, then setting it as host-only will do. You'll be able to connect to the VM through the private network.

 

VMware Player 6 is obviously better... it has a "6" on the box  :D well it actually has better support for newer OS versions and hardware, and some extra features and performance improvements.

You might not notice any of that but it certainly isn't worse than 5 anyway, and being free it doesn't hurt to upgrade.

 

Well, upgrade has to wait.

 

So, I started the host only connection, but, since obviously 192.168.xxx.yyy that was choosen by default wasn't really the right IP since there is actually a PC in my host network that runs with that. So now I tried to choose and IP address that is most likely not in my network and is fairly extreme: 1.1.1.1

 

Can I access this VM address in a browser, without interrupting my real networks connectivity?

post-121358-0-96936200-1393416494.png

Link to post
Share on other sites
  • 0
+BudMan

"Ah, so bridged is the answer. But sadly my network does not allow bridged VM-s"

 

And what network is that??  That makes Zero sense - its your machine right, how is it not your network?  Are you at a school or something?

 

Installed a Year ago and your just now trying to use a vm on it?

Link to post
Share on other sites
  • 0
ichi

Well, upgrade has to wait.

 

So, I started the host only connection, but, since obviously 192.168.xxx.yyy that was choosen by default wasn't really the right IP since there is actually a PC in my host network that runs with that. So now I tried to choose and IP address that is most likely not in my network and is fairly extreme: 1.1.1.1

 

Can I access this VM address in a browser, without interrupting my real networks connectivity?

 

192.168.x.x not being the right IP is not obvious at all, that depends on your network's mask. 

Your network is probably 192.168.0.x or 192.168.1.x with a 255.255.255.0 netmask, while the VM should have a 192.168.122.x IP (or similar).

 

Check you host's network configuration, you should have at least one virtual adapter there (likely vmnet0) with an assigned IP address. If you configure your VM's network adapter as NAT or host-only it should have an IP address in the same network as the host's vmnetx.

 

If VMware is assigning IPs in the range of your actual network to the virtual adapters then something's wrong with your VMware Player install.

Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Copernic
      VirtualBox 6.1.18
      by Razvan Serea



      VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software.

      Some of the features of VirtualBox are:

      Modularity. VirtualBox has an extremely modular design with well-defined internal programming interfaces and a client/server design. This makes it easy to control it from several interfaces at once: for example, you can start a virtual machine in a typical virtual machine GUI and then control that machine from the command line, or possibly remotely. VirtualBox also comes with a full Software Development Kit: even though it is Open Source Software, you don't have to hack the source to write a new interface for VirtualBox. Virtual machine descriptions in XML. The configuration settings of virtual machines are stored entirely in XML and are independent of the local machines. Virtual machine definitions can therefore easily be ported to other computers. VirtualBox 6.1.18 changelog:



      Nested VM: Fixed hangs when executing SMP nested-guests under certain conditions on Intel hosts (bug #19315, #19561) OCI integration: Cloud Instance parameters parsing is improved on import (bug #19156) Network: UDP checksum offloading in e1000 no longer produces zero checksums (bug #19930) Network: Fixed Host-Only Ethernet Adapter DHCP, guest os can not get IP on host resume (bug #19620) NAT: Fixed mss parameter handing (bug #15256) macOS host: Multiple optimizations for BigSur Audio: Fixed issues with audio playback after host goes to sleep (bug #18594) Documentation: Some content touch-up and table formatting fixes Linux host and guest: Support kernel version 5.10 (bug #20055) Solaris host: Fix regression breaking VGA text mode since version 6.1.0 Guest Additions: Fixed a build failure affecting CentOS 8.2-2004 and later (bug #20091) Guest Additions: Fixed a build failure affecting Linux kernels 3.2.0 through 3.2.50 (bug #20006) Guest Additions: Fixed a VM segfault on copy with shared clipboard with X11 (bug #19226) Shared Folder: Fixed error with remounting on Linux guests Download: VirtualBox 6.1.18 | 103.0 MB (Open Source)
      Download: VirtualBox 6.1.18 Extension Pack | 10.6 MB
      View: VirtualBox Home Page | VirtualBox Screenshot

      Get alerted to all of our Software updates on Twitter at @NeowinSoftware

    • By Usama Jawad96
      Microsoft declares war on Israeli surveillance company NSO Group
      by Usama Jawad

      Back in 2019, Israeli technology company NSO Group found itself embroiled in controversy when it was alleged that its Pegasus program was used to hack WhatsApp. The sophisticated attack technique allowed attackers to inject spyware into Android and iOS devices by simply calling them. The victim is not even required to attend the call in order for the attack to be successful.

      While WhatsApp plugged the vulnerability, it later took NSO Group to court for its malicious actions. The surveillance company has denied wrongdoing multiple times using the defense of immunity since it claims that Pegasus is used on behalf of governments. Following recent reports of Al Jazeera journalists being hacked using software developed by NSO Group, Microsoft and various other corporations have now joined the fight against the Israeli firm.

      Group of anonymous hackers in black costumes working with computers in office image via ShutterstockIn a sternly worded blog post, Corporate Vice President of Customer Security & Trust at Microsoft, Tom Burt has described NSO Group as the cyber mercenaries of the 21st century and stated that they should get no immunity. Together with Cisco, GitHub, Google, LinkedIn, VMWare, and the Internet Association, Microsoft has filed an amicus brief in WhatsApp's legal case against NSO Group. Simply stated, this means that the firms will be providing assistance to the court by offering technical expertise.

      Microsoft has highlighted that Pegasus infected WhatsApp on 1,400 devices last year, including those of journalists and prominent figures fighting against human rights violations. It emphasized that NSO Group's business model is very dangerous for a number of reasons. Primarily, there is no guarantee that the cyber-weapons won't fall into the wrong hands. Even if NSO Group sells Pegasus only to governments, it could be handed over to customers who lack proper defenses, resulting in highly dangerous software being stolen. Microsoft also stated that:

      Lastly, the Redmond tech giant emphasized that such tools developed by private security firms are a threat to human rights and privacy. It stated that NSO Group's clients are spread throughout the world, and they utilize cyber weapons to track journalists and other opposing groups. Microsoft indicated that even if NSO Group's own intention is not to violate human rights, its tools certainly allow its clients to do so.

      Moving forward, Microsoft has urged that private security firms such as NSO Group should be liable for any laws that are broken by using their tools, and they should not be granted immunity in any circumstances. The coalition hopes that the amicus brief will enable it to protect the rights and privacy of all its global customers.

    • By Copernic
      VMware Workstation Player 16.1.0
      by Razvan Serea



      VMware Player is the easiest way to run multiple operating systems at the same time on your computer.
      With its user-friendly interface, VMware Player makes it effortless for anyone to try out Windows 10, Chrome OS or the latest Linux releases, or to create virtual "sandboxes" to test pre-release software in. VMware Player can also be used to run a virtual copy of an old PC so that you can recycle the old machines you have under your desk or stored in the closet.

      Run multiple operating systems simultaneously on a single computer Experience the benefits of preconfigured products without any installation or configuration hassles Share data between host computer and virtual machine Run 32- and 64-bit virtual machines Use 3rd-party pre-configured virtual machines and images Share data between the host computer and virtual machine Broad host and guest operating system support Support for USB 2.0 devices Gain easy access to virtual machines via an intuitive home page interface What's new in VMware Workstation Player 16.1.0:

      New host/guest operating system support:

      Windows 10 20H2 Ubuntu 20.10 Fedora 33 RHEL 8.3 Updated vctl kind to support KIND v0.9.0 Resolved issues:

      The Exporting Cluster Logs functionality in kind does not work. The user cannot use kind to export cluster logs for exploring. This issue is resolved. Cannot start the virtual machine after upgrade to VMWare Workstation 16.0 on openSuSE 15.1 Leap Host. The virtual machine is not able to start. Every machine hangs at the "waiting for connection" phase. This issue is resolved. Virtual machine won't start when enhanced keyboard is set to "Required" in VMware Workstation 16.0. The virtual machine boot up on the Microsoft Windows host takes long time and it appears as if the virtual machine does not start when the enhanced keyboard is set to "Required". This issue is resolved. Download: VMware Workstation Player 16.1.0 | 215.0 MB (Free for personal use)
      View: VMware Player Website

      Get alerted to all of our Software updates on Twitter at @NeowinSoftware

    • By Copernic
      VMware Workstation Pro 16.1.0
      by Razvan Serea



      VMware Workstation provides a seamless way to access all of the virtual machines you need, regardless of where they are running. Remotely connect to virtual machines running on VMware vSphere, ESXi or another copy of VMware Workstation. Workstation’s web interface lets you access local and server hosted virtual machines from your PC, smart phone, tablet or any device with a modern browser. Run applications on multiple operating systems including Linux, Windows and more at the same time on the same PC without rebooting. Evaluate and test new operating systems, applications and patches in an isolated environment.

      Take Your Productivity to the Next Level

      Run applications on multiple operating systems including Linux, Windows and more at the same time on the same PC without rebooting. Evaluate and test new operating systems, applications and patches in an isolated environment. Demonstrate complex software applications on a single laptop in a repeatable, reliable manner. Consolidate multiple computers running web servers, database servers, etc. onto a single machine. Build reference architectures for evaluation before deploying into production. Simply drag and drop to move your virtual machines from your PC to vSphere, or the cloud. VMware Workstation Pro 16.1.0 support for new host/guest operating systems:

      Windows 10 20H2 Ubuntu 20.10 Fedora 33 RHEL 8.3 Updated vctl kind to support KIND v0.9.0 Includes docker-machine-driver-vmware Resolved Issues

      The Exporting Cluster Logs functionality in kind does not work. The user cannot use kind to export cluster logs for exploring. This issue is resolved.

      Cannot power on VM running on the old workstation or ESXi server by connecting to the server. While connecting to the old version of VMware Workstation or VMware ESXi servers to power on a remoting virtual machine, the following error displays: Unable to connect to the MKS: vim.fault.GenericVmConfigFault. This issue is resolved.

      Cannot start the virtual machine after upgrade to VMWare Workstation 16.0 on openSuSE 15.1 Leap Host. The virtual machine is not able to start. Every machine hangs at the "waiting for connection" phase. This issue is resolved.

      Virtual machine won't start when enhanced keyboard is set to "Required" in VMware Workstation 16.0 . The virtual machine boot up on the Microsoft Windows host takes long time and it appears as if the virtual machine does not start when the enhanced keyboard is set to "Required". This issue is resolved.

      Product Support Notices

      Deprecation of the Shared virtual machine feature - The Shared virtual machine feature (VMware Workstation as server) is being deprecated. It will remain in its present form for the remainder of the VMware Workstation 16 product life. This feature will be not available in a future release. Download: VMware Workstation Pro 16.1.0 | 622.0 MB (Shareware)
      View: VMware Website

      Get alerted to all of our Software updates on Twitter at @NeowinSoftware

    • By zikalify
      IBM, Red Hat and others want inclusive language in software
      by Paul Hill



      IBM, Red Hat and VMWare are among several companies that have come together to create the Inclusive Naming Initiative which aims to eliminate problematic language from projects and replace them with an agreed set of neutral terms. To do this, the initiative will define processes and tools to remove harmful language from projects.

      Some of the processes and tools which the Inclusive Naming Initiative will be creating include a comprehensive list of terms with replacements, language evaluation frameworks and templates, and infrastructure to aid the transition.

      Explaining the need for more inclusive words, the initiative says:

      Initially, attention will be aimed at replacing the terms ‘master’, ‘slave’, ‘whitelist’ and ‘blacklist’ because these are the most visible and problematic across the industry. Over time, it will expand its scope to find replacements for other terms that reference mental health, gender, physical handicaps, and several other categories. In the future, it might also give tips to avoid colloquialisms that don’t translate into other languages very well or are a barrier to understanding.

      While some people may be against the changing of these terms, the Inclusive Naming Initiative argues that the neutral terms are more descriptive, for example, it says that ‘Denylist’ is more precise and more accurate than ‘blacklist’.

      Source: Inclusive Naming Initiative via Phoronix