![]() Now that Windows 10 WSL environment is ready, continue below to install Apache, MariaDB, and PHP and configure phpMyAdmin to run. These run below and try to launch the Ubuntu image again. Some troubleshooting commands to run when you run into the issues above. After installing Ubuntu, you’ll want the option to launch Ubuntu from the Windows WSL environment.Īfter launching Ubuntu, it should install and prompt you to create your account. Ubuntu 20.04 LTS on Windows allows you to use Ubuntu Terminal and run Ubuntu command line utilities including bash, ssh, git, apt, and many more.Ĭlick the Get button and install. Now that WSL 2 is installed and ready to be used, open the link below to download and install a copy of Ubuntu 20.04 from the Windows store. Then run the commands below to configure WSL 2 as the default version of WSL. If you don’t restart, the below command might not be recognized.Īfter restarting your computer, login back in and launch PowerShell as administrator. When you’re done running the commands above, restart your computer for all the configuration changes to apply. If you’re using Windows 10 version lower than 2004, then use the commands below: To enable the VM platform feature in Windows, run the commands below from the same PowerShell administrator’s console. WSL 2 requires Windows 10 Virtual Machine Platform to be enabled. When the console opens, run the commands below:Īfter installing, you should get a success message similar to the lines below: Enable Virtual Machine Platform # Next, right-click the Windows PowerShell app and choose to run as administrator. Click on Start then begin typing PowerShell. To enable WSL in Windows, you will want to open the PowerShell terminal as administrator. To get started with running phpMyAdmin on Windows with WSL, follow the steps below: Enable WSL in Windows # If you have a machine that meets the requirements above to run WSL 2, then continue below. WSL 2 is an improvement over version 1 and comes with a performance boost, full system call compatibility, and built with a new architecture that delivers features that make WSL an amazing way to run a Linux environment in Windows. Let’s get Windows, enable WSL, install a Linux OS, and run phpMyAdmin.īack in 2017, Windows released the original WSL version. With WSL, you can install and run a full Linux operating system inside Windows. Now that you can install Linux OS inside Windows via WSL, the steps below show you how to install phpMyAdmin inside Windows systems. ![]() With phpMyAdmin, you can manage MySQL databases, user accounts, and privileges, execute SQL queries and statements, import and export database content, and much more. All database tasks and queries can be handled by phpMyAdmin. Once installed run sudo cp /etc/phpmyadmin/nf /etc/apache2/conf-available/phpmyadmin.PhpMyAdmin is an open-source PHP application built to manage MySQL and MariaDB database servers via the intuitive web interface. Install Phpmyadmin sudo apt install phpMyAdminĬonfigure database for phpmyadmin with dbconfig-common? Once done restart the service sudo systemctl restart rvice Remove test database and access to it? : Y.Enter current password for root (enter for none): Just press the Enter.When prompted, answer the questions below by following the guide. Setup the installation sudo mysql_secure_installation Once done – run this commands sudo systemctl stop rvice Install MariaDB sudo apt install mariadb-server mariadb-client Once done – restart the apache server sudo systemctl restart apache2 Install few necessary extensions sudo apt install php7.3-cli php7.3-fpm php7.3-json php7.3-pdo php7.3-mysql php7.3-zip php7.3-gd php7.3-mbstring php7.3-curl php7.3-xml php7.3-bcmath php7.3-json Install PHP 7.3 sudo apt-get install php7.3 Once apache installation done – run this commands sudo systemctl stop rvice
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |