Projet

Général

Profil

EnvoleCommandesSys » Historique » Version 4

Gérald Schwartzmann, 12/05/2010 12:47

1 4 Gérald Schwartzmann
h2. !http://dev-eole.ac-dijon.fr/attachments/download/9/puce.png! Environnement Libre Ouvert Evolutif - Envole
2 4 Gérald Schwartzmann
{{include(eole:menu)}}
3 1 Gaston TJEBBES
4 4 Gérald Schwartzmann
h1. EnvoleCommandesSys
5 1 Gaston TJEBBES
6 4 Gérald Schwartzmann
h2. Mysql
7 3 Gérald Schwartzmann
8 1 Gaston TJEBBES
Changement du mot de passe de l'utilisateur root de la base de données
9 1 Gaston TJEBBES
<pre>
10 1 Gaston TJEBBES
root@lab12-eole:/var/log# mysql_pwd.py 
11 1 Gaston TJEBBES
</pre>
12 1 Gaston TJEBBES
puis rentrez votre mot de passe.
13 1 Gaston TJEBBES
14 1 Gaston TJEBBES
Connexion à la base de données :
15 1 Gaston TJEBBES
<pre>
16 1 Gaston TJEBBES
mysql -uroot -p<mot de passe>
17 1 Gaston TJEBBES
</pre>
18 1 Gaston TJEBBES
NB : pas d'espace entre les options et les valeurs.
19 1 Gaston TJEBBES
20 1 Gaston TJEBBES
Renvoyer l'ensemble de la base de données dans un fichier /root/bdd-snapshot.sql :
21 1 Gaston TJEBBES
<pre>
22 1 Gaston TJEBBES
mysqldump -uroot -p<motdepasse> <nomdelabase> > /root/bdd-snapshot.sql
23 1 Gaston TJEBBES
</pre>
24 2 Gaston TJEBBES
25 4 Gérald Schwartzmann
h2. Creole
26 2 Gaston TJEBBES
27 2 Gaston TJEBBES
Pour tester un template creole sans faire de reconfigure :
28 2 Gaston TJEBBES
29 2 Gaston TJEBBES
<pre>
30 2 Gaston TJEBBES
/usr/share/creole/creolecat.py <chemin_vers_le_template> -o <chemin_vers_le_fichier_de_sortie>
31 2 Gaston TJEBBES
</pre>