Windows

How to route external domain to router website hosted in local virtualbox web server (Windows as host OS and CentOS 7 as guest OS)

There are test scenarios that requires a development site hosted in local web server accessible via live external domain. In this article, will show how to make a development site hosted in local virtualbox web server (Windows as host OS and CentOS 7 as guest OS). Note: make sure you have full administrator access to your router and the router's WAN IP is a public IP address.

Steps:

  1. Open and configure your Vagrantfile. Add the following lines:

Drush can't connect to MySQL server on localhost using WinNMP on Windows

First time I setup and test Drush on my local machine using WinNMP on Windows executing a cache clear on a local Drupal site under Git BASH or cygwin:

  
drush @webfoobar cache-rebuild
  

... I get this error:

  
No Drupal site found, only 'drush' cache was cleared
  

I excuted the following drush command to investigate the cause of the error:

  
drush @webfoobar -d st
  

... got the following output message:

Mount SD card to "C:\Program Files" in Windows 10

The following are the steps on how to mount SD card to "C:\Program Files" in Windows 10 without using softlink:

  1. Create "C:\sdcard" folder.

  2. Go to "Administrative Tools" > "Computer Management" > "Disk Management".

  3. Right click on SD card drive, select "Change Drive Letters and Paths…", click "Remove".

  4. Right click on SD card drive, select "Change Drive Letters and Paths…", click "Add..", type "C:\sdcard" and click "OK".

Tags