6/16/2023 0 Comments Sudo apt get install phpGet Xdebug sudo apt-get install php-xdebug Sudo apt-get install libapache2-mod-php7.0 I'm going to install Apache for this article, but feel free to install the web server of your preference. Once you've installed Ubuntu, you will need to get a web server and PHP. After the installation you should see Ubuntu bash. Here are the direct links to some of them:Īt the time of writing this article, I haven't found Red Hat or Fedora.Ĭlick Get. WSL doesn't limit you to just this Linux distribution, so you are free to choose your favorite one. Now go ahead and open Microsoft Store and install Ubuntu. Open up Control Panel and turn it on as a feature. Install WSLįirst you will need to install the Windows Subsystem for Linux. Now, I will demonstrate how you can set it up. Since I just need Linux to test some PHP projects and I don't need isolation of virtual machine or possibility to revert, I will be fine with just WSL without an overhead of virtual machine. It just needs Windows 10 which I already had. It allows to run a Linux environment including most of the Linux applications without the need to actually have a Linux kernel. To save up CPU resources and disc space, because I never have too much disc space, I decided to get rid of my Linux virtual machines and use this thing called Windows Subsystem for Linux. Ok, the virtual machine is going crazy again. I opened the Task Manager to check what was eating my CPU. I was sitting at a coffee shop and my laptop was going quite loud.
0 Comments
Leave a Reply. |