![]() Enter current password for root (enter for none): Just press the Enter.When you run the above command, it will prompted to answer the questions as show below: Now, run the commands below to secure MariaDB server by creating a root password and disallowing remote root access. Next, run the commands below to stop, start and enable MariaDB service to always start up with the server boots: sudo service mysql stop Sudo apt install mariadb-server mariadb-client To install MariaDB database server, simply run the commands below: sudo apt update MariaDB database server is an open source, fast and secure database server that you can use with Drupal. You will also need a database server to run Drupal and store its content. If browser show result similar like below then Nginx is installed and working properly. Next, run the commands below to stop and start Nginx services: sudo service nginx stopįor check if Nginx server is installed or not, simply open your browser and type server IP or hostname. To install Nginx HTTP on your Ubuntu server, run the commands below. 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. So now you can easily install Linux operating system in your Windows 10 system.Ĭ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. 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |