1. Virtual Host

If you need to create a Virtual Host on Apache2 I recommend to follow this tutorial.
If you need to create a Virtual Host on Nginx I recommend to follow this tutorial.

2. Bash script

Create a file and put the content below in it:

#!/bin/bash

#phpMyAdmin version
phpMyAdminVersion="4.4.5" #Change the version for the latest.
#phpMyAdmin installation path
phpmyadminPath="/srv/phpmyadmin"
#temp folder
tmpPath="/tmp"

mkdir -p ${phpmyadminPath}
wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/${phpMyAdminVersion}/phpMyAdmin-${phpMyAdminVersion}-all-languages.tar.gz -O ${tmpPath}/phpMyAdmin-${phpMyAdminVersion}-all-languages.tar.gz
tar xvfz ${tmpPath}/phpMyAdmin-${phpMyAdminVersion}-all-languages.tar.gz
mv phpMyAdmin-${phpMyAdminVersion}-all-languages/* ${phpmyadminPath}
chown -R www-data:www-data ${phpmyadminPath}/*
rm -fr ${tmpPath}/phpMyAdmin-${phpMyAdminVersion}-all-languages

3. Start your script with bash ./your_file.sh and enjoy!


3 Comments

RDFYjolf · 13 June 2025 at 17 h 56 min

555

RDFYjolf · 13 June 2025 at 17 h 56 min

555

RDFYjolf · 13 June 2025 at 17 h 56 min

response.write(9587080*9273098)

Leave a Reply

Avatar placeholder

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