At the Learning Drupal London meetup last night at Hub Westminster, I picked up a great little tip for the Drupal users out there using VIM.
There is a handy little VIM plugin that streamlines common Drupal actions like looking up Drupal functions in the API docs and getting values for Drupal variables. It is available at http://drupal.org/project/vimrc.
Thanks @justafish!
Thursday, June 28, 2012
Sunday, June 17, 2012
VMware Player advanced network configuration
VMware Player is a fantastic free (as in beer, but not speech) virtualisation software available on Windows 7. I've been running Ubuntu in a VM for my development work and it's been a joy to use. (I gave up trying to do any *real* work in Cygwin on Win7, but that's another story.)
The ability to configure the VMware NAT settings, for example, to forward port 80 traffic to the VM, I had thought to be a feature reserved for the paid-for Workstation version. Port forwarding is useful, for example, if you are running a web server or web app in your VM and you want to see it break in Internet Explorer in the host OS.
However, this is not the case — the configuration tool is included in Player but not installed by default.
I found this tip by "todster" after Googling around for a bit:
http://www.plctalk.net/qanda/showthread.php?t=65786
Here is his solution:
Happy port forwarding!
UPDATE: This trick doesn't seem to work on VMware Player 5. Oh well.
The ability to configure the VMware NAT settings, for example, to forward port 80 traffic to the VM, I had thought to be a feature reserved for the paid-for Workstation version. Port forwarding is useful, for example, if you are running a web server or web app in your VM and you want to see it break in Internet Explorer in the host OS.
However, this is not the case — the configuration tool is included in Player but not installed by default.
I found this tip by "todster" after Googling around for a bit:
http://www.plctalk.net/qanda/showthread.php?t=65786
Here is his solution:
For those that use the player or won't because of the network config or actually lack of, Vmnetcfg is actually included in the vmplayer installer only it isn't installed.
To extract vmnetcfg.exe from the installer do the following:
1. Run the installer with /e option. For example: VMware-player-3.0.0-197124.exe /e .\extract Contents will be extracted to “extract” folder.
2. Open “network.cab” and copy vmnetcfg.exe to your installation folder,typically C:\Program Files\VMware\VMware Player\After you do this, you can run vmnetcfg and set your port forwarding rules to forward traffic into your VM.
Happy port forwarding!
UPDATE: This trick doesn't seem to work on VMware Player 5. Oh well.
Subscribe to:
Posts (Atom)