Zurück zur Übersicht: Debian-Anleitungen
Aktualisiere Dein System:
apt update ; apt upgrade -y
Installiere Apache2, PHP und MariaDB sowie die notwendigen PHP-Module:
apt install sudo gnupg2 apache2 php php-cli php-curl php-gd php-intl php-json php-mbstring php-mysql php-opcache php-readline php-xml php-xsl php-zip php-bz2 libapache2-mod-php mariadb-server mariadb-client -y
Sichere die MariaDB-Installation:
mysql_secure_installation
Hinweis: Drücke Enter bei der Passwortabfrage und bestätige alle Fragen mit Enter, außer beim Setzen des Root-Passworts.
Starte den Apache Webserver neu:
systemctl restart apache2
Lade und entpacke phpMyAdmin:
cd /usr/share && wget https://files.phpmyadmin.net/phpMyAdmin/5.0.3/phpMyAdmin-5.0.3-all-languages.zip ; unzip phpMyAdmin-5.0.3-all-languages.zip ; rm phpMyAdmin-5.0.3-all-languages.zip ; mv phpMyAdmin-5.0.3-all-languages phpmyadmin ; chmod -R 0755 phpmyadmin
Erstelle die Konfigurationsdatei:
nano /etc/apache2/conf-available/phpmyadmin.conf
Füge die folgenden Zeilen hinzu: