5/31/2023 0 Comments Debian install phpmyadminNext, install the pwgen and generate a secrete key with the following command: sudo apt install pwgen * YOU MUST FILL IN THIS FOR COOKIE AUTH! */ Then, make a copy to the file /usr/share/phpmyadmin/: cp /usr/share/phpmyadmin/usr/share/phpMyAdmin-5.1.1-all-languages/Īfter that, edit the file and configure it: nano /usr/share/phpmyadmin/Įnter a string of 32 random characters in between single quotes: $cfg = 'STRINGWORANDOMCHARACTERS' Next, set proper ownership to the phpMyAdmin directory: chown -R www-data:www-data /var/lib/phpmyadmin Now we create a sub-directory with the following command: mkdir -p /var/lib/phpmyadmin/tmp Before we install any software, it’s important to make sure your system is up to date by running the following apt commands in the terminal:Įxtract the phpMyAdmin tarball using the following command: tar xvf phpMyAdmin-5.1.Īfter that, move the phpMyAdmin-5.1.1-all-languages to /usr/share/ directory: mv phpMyAdmin-5.1.1-all-languages /usr/share/phpmyadmin We recommend acting as a non-root sudo user, however, you can harm your system if you’re not careful when acting as the root. A non-root sudo useror access to the root user.SSH access to the server (or just open Terminal if you’re on a desktop).It’s recommended that you use a fresh OS install to prevent any potential issues.A server running one of the following operating systems: Debian 11 (Bullseye).I will show you the step-by-step installation of phpMyAdmin on a Debian 11 (Bullseye). The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘ sudo‘ to the commands to get root privileges. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. It is written in PHP and is one of the most popular database administration tools used by web hosting companies to enable novice system administrators to carry out database activities. For those of you who didn’t know, phpMyAdmin is a free, open-source, and web-based application used for managing MySQL or MariaDB databases from the web interface. In this tutorial, we will show you how to install phpMyAdmin on Debian 11.
0 Comments
Leave a Reply. |