Home >Common Problem >Steps to install Adminer on Windows 10 or 11
You can follow these steps to install Adminer on both Windows 11 and 10 operating systems to manage different database systems.
If you have already enabled WSL, then go to the next step, otherwise go to the Windows Start menu and type "Turn Windows features on or off" and open it when its icon appears.
Scroll down to Windows Subsystem for Linux, select it, and click the OK button. After WSL installation is complete, a dialog box will appear asking you to restart the system.
Next, right-click your Windows Start button and select Powershell (Admin) or Windows Terminal (Admin), whatever your situation. After that type the given command to install the latest version of Ubuntu distribution on Windows 10 or 11.
wsl --install -d Ubuntu
Soon, the Ubuntu WSL distribution will be installed on your Windows system.
We already have a Linux distribution on our system, now we can follow further commands just like in Linux. To do this, open the Ubuntu distribution you just installed for WSL. To do this, you can click on the Windows Start menu and type – Ubuntu. When its icon appears, click to run it.
Run System Update:
We just installed Ubuntu and ran a system update command to update its APT index cache.
sudo apt update
Admin Installation
We don’t need to add any third-party repository to install Adminer on Ubuntu. Because its packages are already available through Ubuntu’s default repository using the APT package manager.
sudo apt install adminer -y
The above command will also install the Apache web server and PHP and extensions required to run Adminer on Windows WSL.
After Adminer installation is complete, we need to start the Apache web server service and enable the vHost configuration file available to Adminer. This allows us to access it in a web browser.
sudo service apache2 start
sudo a2enconf adminer
sudo service apache2 reload
Open a web browser on Windows 10 or 11 and type -127.0.0.1/ in its URL box adminer,
Soon you will see the login interface of the database.
sudo apt autoremove --purge adminer
The above is the detailed content of Steps to install Adminer on Windows 10 or 11. For more information, please follow other related articles on the PHP Chinese website!