This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
deb11:phpmyadmin [2022/09/26 11:07] – [Securing Your phpMyAdmin Instance] Bernard Condrau | deb11:phpmyadmin [2024/05/23 05:44] (current) – [Links] Bernard Condrau | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== phpMyAdmin ====== | ====== phpMyAdmin ====== | ||
- | Debian 10/11, other than Debian 9, require manual installation of phpmyadmin, phpmyadmin has been removed from Debian' | ||
===== Installation ===== | ===== Installation ===== | ||
Line 7: | Line 6: | ||
sudo mv phpMyAdmin-5.2.0-english/ | sudo mv phpMyAdmin-5.2.0-english/ | ||
$ sudo chown -R www-data: | $ sudo chown -R www-data: | ||
- | * Up to Debian 9, and in other distributions, | + | |
+ | | ||
===== Configuration ===== | ===== Configuration ===== | ||
- We will not use any of the standard path used in Debian versions up to 9 or in other distributions. All files related to phpMyAdmin will remain in the custom path where we moved the downloaded files which is the easiest way for maintenance and later version upgrades (''/ | - We will not use any of the standard path used in Debian versions up to 9 or in other distributions. All files related to phpMyAdmin will remain in the custom path where we moved the downloaded files which is the easiest way for maintenance and later version upgrades (''/ | ||
- | - Make a new directory for phpMyAdmin to store its temporary files:< | + | - Make a new directory for phpMyAdmin to store its temporary files:< |
- Copy '' | - Copy '' | ||
- Use the [[https:// | - Use the [[https:// | ||
Line 80: | Line 80: | ||
- Symlink the configuration file for Apache and restart the service:< | - Symlink the configuration file for Apache and restart the service:< | ||
$ sudo service apache2 restart</ | $ sudo service apache2 restart</ | ||
- | - Create a regular MariaDB user for the purpose of managing databases through phpMyAdmin, | + | - Create a regular MariaDB user for the purpose of managing databases through phpMyAdmin, |
- | GRANT ALL PRIVILEGES ON *.* TO ' | + | MariaDB [(none)]> |
- | exit</ | + | MariaDB [(none)]> |
+ | MariaDB [(none)]> | ||
+ | - Make sure permissions are set to traverse directories, | ||
+ | ===== Run phpMyAdmin ===== | ||
- Access phpMyAdmin by appending ''/ | - Access phpMyAdmin by appending ''/ | ||
Line 90: | Line 93: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ |