From 600bebcc27e20bb2d1fd9c42cc9f5b8e82d8039d Mon Sep 17 00:00:00 2001 From: uap32-2025-r Date: Thu, 7 Nov 2024 16:56:16 +0100 Subject: [PATCH] Actualiser ap32-prod/README.md --- ap32-prod/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ap32-prod/README.md b/ap32-prod/README.md index 15ae486..c2a8644 100644 --- a/ap32-prod/README.md +++ b/ap32-prod/README.md @@ -1,2 +1,24 @@ # sdis29-2 +### **Serveur ap32-test** + +**ap32-test** sera une machine qui servira de base de données et sera également utilisé pour le déploiement d'applications via Tomcat10. + +```` +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 +````