![]() Run the commands below to install Apache2 HTTP on Ubuntu server: sudo apt update Run the below troubleshooting commands and launch Ubuntu again: wsl -set-default-version 1īcdedit /set hypervisorlaunchtype auto start Use some troubleshooting commands when you get issues above. To run a command as administrator (user "root"), use "sudo ". The username does not need to match your Windows username. Please create a default UNIX user account. After installing Ubuntu, launch it from WSL environment.Īfter launching, it will install and prompt to create your account as show below : Installing, this may take a few minutes. Ubuntu 20.04 LTS on Windows WSL allows you to use Ubuntu Terminal and run Ubuntu command line utilities such as bash, ssh, git, apt and many others.Ĭlick the below button to download and install Ubuntu 20.04 LTS from Microsoft Windows store.Ĭlick on the Get button to Download and Install Ubuntu. So now you can easily install Linux operating(Ubuntu) system in your Windows 10 system. If you forget to start then the below command doesn’t work.Īfter restart of your computer, launch the PowerShell as administrator again and run the commands below to set WSL 2 as the default version of WSL: wsl -set-default-version 2Īt this stage, WSL 2 is installed and ready to be used. Next, restart your computer for changes to apply. If you have Windows 10 version lower than 2004 in your system, use the commands below: Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -NoRestart Run the commands below from the same PowerShell console to enable the Virtual Machine platform in your Windows system: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart ![]() The command above will display a successful message similar as below: Deployment Image Servicing and Management tool Next, run the command below in the Windows PowerShell console as show below: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart ![]() To enable it, simply open PowerShell terminal as administrator.Ĭlick on Start icon -> search for PowerShell -> right-click Windows PowerShell app -> choose to run as administrator. Simply follow below steps to install phpMyAdmin on Windows 10 WSL with Ubuntu OS : Step 1 : Enable WSL in Windows 10įirst of all, you will need to enable WSL in your Windows system. 1.7 Step 7 : Install phpMyAdmin How to Install phpMyAdmin on Windows 10 WSL
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |