Actualiser ap32-prod/README.md
This commit is contained in:
parent
4661950dcb
commit
600bebcc27
@ -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
|
||||
````
|
||||
|
Loading…
x
Reference in New Issue
Block a user