<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ismael GALEKWA on Medium]]></title>
        <description><![CDATA[Stories by Ismael GALEKWA on Medium]]></description>
        <link>https://medium.com/@Izzy_Concept?source=rss-97cd9863b852------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rtAyc2b2Dj3blwh7</url>
            <title>Stories by Ismael GALEKWA on Medium</title>
            <link>https://medium.com/@Izzy_Concept?source=rss-97cd9863b852------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 12:06:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Izzy_Concept/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automatiser un Script Python Chaque Minute : Journaliser l’Heure Système avec cron]]></title>
            <link>https://medium.com/@Izzy_Concept/automatiser-un-script-python-chaque-minute-journaliser-lheure-syst%C3%A8me-avec-cron-258be9595bfa?source=rss-97cd9863b852------2</link>
            <guid isPermaLink="false">https://medium.com/p/258be9595bfa</guid>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Ismael GALEKWA]]></dc:creator>
            <pubDate>Wed, 14 May 2025 11:52:47 GMT</pubDate>
            <atom:updated>2025-05-14T11:52:47.035Z</atom:updated>
            <content:encoded><![CDATA[<h3>Automatiser un Script Python Chaque Minute : Journaliser l’Heure Système avec cron</h3><h3>Objectif</h3><p>Dans ce tutoriel, vous apprendrez à :</p><ul><li>Créer un script Python qui enregistre l’heure exacte à chaque exécution.</li><li>Lancer automatiquement ce script <strong>chaque minute</strong> grâce à cron.</li><li>Observer les résultats en temps réel avec la commande tail -f.</li></ul><p>Cet exemple est simple mais très utile pour comprendre comment <strong>automatiser des scripts Python</strong> en arrière-plan. Et surtout, <strong>il ne se contente pas d’afficher “Hello World”</strong></p><h3>Étape 1 — Créer le script Python</h3><p>Le script va enregistrer l’heure actuelle dans un fichier log à chaque exécution.</p><h3>Création du fichier log_time.py</h3><p>Ouvrez un terminal et tapez :</p><pre>nano ~/log_time.py</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TQtVGdCYbByTEoZTyIGPMw.png" /></figure><p>Collez le code suivant :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uWeUEez87yE0aMj6Q4a0Qg.png" /></figure><pre>import datetime<br>import os</pre><pre># Définir le répertoire et le fichier de log<br>log_dir = os.path.expanduser(&quot;~/logs&quot;)<br>log_file = os.path.join(log_dir, &quot;time.log&quot;)</pre><pre># Créer le dossier s’il n’existe pas<br>os.makedirs(log_dir, exist_ok=True)</pre><pre># Récupérer l’heure actuelle<br>now = datetime.datetime.now()</pre><pre># Enregistrer dans le fichier log<br>with open(log_file, &quot;a&quot;) as f:<br>    f.write(f&quot;L&#39;heure actuelle est : {now}\n&quot;)</pre><blockquote><em>Ce script crée automatiquement le dossier </em><em>logs dans votre répertoire personnel s’il n’existe pas, puis ajoute l’heure exacte à un fichier </em><em>time.log.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MkgzsPj6T6aIbvH_wongDQ.png" /></figure><p>Enregistrez avec Ctrl + O, puis quittez avec Ctrl + X.</p><h3>Étape 2 — Rendre le script exécutable</h3><p>Dans le terminal :</p><pre>chmod +x ~/log_time.py</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XqlimSUCE8tSnbEhY3FtQQ.png" /></figure><h3>Étape 3 — Programmer le script avec cron</h3><p>Utilisons cron pour lancer le script chaque minute.</p><h3>Modifier la crontab</h3><p>Tapez :</p><pre>crontab -e</pre><p>Ajoutez cette ligne à la fin du fichier :</p><pre>* * * * * /usr/bin/python3 /home/votre_utilisateur/log_time.py</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O-ihn9b63MQ0Pa42wD_iGA.png" /></figure><blockquote><em>Remplacez </em><em>/home/votre_utilisateur par le chemin vers votre dossier personnel (vérifiez avec </em><em>echo $HOME)<br> Vérifiez le chemin de Python avec :</em></blockquote><pre>which python3</pre><p>Sauvegardez et fermez l’éditeur.</p><h3>Étape 4 — Lire les logs en temps réel</h3><p>Attendez une minute ou exécutez manuellement le script :</p><pre>python3 ~/log_time.py</pre><p>Ensuite, pour visualiser les journaux :</p><pre>tail -f ~/logs/time.log</pre><p>Vous verrez des lignes comme :</p><pre>L&#39;heure actuelle est : 2025-05-14 15:01:00.123456<br>L&#39;heure actuelle est : 2025-05-14 15:02:00.987654</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3_9dy5Q-UjOqypTtwrhiEA.png" /></figure><h3>Pourquoi c’est utile ?</h3><p>Ce type de script peut servir de <strong>base pour automatiser</strong> :</p><ul><li>La vérification d’un service ou d’une API,</li><li>La sauvegarde de fichiers,</li><li>Le scraping de données,</li><li>L’envoi d’emails ou d’alertes système,</li><li>Et bien plus encore…</li></ul><p>ÉtapeDescription1Créer un script Python qui écrit la date dans un log2Le rendre exécutable3Lancer le script chaque minute avec cron4Visualiser les résultats avec tail -f</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=258be9595bfa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lancer un Script Python Toutes les Minutes : Monitorer Google avec curl et Journaliser en Temps…]]></title>
            <link>https://medium.com/@Izzy_Concept/lancer-un-script-python-toutes-les-minutes-monitorer-google-avec-curl-et-journaliser-en-temps-417027dcc707?source=rss-97cd9863b852------2</link>
            <guid isPermaLink="false">https://medium.com/p/417027dcc707</guid>
            <category><![CDATA[italy]]></category>
            <dc:creator><![CDATA[Ismael GALEKWA]]></dc:creator>
            <pubDate>Wed, 14 May 2025 10:56:20 GMT</pubDate>
            <atom:updated>2025-05-14T10:56:20.181Z</atom:updated>
            <content:encoded><![CDATA[<h3>Lancer un Script Python Toutes les Minutes : Monitorer Google avec curl et Journaliser en Temps Réel</h3><h3>Objectif</h3><p>Dans ce tutoriel, tu vas apprendre à :</p><ul><li>Écrire un script Python qui interroge https://www.google.com à l’aide de curl,</li><li>Journaliser chaque exécution avec l’heure et le statut,</li><li>Lancer ce script automatiquement <strong>chaque minute</strong> avec cron,</li><li>Et visualiser les logs <strong>en temps réel</strong> grâce à la commande tail -f.</li></ul><h3>Étape 1 — Créer le Script Python</h3><p>Commençons par écrire un script qui interroge Google avec curl et enregistre le résultat dans un fichier log.</p><h3>Code : ping_google.py</h3><p>Crée le fichier :</p><pre>nano ~/ping_google.py</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-HRBDzyAteXv9YT2bRXXQ.png" /></figure><p>Colle ce code :</p><pre>import subprocess<br>import datetime<br>import os<br># Dossier et fichier de log<br>log_dir = os.path.expanduser(&quot;~/logs&quot;)<br>log_file = os.path.join(log_dir, &quot;google_ping.log&quot;)<br>os.makedirs(log_dir, exist_ok=True)</pre><pre># Exécuter curl vers Google<br>try:<br>    result = subprocess.run(<br>        [&quot;curl&quot;, &quot;-Is&quot;, &quot;https://www.google.com&quot;],<br>        capture_output=True, text=True, timeout=10<br>    )<br>    status = &quot;SUCCESS&quot; if result.returncode == 0 else &quot;FAIL&quot;<br>    response = result.stdout.split(&quot;\r\n&quot;)[0]  # ex: HTTP/2 200<br>except Exception as e:<br>    status = &quot;ERROR&quot;<br>    response = str(e)</pre><pre># Journaliser l&#39;exécution<br>timestamp = datetime.datetime.now()<br>with open(log_file, &quot;a&quot;) as f:<br>    f.write(f&quot;{timestamp} - {status} - {response}\n&quot;)</pre><p>Enregistre avec Ctrl + O, puis quitte avec Ctrl + X.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uKtCgy0e4wGfz0A_8oDksA.png" /></figure><h3>Étape 2 — Rendre le Script Exécutable</h3><p>Dans le terminal :</p><pre>chmod +x ~/ping_google.py</pre><h3>Étape 3 — Programmer le Script avec crontab</h3><p>Lance l’éditeur de crontab :</p><pre>crontab -e</pre><p>Ajoute cette ligne à la fin :</p><pre>* * * * * /usr/bin/python3 /home/votre_utilisateur/ping_google.py</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2NrZSV0TrZUGx4_xCZYmw.png" /></figure><p>Remplace :</p><ul><li>/usr/bin/python3 par le chemin réel de Python (which python3),</li><li>/home/votre_utilisateur par ton propre chemin (echo $HOME).</li></ul><h3>Étape 4 — Observer les Logs en Temps Réel</h3><p>Crée d’abord le dossier si besoin :</p><pre>mkdir -p ~/logs</pre><p>Puis utilise :</p><pre>tail -f ~/logs/google_ping.log</pre><p>Tu verras une ligne comme celle-ci apparaître chaque minute</p><pre>2025-05-14 14:02:01.765432 - SUCCESS - HTTP/2 200</pre><h3>Tester Rapidement (Optionnel)</h3><p>Tu peux forcer une exécution manuelle du script pour voir si tout fonctionne :</p><pre>python3 ~/ping_google.py</pre><p>Puis vérifie :</p><pre>cat ~/logs/google_ping.log</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tsr7RYZv90-PAHkPRiepSQ.png" /></figure><h3>Conclusion</h3><p>Félicitations ! <br> Tu as maintenant un <strong>script Python automatique</strong>, exécuté <strong>chaque minute</strong>, qui vérifie l’accessibilité de Google, <strong>journalise les résultats</strong> et te permet de <strong>suivre tout ça en direct</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=417027dcc707" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comment lancer un script Python chaque minute avec journalisation en temps réel]]></title>
            <link>https://medium.com/@Izzy_Concept/comment-lancer-un-script-python-chaque-minute-avec-journalisation-en-temps-r%C3%A9el-433ab8afd7fb?source=rss-97cd9863b852------2</link>
            <guid isPermaLink="false">https://medium.com/p/433ab8afd7fb</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ismael GALEKWA]]></dc:creator>
            <pubDate>Wed, 14 May 2025 10:14:08 GMT</pubDate>
            <atom:updated>2025-05-14T10:14:08.664Z</atom:updated>
            <content:encoded><![CDATA[<h3>Objectif</h3><p>Dans cet article, nous allons apprendre à :</p><ul><li>Créer un script Python qui affiche <strong>“HELLO WORLD”</strong>.</li><li>Journaliser chaque exécution dans un fichier.</li><li>Lancer le script <strong>automatiquement chaque minute</strong> à l’aide de <strong>crontab</strong>.</li><li>Visualiser les logs en temps réel avec tail -f.</li></ul><h3>Étape 1 : Créer le script Python</h3><p>Commençons par écrire un script simple qui affiche <strong>“HELLO WORLD”</strong> et enregistre l’heure de l’exécution dans un fichier de log.</p><h3>Créer le fichier hello_logger.py</h3><p>Dans votre terminal :</p><pre>nano ~/hello_logger.py</pre><p>Collez le code suivant :</p><pre>import datetime<br>import os</pre><pre># Définir le chemin du fichier log<br>log_dir = os.path.expanduser(&quot;~/logs&quot;)<br>log_file = os.path.join(log_dir, &quot;hello.log&quot;)</pre><pre># Créer le dossier s’il n’existe pas<br>os.makedirs(log_dir, exist_ok=True)</pre><pre># Message à afficher<br>message = &quot;HELLO WORLD&quot;<br>timestamp = datetime.datetime.now()</pre><pre># Affichage et journalisation<br>print(f&quot;{timestamp} - {message}&quot;)<br>with open(log_file, &quot;a&quot;) as f:<br>    f.write(f&quot;{timestamp} - {message}\n&quot;)</pre><p>Enregistrez avec Ctrl + X, puis quittez avec Y et Enter.</p><h3>Étape 2 : Rendre le script exécutable</h3><pre>chmod +x ~/hello_logger.py</pre><h3>Étape 3 : Lancer le script automatiquement chaque minute avec crontab</h3><p>Ouvrez votre crontab avec :</p><pre>crontab -e</pre><p>Ajoutez cette ligne à la fin du fichier :</p><pre>* * * * * /usr/bin/python3 /home/votre_utilisateur/hello_logger.py</pre><blockquote><em>Remplacez </em><em>/home/votre_utilisateur/ par votre chemin personnel exact (utilisez </em><em>echo $HOME pour le trouver).<br> Vérifiez aussi le chemin vers Python avec </em><em>which python3.</em></blockquote><p>Enregistrez et quittez l’éditeur.</p><h3>Étape 4 : Visualiser les logs en temps réel avec tail -f</h3><p>Dans un autre terminal, tapez</p><pre>tail -f ~/logs/hello.log</pre><p>Vous verrez alors une nouvelle ligne s’afficher chaque minute comme :</p><pre>2025-05-14 14:01:00.123456 - HELLO WORLD</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OrXLMT5jiQE7ocUJa4LK1w.png" /></figure><h3>Résultat final</h3><ul><li>Votre script Python est lancé <strong>automatiquement chaque minute</strong>.</li><li>Chaque exécution est journalisée avec un horodatage.</li><li>Vous pouvez observer le tout en temps réel avec tail -f.</li></ul><h3>Astuce Bonus</h3><p>Si vous souhaitez tester manuellement le script sans attendre une minute :</p><pre>python3 ~/hello_logger.py</pre><h3>Conclusion</h3><p>Utiliser cron pour exécuter des scripts Python périodiquement est une compétence précieuse pour les développeurs et les administrateurs système. Cela permet d’automatiser des tâches de monitoring, de backup, ou même des notifications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=433ab8afd7fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Create a Simple Network Topology with Cisco Packet Tracer: Step-by-Step Guide]]></title>
            <link>https://medium.com/@Izzy_Concept/create-a-simple-network-topology-with-cisco-packet-tracer-step-by-step-guide-e0c95fbd2d82?source=rss-97cd9863b852------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0c95fbd2d82</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[sysadmin]]></category>
            <dc:creator><![CDATA[Ismael GALEKWA]]></dc:creator>
            <pubDate>Sun, 11 May 2025 12:39:04 GMT</pubDate>
            <atom:updated>2025-05-11T12:39:04.648Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I will guide you through creating a small network topology using <strong>Cisco Packet Tracer</strong>.<br> We will connect <strong>two distinct networks</strong> through a <strong>router</strong> and test communication between them.<br> This exercise is perfect for beginners who want to understand the basics of IP routing and network configuration.</p><h3>🛠️ Tools Used</h3><ul><li><strong>Software</strong>: Cisco Packet Tracer (version used: XX)</li><li><strong>Devices</strong>:</li><li>1 Router (Cisco 2911)</li><li>2 Switches (Cisco 2960)</li><li>4 PCs (2 for each network)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SccouB_bzaOjoM31Z0Qv3Q.png" /></figure><h3>🗺️ Step 1: Build the Physical Topology</h3><ol><li><strong>Place the devices</strong>:</li></ol><ul><li>1 router</li><li>2 switches</li><li>4 PCs (PC1, PC2, PC3, PC4)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yVWOcFl8djvqdY3kxD1hIA.png" /></figure><p><strong>2. Connect the devices</strong> using <strong>copper straight-through cables</strong>:</p><ul><li><strong>PC1 and PC2</strong> to <strong>Switch 1</strong></li><li><strong>PC3 and PC4</strong> to <strong>Switch 2</strong></li><li><strong>Switch 1</strong> to <strong>Gig0/0</strong> port on the router</li><li><strong>Switch 2</strong> to <strong>Gig0/1</strong> port on the router</li></ul><p>3. Make sure the links turn <strong>green</strong> (they might be orange at first, which is normal).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dazoLLQC4Zihk8fAL805oA.png" /></figure><h3>⚙️ Step 2: Configure the Router</h3><p>The router is the key to enabling communication between the two networks.</p><h3>1. Access the router (CLI tab) and enter the following configuration:</h3><pre>enable<br>configure terminal<br>interface gigabitEthernet0/0<br>ip address 192.168.1.1 255.255.255.0<br>no shutdown<br>exit<br>interface gigabitEthernet0/1<br>ip address 192.168.2.1 255.255.255.0<br>no shutdown<br>exit<br>end<br>write memory</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uok9y1eRpJsvlFe_KUPB2Q.png" /></figure><h3>2. Verify the interfaces are active:</h3><pre>show ip interface brief</pre><p>👉 Both <strong>Gig0/0</strong> and <strong>Gig0/1</strong> should show <strong>up</strong> and <strong>up</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XFDZr3gWh1KiuluMVQASDw.png" /></figure><h3>💻 Step 3: Configure IP Addresses on the PCs</h3><p>For the PCs to communicate, they must have the correct network settings and gateway addresses.</p><h3>🔵 PC1 (Network 192.168.1.0)</h3><ul><li><strong>IP Address</strong>: 192.168.1.2</li><li><strong>Subnet Mask</strong>: 255.255.255.0</li><li><strong>Default Gateway</strong>: 192.168.1.1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*phOF3gIemx8L0Sd7EuuqiQ.png" /></figure><h3>🔵 PC2</h3><ul><li><strong>IP Address</strong>: 192.168.1.3</li><li><strong>Subnet Mask</strong>: 255.255.255.0</li><li><strong>Default Gateway</strong>: 192.168.1.1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qo4DVeN_2tPM8kRmE0GvJw.png" /></figure><h3>🟢 PC3 (Network 192.168.2.0)</h3><ul><li><strong>IP Address</strong>: 192.168.2.2</li><li><strong>Subnet Mask</strong>: 255.255.255.0</li><li><strong>Default Gateway</strong>: 192.168.2.1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5M2cGYDRMb4UgT6L7caNKA.png" /></figure><h3>🟢 PC4</h3><ul><li><strong>IP Address</strong>: 192.168.2.3</li><li><strong>Subnet Mask</strong>: 255.255.255.0</li><li><strong>Default Gateway</strong>: 192.168.2.1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iUQ3sjRxWRcRB_zkR5PG3g.png" /></figure><h3>📶 Step 4: Test the Communication</h3><p>Now, let’s test connectivity using the <strong>ping</strong> command.</p><h3>🔎 Test 1: Same network communication</h3><p>From <strong>PC1</strong>, open the <strong>Command Prompt</strong> and type:</p><pre>ping 192.168.1.3</pre><p>You should see replies if the local network is working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tyKv3LSqzZaQDIss6Mvfdg.png" /></figure><h3>🔎 Test 2: Inter-network communication (via the router)</h3><p>Still from <strong>PC1</strong>, type:</p><pre>ping 192.168.2.2</pre><p>👉 If you get replies, congratulations — your routing is working! 🎉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GHnU7RvS_J8-A01euXiTCQ.png" /></figure><h3>🆘 Troubleshooting Tips</h3><p>If the ping fails:</p><ul><li>Check the router interfaces’ status:</li></ul><pre>show ip interface brief</pre><ul><li>Make sure the <strong>PCs have the correct IP addresses and gateways</strong>.</li><li>Verify that the router interfaces are activated using the no shutdown command.</li></ul><h3>✅ Conclusion</h3><p>By following these steps, we created a simple topology with <strong>two networks</strong> that can communicate with each other through the router.<br> This exercise is an excellent foundation for understanding IP routing and preparing for more advanced network projects.</p><h3>🚀 What’s next?</h3><p>Here are a few ideas to take this project further:</p><ul><li>Add <strong>VLANs</strong> to logically separate PCs</li><li>Set up a <strong>DHCP server</strong></li><li>Test <strong>dynamic routing</strong> using RIP or OSPF</li><li>Simulate basic <strong>Internet access</strong> 🌐</li></ul><p><strong>And you — what kind of topology would you like to build next?</strong><br> Feel free to share your experience or ask questions in the comments!</p><h3>🙌 Thank you for following this guide!</h3><p>If this article helped you, consider giving it a <strong>clap</strong> and sharing it with your fellow networking enthusiasts!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0c95fbd2d82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Complete Guide: Creating and Configuring an S3 Bucket on AWS Using CloudShell]]></title>
            <link>https://medium.com/@Izzy_Concept/complete-guide-creating-and-configuring-an-s3-bucket-on-aws-using-cloudshell-ee52d6fd92cd?source=rss-97cd9863b852------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee52d6fd92cd</guid>
            <category><![CDATA[system]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <dc:creator><![CDATA[Ismael GALEKWA]]></dc:creator>
            <pubDate>Fri, 09 May 2025 13:18:26 GMT</pubDate>
            <atom:updated>2025-05-09T13:18:26.228Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Amazon S3 (Simple Storage Service) is a secure and scalable cloud storage service. Whether you use <strong>AWS CloudShell</strong> (directly in the AWS Console), this guide provides a step-by-step walkthrough for creating, configuring, and managing an S3 bucket.</p><h3>Prerequisites</h3><ul><li>An <strong>AWS account</strong> (<a href="https://aws.amazon.com/free/">free tier available</a>).</li><li><strong>AWS CloudShell</strong> (built into the AWS Console).</li><li>Sufficient IAM permissions (AmazonS3FullAccess recommended for testing).</li></ul><h3>1. Access CloudShell</h3><ol><li>Log in to the <a href="https://console.aws.amazon.com/">AWS Console</a>.</li><li>Click the <strong>CloudShell</strong> icon (top-right corner).<br>→ A pre-configured terminal opens.</li></ol><p>aws s3api create-bucket \ <br> — bucket my-cloudshell-bucket-$(date +%s) \ <br> — region eu-west-1 \ <br> — create-bucket-configuration LocationConstraint=eu-west-1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jo-R2IzRPUTzsGFwUJt3GA.png" /></figure><h3>Advanced Configurations</h3><h3>1. Enable Versioning</h3><p>aws s3api put-bucket-versioning \ <br> — bucket my-unique-bucket-123456789 \ <br> — versioning-configuration Status=Enabled</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7v67D0WVDaYIOc7lZmtxtA.png" /></figure><h3>2. Block Public Access</h3><p>aws s3api put-public-access-block \ <br> — bucket my-unique-bucket-123456789 \ <br> — public-access-block-configuration \ <br> “BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true”</p><h3>3. Upload a Test File</h3><p>echo “Test content” &gt; test-file.txt <br>aws s3 cp test-file.txt s3://my-unique-bucket-123456789/</p><h3>4. Delete the Bucket</h3><p>aws s3 rb s3://my-unique-bucket-123456789 — force</p><h3>Best Practices</h3><ol><li><strong>Unique Naming</strong>:</li></ol><ul><li>Use suffixes like -prod, -dev, or timestamps.</li></ul><ol><li><strong>Encryption</strong>:</li></ol><p>aws s3api put-bucket-encryption \ <br> — bucket my-unique-bucket-123456789 \ <br> — server-side-encryption-configuration ‘{“Rules”: [{“ApplyServerSideEncryptionByDefault”: {“SSEAlgorithm”: “AES256”}}]}’</p><h3>Conclusion</h3><p>Creating an S3 bucket with AWS CLI or CloudShell is simple yet powerful. Whether you’re a developer, admin, or cloud architect, mastering these commands is essential for efficient AWS data management.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee52d6fd92cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comment Déployer WordPress sur un Serveur Linux via SSH : Guide Complet pour Débutants]]></title>
            <link>https://medium.com/@Izzy_Concept/comment-d%C3%A9ployer-wordpress-sur-un-serveur-linux-via-ssh-guide-complet-pour-d%C3%A9butants-696e99f612d4?source=rss-97cd9863b852------2</link>
            <guid isPermaLink="false">https://medium.com/p/696e99f612d4</guid>
            <dc:creator><![CDATA[Ismael GALEKWA]]></dc:creator>
            <pubDate>Fri, 09 May 2025 06:12:27 GMT</pubDate>
            <atom:updated>2025-05-09T06:12:27.004Z</atom:updated>
            <content:encoded><![CDATA[<h3>Comment Déployer WordPress sur un Serveur Linux via SSH : Guide Complet pour Débutants</h3><p>Introduction</p><p>Vous souhaitez installer WordPress sur un serveur Linux, mais vous ne savez pas par où commencer ? Ce guide pas à pas vous montrera comment déployer WordPress en utilisant uniquement SSH, même si vous êtes débutant. Que ce soit pour un blog, un portfolio ou un site e-commerce, suivez ces instructions pour tout configurer en moins de 30 minutes !</p><p>Prérequis</p><p>Avant de commencer, assurez-vous d’avoir :</p><p>1. Un serveur Linux (Ubuntu/Debian recommandé) avec accès SSH.</p><p>2. Un nom de domaine (optionnel, mais recommandé pour un site professionnel).</p><p>3. Un utilisateur avec droits sudo.</p><p>Étape 1 : Connexion au Serveur via SSH</p><p>Ouvrez un terminal et connectez-vous à votre serveur :</p><p>bash</p><p><em>ssh utilisateur@votre_adresse_ip</em></p><p>Remplacez `<em>utilisateur` et `votre_adresse_ip</em>` par vos identifiants.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3kHW2O-3Br9ZvsRydahg7g.png" /></figure><p>Étape 2 : Mise à Jour du Système</p><p>Toujours commencer par mettre à jour les paquets :</p><p>bash</p><p><em>sudo apt update &amp;&amp; sudo apt upgrade -y</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rj5yv1OasBUvQsGeLFmhTg.png" /></figure><p>Étape 3 : Installation des Dépendances</p><p>WordPress nécessite :</p><p>- Un serveur web (Apache ou Nginx).</p><p>- Une base de données (MySQL/MariaDB).</p><p>- PHP pour l’exécution.</p><p>Option 1 : Apache (pour les débutants)</p><p>bash</p><p><em>sudo apt install apache2 mariadb-server php php-mysql php-curl php-gd php-mbstring php-xml php-zip -y</em></p><p>Option 2 : Nginx (plus performant)</p><p><em>bash</em></p><p><em>sudo apt install nginx mariadb-server php-fpm php-mysql php-curl php-gd php-mbstring php-xml php-zip -y</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N4l7cLzbDrjjG3kQONeMmA.png" /></figure><p>Étape 4 : Configuration de la Base de Données</p><p>1. Sécurisez MySQL :</p><p><em>bash</em></p><p><em>sudo mysql_secure_installation</em></p><p>Répondez aux questions (mot de passe root, suppression des accès anonymes, etc.).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G6hCHPF0YyiS0g_INRuEzA.png" /></figure><p>2. Créez une base de données pour WordPress :</p><p><em>bash</em></p><p><em>sudo mysql -u root -p</em></p><p>Dans MySQL, exécutez :</p><p>sql</p><p>CREATE DATABASE wordpress;</p><p>CREATE USER ‘wordpress_user’@’localhost’ IDENTIFIED BY ‘votre_mot_de_passe’;</p><p>GRANT ALL PRIVILEGES ON wordpress.* TO ‘wordpress_user’@’localhost’;</p><p>FLUSH PRIVILEGES;</p><p>EXIT;</p><p>Étape 5 : Téléchargement de WordPress</p><p><em>bash</em></p><p><em>cd /tmp</em></p><p><em>wget </em><a href="https://wordpress.org/latest.tar.gz"><em>https://wordpress.org/latest.tar.gz</em></a></p><p><em>tar -xzvf latest.tar.gz</em></p><p><em>sudo mv wordpress /var/www/html/</em></p><p><em>sudo chown -R www-data:www-data /var/www/html/wordpress</em></p><p>Étape 6 : Configuration du Serveur Web</p><p>Pour Apache :</p><p>1. Créez un fichier de configuration :</p><p><em>bash</em></p><p><em>sudo nano /etc/apache2/sites-available/wordpress.conf</em></p><p>Collez :</p><p><em>apache</em></p><p><em>&lt;VirtualHost *:80&gt;</em></p><p><em>ServerAdmin admin@votre_domaine.com</em></p><p><em>DocumentRoot /var/www/html/wordpress</em></p><p><em>ServerName votre_domaine.com</em></p><p><em>&lt;Directory /var/www/html/wordpress&gt;</em></p><p><em>AllowOverride All</em></p><p><em>&lt;/Directory&gt;</em></p><p><em>&lt;/VirtualHost&gt;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x27uq8olBO-RmMHS7cm-HQ.png" /></figure><p>2. Activez le site :</p><p><em>bash</em></p><p><em>sudo a2ensite wordpress.conf</em></p><p><em>sudo a2enmod rewrite</em></p><p><em>sudo systemctl restart apache2</em></p><p>Pour Nginx :</p><p>1. Créez un fichier de configuration :</p><p><em>bash</em></p><p><em>sudo nano /etc/nginx/sites-available/wordpress</em></p><p>Collez :</p><p><em>nginx</em></p><p><em>server {</em></p><p><em>listen 80;</em></p><p><em>root /var/www/html/wordpress;</em></p><p><em>index index.php;</em></p><p><em>server_name votre_domaine.com;</em></p><p><em>location / {</em></p><p><em>try_files $uri $uri/ /index.php?$args;</em></p><p><em>}</em></p><p><em>location ~ \.php$ {</em></p><p><em>include snippets/fastcgi-php.conf;</em></p><p><em>fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;</em></p><p><em>}</em></p><p><em>}</em></p><p>2. Activez le site :</p><p><em>bash</em></p><p><em>sudo ln -s /etc/nginx/sites-available/wordpress /etc/nginx/sites-enabled/</em></p><p><em>sudo nginx -t</em></p><p><em>sudo systemctl restart nginx</em></p><p>Étape 7 : Finalisation de l’Installation</p><p>1. Accédez à votre site via :</p><p>- <a href="http://votre_adresse_ip`/">http://votre_adresse_ip`</a> (si pas de domaine).</p><p>- <a href="http://votre_domaine.com`/">http://votre_domaine.com`</a> (si domaine configuré).</p><p>2. Suivez l’assistant WordPress :</p><p>- Choisissez la langue.</p><p>- Entrez les détails de la base de données créée plus tôt.</p><p>- Définissez un identifiant et un mot de passe administrateur.</p><p>Bonus : Sécuriser avec HTTPS</p><p>Installez Certbot (Let’s Encrypt) :</p><p>bash</p><p>sudo apt install certbot python3-certbot-apache -y # Pour Apache</p><p>sudo certbot — apache -d votre_domaine.com</p><p>Ou pour Nginx :</p><p>bash</p><p>sudo apt install certbot python3-certbot-nginx -y</p><p>sudo certbot — nginx -d votre_domaine.com</p><p>Conclusion</p><p>Félicitations ! WordPress est maintenant installé sur votre serveur Linux. Vous pouvez commencer à personnaliser votre site en ajoutant des thèmes, des plugins et du contenu.</p><p>Besoin d’aide ? Posez vos questions en commentaires ! 🚀</p><p>À propos de l’auteur :</p><p>Ismael GALEKWA est SysAdmin et IT Spport. Passionné par les technologies open-source, j’aide les débutants à maîtriser Linux et WordPress.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=696e99f612d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mon premier Projet AWS S3 stockage de fichier dans le cloud]]></title>
            <link>https://medium.com/@Izzy_Concept/mon-premier-projet-aws-s3-stockage-de-fichier-dans-le-cloud-75bd723eb6c7?source=rss-97cd9863b852------2</link>
            <guid isPermaLink="false">https://medium.com/p/75bd723eb6c7</guid>
            <dc:creator><![CDATA[Ismael GALEKWA]]></dc:creator>
            <pubDate>Thu, 08 May 2025 11:09:38 GMT</pubDate>
            <atom:updated>2025-05-08T11:09:38.114Z</atom:updated>
            <content:encoded><![CDATA[<p>Dans le cadre de ma formation cloud, j’ai découvert Amazon S3. voici comment j’ai crée un bucket uploadé des fichiers et configuré les permissions, avec des captures pour chaque étape.</p><ol><li>Dans la console AWS, recherchez <strong>S3</strong>.</li><li>Cliquez sur <strong>“Create bucket”</strong>.</li><li>Nommez le bucket</li></ol><figure><img alt="Figure 1 : Page de création d’un bucket S3 dans la console AWS." src="https://cdn-images-1.medium.com/max/1024/1*43FRzyGloAwC0TJXglDmpQ.png" /><figcaption><strong><em>Figure 1 : Page de création d’un bucket S3 dans la console AWS.</em></strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*topPz0gfCSydYoD6bfPbaQ.png" /><figcaption><strong><em>Figure 2: Confirmer la création du bucket S3 dans la console AWS.</em></strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HMd92XEBVjMPFtWV29ywEA.png" /><figcaption><strong><em>Figure 3: Visualisation du bucket S3 crée dans la console AWS.</em></strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rSamSGfkFFLVRtlVYmy5ww.png" /><figcaption><strong>figure 4: importation du fichier</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k55xs0cXO1XhTDdLs4r1MA.png" /><figcaption><strong>figure 5: choix de l’importation</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lzjo7LAcV25Mufc2AZP50g.png" /><figcaption><strong>Fifure 6: sélection et confirmation de l’importation</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oPA2De2J9bmaK8n2g61LWA.png" /><figcaption><strong>figure 7: upload</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MyI_VQvzEeskUlAFiO9Ung.png" /><figcaption><strong>figure 8: vérification du fichier importer</strong></figcaption></figure><p>Avez-vous déjà utilisé S3 ? Partagez vos retours en commentaires !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75bd723eb6c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>