PHPMyAdminInstaller
PHPMyAdminInstaller copied to clipboard
PHPMyAdmin install script
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 | 12 | :white_check_mark: |
| 11 | :white_check_mark: | |
| 10 | :white_check_mark: | |
| Ubuntu | 22.04 | :white_check_mark: |
| 21.04 | :white_check_mark: | |
| 20.04 | :white_check_mark: |
usage
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 installing it - think about it
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
This is what you should use:
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