Actualiser ap32-test/README.md
This commit is contained in:
parent
fc37232f4a
commit
6b34d1dae9
@ -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
|
||||
````
|
||||
|
Loading…
x
Reference in New Issue
Block a user