From 6b34d1dae90aa14e0f1bfb9bf8f467223472ab6e Mon Sep 17 00:00:00 2001 From: uap32-2025-r Date: Thu, 7 Nov 2024 16:36:55 +0100 Subject: [PATCH] Actualiser ap32-test/README.md --- ap32-test/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ap32-test/README.md b/ap32-test/README.md index fce1282..e614a78 100644 --- a/ap32-test/README.md +++ b/ap32-test/README.md @@ -1,2 +1,24 @@ # sdis29-1 +### **Serveur ap32-test** + +**ap32-test** sera une machine qui servira de test pour la machine **ap32-prod**, avec en plus le paquet phpmyadmin. + +```` +sudo su - +apt install tomcat10 mariadb-server phpmyadmin # Installation des paquets +export http_proxy="http://10.121.38.1:8080/" # Exportation des ports +export https_proxy="http://10.121.38.1:8080/" # Exportation des ports +```` + +Pour importer la base de données via un fichier .sql : + + +```` +mysql -u root -p +create user admin@localhost identified by 'password123*'; +GRANT ALL PRIVILEGES ON sdis29.* TO 'admin'@'localhost'; +flush privileges; +exit; +mysql -u admin -p < sdis29.sql +````