<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: skymaxs</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>Repérer des doublons dans une table MySQL (sur une ou plusieurs colonnes)</title>
        <link>http://www.posteet.com/view/580</link>
        <description>
        <![CDATA[<pre>SELECT count(*), colonne1, colonne2 FROM matable GROUP BY colonne1, colonne2 HAVING count(*) &gt; 1</pre> <a href="http://www.posteet.com/tags/doublons">[doublons]</a>  <a href="http://www.posteet.com/tags/mysql">[mysql]</a>  <a href="http://www.posteet.com/tags/optimisation">[optimisation]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 13 Dec 2007 09:21:21 +0000</pubDate>

            <category>doublons</category>
            <category>mysql</category>
            <category>optimisation</category>
    
    </item>

  
    <item>
        <title>Impossible de démarrer le PC!!!!!!</title>
        <link>http://www.posteet.com/view/538</link>
        <description>
        <![CDATA[<pre>Démarrez l'ordinateur en mode Console de récupération.
À l'invite de commande de la Console de récupération, tapez les lignes suivantes :


md tmp puis ENTREE
copy C:windowssystem32configsystem C:windowstmpsystem.bak puis ENTREE

copy C:windowssystem32configsoftware C:windowstmpsoftware.bak puis ENTREE

copy c:windowssystem32configsam c:windowstmpsam.bak puis ENTREE

copy c:windowssystem32configsecurity c:windowstmpsecurity.bak puis ENTREE

copy c:windowssystem32configdefault c:windowstmpdefault.bak puis ENTREE

delete c:windowssystem32configsystem puis ENTREE
delete c:windowssystem32configsoftware puis ENTREE
delete c:windowssystem32configsam puis ENTREE
delete c:windowssystem32configsecurity puis ENTREE
delete c:windowssystem32configdefault puis ENTREE

copy c:windowsrepairsystem c:windowssystem32configsystem puis ENTREE

copy c:windowsrepairsoftware c:windowssystem32configsoftware puis ENTREE

copy c:windowsrepairsam c:windowssystem32configsam puis ENTREE

copy c:windowsrepairsecurity c:windowssystem32configsecurity puis ENTREE

copy c:windowsrepairdefault c:windowssystem32configdefault puis ENTREE


Tapez exit pour quitter la Console de récupération Votre ordinateur va redémarrer.</pre> <a href="http://www.posteet.com/tags/crash">[crash]</a>  <a href="http://www.posteet.com/tags/récupération">[récupération]</a>  <a href="http://www.posteet.com/tags/système">[système]</a>  <a href="http://www.posteet.com/tags/windows">[windows]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Mon, 03 Dec 2007 07:32:53 +0000</pubDate>

            <category>crash</category>
            <category>récupération</category>
            <category>système</category>
            <category>windows</category>
    
    </item>

  
    <item>
        <title>Informations sur un disque dur (duree d'utilisation)</title>
        <link>http://www.posteet.com/view/533</link>
        <description>
        <![CDATA[<pre># Informations sur /dev/hda

/usr/sbin/smartctl --all /dev/hda

Notamment: Model Family, Device Model, Serial Number, Firmware Version,  (et beaucoup plus)...

# En particulier, temps d'utilisation (en heures):

/usr/sbin/smartctl --all /dev/hda | grep Power_On_Hours</pre> <a href="http://www.posteet.com/tags/admin">[admin]</a>  <a href="http://www.posteet.com/tags/disque dur">[disque dur]</a>  <a href="http://www.posteet.com/tags/Linux">[Linux]</a>  <a href="http://www.posteet.com/tags/SMART">[SMART]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Fri, 30 Nov 2007 15:09:11 +0000</pubDate>

            <category>admin</category>
            <category>disque dur</category>
            <category>Linux</category>
            <category>SMART</category>
    
    </item>

  
    <item>
        <title>Exécuter un batch NT en arrière plan</title>
        <link>http://www.posteet.com/view/450</link>
        <description>
        <![CDATA[<pre>Problème: Comment exécuter un batch NT en arrière-plan:
Mettre dans le champ &quot;Exécuter&quot;: 
C:\WINNT\system32\CMD.EXE /c start /min &quot;TITRE&quot; &quot;C:\Program Files\etc\Mon Batch.cmd&quot;</pre> <a href="http://www.posteet.com/tags/Batch">[Batch]</a>  <a href="http://www.posteet.com/tags/Windows">[Windows]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 11:46:01 +0000</pubDate>

            <category>Batch</category>
            <category>Windows</category>
    
    </item>

  
    <item>
        <title>[Linux] Netstat - Les bonnes options pour tout voir</title>
        <link>http://www.posteet.com/view/448</link>
        <description>
        <![CDATA[<pre>netstat -lapute</pre> <a href="http://www.posteet.com/tags/linux">[linux]</a>  <a href="http://www.posteet.com/tags/netstat">[netstat]</a>  <a href="http://www.posteet.com/tags/network">[network]</a>  <a href="http://www.posteet.com/tags/réseau">[réseau]</a>  <a href="http://www.posteet.com/tags/shell">[shell]</a>  <a href="http://www.posteet.com/tags/système">[système]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 11:27:10 +0000</pubDate>

            <category>linux</category>
            <category>netstat</category>
            <category>network</category>
            <category>réseau</category>
            <category>shell</category>
            <category>système</category>
    
    </item>

  
    <item>
        <title>Masquer l'execution en tache planifiée d'un fichier batch (.bat)</title>
        <link>http://www.posteet.com/view/447</link>
        <description>
        <![CDATA[<pre>Il faut créer un fichier VBS contenant ceci :

----8&lt;------8&lt;------8&lt;------8&lt;------8&lt;------8&lt;--
' *** Script start ***
Set oShell = CreateObject(&quot;WScript.Shell&quot;)

oShell.Run &quot;toto.bat&quot;, 0, True 
----8&lt;------8&lt;------8&lt;------8&lt;------8&lt;------8&lt;--

Cela permet d'exécuter toto.bat sans fenêtre de commande DOS.</pre> <a href="http://www.posteet.com/tags/batch">[batch]</a>  <a href="http://www.posteet.com/tags/script">[script]</a>  <a href="http://www.posteet.com/tags/vbscript">[vbscript]</a>  <a href="http://www.posteet.com/tags/windows">[windows]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 11:24:36 +0000</pubDate>

            <category>batch</category>
            <category>script</category>
            <category>vbscript</category>
            <category>windows</category>
    
    </item>

  
    <item>
        <title>Tunnel SSH avec PuTTY pour VNC</title>
        <link>http://www.posteet.com/view/443</link>
        <description>
        <![CDATA[<pre>Pré requis : ssh soit fonctionner normalement avec PuTTY

Exécuter vncserver sur le serveur si celui-ci n'est pas déjà lancé.

Dans PuTTY =&gt; Connection =&gt; SSH =&gt; Tunnels

Add new forwarded port :
Source port : 5901
Destination : 127.0.0.1:5901
==&gt; Add

Executer vncviewer sur 127.0.0.1::5901</pre> <a href="http://www.posteet.com/tags/ssh">[ssh]</a>  <a href="http://www.posteet.com/tags/vnc">[vnc]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 10:09:37 +0000</pubDate>

            <category>ssh</category>
            <category>vnc</category>
    
    </item>

  
    <item>
        <title>Problèmes avec les caractères accentués dans Apache</title>
        <link>http://www.posteet.com/view/441</link>
        <description>
        <![CDATA[<pre>Dans httpd.conf Mettre :

 AddDefaultCharset off

Mettre en commentaire tous les :

 AddCharset

Mettre fr en premier pour :

 LanguagePriority</pre> <a href="http://www.posteet.com/tags/accents">[accents]</a>  <a href="http://www.posteet.com/tags/apache">[apache]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 10:07:28 +0000</pubDate>

            <category>accents</category>
            <category>apache</category>
    
    </item>

  
    <item>
        <title>Rotation des logs Apache</title>
        <link>http://www.posteet.com/view/440</link>
        <description>
        <![CDATA[<pre>Faire tourner les logs avec une taille de 1 Mo sous Windows :
ErrorLog &quot;|bin/rotatelogs.exe logs/htdocs-error_log 1M&quot;

Exemple complet :
&lt;VirtualHost *:8080&gt;
    DocumentRoot c:\htdocs
    ErrorLog &quot;|bin/rotatelogs.exe logs/htdocs-error_log 1M&quot;
    CustomLog logs/htdocs-access_log common
&lt;/VirtualHost&gt;</pre> <a href="http://www.posteet.com/tags/apache">[apache]</a>  <a href="http://www.posteet.com/tags/log">[log]</a>  <a href="http://www.posteet.com/tags/rotation">[rotation]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 10:06:05 +0000</pubDate>

            <category>apache</category>
            <category>log</category>
            <category>rotation</category>
    
    </item>

  
    <item>
        <title>Mise en place simple de la replication MySQL</title>
        <link>http://www.posteet.com/view/439</link>
        <description>
        <![CDATA[<pre>Faire un backup du serveur maître sur l'esclave.

Sur le maitre :
 GRANT REPLICATION SLAVE ON *.* TO repl@'%' IDENTIFIED BY '&lt;password&gt;';

Dans my.ini : (section mysqld)
 log-bin
 server-id=1


Sur l'esclave :
Dans my.ini : (section mysqld)

 server-id=2
 # nom d'hote du maitre
 master-host=serveur_maitre
 # port sur lequel écoute le serveur maitre
 master-port=3306
 # nom utilisé pour se connecter au maitre
 master-user=repl
 # mot de passe pour se connecter au maître
 master-password=&lt;password&gt;

Dans un client mysql :

 SLAVE START ;</pre> <a href="http://www.posteet.com/tags/mysql">[mysql]</a>  <a href="http://www.posteet.com/tags/replication">[replication]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 10:01:33 +0000</pubDate>

            <category>mysql</category>
            <category>replication</category>
    
    </item>

  
    <item>
        <title>Ajout utilisateur MySQL</title>
        <link>http://www.posteet.com/view/438</link>
        <description>
        <![CDATA[<pre>Add user MySQL :

 GRANT ALL PRIVILEGES ON *.* TO 'SuperUser'@'%' IDENTIFIED BY 'SuperMotDePasse' WITH GRANT OPTION;</pre> <a href="http://www.posteet.com/tags/mysql">[mysql]</a>  <a href="http://www.posteet.com/tags/user">[user]</a>  <a href="http://www.posteet.com/tags/utilisateur">[utilisateur]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 09:58:02 +0000</pubDate>

            <category>mysql</category>
            <category>user</category>
            <category>utilisateur</category>
    
    </item>

  
    <item>
        <title>Recover mysql root password</title>
        <link>http://www.posteet.com/view/437</link>
        <description>
        <![CDATA[<pre>- Stop mysql
# /etc/init.d/mysql stop

- Lauch mysql with --skip-grant-tables (WARNING: your mysql server will launch without any password authentication, so please protect it first with a firewall or something if it's world accessible)
# mysqld_safe --skip-grant-tables

- Login as root without a password
$ mysql -u root

- Change the password
mysql&gt; use mysql;
mysql&gt; update user set password=PASSWORD(&quot;your_new_root_password&quot;) where User='root';
mysql&gt; flush privileges;
mysql&gt; quit

- Stop mysql
# /etc/init.d/mysql stop

- Start mysql again to re-enable authentication
# /etc/init.d/mysql start</pre> <a href="http://www.posteet.com/tags/mysql">[mysql]</a>  <a href="http://www.posteet.com/tags/recover">[recover]</a>  <a href="http://www.posteet.com/tags/root">[root]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 09:55:49 +0000</pubDate>

            <category>mysql</category>
            <category>recover</category>
            <category>root</category>
    
    </item>

  
    <item>
        <title>Backup (logique) et restauration MySQL</title>
        <link>http://www.posteet.com/view/436</link>
        <description>
        <![CDATA[<pre>Backup :
mysqldump -u root -pSuperMotDePasse --all-databases &gt; backup.sql

Restauration :
mysql -u root -pSuperMotDePasse &lt; backup.sql</pre> <a href="http://www.posteet.com/tags/backup">[backup]</a>  <a href="http://www.posteet.com/tags/mysql">[mysql]</a>  <a href="http://www.posteet.com/tags/restauration">[restauration]</a>  <a href="http://www.posteet.com/tags/sauvegarde">[sauvegarde]</a> ]]>        </description>
        <dc:creator>skymaxs</dc:creator>
        <pubDate>Thu, 15 Nov 2007 09:31:25 +0000</pubDate>

            <category>backup</category>
            <category>mysql</category>
            <category>restauration</category>
            <category>sauvegarde</category>
    
    </item>


</channel>
</rss>
