From 25bb4d0f7b766682e623bc637ad5de8bfcfffa15 Mon Sep 17 00:00:00 2001 From: Sietse Jonker Date: Tue, 13 Feb 2024 16:21:25 +0100 Subject: [PATCH] adds documentation on how to install phpmyadmin on rpi --- .../phpmyadmin-installation.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/rpi-documentation/phpmyadmin-installation.md diff --git a/docs/rpi-documentation/phpmyadmin-installation.md b/docs/rpi-documentation/phpmyadmin-installation.md new file mode 100644 index 0000000..6a5e073 --- /dev/null +++ b/docs/rpi-documentation/phpmyadmin-installation.md @@ -0,0 +1,20 @@ +# PHPMyAdmin + +## Installation + +```bash +$ sudo apt install phpmyadmin +``` + +The raspberry pi will download the package and install it. It will also ask a few questions. For the first question we selected the “apache2” option by pressing SPACE and then ENTER. Then it will ask us to configure the database using dbconfig-common, we selected “yes” and then pressed ENTER. Then it will ask us for the password of the root user of the database, we entered the password and then pressed ENTER. Then it will ask us to enter a password for the phpmyadmin application, we entered the password and then pressed ENTER. Then it will ask us to confirm the password, we entered the password again and then pressed ENTER. After this the installation is done and we can start using phpmyadmin. + +## Usage + +To use phpmyadmin we have to go to the following url in our browser: http://(ip adress of your pi)/phpmyadmin. This will open the phpmyadmin login page. We can login using the root user and the password we entered during the installation. After we have logged in we can start using the database. + +This didnt work for us, we first had to run this command on hte raspberry pi: +```bash +$ sudo apt install php +``` + +After this we could use phpmyadmin, access the database we've created and start using it.