Learn how to use the Windows Subsystem for Linux (WSL) to make your coding environment more effective. WSL provides a new way to develop PHP applications on Windows while using native Linux binaries and tooling. This book gets you started installing Ubuntu as a WSL distribution with PHP, NGINX, and MySQL. You’ll also enhance your…
Specifically, Microsoft has decided to remove the Linux kernel from the Windows OS image with WSL2. Instead, the company will deliver it to users’ machines using Windows Update. Users will be able to manually check for new kernel updates by clicking the “Check for Updates” button or by waiting for Windows to do this automatically.
“Our end goal is for this change to be seamless, where your Linux kernel is kept up to date without you needing to think about it. By default this will be handled entirely by Windows, just like regular updates on your machine,” said Microsoft Program Manager Craig Loewen in a blog post today outlining the coming change.
— ZDNet: Microsoft: WSL2’s Linux kernel will be delivered to Windows 10 users via Windows Update. https://www.zdnet.com/article/microsoft-wsl2s-linux-kernel-will-be-delivered-to-windows-10-users-via-windows-update/
Lets have a look on what we have on this article:
- Setting up Apache 2 in Linux Subsystem for Windows 10
- Setting up MySQL Server in Linux Subsystem for Windows 10
- Setting up PHP in Linux Subsystem for Windows 10
- Visual Studio Code and PHP Extensions
- Few tweaks to work on PHP, Visual Studio Code with Linux Subsystem for Windows
Hey, what good’s Ubuntu 18.04 for web dev without Apache, PHP, and MySQL? Getting the full LAMP stack up and running in WSL is a breeze and then you can get some work done. BTW, don’t forget Git.
There are some good pointers and excellent tips in Web Development and Advanced Techniques with Linux on Windows (WSL) that are useful if you’re using WSL as part of your dev toolkit. Getting the same envs, including PATH, running across both systems is handy. It’s cool to be able to develop in Windows and test in Ubuntu without mucking about with VMs or ssh or anything.
Windows Subsystem for Linux Frequently Asked Questions | MSDN https://msdn.microsoft.com/en-us/commandline/wsl/faq
On of the most interesting things about the Windows 10 Anniversary update is the availability of of a full Ubuntu Linux environment running native to Windows. The Windows Subsystem for Linux promises to provide for true cross platform development on Windows. Getting WSL up and running is pretty easy, just 5 quick steps.
- In Settings -> Updates& Security go to For Developers and select Developer Mode
- In Program Manager select Turn Windows Features On and Off and select Windows Subsystem For Linux.
- After the restart hit the Windows key and type bash to get started. The first time bash is run you’ll be prompted to accept the licensing and WLS will download and install.
- Enter a username and a password and you’re all set.
Now you’ve got Ubuntu Linux at your fingers tips. At the prompt try sudo apt-get update and sudo apt-get upgrade to bring Ubuntu up to date.
For getting started I’d recommend Fun with the Windows Subsystem for Linux on the Windows Developer blog. It’s a good article that’ll show you around WSL a bit.
Still to be determined: can I run my full LAMP stack on it so I can use it for real development.