EnvoleCommandesSys » Historique » Version 6
Gérald Schwartzmann, 28/03/2012 10:08
| 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 | 6 | Gérald Schwartzmann | h1. Quelques commandes systèmes pour Envole |
| 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 | 5 | Gérald Schwartzmann | # 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 | 5 | Gérald Schwartzmann | # 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 | 5 | Gérald Schwartzmann | # 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 | 1 | Gaston TJEBBES | Pour tester un template creole sans faire de reconfigure : |
| 28 | 1 | Gaston TJEBBES | |
| 29 | 1 | Gaston TJEBBES | <pre> |
| 30 | 5 | Gérald Schwartzmann | # /usr/share/creole/creolecat.py <chemin_vers_le_template> -o <chemin_vers_le_fichier_de_sortie> |
| 31 | 5 | Gérald Schwartzmann | </pre> |
| 32 | 5 | Gérald Schwartzmann | |
| 33 | 5 | Gérald Schwartzmann | h2. Purge |
| 34 | 5 | Gérald Schwartzmann | |
| 35 | 5 | Gérald Schwartzmann | La commande purge permet de supprimer les fichiers de swap vim (*~) présent dans tous les sous-répertoires depuis l'endroit où vous vous trouvez. |
| 36 | 5 | Gérald Schwartzmann | Usage : |
| 37 | 5 | Gérald Schwartzmann | <pre> |
| 38 | 5 | Gérald Schwartzmann | # purge |
| 39 | 5 | Gérald Schwartzmann | </pre> |
| 40 | 5 | Gérald Schwartzmann | Ne cherchez pas la commande, c'est un alias. Pour les afficher tapez : |
| 41 | 5 | Gérald Schwartzmann | <pre> |
| 42 | 5 | Gérald Schwartzmann | # alias |
| 43 | 2 | Gaston TJEBBES | </pre> |