Install LEMP Stack (Nginx, MariaDB, php, phpMyAdmin) on Arch Linux & Manjaro

7) Install phpMyAdmin

phpMyAdmin is a free open-source web-based administration tool for managing the MySQL, MariaDB servers which will help us to manage the database easily.

[Install phpMyAdmin]
$ sudo pacman -S phpmyadmin

Just create symlink from /usr/share/webapps/phpMyAdmin to /usr/share/nginx/html this will do the trick

[Create Symlink]
$ sudo ln -s /usr/share/webapps/phpMyAdmin/ /usr/share/nginx/html/

[Restart Nginx service]
$ sudo systemctl restart nginx.service

[Restart php-fpm service]
$ sudo systemctl restart php-fpm

Open your web browser and navigate to http://localhost/phpmyadmin or http://your-server-ip-address/phpmyadmin or http://127.0.0.1/phpmyadmin
install-lemp-server-on-arch-linux-manjaro-4

[ac-box color=”lred” icon=”fa-exclamation-triangle”]
Just scroll down to bottom of the page, you may see the same error message which is showing on the above screen shot The configuration file now needs a secret passphrase (blowfish_secret). Why ? we are getting the error message, Due to empty password for blowfish_secret. So, just add the password to ride out the issue.
[/ac-box]

Navigate to /etc/webapps/phpmyadmin/config.inc.php file and search the term (blowfish_secret) then add the password.

$ sudo nano /etc/webapps/phpmyadmin/config.inc.php

$cfg['blowfish_secret'] = '12345'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH!$

We are preparing all articles in-depth to understand by all level/stage Linux administrators. If the article is useful for you, then please spend less than a minute to share your valuable comments in our commenting section. Please stay tune with us…Good Luck.

About Magesh Maruthamuthu

Love to play with all Linux distribution

View all posts by Magesh Maruthamuthu

Leave a Reply

Your email address will not be published. Required fields are marked *