This is just a simple bash script to install PHPMyAdmin, Apache2 and MariaDB on Debian based systems.
To run the installer simply run the following command and follow the instructions
bash <(curl -s https://raw.githubusercontent.com/JulianGransee/PHPMyAdminInstaller/main/install.sh)
Operating System | Version | Is tested and can run the script |
---|---|---|
Debian | 10 | ✅ |
11 | ✅ | |
Ubuntu | 18.04 | ✅ |
20.04 | ✅ | |
21.04 | ✅ |
Syntax:
bash <(curl -s https://raw.githubusercontent.com/JulianGransee/PHPMyAdminInstaller/main/install.sh) [-h|-s]
options:
-
h -> Print the help menu
-
s -> Save the output in /root/.mariadbPhpma.output
Before you install PHPMyAdmin on your system, think twice about it:
- PHPMyAdmin is exposing your Database on a publically available website - just behind a username and password
- There are a lot of known exploits
- and there are exploits, which are known, but not fixed
Here are some clients out there, which give you access to your database, without exposing it through a website:
- DBeaver (it is written in Java, so you can run it nearly everywhere)
- DataGrip (available on Windows, Linux and Mac OS X)
- mysql workbench (available on Windows, Linux and Mac OS X)
If you use one of these clients, I would recommend using an SSH tunnel, that you don't have to expose the MySQL Port to the outside world