<?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:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[STF4 PERSONNAL MEMORY]]></title><description><![CDATA[Mon pense bête ,pour ne pas oublier l'essentiel .....]]></description><link>https://ghost.stf4.com/</link><image><url>https://ghost.stf4.com/favicon.png</url><title>STF4 PERSONNAL MEMORY</title><link>https://ghost.stf4.com/</link></image><generator>Ghost 4.47</generator><lastBuildDate>Sun, 12 Apr 2026 14:37:03 GMT</lastBuildDate><atom:link href="https://ghost.stf4.com/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Immich]]></title><description><![CDATA[<p>Cr&#xE9;ation d&apos;un dossier dans /immich</p><h2 id="%F0%9F%92%BE-installer-immich">&#x1F4BE; Installer Immich</h2><ol><li>Cr&#xE9;er le dossier Immich:</li></ol><pre><code class="language-code">mkdir immich</code></pre><ol><li>Se rendre dans le dossier:</li></ol><pre><code class="language-code">cd immich</code></pre><ol><li>R&#xE9;cup&#xE9;rez le docker-compose.yml:</li></ol><pre><code class="language-code">wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml</code></pre><ol><li>R&</li></ol>]]></description><link>https://ghost.stf4.com/immich/</link><guid isPermaLink="false">68cfca5fd96615033432163f</guid><dc:creator><![CDATA[Sony]]></dc:creator><pubDate>Sun, 21 Sep 2025 09:54:54 GMT</pubDate><content:encoded><![CDATA[<p>Cr&#xE9;ation d&apos;un dossier dans /immich</p><h2 id="%F0%9F%92%BE-installer-immich">&#x1F4BE; Installer Immich</h2><ol><li>Cr&#xE9;er le dossier Immich:</li></ol><pre><code class="language-code">mkdir immich</code></pre><ol><li>Se rendre dans le dossier:</li></ol><pre><code class="language-code">cd immich</code></pre><ol><li>R&#xE9;cup&#xE9;rez le docker-compose.yml:</li></ol><pre><code class="language-code">wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml</code></pre><ol><li>R&#xE9;cup&#xE9;rez le .env:</li></ol><pre><code class="language-code">wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env</code></pre><ol><li>Il est maintenant temps de lancer l&apos;installation d&apos;Immich:</li></ol><pre><code class="language-code">docker-compose up -d
</code></pre><p>ou avec docker-compose V2:</p><pre><code class="language-code">docker compose up -d</code></pre><ol><li>Quand l&apos;installation est termin&#xE9;e, rendez-vous sur le lien suivant avec votre navigateur (en prenant soin de changer &quot;ip&quot; par l&apos;IP locale de votre serveur):</li></ol><pre><code class="language-code">http://ip:2283</code></pre><p>Installer immiche Frame dans un sous dossier </p><p>mkdir immich-dossier 1</p><pre><code class="language-code">nano compose.yml</code></pre><ol><li>Stick it in :</li></ol><pre><code class="language-yml">name: immichframe-Dossier1
services:
  immichframe:
    container_name: immichframe-dossier1
    image: ghcr.io/immichframe/immichframe:latest
    restart: on-failure
    ports:
      - &quot;8600:8080&quot;
    environment:
      TZ: &quot;Europe/Brussels&quot;
      # Required
      ImmichServerUrl: &quot;http://192.168.1.176:2283&quot;
      ApiKey: &quot;4QUdiSTbT1ZaLu7J0vmLFesAEOBzXvJBj6pe8rfQYig&quot;
      #Security
      AuthenticationSecret: &quot;test&quot;
      # Image
      ImageZoom: &quot;true&quot;  
      Interval: &quot;10&quot;
      TransitionDuration: &quot;2&quot;
      # Filters
      Albums: &quot;09a4a1ee-18f2-4bfa-8094-41e55063c1e7&quot;
      ShowMemories: &quot;false&quot;
      ShowFavorites: &quot;false&quot;
      ImagesFromDays: &quot;&quot;
      ImagesFromDate: &quot;&quot;
      ImagesUntilDate: &quot;&quot;
      # Clock
      ShowClock: &quot;true&quot;
      ClockFormat: &quot;HH:mm&quot;
      # Metadata
      ShowImageDesc: &quot;true&quot;
      ShowImageLocation: &quot;true&quot;
      ShowPhotoDate: &quot;true&quot;
      PhotoDateFormat: &quot;yyyy-MM-dd&quot;
      # Caching
      RenewImagesDuration: &quot;30&quot;
      DownloadImages: &quot;false&quot;
      RefreshAlbumPeopleInterval: &quot;12&quot;
      # UI
      PrimaryColor: &quot;#FF5733&quot;
      BaseFontSize: &quot;17px&quot;
      # Misc
      ImmichFrameAlbumName: &quot;&quot;
      Style: &quot;none&quot;
      Layout: &quot;splitview&quot;</code></pre><p>Si plusieur instances cr&#xE9;er a chaque fois un nouveau dossier et replacer le fichier docker compose.yml</p>]]></content:encoded></item><item><title><![CDATA[Proxmo error]]></title><description><![CDATA[<p>If you have :cluster not ready - no quorum? (500)</p><p>pvecm expect 1</p>]]></description><link>https://ghost.stf4.com/proxmo-error/</link><guid isPermaLink="false">66f63697df8b7f031a58f6d7</guid><category><![CDATA[proxmox]]></category><dc:creator><![CDATA[Sony]]></dc:creator><pubDate>Fri, 27 Sep 2024 04:38:31 GMT</pubDate><content:encoded><![CDATA[<p>If you have :cluster not ready - no quorum? (500)</p><p>pvecm expect 1</p>]]></content:encoded></item><item><title><![CDATA[Guide pratique des règles concernant les bagages pour les vols en 2024 et conseils pour le voyage !]]></title><description><![CDATA[<figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://www.dealabs.com/discussions/guide-pratique-des-regles-concernant-les-bagages-pour-les-vols-en-2024-et-conseils-pratiques-pour-le-voyage-2744699"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Guide pratique des r&#xE8;gles concernant les bagages pour les vols en 2024 et conseils pour le voyage ! &#x2013; Dealabs.com</div><div class="kg-bookmark-description"></div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://www.dealabs.com/assets/img/appicon_6f27a.png" alt><span class="kg-bookmark-author">Poster&#x2026;</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://www.dealabs.com/assets/img/skeletons/line_0a5db.svg" alt></div></a></figure><p><strong><strong>Les r&#xE8;gles des diff&#xE9;rentes compagnies a&#xE9;riennes</strong></strong></p><hr><p><br><em><em>Avant de prendre votre vol, consultez toujours les directives de la compagnie a&#xE9;</em></em></p>]]></description><link>https://ghost.stf4.com/guide-pratique-des-regles-concernant-les-bagages-pour-les-vols-en-2024-et-conseils-pour-le-voyage/</link><guid isPermaLink="false">6608f3443559f401e370c1fe</guid><category><![CDATA[voyage]]></category><dc:creator><![CDATA[Sony]]></dc:creator><pubDate>Sun, 31 Mar 2024 05:24:49 GMT</pubDate><content:encoded><![CDATA[<figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://www.dealabs.com/discussions/guide-pratique-des-regles-concernant-les-bagages-pour-les-vols-en-2024-et-conseils-pratiques-pour-le-voyage-2744699"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Guide pratique des r&#xE8;gles concernant les bagages pour les vols en 2024 et conseils pour le voyage ! &#x2013; Dealabs.com</div><div class="kg-bookmark-description"></div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://www.dealabs.com/assets/img/appicon_6f27a.png" alt><span class="kg-bookmark-author">Poster&#x2026;</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://www.dealabs.com/assets/img/skeletons/line_0a5db.svg" alt></div></a></figure><p><strong><strong>Les r&#xE8;gles des diff&#xE9;rentes compagnies a&#xE9;riennes</strong></strong></p><hr><p><br><em><em>Avant de prendre votre vol, consultez toujours les directives de la compagnie a&#xE9;rienne sp&#xE9;cifique avec laquelle vous voyagez, car ces r&#xE8;gles peuvent varier et sont sujettes &#xE0; des modifications. Les informations ci-apr&#xE8;s peuvent avoir chang&#xE9; depuis la r&#xE9;daction de cet article !</em></em><br><br>Pour la plupart des compagnies, il vaut mieux r&#xE9;server vos bagages en ligne plut&#xF4;t qu&apos;au moment de l&apos;enregistrement &#xE0; l&apos;a&#xE9;roport, les tarifs peuvent aller du simple au triple...<br>Le bagage &#xE0; main doit normalement pouvoir &#xEA;tre plac&#xE9; sous le si&#xE8;ge situ&#xE9; devant vous, le bagage cabine est rang&#xE9; dans les espaces de rangement pr&#xE9;vus au dessus des si&#xE8;ges.<br>En g&#xE9;n&#xE9;ral, les poign&#xE9;es et roulettes doivent &#xEA;tre inclus dans les dimensions indiqu&#xE9;es.<br><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11114540" rel="ugc nofollow noopener">Air France</a></strong></strong><br><em><em>Bagages en Cabine</em></em></p><ul><li>55 x 35 x 25 cm - jusqu&apos;&#xE0; 12kg + 1 accessoire 40 x 30 x 15 cm</li></ul><p><em><em>Bagages en Soute</em></em></p><ul><li>158 cm (longueur + largeur + hauteur) - jusqu&apos;&#xE0; 23 kg en classe &#xE9;co <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>R&#xE9;servations : <a href="https://www.dealabs.com/visit/threaddesc/2744699/10703342" rel="ugc nofollow noopener">wwws.airfrance.fr/</a></em></em><br><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11485030" rel="ugc nofollow noopener">Ryanair</a></strong></strong><br><em><em>Bagages en Cabine</em></em></p><ul><li>Bagage &#xE0; main : 40 x 20 x 25 cm</li><li>Bagage cabine : 55 x 40 x 20 cm - jusqu&apos;&#xE0; 10 kg <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>Bagages en Soute</em></em></p><ul><li>Jusqu&apos;&#xE0; 120 x 120 x 80 cm et 20 kg <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>R&#xE9;servations : <a href="https://www.dealabs.com/visit/threaddesc/2744699/10151484" rel="ugc nofollow noopener">ryanair.com/fr/fr</a></em></em><br><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/8301010" rel="ugc nofollow noopener">EasyJet</a></strong></strong><br><em><em>Bagages en Cabine</em></em></p><ul><li>1 bagage &#xE0; main : 45 x 36 x 20 cm - jusqu&apos;&#xE0; 15 kg</li><li>1 bagage cabine : 56 x 45 x 25 cm - Aucune limite de poids sp&#xE9;cifique <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>Bagages en Soute</em></em></p><ul><li>275 cm (longueur + largeur + hauteur) - jusqu&apos;&#xE0; 32 kg <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>R&#xE9;servations : <a href="https://www.dealabs.com/visit/threaddesc/2744699/8387260" rel="ugc nofollow noopener">easyjet.com/fr</a></em></em><br><br>&#x27A5; <strong><strong><a href="https://www.dealabs.com/visit/threaddesc/2744699/11508520" rel="ugc nofollow noopener">Transavia</a></strong></strong><br><em><em>Bagages en Cabine</em></em></p><ul><li>1 Bagage &#xE0; main (40 x 30 x 20 cm) + 1 Bagage cabine (55x 35x 25cm) - jusqu&apos;&#xE0; 10 kg pour les 2 ensemble</li></ul><p><em><em>Bagages en Soute</em></em></p><ul><li>Poids maximal : jusqu&apos;&#xE0; 50 kg <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>R&#xE9;servations : <a href="https://www.dealabs.com/visit/threaddesc/2744699/8324530" rel="ugc nofollow noopener">transavia.com/fr-&#x2026;il/</a></em></em><br><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508521" rel="ugc nofollow noopener">Volotea</a></strong></strong><br><em><em>Bagages en Cabine</em></em></p><ul><li>1 bagage &#xE0; main : 40 x 30 x 20 cm</li><li>1 bagage cabine : 55 x 40 x 20 cm - jusqu&apos;&#xE0; 10 kg bagage &#xE0; main inclus <em><em>(avec frais suppl&#xE9;mentaires ou membre Megavolotea)</em></em></li></ul><p><em><em>Bagages en Soute</em></em></p><ul><li>Poids maximal : jusqu&apos;&#xE0; 50 kg par passager <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>R&#xE9;servations : <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508522" rel="ugc nofollow noopener">volotea.com/fr</a></em></em><br><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508523" rel="ugc nofollow noopener">Vueling</a></strong></strong><br><em><em>Bagages en Cabine</em></em></p><ul><li>1 bagage &#xE0; main : 40 x 30 x 20 cm</li><li>1 bagage cabine : 55 x 40 x 20 cm - jusqu&apos;&#xE0; 10 kg bagage &#xE0; main inclus <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>Bagages en Soute</em></em></p><ul><li>158 cm (longueur + largeur + hauteur) - jusqu&apos;&#xE0; 30 kg <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>R&#xE9;servations : <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508524" rel="ugc nofollow noopener">vueling.com/fr</a></em></em><br><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508525" rel="ugc nofollow noopener">Wizz Air</a></strong></strong><br><em><em>Bagages en Cabine</em></em></p><ul><li>1 bagage &#xE0; main : 40 x 30 x 20 cm</li><li>1 bagage cabine : 55 x 40 x 23 cm <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>Bagages en Soute</em></em></p><ul><li>149 x 119 x 171 cm - jusqu&apos;&#xE0; 32 kg <em><em>(avec frais suppl&#xE9;mentaires)</em></em></li></ul><p><em><em>R&#xE9;servations </em></em><em><em>: </em></em><em><em><a href="https://www.dealabs.com/visit/threaddesc/2744699/11508526" rel="ugc nofollow noopener">wizzair.com/fr-fr</a></em></em><br><br>Et sans faire le d&#xE9;tail :<br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508527" rel="ugc nofollow noopener">Turkish Airlines</a></strong></strong><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508528" rel="ugc nofollow noopener">British Airways</a></strong></strong><br><strong><strong>&#x27A5; </strong></strong><strong><strong><a href="https://www.dealabs.com/visit/threaddesc/2744699/11508529" rel="ugc nofollow noopener">Emirates</a></strong></strong><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508530" rel="ugc nofollow noopener">Lufthansa</a></strong></strong><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508531" rel="ugc nofollow noopener">Iberia</a></strong></strong><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508532" rel="ugc nofollow noopener">KLM</a></strong></strong><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508533" rel="ugc nofollow noopener">TAP Air Portugal</a></strong></strong><br><strong><strong>&#x27A5; <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508534" rel="ugc nofollow noopener">Aegean</a></strong></strong><br><br><em><em>En cliquant sur le nom de la compagnie, vous acc&#xE9;derez &#xE0; la page d&#xE9;di&#xE9;e d&#xE9;taillant les r&#xE8;gles en vigueur de la dite compagnie </em></em><br><br></p><hr><p><strong><strong>Que peut-on transporter en cabine ?</strong></strong></p><hr><p><br><strong><strong>Les liquides</strong></strong><br>Chaque passager peut transporter un sac en plastique 20 x 20 cm ferm&#xE9;, de moins d&apos;un litre, avec des contenants maximum de 100ml pour les liquides, cr&#xE8;mes et p&#xE2;tes.<br>Cet aspect est amen&#xE9; &#xE0; &#xE9;voluer avec des scanners 3D test&#xE9;s dans certains a&#xE9;roports, mais pour l&apos;instant il faut toujours se plier &#xE0; ces obligations...<br>Certaines d&#xE9;rogations peuvent &#xEA;tre faites, pour un b&#xE9;b&#xE9; ou sur ordonnance par exemple.<br><br><strong><strong>Les produits interdits</strong></strong><br></p><ul><li>Objets coupants, tranchants ou pointus, tels que tournevis, ciseaux, couteau (si la lame d&#xE9;passe 6 cm)</li><li>Autres objets pouvant blesser, tels que b&#xE2;ton de marche, skate-board</li><li>Armes (y compris jouets ou imitations d&apos;armes)</li><li>Produits inflammables</li></ul><p><br>En cas de doute vous pouvez v&#xE9;rifier article par article les r&#xE8;gles en vigueur sur ce site : <a href="https://www.dealabs.com/visit/threaddesc/2744699/11508535" rel="ugc nofollow noopener">airbag.dsac.aviation-civile.gouv.fr/AirBag</a><br><br></p><hr><p><strong><strong>Les conseils pour pr&#xE9;parer sa valise</strong></strong></p><hr><p><br></p><ul><li><strong><strong>Faites une liste</strong></strong> : Avant de commencer &#xE0; faire vos valises, cela vous aidera &#xE0; &#xE9;viter d&#x2019;oublier des &#xE9;l&#xE9;ments importants.</li></ul><ul><li><strong><strong>Roulez vos v&#xEA;tements au lieu de les plier</strong></strong>. Cela permet non seulement d&apos;&#xE9;conomiser de l&apos;espace, mais aide &#xE9;galement &#xE0; pr&#xE9;venir les plis.</li></ul><p><br></p><figure class="kg-card kg-image-card"><img src="https://i.ytimg.com/vi/MHfIJF7VYks/hqdefault.jpg" class="kg-image" alt loading="lazy"></figure><p><br><br></p><ul><li><strong><strong>Optez pour des v&#xEA;tements passe-partout</strong></strong> : choisissez des v&#xEA;tements que vous pouvez m&#xE9;langer et assortir facilement pour varier vos tenues sans surcharger votre valise</li></ul><ul><li><strong><strong>Utilisez des organiseurs de bagage</strong></strong> : ils vous aident &#xE0; maximiser l&#x2019;espace et &#xE0; vous y retrouver plus facilement.</li></ul><ul><li><strong><strong>Emballez les objets lourds en bas</strong></strong> : cela facilite la gestion de votre valise et &#xE9;vite que les objets plus l&#xE9;gers ne soient &#xE9;cras&#xE9;s.</li></ul><ul><li><strong><strong>Pensez aux accessoires multifonctions</strong></strong> : choisissez des accessoires polyvalents tels que des &#xE9;charpes ou des ch&#xE2;les qui peuvent servir de couverture, de foulard ou de protection solaire.</li></ul><ul><li><strong><strong>Pr&#xE9;parez votre bagage cabine avec soin</strong></strong> : Emportez toujours des v&#xEA;tements de rechange, des articles de toilette essentiels, une r&#xE9;serve de m&#xE9;dicaments et des documents importants dans votre bagage &#xE0; main, au cas o&#xF9; vos bagages enregistr&#xE9;s seraient perdus.</li></ul><ul><li><strong><strong>Emportez au moins une bouteille vide</strong></strong> : vous pourrez trouver une fontaine &#xE0; eau et la remplir une fois pass&#xE9;s les contr&#xF4;les &#xE0; l&apos;a&#xE9;roport, et ainsi boire pendant votre trajet sans passer &#xE0; la caisse pour une Vittel 50cl &#xE0; 3&#x20AC;  . Vous pouvez &#xE9;galement emballez quelques aliments coupe-faim.</li></ul><ul><li><strong><strong>Utilisez les espaces vides</strong></strong> : remplissez les chaussures et autres espaces vides avec de petits objets comme des chaussettes ou des sous-v&#xEA;tements.</li></ul><ul><li><strong><strong>Emportez une trousse de premiers soins de voyage </strong></strong>: incluez des articles comme des pansements, des analg&#xE9;siques et tout m&#xE9;dicament sur ordonnance.</li></ul><ul><li><strong><strong>N&apos;oubliez pas les chargeurs et les adaptateurs</strong></strong> : si vous voyagez &#xE0; l&apos;&#xE9;tranger, vous aurez peut-&#xEA;tre besoin d&apos;un adaptateur secteur. N&#x2019;oubliez pas non plus d&#x2019;emporter des chargeurs pour tous vos appareils.</li></ul><ul><li><strong><strong>Privil&#xE9;giez les articles de toilette au format voyage</strong></strong> : utilisez de petits contenants pour &#xE9;conomiser du poids et de l&#x2019;espace. Vous pouvez par exemple trouver des petits flacons rechargeables pour les parfums, afin de n&apos;emporter que ce qui vous sera utile pendant la dur&#xE9;e de votre s&#xE9;jour.</li></ul><ul><li><strong><strong>Pr&#xE9;parez vos documents num&#xE9;riques</strong></strong> : conservez les documents de voyage comme les cartes d&apos;embarquement sur votre t&#xE9;l&#xE9;phone pour un acc&#xE8;s facile. Gardez des copies num&#xE9;riques de certains documents importants dans des fichiers s&#xE9;curis&#xE9;s, &#xE7;a peut servir en cas de probl&#xE8;me !</li></ul><ul><li><strong><strong>Achetez des bagages l&#xE9;gers</strong></strong> : pour r&#xE9;duire le poids et augmenter l&#x2019;espace pour les objets personnels.</li></ul><p><br></p><figure class="kg-card kg-image-card"><img src="https://i.ytimg.com/vi/nhBYueTkdUs/hqdefault.jpg" class="kg-image" alt loading="lazy"></figure><p><br><em><em>Astuces pour voyager avec un bagage cabine (sac &#xE0; dos) uniquement :</em></em><br></p><figure class="kg-card kg-image-card"><img src="https://i.ytimg.com/vi/F2aPZjv0RPc/hqdefault.jpg" class="kg-image" alt loading="lazy"></figure>]]></content:encoded></item><item><title><![CDATA[mount drive emby lxc]]></title><description><![CDATA[<div class="kg-card kg-toggle-card" data-kg-toggle-state="close"><div class="kg-toggle-heading"><h4 class="kg-toggle-heading-text">mkdir /media/video</h4><button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button></div><div class="kg-toggle-content"><p>cp /etc/systemd/system/media-video.mount /etc/systemd/system/media-video11.mount</p><p>nano /etc/systemd/system/media-video11.mount<br>systemctl enable media-video11.mount</p><p>systemctl start media-video11.mount</p></div></div><h1 id="mise-en-place-du-dossier-partag%C3%A9"><strong>Mise en place du dossier partag&#xE9;</strong></h1><p>Afin que &#xE7;a soit plus simple pour moi de g&#xE9;rer le tout,</p>]]></description><link>https://ghost.stf4.com/mount-drive-emby-lxc/</link><guid isPermaLink="false">65fe937b3559f401e370c1d5</guid><dc:creator><![CDATA[Sony]]></dc:creator><pubDate>Sat, 23 Mar 2024 08:37:15 GMT</pubDate><content:encoded><![CDATA[<div class="kg-card kg-toggle-card" data-kg-toggle-state="close"><div class="kg-toggle-heading"><h4 class="kg-toggle-heading-text">mkdir /media/video</h4><button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button></div><div class="kg-toggle-content"><p>cp /etc/systemd/system/media-video.mount /etc/systemd/system/media-video11.mount</p><p>nano /etc/systemd/system/media-video11.mount<br>systemctl enable media-video11.mount</p><p>systemctl start media-video11.mount</p></div></div><h1 id="mise-en-place-du-dossier-partag%C3%A9"><strong>Mise en place du dossier partag&#xE9;</strong></h1><p>Afin que &#xE7;a soit plus simple pour moi de g&#xE9;rer le tout, j&apos;ai d&#xE9;cid&#xE9; d&apos;utiliser mon NAS (un Synology) en tant que serveur SMB. Si vous pr&#xE9;f&#xE9;rez utiliser un disque dur externe, faites-le donc, mais pensez donc &#xE0; le monter depuis le dashboard de Proxmox.</p><p>Il faudra cr&#xE9;er un utilisateur sur le serveur SMB qui aura uniquement acc&#xE8;s au dossier <code>videos</code> et qui aura les droits de lecture, d&apos;&#xE9;criture, et d&apos;acc&#xE8;s aux sous-dossiers. <strong>Pour cela, je vous laisse faire les manipulations n&#xE9;cessaires en fonction de votre installation.</strong></p><p>Une fois fait, il va falloir qu&apos;on s&apos;assure de bien connecter notre conteneur au serveur distant. Donc, on va commencer par cr&#xE9;er un dossier <code>/media/video</code> sur le conteneur LXC.</p><pre><code class="language-bash">mkdir /media/video</code></pre><p>Puis, on va cr&#xE9;er un service qui va monter pour ce dossier. Attention cela dit &#xE0; le nommer exactement comme cela, sinon ce dernier ne fonctionnera pas un peu plus tard.</p><pre><code class="language-bash">nano /etc/systemd/system/media-video.mount</code></pre><p>On va mettre le contenu suivant. N&apos;oubliez pas de changer l&apos;IP et le r&#xE9;pertoire source dans <code>What=</code> si votre dossier diff&#xE8;re d&apos;un Synology...</p><pre><code class="language-systemd">[Unit]
  Description=cifs mount script
  Requires=network-online.target
  After=network-online.service

[Mount]
  # REMPLACER &lt;IP&gt; par l&apos;IP de notre NAS (comme 192.168.0.200), ainsi que le
  # dossier cible si ce dernier n&apos;est pas au m&#xEA;me endroit.
  What=//&lt;IP&gt;/video
  Where=/media/video
  Options=credentials=/root/.smb,noperm
  Type=cifs

[Install]
  WantedBy=multi-user.target</code></pre><div class="kg-card kg-callout-card kg-callout-card-rgba(240, 165, 15, 0.13)"><div class="kg-callout-emoji">&#x1F4A1;</div><div class="kg-callout-text">Info utile : si jamais vous voulez monter votre dossier vid&#xE9;o dans un autre endroit (supposons dans<span>&#xA0;</span><code spellcheck="false" style="background-repeat: no-repeat; box-sizing: border-box; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 0.9rem; color: var(--link-color); display: inline-block; padding: 0px 5px; background-color: var(--secondary-subtle-color); border-radius: 5px; white-space: pre-wrap;">/mnt/mondossier/defolie</code>), vous devrez cr&#xE9;er votre fichier en tant que<span>&#xA0;</span><code spellcheck="false" style="background-repeat: no-repeat; box-sizing: border-box; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 0.9rem; color: var(--link-color); display: inline-block; padding: 0px 5px; background-color: var(--secondary-subtle-color); border-radius: 5px; white-space: pre-wrap;">mnt-mondossier-defolie.mount</code><span>&#xA0;</span>! Vous devrez aussi modifier la partie<span>&#xA0;</span><code spellcheck="false" style="background-repeat: no-repeat; box-sizing: border-box; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 0.9rem; color: var(--link-color); display: inline-block; padding: 0px 5px; background-color: var(--secondary-subtle-color); border-radius: 5px; white-space: pre-wrap;">Where=</code><span>&#xA0;</span>du tuto pour pointer bien sur vers /mnt/mondossier/defolie !</div></div><p>Enfin, on va cr&#xE9;er un fichier dans le dossier /root qui contiendra nos informations de compte pour se connecter au serveur SMB.</p><p><code>nano /root/.smb</code></p><pre><code>username=my_user_dedicated_to_video_folder
password=this_is_my_password</code></pre><p>Enfin, on va installer le service CIFS permettant de mettre en lien entre le serveur Synology et notre conteneur LXC:</p><pre><code>apt update &amp;&amp; apt install cifs-utils</code></pre><p>On va pouvoir d&#xE9;sormais cr&#xE9;er le service.</p><pre><code>systemctl enable media-video.mount
systemctl start media-video.mount</code></pre><p>Si aucun message d&apos;erreur apparait, regardez le contenu dans le dossier qu&apos;on a mont&#xE9;. Et de plus, dans Jellyfin, vous devriez voir le dossier, ainsi que ses sous-r&#xE9;pertoires.</p><p>Par ailleurs, je vous conseille de faire un dossier d&#xE9;di&#xE9; aux films, un autres aux s&#xE9;ries, un autre aux dessins anim&#xE9;s, un autre aux anime... Cela sera bien plus facile &#xE0; g&#xE9;rer dans le futur.</p>]]></content:encoded></item><item><title><![CDATA[How to install Plex Media Server in a Proxmox Linux Container (LXC)]]></title><description><![CDATA[<figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option1_Mounting_SMB-CIFS_Share"><div class="kg-bookmark-content"><div class="kg-bookmark-title">How to install Plex Media Server in a Proxmox Linux Container (LXC)</div><div class="kg-bookmark-description">Proxmox containers are a lightweight alternative to fully Virtualized Machines (VMs).We will in this guide show how Plex Media Server can be installed in aLinux Container (LXC).</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://www.geekbitzone.com/apple-touch-icon.png" alt><span class="kg-bookmark-author">GeekBitZone</span><span class="kg-bookmark-publisher">GeekBitZone</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://www.geekbitzone.com/img/posts/posts_plex-proxmox-lxc.png" alt></div></a></figure><h2 id="table-of-contents">Table of Contents</h2><ul><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#introducing-linux-containers-lxc">Introducing Linux Containers (LXC)</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#privileged-vs-unprivileged">Privileged</a></li></ul>]]></description><link>https://ghost.stf4.com/how-to-install-plex-media-server-in-a-proxmox-linux-container-lxc/</link><guid isPermaLink="false">65fddab13559f401e370c1c3</guid><dc:creator><![CDATA[Sony]]></dc:creator><pubDate>Fri, 22 Mar 2024 19:25:34 GMT</pubDate><content:encoded><![CDATA[<figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option1_Mounting_SMB-CIFS_Share"><div class="kg-bookmark-content"><div class="kg-bookmark-title">How to install Plex Media Server in a Proxmox Linux Container (LXC)</div><div class="kg-bookmark-description">Proxmox containers are a lightweight alternative to fully Virtualized Machines (VMs).We will in this guide show how Plex Media Server can be installed in aLinux Container (LXC).</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://www.geekbitzone.com/apple-touch-icon.png" alt><span class="kg-bookmark-author">GeekBitZone</span><span class="kg-bookmark-publisher">GeekBitZone</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://www.geekbitzone.com/img/posts/posts_plex-proxmox-lxc.png" alt></div></a></figure><h2 id="table-of-contents">Table of Contents</h2><ul><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#introducing-linux-containers-lxc">Introducing Linux Containers (LXC)</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#privileged-vs-unprivileged">Privileged vs Unprivileged</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#software-versions-used">Software Versions Used</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#templates">Templates</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#debian">Debian</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#creating-the-container">Creating the Container</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Configuration">Configuration</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#updating-the-system">Updating the System</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#installing-plex">Installing Plex</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#logging-into-plex">Logging into Plex</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#adding-media-to-plex">Adding Media to Plex</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option1_Mounting_SMB-CIFS_Share">Option 1: Mounting an SMB/CIFS share</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#installing-cifs-utils">Installing cifs-utils</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#creating-cifs-credentials">Creating CIFS Credentials</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#creating-the-mount-directory">Creating the Mount Directory</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#retrieving-plex-uid-and-gid">Retrieving Plex uid and gid</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#systemd">Systemd</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option2_Mounting_NFS_Share">Option 2: Mounting an NFS Share</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#enabling-nfs-container-support">Enabling NFS Container Support</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#installing-nfs-common">Installing nfs-common</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#creating-the-mount-directory-1">Creating the Mount Directory</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#adding-fstab-entries">Adding fstab Entries</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#mounting-the-volume">Mounting the Volume</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option3_Mounting_Host_Directory">Option 3: Mounting a Directory on the Proxmox host</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#the-pct-command">The pct Command</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#changing-file-ownership">Changing File Ownership</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#launching-the-container">Launching the Container</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Completing_the_Setup">Completing the Setup</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#summary">Summary</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#references">References</a></li></ul><hr><h2 id="how-to-install-plex-media-server-in-a-proxmox-linux-container-lxc">How to install Plex Media Server in a Proxmox Linux Container (LXC)</h2><figure class="kg-card kg-embed-card"><iframe frameborder="0" marginwidth="0" marginheight="0" allowtransparency="true" scrolling="no" width="100%" name="{&quot;name&quot;:&quot;master-1&quot;,&quot;master-1&quot;:{&quot;container&quot;:&quot;autors-container-0&quot;,&quot;styleId&quot;:&quot;5134551505&quot;,&quot;channel&quot;:&quot;AutoRsVariant&quot;,&quot;cx&quot;:&quot;r-125609fccda413e6e&quot;,&quot;domainName&quot;:&quot;www.geekbitzone.com&quot;,&quot;fexp&quot;:&quot;44759875,44759926,44759837,31081794,31081903,31082034,44795921,95325427,95326316,31082078,95320378,95321867,95322399,31061690,31078663,31078665,31078668,31078670,42532562,21404,17301383,17301421,17301437,17301438,17301442,71847095&quot;,&quot;masterNumber&quot;:1,&quot;number&quot;:0,&quot;pubId&quot;:&quot;pub-9600035748968387&quot;,&quot;role&quot;:&quot;m&quot;,&quot;hl&quot;:&quot;en&quot;,&quot;cpp&quot;:5,&quot;client_gdprApplies&quot;:1,&quot;resultsPageBaseUrl&quot;:&quot;http://google.com&quot;,&quot;columns&quot;:1,&quot;horizontalAlignment&quot;:&quot;left&quot;,&quot;resultsPageQueryParam&quot;:&quot;q&quot;,&quot;relatedSearchUseResultCallback&quot;:true,&quot;ie&quot;:&quot;UTF-8&quot;,&quot;maxTop&quot;:0,&quot;minTop&quot;:0,&quot;oe&quot;:&quot;UTF-8&quot;,&quot;relatedSearches&quot;:5,&quot;type&quot;:&quot;relatedsearch&quot;,&quot;linkTarget&quot;:&quot;_blank&quot;,&quot;fontSizeTitle&quot;:18,&quot;fontSizeAttribution&quot;:13,&quot;relatedSearchTargeting&quot;:&quot;content&quot;}}" id="master-1" src="https://www.adsensecustomsearchads.com/afs/ads?psid=5134551505&amp;channel=AutoRsVariant&amp;cx=r-125609fccda413e6e&amp;fexp=44759875%2C44759926%2C44759837%2C31081794%2C31081903%2C31082034%2C44795921%2C95325427%2C95326316%2C31082078%2C95320378%2C95321867%2C95322399%2C31061690%2C31078663%2C31078665%2C31078668%2C31078670%2C42532562%2C21404%2C17301383%2C17301421%2C17301437%2C17301438%2C17301442%2C71847095&amp;client=pub-9600035748968387&amp;r=m&amp;hl=en&amp;cpp=5&amp;rpbu=http%3A%2F%2Fgoogle.com&amp;rpqp=q&amp;type=3&amp;rs_tt=c&amp;oe=UTF-8&amp;ie=UTF-8&amp;client_gdprApplies=1&amp;format=r5&amp;nocache=5381711129144715&amp;num=0&amp;output=afd_ads&amp;domain_name=www.geekbitzone.com&amp;v=3&amp;bsl=10&amp;pac=0&amp;u_his=1&amp;u_tz=60&amp;dt=1711129144715&amp;u_w=1536&amp;u_h=864&amp;biw=1519&amp;bih=678&amp;psw=1519&amp;psh=44554&amp;frm=0&amp;uio=-&amp;cont=autors-container-0&amp;drt=0&amp;jsid=csa&amp;nfp=1&amp;jsv=616855476&amp;rurl=https%3A%2F%2Fwww.geekbitzone.com%2Fposts%2F2022%2Fproxmox%2Fplex-lxc%2Finstall-plex-in-proxmox-lxc%2F&amp;referer=https%3A%2F%2Ffr.search.yahoo.com%2F" data-observe="1" data-lle="1" title style="margin: 0px; padding: 0px; box-sizing: border-box; max-width: 100%; visibility: visible; height: 347px; display: block;"></iframe></figure><p><a href="https://www.proxmox.com/">Proxmox</a> containers are a lightweight alternative to fully Virtualized Machines <a href="https://en.wikipedia.org/wiki/Virtual_machine">(VMs)</a>. We will in this guide show how <a href="https://www.plex.tv/">Plex Media Server</a> can be installed in a <a href="https://pve.proxmox.com/wiki/Linux_Container">Linux Container (LXC)</a>.</p><h2 id="introducing-linux-containers-lxc">Introducing Linux Containers (LXC)</h2><p>Linux Containers (LXC) use the <a href="https://en.wikipedia.org/wiki/Kernel_(operating_system)">kernel</a> of the host system instead of emulating a full <a href="https://en.wikipedia.org/wiki/Operating_system">Operating System (OS)</a>. This means that containers can access resources on the host system directly and at much lower memory cost. As an example, Plex Media Server running in a VM can easily fetch several Gigabytes of RAM, while in a container, the same installation uses only a few of hundred Megabytes.</p><h3 id="privileged-vs-unprivileged">Privileged vs Unprivileged</h3><p>LXC Containers can be of two kinds; <a href="https://linuxcontainers.org/lxc/security/">privileged</a> and <a href="https://linuxcontainers.org/lxc/security/">unprivileged</a>. In a privileged container you will be able to modify resources that exist <em>outside</em> the container, while in an unprivileged container, it is only possible to modify external resources once the host has given its explicit permission.</p><p>We will in this tutorial cover <strong><strong>privileged containers</strong></strong> only due to their ease of use and by assuming that your Proxmox environment resides on a non-public facing, trusted <a href="https://en.wikipedia.org/wiki/Local_area_network">Local Area Network (LAN)</a>. If you are concerned about security; use unprivileged containers, but be aware that you <em>cannot</em> delete any <em>external</em> files from inside the Plex Media Server container*.</p><p><em>Based on the information provided by this guide.</em></p><hr><h2 id="software-versions-used">Software Versions Used</h2><p>At the time of writing, the following software versions were used:</p><ul><li><a href="https://www.proxmox.com/en/downloads/item/proxmox-ve-7-3-iso-installer">Proxmox VE 7.3-3</a></li><li><a href="http://download.proxmox.com/images/system/">Debian 11 Bullseye (standard) 11.3-1</a></li></ul><p><br><br></p><p>We have further assumed that Plex Media Server will be installed on a default Proxmox configuration with one node and one hard drive.</p><hr><h2 id="templates">Templates</h2><p>With the formalities out of the way, let&#x2019;s go ahead and download our first LXC Template.</p><p>Pick a storage area for the container. We have chosen the local disk; <strong><strong>local (pve)</strong></strong> [1] and then selected <strong><strong>CT Templates</strong></strong> [2], followed by the <strong><strong>Templates</strong></strong> [3] button.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-1.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 1" loading="lazy"></figure><h3 id="debian">Debian</h3><p>Plex Media Server can run on many platforms, but we prefer <a href="https://www.debian.org/">Debian</a>, and more specifically the <strong><strong>debian-11-standard 11.3-1</strong></strong> [1] template, because it is stable, secure and the base for many other Linux distributions, such as <a href="https://ubuntu.com/">Ubuntu</a>.</p><p>Once you have selected the template, press <strong><strong>Download</strong></strong> [2].</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-2.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 2" loading="lazy"></figure><p><strong><strong>Close</strong></strong> the Task Viewer once the download is complete.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-3.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 3" loading="lazy"></figure><h3 id="creating-the-container">Creating the Container</h3><p>We are now ready to create the LXC Container. Press the <strong><strong>Create CT</strong></strong> button in the upper-right corner.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-4.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 4" loading="lazy"></figure><p>Set <strong><strong>CT ID</strong></strong> [1] to a number of your choice*. We have chosen <code>100</code> and given our <strong><strong>Hostname</strong></strong> [2] the name <code>plex</code>.</p><p>If you want the option to be able to delete external files from within Plex Media Server, set <strong><strong>Unprivileged container</strong></strong> [3] to <code>off</code>, i.e. make it a <em><strong><strong>Privileged</strong></strong></em> container.</p><p>Finally, enter and confirm your super-secret <strong><strong>Password</strong></strong> [4][5].</p><p>Press <strong><strong>Next</strong></strong> [6].</p><p>*<em>Container numbers start from 100 to &#x201C;infinite&#x201D; and <strong><strong>cannot</strong></strong> overlap with existing containers or VMs.</em></p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-5.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 5" loading="lazy"></figure><p>Select <code>debian-11-standard_11.3-1_amd64.tar.zst</code> (the file that you just downloaded), from the <strong><strong>Template</strong></strong> [1] list.</p><p>Press <strong><strong>Next</strong></strong> [2].</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-6.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 6" loading="lazy"></figure><p><em>Optional:</em> Adjust <strong><strong>Disk size</strong></strong> if you intend store your media inside the LXC Container (not recommended), or if you need more space for metadata and thumbnails.</p><p>Press <strong><strong>Next</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-7.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 7" loading="lazy"></figure><p><em>Optional:</em> Set the number of CPU <strong><strong>Cores</strong></strong>. We are just using <code>1</code> core in this example, but adjust higher if you think you will need more power.</p><p>Press <strong><strong>Next</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-8.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 8" loading="lazy"></figure><p><em>Optional:</em> The Plex container can run with only <code>512</code> MiB RAM, but adjust here if you think more memory will be required.</p><p>Press <strong><strong>Next</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-9.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 9" loading="lazy"></figure><p>We will access the Plex Media Server interface via <strong><strong>IPv4 DHCP</strong></strong> [1], but you can also leave it at static if you do not have the option (or do not want) to create a <a href="https://www.howtogeek.com/69612/how-to-set-up-static-dhcp-on-your-dd-wrt-router/">Static DHCP</a> reservation on your <a href="https://en.wikipedia.org/wiki/Router_(computing)">router</a>.</p><p>Press <strong><strong>Next</strong></strong> [2].</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-10.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 10" loading="lazy"></figure><p>We will let our router handle <a href="https://en.wikipedia.org/wiki/Domain_Name_System">DNS</a> queries, but adjust here if necessary.</p><p>Press <strong><strong>Next</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-11.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 11" loading="lazy"></figure><p>Confirm that all settings are okay and tick <strong><strong>Start after created</strong></strong> [1].</p><p>Press <strong><strong>Finish</strong></strong> [2].</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-12.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 12" loading="lazy"></figure><p><strong><strong>Close</strong></strong> the Task Viewer once confirmed that the container has been created.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-13.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 13" loading="lazy"></figure><p>Your LXC Container should now be ready and up and running.</p><hr><h2 id="configuration">Configuration</h2><p>We are now ready to log in to the container.</p><p>Navigate to <strong><strong>100 (plex)</strong></strong> [1] and select <strong><strong>Console</strong></strong> [2].</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-14.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 14" loading="lazy"></figure><p><strong><strong>Login</strong></strong> as <code>root</code>, followed by your <code>super-secret</code> <strong><strong>Password</strong></strong>.</p><pre><code class="language-html">root
&lt;password&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-15.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 15" loading="lazy"></figure><h3 id="updating-the-system">Updating the System</h3><p>There is a good chance the default software packages that came with the Debian 11 template are out-of-date. We will therefore update the <a href="https://en.wikipedia.org/wiki/APT_(software)">APT</a> repository to ensure we have the latest list of packages.</p><p>In the terminal window, type:</p><pre><code class="language-csh">apt update</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-16.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 16" loading="lazy"></figure><p>Followed by the upgrade command:</p><pre><code class="language-csh">apt upgrade -y</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-17.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 17" loading="lazy"></figure><h3 id="installing-plex">Installing Plex</h3><p>Plex Media Server is not included, by default, in Debian&#x2019;s APT repositories, which means that it will have to be downloaded separately from <a href="https://www.plex.tv/">Plex.tv</a>&#x2019;s servers.</p><p>We will first, however, need to install <a href="https://curl.se/">curl</a> to enable fetching of URLs and <a href="https://gnupg.org/">gnupg</a> for secure authentication:</p><pre><code class="language-html">apt install curl gnupg -y</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-18.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 18" loading="lazy"></figure><p>To install Plex, a repository file must be created that pulls directly from the Plex repository. But first, a GPG key must be imported with the <code>curl</code> command and saved under <code>/usr/share/keyrings/plex.gpg</code>.</p><pre><code class="language-html">curl -sS https://downloads.plex.tv/plex-keys/PlexSign.key | gpg --dearmor | tee /usr/share/keyrings/plex.gpg &gt; /dev/null </code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-19.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 19" loading="lazy"></figure><p>Next, add the Plex repository to the standard APT sources directory.</p><pre><code class="language-html">echo &quot;deb [signed-by=/usr/share/keyrings/plex.gpg] https://downloads.plex.tv/repo/deb public main&quot; &gt; /etc/apt/sources.list.d/plexmediaserver.list</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-20.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 20" loading="lazy"></figure><p>Plex Media Server is now first class citizen in our APT repository, which means that we can go ahead and install the package as normal with the following command:</p><pre><code class="language-csh">apt update &amp;&amp; apt install plexmediaserver -y</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-21.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 21" loading="lazy"></figure><p><em>Optional:</em> <strong><strong>Reboot</strong></strong> the container to ensure that any currently locked process are re-initialised after the package update.</p><pre><code class="language-html">reboot</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-22.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 22" loading="lazy"></figure><p>Log back in with your credentials.</p><pre><code class="language-html">root
&lt;password&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-15.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 15" loading="lazy"></figure><p>Verify that Plex is <strong><strong>active (running)</strong></strong> with the <code>systemctl</code> command:</p><pre><code class="language-html">systemctl status plexmediaserver</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-23.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 23" loading="lazy"></figure><p>The eagle-eyed user might see the following, rather worrisome, error message:</p><p><code>Critical: libusb_init failed</code></p><p>After some Google-Fu:ing we ended up on the following <a href="https://www.reddit.com/r/docker/comments/j0klle/critical_libusb_init_failed_what_does_this_mean/">Reddit</a> page which provided an explanation as to why the error is shown, but the suggested solution did not work in our case. <a href="https://libusb.info/">libusb</a> is, however, only used for Plex&#x2019;s DVR functionality, and should <em>not</em> affect standard movie watching. If you do have a work-around, please post it in the comments below, and we will update this article.</p><p>(Press <code>q</code> on the keyboard to exit this screen.)</p><h3 id="logging-into-plex">Logging into Plex</h3><p>The Plex Media Server service is now up and running and we should be able to launch a web browser to access its web interface.</p><p>First we need to find out the IP address for our server:</p><pre><code class="language-html">ip a</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-24.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 24" loading="lazy"></figure><p>Our container&#x2019;s IP address resolves to <code>192.168.5.206</code>, so we will use that, followed by Plex&#x2019;s standard port number, <code>32400</code>, and <code>/web</code> directory when typing the URL in our browser:</p><pre><code class="language-html">https://&lt;your_plex_server_url&gt;:32400/web</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-25.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 25" loading="lazy"></figure><p>If you typed in the correct address, you will be automatically redirected to <a href="https://app.plex.tv/">https://app.plex.tv</a> for login authentication.</p><p>Go ahead and sign in with your <strong><strong>Username</strong></strong> and <strong><strong>Password</strong></strong> and then press the <strong><strong>Sign In</strong></strong> button.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-26.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 26" loading="lazy"></figure><p>Yep, we <strong><strong>Got It!</strong></strong></p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-27.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 27" loading="lazy"></figure><p>Give your server a friendly <strong><strong>Name</strong></strong> [1], such as <code>plex</code>.</p><p><em>Optional:</em> We will <strong><strong>not</strong></strong> allow Plex to automatically configure our network for outside access as there are much better (and safer) ways to access your home network, such as through a VPN.</p><p>Press <strong><strong>Next</strong></strong> [2].</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-28.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 28" loading="lazy"></figure><h3 id="adding-media-to-plex">Adding Media to Plex</h3><p>We are now ready to add our legally downloaded media files to Plex.</p><p>Press <strong><strong>Add Library</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-29.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 29" loading="lazy"></figure><p>Let&#x2019;s start with some <strong><strong>Films</strong></strong>.</p><p>Press <strong><strong>Next</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-30.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 30" loading="lazy"></figure><p>To add your movies, Press the <strong><strong>Browse for Media Folder</strong></strong> button.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-31.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 31" loading="lazy"></figure><p>Wait a minute! <em>Where</em> are my movie files?!</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-32.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 32" loading="lazy"></figure><p>Unless you are storing your entire movie library inside the LXC Container <em>(not recommended)</em>, you will need to find a way to access your files from <em>outside</em> the container. There are several ways that this can be done.</p><p>If your files reside on a <a href="https://en.wikipedia.org/wiki/Network-attached_storage">Network Attached Storage (NAS)</a>, it is common to access them via the <a href="https://en.wikipedia.org/wiki/Server_Message_Block">SMB/CIFS</a> or <a href="https://en.wikipedia.org/wiki/Network_File_System">NFS</a> protocols.</p><p>If the files are in a directory on the Proxmox host, they can be directly mounted in the host onto the container.</p><p>We will in the next three sections explain the most common methods for how files can be accessed from inside the LXC Container. Please follow along with the option that applies to your specific network setup.</p><ul><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option1_Mounting_SMB-CIFS_Share">Option 1: Mounting an SMB/CIFS share</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option2_Mounting_NFS_Share">Option 2: Mounting an NFS Share</a></li><li><a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option3_Mounting_Host_Directory">Option 3: Mounting a directory on the Proxmox host</a></li></ul><hr><h2 id="option-1-mounting-an-smbcifs-share">Option 1: Mounting an SMB/CIFS share</h2><p>The SMB/CIFS protocol provides support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems.</p><h3 id="installing-cifs-utils">Installing cifs-utils</h3><p>Let&#x2019;s return to the container&#x2019;s console and install the <a href="https://packages.debian.org/stable/otherosfs/cifs-utils">cifs-utils</a> package.</p><pre><code class="language-html">apt install cifs-utils -y</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-33.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 33" loading="lazy"></figure><h3 id="creating-cifs-credentials">Creating CIFS Credentials</h3><p>Once cifs-utils have been downloaded, create an empty text file and place it under <code>/root/.cifs_credentials</code>. We prefer <a href="https://www.nano-editor.org/">nano</a>, but use whichever text editor you are comfortable with.</p><pre><code class="language-html">nano /root/.cifs_credentials</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-34.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 34" loading="lazy"></figure><p>Inside the file, add your SMB/CIFS <strong><strong>username=</strong></strong><code>&lt;username&gt;</code> on the first line and <strong><strong>password=</strong></strong><code>&lt;password&gt;</code> on the second line.</p><p><em>Tip: (<strong><strong>Ctrl+o</strong></strong> saves the file and <strong><strong>Ctrl+x</strong></strong> exits the editor.)</em></p><pre><code class="language-html">username=&lt;username&gt;
password=&lt;password&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-35.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 35" loading="lazy"></figure><p><em>Optional:</em> Increase security by adjusting the read/write permissions on the file to the current owner only.</p><pre><code class="language-html">chmod 600 /root/.cifs_credentials </code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-36.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 36" loading="lazy"></figure><h3 id="creating-the-mount-directory">Creating the Mount Directory</h3><p>Create a directory in which we will mount our SMB/CIFS share. As we are using Plex, let&#x2019;s give the directory the appropriate name;<code>/mnt/plex</code>.</p><pre><code class="language-html">mkdir &lt;directory&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-37.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 37" loading="lazy"></figure><h3 id="retrieving-plex-uid-and-gid">Retrieving Plex uid and gid</h3><p><em>This step is necessary if you want to allow deletion of media files from within Plex Media Server.</em></p><p>When a directory is mounted it will belong to the user who first mounted it. In our example, the owner is <code>root</code>, while Plex Media Server runs as user <code>plex</code>. It will therefore not be able to modify any files belonging to <code>root</code> unless ownership is changed during the mount process.</p><p>In order to do so we need to first retrieve the <strong><strong>User ID</strong></strong> (<code>uid</code>) and <strong><strong>Group ID</strong></strong> (<code>gid</code>) of user <code>plex</code>. Execute the following command and write these numbers down because they will be used in the next section:</p><pre><code class="language-csh">id -u plex &amp;&amp; id -g plex</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-38.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 38" loading="lazy"></figure><h3 id="systemd">Systemd</h3><p>We will mount our network share with <a href="https://en.wikipedia.org/wiki/Systemd">systemd</a>, rather than <a href="https://en.wikipedia.org/wiki/Fstab">fstab</a>, because the latter does not seem to remount on reboot as discussed in this <a href="https://www.reddit.com/r/Proxmox/comments/w3rkf4/mounting_a_cifs_share_in_a_privileged_lxc/">Reddit</a> post.</p><p>Under <code>/etc/systemd/system/</code>, create a new <a href="https://www.freedesktop.org/software/systemd/man/systemd.mount.html">unit configuration file (.mount)</a> that inherits its name from the full path to your mounted directory, with the quirk that all forward slashes <code>/</code> are replaced with a hyphen <code>-</code>.</p><p><em>Example 1:</em> Your plex directory resides under <em><strong><strong>/mnt/plex</strong></strong></em>. Your unit configuration file should therefore be called <code>/etc/systemd/system/mnt-plex.mount</code>.</p><p><em>Example 2:</em> A randomly shared folder under <em><strong><strong>/home/geek/Public/important_files</strong></strong></em> must be called <code>/etc/systemd/system/home-geek-Public-important_files.mount</code> and <strong><strong>nothing</strong></strong> else!</p><p>Armed with this information, let&#x2019;s go ahead and create the file:</p><pre><code class="language-html">nano /etc/systemd/system/&lt;directory-with-hyphen&gt;.mount</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-39.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 39" loading="lazy"></figure><p>Add the following information and replace <code>&lt;server_path&gt;</code>, <code>&lt;share&gt;</code>, <code>&lt;mount_point&gt;</code>, <code>&lt;uid&gt;</code> and <code>&lt;gid&gt;</code> as necessary.</p><p>Save and close the file.</p><pre><code class="language-html">[Unit]
  Description=Plex Media Server files
  Requires=network-online.target
  After=network-online.service

[Mount]
  What=//&lt;server_path&gt;/&lt;share&gt;
  Where=/&lt;mount_point&gt;
  Options=credentials=/root/.cifs_credentials,uid=&lt;uid&gt;,gid=&lt;gid&gt;
  Type=cifs

[Install]
  WantedBy=multi-user.target</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-40.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 40" loading="lazy"></figure><p>Enable the unit configuration file:</p><pre><code class="language-html">systemctl enable &lt;directory-with-hyphen&gt;.mount</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-41.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 41" loading="lazy"></figure><p>Start the directory service to automatically mount the folder:</p><pre><code class="language-html">systemctl start &lt;directory-with-hyphen&gt;.mount</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-42.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 42" loading="lazy"></figure><p>Verify that the files are now seen in the mounted directory.</p><pre><code class="language-html">ls -l &lt;mount-path&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-43.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 43" loading="lazy"></figure><p>Great, the files are there, and we can now go ahead and add this folder to Plex Media Server in <a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Completing_the_Setup">Completing the Setup</a>.</p><p>If you are using NFS shares instead, read on for <a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option2_Mounting_NFS_Share">Option 2: Mounting an NFS Share</a>.</p><hr><p><em>Caution:</em> If you are continuing from <a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option1_Mounting_SMB-CIFS_Share">Option 1: Mounting an SMB/CIFS share</a>, please reset the container first and restart the tutorial from the <a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Configuration">Configuration</a> section. Your mounted directory will otherwise be mapped twice with different protocols!</p><hr><h2 id="option-2-mounting-an-nfs-share">Option 2: Mounting an NFS Share</h2><p>Network File System (NFS) is a distributed file system, which in comparison to SMB/CIFS, has better performance when medium-sized or small files are accessed.</p><p>If your LXC Container is still running, please turn it off with the <strong><strong>Shutdown</strong></strong> button.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-44.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 44" loading="lazy"></figure><h3 id="enabling-nfs-container-support">Enabling NFS Container Support</h3><p>Assuming that you are using a <em>Privileged</em> container, click on <strong><strong>100 (plex)</strong></strong> [1], then <strong><strong>Options</strong></strong> [2] and <em>double-click</em> on <strong><strong>Features</strong></strong> [3].</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-45.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 45" loading="lazy"></figure><p>Enable <strong><strong>NFS</strong></strong> [1] and press <strong><strong>OK</strong></strong> [2].</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-46.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 46" loading="lazy"></figure><p><strong><strong>Features</strong></strong> should now display <code>mount=nfs</code>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-47.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 47" loading="lazy"></figure><p>Go back to <strong><strong>100 (plex)</strong></strong> [1], <strong><strong>Console</strong></strong> [2] and <strong><strong>Start</strong></strong> [3] the container.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-48.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 48" loading="lazy"></figure><p>Log back in with your credentials.</p><pre><code class="language-html">root
&lt;password&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-15.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 15" loading="lazy"></figure><h3 id="installing-nfs-common">Installing nfs-common</h3><p>Once logged in, install the <a href="https://packages.debian.org/bullseye/nfs-common">nfs-common</a> package.</p><pre><code class="language-html">apt install nfs-common -y</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-49.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 49" loading="lazy"></figure><h3 id="creating-the-mount-directory-1">Creating the Mount Directory</h3><p>Create a directory in which we will mount our NFS share. As we are using Plex, let&#x2019;s give the directory the appropriate name;<code>/mnt/plex</code>.</p><pre><code class="language-html">mkdir &lt;directory&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-37.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 37" loading="lazy"></figure><h3 id="adding-fstab-entries">Adding fstab Entries</h3><p>NFS shares in LXC Containers can be mounted via <code>/etc/fstab</code>, so we will go ahead and edit this file:</p><pre><code class="language-html">nano /etc/fstab</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-50.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 50" loading="lazy"></figure><p>Add the following information by replacing <code>&lt;server_path&gt;</code>, <code>&lt;share&gt;</code> and <code>&lt;directory&gt;</code> with your own network share settings and then save and close the file.</p><pre><code class="language-html">&lt;server_path&gt;:/&lt;share&gt;       /&lt;directory&gt;       nfs     defaults        0       0</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-51.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 51" loading="lazy"></figure><h3 id="mounting-the-volume">Mounting the Volume</h3><p>We can now mount the directory in <em>/etc/fstab</em> with the <code>mount -a</code> command.</p><pre><code class="language-html">mount -a</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-52.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 52" loading="lazy"></figure><p>Verify that the files are now seen in the mounted directory.</p><pre><code class="language-html">ls -l &lt;mount-path&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-43.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 43" loading="lazy"></figure><p>Yep, the files can be seen and the directory will remain mounted even after a reboot.</p><p>You can now jump to <a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Completing_the_Setup">Completing the Setup</a> or read on for <a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option3_Mounting_Host_Directory">Option 3: Mounting a Directory on the Proxmox host</a>.</p><hr><p><em>Caution:</em> If you are continuing from <a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Option2_Mounting_NFS_Share">Option 2: Mounting an NFS Share</a>, please reset the container first and restart the tutorial from the <a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Configuration">Configuration</a> section. Your mounted directory will otherwise be mapped twice with different protocols!</p><hr><h2 id="option-3-mounting-a-directory-on-the-proxmox-host">Option 3: Mounting a Directory on the Proxmox host</h2><p>The final option that we will discuss is how to mount an LXC container directory directly from within the Proxmox host.</p><p>If your LXC Container is still running, please turn it off with the <strong><strong>Shutdown</strong></strong> button.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-44.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 44" loading="lazy"></figure><p>We will now open a terminal directly on the Proxmox host. <em>(Note: <strong><strong>not</strong></strong> on the container)</em>.</p><p>Select <strong><strong>pve</strong></strong> [1] and open up a new <strong><strong>Shell</strong></strong> [2].</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-53.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 53" loading="lazy"></figure><h3 id="the-pct-command">The pct Command</h3><p>Let&#x2019;s assume that our media files are stored in the following directory on the Proxmox host, <code>/mnt/plex</code>.</p><p>We can now tell Proxmox to mirror this local directory onto the LXC Container with this simple <a href="https://pve.proxmox.com/pve-docs/chapter-pct.html">Proxmox Container Toolkit</a> (<code>pct</code>) command:</p><p>Replace <code>&lt;id&gt;</code>, <code>&lt;source&gt;</code> and <code>&lt;target&gt;</code> with your own specific parameters.</p><pre><code class="language-html">pct set &lt;id&gt; -mp0 &lt;source&gt;,mp=&lt;target&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-54.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 54" loading="lazy"></figure><h3 id="changing-file-ownership">Changing File Ownership</h3><p>If you want the option to be able to delete external files from within Plex Media Server, change the ownership of the mount directory to <code>plex</code>.</p><p><em>Note: We are currently uncertain whether this is the correct way to change ownership for directories inside LXC Containers. If you aware of a &#x201C;better&#x201D; method, please let us know in the comments below and we will update this section. For now, it seems to work for what we are trying to do.</em></p><pre><code class="language-html">chown -R plex:plex /mnt/plex/</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-55.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 55" loading="lazy"></figure><h3 id="launching-the-container">Launching the Container</h3><p>Let&#x2019;s exit our Proxmox shell and return to the web interface and select <strong><strong>100 (plex)</strong></strong> [1], <strong><strong>Resources</strong></strong> [2] to verify that the <strong><strong>Mount Point (mp0)</strong></strong> [3] has been set to <code>/mnt/plex,mp=/mnt/plex</code>.</p><p>Good, it is there.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-56.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 56" loading="lazy"></figure><p>Go back to <strong><strong>100 (plex)</strong></strong> [1], <strong><strong>Console</strong></strong> [2] and <strong><strong>Start</strong></strong> [3] the container.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-48.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 48" loading="lazy"></figure><p>Verify that the files are now seen in the mounted directory.</p><pre><code class="language-html">ls -l &lt;mount-path&gt;</code></pre><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-43.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 43" loading="lazy"></figure><p>Great, the files are there, and we can now continue to <a href="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/#Completing_the_Setup">Completing the Setup</a>.</p><hr><h2 id="completing-the-setup">Completing the Setup</h2><p>Select your media folder and press <strong><strong>Add</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-57.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 57" loading="lazy"></figure><p>Once you have finished adding the folders, press <strong><strong>Add Library</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-58.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 58" loading="lazy"></figure><p>When you are done, press <strong><strong>Next</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-59.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 59" loading="lazy"></figure><p>If you need to get some Plex Apps, do that here and then press <strong><strong>Done</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-60.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 60" loading="lazy"></figure><p>Press <strong><strong>Finish Setup</strong></strong>.</p><figure class="kg-card kg-image-card"><img src="https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/img/install-plex-in-proxmox-lxc-61.png" class="kg-image" alt="Plex in Proxmox LXC Container - Image 61" loading="lazy"></figure><p>Congratulations! Plex Media Server is now up and running in the LXC Container, and it has also full access to the files on your network.</p>]]></content:encoded></item><item><title><![CDATA[Les commandes essentielles de DOCKER]]></title><description><![CDATA[<figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://geekflare.com/fr/docker-commands/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">26 commandes Docker les plus courantes avec exemples</div><div class="kg-bookmark-description">Aide-m&#xE9;moire de la commande Docker pour l&#x2019;administrateur syst&#xE8;me et les d&#xE9;veloppeurs ... Docker est un syst&#xE8;me de conteneurisation qui empaquete et ex&#xE9;cute l&#x2019;application avec son</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://geekflare.com/wp-content/uploads/2020/01/cropped-favicon-270x270.png" alt><span class="kg-bookmark-author">Geekflare</span><span class="kg-bookmark-publisher">Avi</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://geekflare.com/wp-content/uploads/2019/07/docker-commands.jpg" alt></div></a></figure><h2 id="trouver-la-version"><strong>Trouver la</strong></h2>]]></description><link>https://ghost.stf4.com/les-commandes-essentielles-de-docker/</link><guid isPermaLink="false">65e377479bcd1c01e1897642</guid><category><![CDATA[DOCKER]]></category><dc:creator><![CDATA[Sony]]></dc:creator><pubDate>Sat, 02 Mar 2024 19:08:34 GMT</pubDate><content:encoded><![CDATA[<figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://geekflare.com/fr/docker-commands/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">26 commandes Docker les plus courantes avec exemples</div><div class="kg-bookmark-description">Aide-m&#xE9;moire de la commande Docker pour l&#x2019;administrateur syst&#xE8;me et les d&#xE9;veloppeurs ... Docker est un syst&#xE8;me de conteneurisation qui empaquete et ex&#xE9;cute l&#x2019;application avec son</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://geekflare.com/wp-content/uploads/2020/01/cropped-favicon-270x270.png" alt><span class="kg-bookmark-author">Geekflare</span><span class="kg-bookmark-publisher">Avi</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://geekflare.com/wp-content/uploads/2019/07/docker-commands.jpg" alt></div></a></figure><h2 id="trouver-la-version"><strong>Trouver la version</strong></h2><p>L&apos;une des premi&#xE8;res choses que vous voulez savoir est de savoir comment trouver la version de docker install&#xE9;e</p><pre><code class="language-markup">docker --version</code></pre><h2 id="quest-ce-qui-tourne"><strong>Qu&apos;est-ce qui tourne ?</strong></h2><p><code>ps</code> r&#xE9;pertorie tous les conteneurs Docker ex&#xE9;cut&#xE9;s avec les d&#xE9;tails du conteneur.</p><pre><code class="language-markup">docker ps</code></pre><h2 id="ps-a"><strong>ps-a</strong></h2><p>R&#xE9;pertoriez tous les conteneurs Docker en cours d&apos;ex&#xE9;cution / sortis / arr&#xEA;t&#xE9;s avec les d&#xE9;tails du conteneur.</p><pre><code class="language-markup">docker ps -a</code></pre><p><strong>Supprimez le conteneur Docker avec l&apos;ID de conteneur mentionn&#xE9; dans la commande.</strong></p><pre><code class="language-markup">docker rm 9b6343d3b5a0</code></pre><p><strong>Supprimez l&apos;image docker avec l&apos;ID d&apos;image docker mentionn&#xE9; dans la commande</strong></p><pre><code class="language-markup">docker rmi fce289e99eb9</code></pre><p><strong>Red&#xE9;marrez le conteneur Docker avec l&apos;ID de conteneur mentionn&#xE9; dans la commande.</strong></p><pre><code class="language-markup">docker restart 09ca6feb6efc</code></pre><p>Arr&#xEA;tez un conteneur avec l&apos;ID de conteneur mentionn&#xE9; dans la commande.</p><pre><code class="language-markup">docker stop 09ca6feb6efc</code></pre><p><strong>Cette commande dans docker d&#xE9;marre le conteneur docker avec l&apos;ID de conteneur mentionn&#xE9; dans la commande.</strong></p><pre><code class="language-markup">docker start 09ca6feb6efc</code></pre><p><strong>La commande Docker stop arr&#xEA;te le conteneur en douceur, c&apos;est la diff&#xE9;rence entre les commandes kill et stop.</strong></p><pre><code class="language-markup">docker kill 09ca6feb6efc</code></pre>]]></content:encoded></item><item><title><![CDATA[Vaultwarden in Proxmox LXC Container]]></title><description><![CDATA[<figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Vaultwarden in Proxmox LXC Container</div><div class="kg-bookmark-description">In a world of data breaches and password leaks, it is important to use a password manager and not using the same password for every account. Something that I have failed to do until this year. I know, I know how dare I. Like most</div></div></a></figure>]]></description><link>https://ghost.stf4.com/vaultwarden-in-proxmox-lxc-container/</link><guid isPermaLink="false">65cd2c239bcd1c01e189762b</guid><category><![CDATA[proxmox]]></category><dc:creator><![CDATA[Sony]]></dc:creator><pubDate>Sat, 24 Feb 2024 10:19:05 GMT</pubDate><content:encoded><![CDATA[<figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Vaultwarden in Proxmox LXC Container</div><div class="kg-bookmark-description">In a world of data breaches and password leaks, it is important to use a password manager and not using the same password for every account. Something that I have failed to do until this year. I know, I know how dare I. Like most people I used the builtin password manager in the web browser; then do&#x2026;</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://blackstewie.com/images/apple-touch-icon.png" alt><span class="kg-bookmark-publisher">Michael Schaecher</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://blackstewie.com/" alt></div></a></figure><h2 id="before-we-begin">Before We Begin</h2><p>Before we begin, I am assuming that you have a Proxmox server setup and running. If you do not have a Proxmox server setup and running then I recommend you checking <a href="https://pve.proxmox.com/pve-docs/pve-admin-guide.html" rel="noopener">Proxmox Setup Guide</a> . It is dense but it is a good read and will help you understand Proxmox better.</p><h3 id="picking-a-container-template">Picking a Container Template</h3><p>Proxmox has a lot of container templates to choose from. I am going to be using the <a href="https://www.debian.org/releases/bookworm/" rel="noopener">Debian 12 (Bookworm)</a> template.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Storage.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: left; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Stored CT templates</p></figcaption></figure><p>You well want to click on <code>Datacenter</code> and then <code>Storage</code> and then click on <code>local</code>. Find the &#x201C;<strong>CT Templates</strong>&#x201D; and click on it this well bring up a list of all the container templates available to you locally. If you have not downloaded any templates then you well see nothing.</p><p>Locate the <strong>Templates</strong> button. Find and highlight the <strong>Debian 12 (Bookworm)</strong> template and click on the <strong>Download</strong> button. This well download the template to your local storage. You can download an template you want just as long you able to install <a href="https://podman.io/" rel="noopener">Podman</a> . I well be using Debian, so all applications are installed using <code>apt</code>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Templates.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: center; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">List of proxmox container templates</p></figcaption></figure><h2 id="setting-up-the-container">Setting up the Container</h2><h3 id="creating-a-container">Creating a Container</h3><p>Now that we have a container template downloaded we can create a container. Click on the <strong>Create CT</strong> button. This well bring up a window that well allow us to create a container.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-General.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: right; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">General info</p></figcaption></figure><p>You well want to leave the <strong>Node</strong> and <strong>CT ID</strong> as the default, this well be helpful for finding the backup of the container. What you well want to set is the <strong>hostname</strong> and <strong>password</strong> and <strong>SSH key</strong> if you have one.</p><blockquote>NOTE: You may need to enable root login in <code>/etc/ssh/sshd_config</code> by setting <code>PermitRootLogin</code> to <code>yes</code> and then restarting the ssh service after the container is booted. Otherwise you well not be able to login over ssh.</blockquote><p>The root password doesn&#x2019;t have to be complex, but it is recommended that it not be too simple. Lastly make sure that <strong>nesting</strong> is enabled and <strong>unprivileged</strong> is disabled.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Template.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: center; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Selecting the template</p></figcaption></figure><p>Next we well want to set the <strong>Template</strong> to the template we downloaded earlier. The next thing is setting up the disk. I recommend setting the <strong>Disk size</strong> to 24GB, this well give you plenty of space for the container and the data that well be stored by the MariaDB database. Plus set mount option to <code>noatime</code>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Disk.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: left; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Setting up the drive</p></figcaption></figure><p>The CPU is next. You can leave the <strong>cores</strong> and <strong>sockets</strong> as the default value of 1 core if you wish.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-CPU.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: center; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Setting up the CPU</p></figcaption></figure><p>Setting up the memory is next and this is different from setting up the memory for a VM. With LXC Containers you only need to set the <strong>memory</strong> and <strong>swap</strong> to what the container may need. The rest is shared with the host. I do recommend setting the <strong>memory</strong> to at least 1GB (1024MB) for both the <strong>memory</strong> and <strong>swap</strong>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-RAM.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: right; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Setting up the memory</p></figcaption></figure><p>When it comes to networking you can leave network name and bridge as the default. However, you well want to set the <strong>IP address</strong> to a static IP address, outside of the DHCP range of your router is recommended. You well also want to set the <strong>Gateway</strong> to the IP address of your router.</p><p>The <strong>IP address</strong> and <strong>Gateway</strong> depends on your network setup the default gateway is <code>192.168.1.1</code> or <code>192.168.0.1</code>. This means that the IP address of the container should be something like <code>192.168.1.100/24</code> or <code>192.168.0.100/24</code>. The <code>/24</code> is the subnet mask and is the default for most home networks.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Network.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: center; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Setting up the network</p></figcaption></figure><p>The last two things to setup is the <strong>DNS</strong> which you can leave alone and confirming the settings. Once you have confirmed the settings click on the <strong>Create</strong> button. This well create the container and start it. You well want to however, leave the <strong>Start after created</strong> unchecked because we need to make some changes to the container before we start it.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Confirm.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: left; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Setting up the DNS</p></figcaption></figure><p>Click the <strong>Finish</strong> buttom and wait for the container to be done baking. Once done there are some changes that we need to make to the container before we start it.</p><h3 id="fixing-options">Fixing Options</h3><p>Now that the container is created we need to make some changes to the container before we start it. Click on the container and then click on the <strong>Hardware</strong> tab. Find the <strong>Serial Port</strong> and click on the <strong>Add</strong> button. This well bring up a window that well allow us to add a serial port to the container.</p><p>The following options well need to be edited:</p><!--kg-card-begin: html--><table style="box-sizing: inherit; display: table; border-collapse: collapse; border: 2px solid rgb(115, 115, 115); width: 1032.01px; font-size: 16px; white-space: normal; line-height: 1.15; color: rgb(230, 230, 230); font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, Helvetica, &#x6E38;&#x30B4;&#x30B7;&#x30C3;&#x30AF;, &quot;PingFang SC&quot;, STXihei, &#x534E;&#x6587;&#x7EC6;&#x9ED1;, &quot;Microsoft YaHei&quot;, &#x5FAE;&#x8F6F;&#x96C5;&#x9ED1;, SimSun, &#x5B8B;&#x4F53;, Heiti, &#x9ED1;&#x4F53;, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(50, 50, 50); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><thead style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><th style="box-sizing: inherit; text-align: center; padding: 0.5rem; position: sticky; top: 2.5625rem; background-color: rgb(50, 50, 50);">Option</th><th style="box-sizing: inherit; text-align: left; padding: 0.5rem; position: sticky; top: 2.5625rem; background-color: rgb(50, 50, 50);">Value</th><th style="box-sizing: inherit; text-align: left; padding: 0.5rem; position: sticky; top: 2.5625rem; background-color: rgb(50, 50, 50);">Description</th></tr></thead><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td style="box-sizing: inherit; text-align: center; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Start at boot</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">checked</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Trust me you want this checked so that the container starts at boot</td></tr><tr style="box-sizing: inherit;"><td style="box-sizing: inherit; text-align: center; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Features</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">checked</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Enbale<span>&#xA0;</span><code style="box-sizing: inherit; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, monospace; border-radius: 0.25rem; padding: 0px 0.3125rem; background-color: rgb(65, 65, 65); color: rgb(200, 75, 100);">Nesting</code></td></tr></tbody></table><!--kg-card-end: html--><p>If you are wondering why the <code>Nesting</code> needs to enable here even though we enabled it when we created the container, that is because we disabled <code>unprivileged</code>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Options.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: center; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Change some options that got messed</p></figcaption></figure><h2 id="starting-the-container">Starting the Container</h2><p>Now that we have made the changes to the container we can start it. Click on the <strong>&gt;_Console</strong> button. This well bring up a console window that well allow us to login to the container. Now start the container.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Start.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: right; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Console window</p></figcaption></figure><p>Once the container is started you well be greeted with a login prompt. Login with the username <code>root</code> and the password that you set when you created the container.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Login.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: center; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Login prompt</p></figcaption></figure><h3 id="updating-the-container">Updating the Container</h3><p>A LXC container is just a chroot environment and is not a full VM nor like a Docker/Kubernetes container. This means that you can keep the container up to date with the latest packages from the repositories.</p><pre><code class="language-console">apt update &amp;&amp; apt dist-upgrade -y
</code></pre><p>Install the following packages:</p><pre><code class="language-console">apt install -y curl podman mariadb-server
</code></pre><p>Edit the <code>/etc/ssh/sshd_config</code> file and set <code>PermitRootLogin</code> to <code>yes</code> and then restart the ssh service.</p><pre><code class="language-console">PermitRootLogin yes
</code></pre><p>To paste into the console window you can use <code>Ctrl + Shift + V</code> or <code>Right Click</code> and then click on <code>Paste</code>. Once you have pasted the text into the console window you can save the file by pressing <code>Ctrl + s</code> to save the file and then <code>Ctrl + x</code> to exit the editor.</p><pre><code class="language-console">systemctl restart ssh
</code></pre><p>Set the date and time to your timezone. For me that is <code>America/Boise</code>.</p><pre><code class="language-console">timedatectl set-timezone America/Boise
</code></pre><p>Once everything is updated you can reboot the container by clicking on the drop down menu next to the <strong>Shutdown</strong> button and then click on <strong>Reboot</strong> and login over ssh.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/CT-Reboot.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: left; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Updating the container</p></figcaption></figure><h2 id="setting-up-mariadb">Setting up MariaDB</h2><p>Now that the container is up to date we can start setting up MariaDB. MariaDB is a fork of MySQL and is a relational database management system. It is used by Vaultwarden to store the data that you enter into the web interface and the clients, like the username and password&#x2019;s plus identity and payment information.</p><pre><code class="language-console">mysql_secure_installation
</code></pre><p>This well start the MariaDB setup wizard. You well be asked to set the root password, remove anonymous users, disallow root login remotely, remove test database and access to it, and reload privilege tables. You can leave the root password blank if you wish, but I recommend setting a password. Use the same password that you set for the container.</p><p>Answer <code>N</code> to not use unix_socket authentication plugin.</p><p>Answer <code>N</code> if you don&#x2019;t want to change the root password.</p><p>Answer <code>Y</code> to remove anonymous users.</p><p>Answer <code>Y</code> to disallow root login remotely.</p><p>Answer <code>Y</code> to remove test database and access to it.</p><p>Answer <code>Y</code> to reload privilege tables.</p><h3 id="creating-the-database">Creating the Database</h3><p>Now that MariaDB is setup we can create the database for Vaultwarden with <code>mariadb</code> command.</p><pre><code class="language-console">CREATE DATABASE vaultwarden;

CREATE USER &apos;vaultwarden&apos;@&apos;localhost&apos; IDENTIFIED BY &apos;password&apos;;
</code></pre><p>Replace <code>password</code> with a strong password that you can remember. You well need this password later when we setup Vaultwarden.</p><pre><code class="language-console">GRANT ALL PRIVILEGES ON vaultwarden.* TO &apos;vaultwarden&apos;@&apos;localhost&apos;;
</code></pre><p>Enter <code>quit</code> to exit the MariaDB shell.</p><h2 id="using-podman-to-run-vaultwarden">Using Podman to run Vaultwarden</h2><p>You well notice that you well be using a <a href="https://www.docker.com/" rel="noopener">Docker</a> container to run Vaultwarden. This is because Podman is a drop in replacement for Docker and is more secure because it does not require root privileges to run containers. Therefore it doesn&#x2019;t have its own init system. It is that lack of an init system that make podman more compatible with LXC containers. This is because LXC containers use the host&#x2019;s init system and that is why we need to enable <code>nesting</code> and disable <code>unprivileged</code> when we created the container earlier.</p><h3 id="creating-the-vaultwarden-container">Creating the Vaultwarden Container</h3><p>Now that we have MariaDB setup we can create the Vaultwarden container. We well be using Podman to create and run the container, but first we need to create a directory to store the data that Vaultwarden well use <code>mkdir /vlt/</code>. This well create a directory called <code>vlt</code> in the root directory of the container.</p><pre><code class="language-bash">podman run \
  -d \
  --name vaultwarden \
  --network host \
  -v /vlt/:/data/:Z \
  -e ROCKET_PORT=80 \
  -e DATABASE_URL=&apos;mysql://vaultwarden:password@127.0.0.1:3306/vaultwarden&apos; \
  -e ADMIN_TOKEN=&quot;$(echo -n &apos;admin_token&apos; | argon2 &quot;$(openssl rand -base64 32)&quot; -e -id -k 65540 -t 3 -p 4)&quot; \
  docker://vaultwarden/server:latest
</code></pre><p>Replace <code>password</code> with the password that you set for the MariaDB database.</p><p>The <code>ADMIN_TOKEN</code> is a secret string that is used to access the admin console. If the command fails then you may need to install <strong>argon2</strong> with <code>apt install -y argon2</code>, then rerun the command. Don&#x2019;t worry about the <code>argon2</code> command it is just a password hashing utility for the <code>ADMIN_TOKEN</code> that you picked. Just remember to replace <code>admin_token</code> with a secret string that you can remember.</p><h4 id="what-do-all-the-options-mean">What do all the options mean?</h4><!--kg-card-begin: html--><table style="box-sizing: inherit; display: table; border-collapse: collapse; border: 2px solid rgb(115, 115, 115); width: 1032.01px; font-size: 16px; white-space: normal; line-height: 1.15; color: rgb(230, 230, 230); font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, Helvetica, &#x6E38;&#x30B4;&#x30B7;&#x30C3;&#x30AF;, &quot;PingFang SC&quot;, STXihei, &#x534E;&#x6587;&#x7EC6;&#x9ED1;, &quot;Microsoft YaHei&quot;, &#x5FAE;&#x8F6F;&#x96C5;&#x9ED1;, SimSun, &#x5B8B;&#x4F53;, Heiti, &#x9ED1;&#x4F53;, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(50, 50, 50); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><thead style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><th style="box-sizing: inherit; text-align: center; padding: 0.5rem; position: sticky; top: 2.5625rem; background-color: rgb(50, 50, 50);">Option</th><th style="box-sizing: inherit; text-align: left; padding: 0.5rem; position: sticky; top: 2.5625rem; background-color: rgb(50, 50, 50);">Value</th><th style="box-sizing: inherit; text-align: left; padding: 0.5rem; position: sticky; top: 2.5625rem; background-color: rgb(50, 50, 50);">Description</th></tr></thead><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td style="box-sizing: inherit; text-align: center; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">-d</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);"></td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Run the container in the background</td></tr><tr style="box-sizing: inherit;"><td style="box-sizing: inherit; text-align: center; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">&#x2013;name</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);"></td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Name of the container</td></tr><tr style="box-sizing: inherit;"><td style="box-sizing: inherit; text-align: center; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">&#x2013;network</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">host</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Use the host&#x2019;s network</td></tr><tr style="box-sizing: inherit;"><td style="box-sizing: inherit; text-align: center; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">-v</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">/vlt/:/data/:Z</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Directory to mount to the container, and allow Vaultwarden to read and write to it</td></tr><tr style="box-sizing: inherit;"><td style="box-sizing: inherit; text-align: center; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">-e</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">ROCKET_PORT</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">The port Vaultwarden well be listen on: this should be port 80 or 443 if locally ssl signed</td></tr><tr style="box-sizing: inherit;"><td style="box-sizing: inherit; text-align: center; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">-e</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">DATABASE_URL</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Set the database url</td></tr><tr style="box-sizing: inherit;"><td style="box-sizing: inherit; text-align: center; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">-e</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">ADMIN_TOKEN</td><td style="box-sizing: inherit; text-align: left; padding: 0.5rem; border: 0.125rem solid rgb(115, 115, 115);">Secret string for Vaultwarden admin console</td></tr></tbody></table><!--kg-card-end: html--><p>If you were setting the up on a VM or a physical machine with other services running on it then you would want to use a different port and not use the host&#x2019;s network, but a bridged network instead. However, since we are using a LXC container and nothing else is running on the container then we can use the host&#x2019;s network with no issues. I also recommend using port <code>80</code> because it is the default port for http which easier to forward with a reverse proxy like <a href="https://traefik.io/" rel="noopener">Traefik</a> or <a href="https://www.nginx.com/" rel="noopener">enginx</a> .</p><p>Another options and it is one that I use is <a href="https://www.cloudflare.com/" rel="noopener">Cloudflare Tunnel</a> . This allows me to use a domain name and have it point to my home network. This is great because I don&#x2019;t have to worry about my ISP changing my IP address and having to update the DNS records. To learn more about Cloudflare tunnel check out official <a href="https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/" rel="noopener">documentation</a> .</p><p>I have mine running on a Raspberry Pi 3B, but a Zero W or Zero 2 W well work just as well.</p><p>I may do a post on how I setup Cloudflare Tunnel in the future.</p><h3 id="setup-your-first-vaultwarden-user-account">Setup Your First Vaultwarden User Account</h3><p>If you see a long string of numbers and letters then you have successfully created the container. If you see an error then you may have mistyped something. You can check the logs of the container by running <code>podman logs vaultwarden</code>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/Vaultwarden-Login.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: center; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Login page for Vaultwarden</p></figcaption></figure><p>Since this is the first time that you have run Vaultwarden you well need to create an account. Click on the <strong>Create Account</strong> button and enter your email address and password. You well need to confirm your email address before you can login.</p><blockquote>NOTE: The email address does not have to be a real email address. However, if you wish to setup email notifications then you well need to use a real email address.</blockquote><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/Vaultwarden-Create.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: right; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Create you user account</p></figcaption></figure><p>The master password should be a phrase that you can remember. If it is something that is common then use numbers, symbols, spaces, and capital letters. This well make it harder for someone to guess your master password.</p><p>After clicking on the <strong>Create Account</strong> button you well be taken to the login page. Enter your email address and password and click on the <strong>Login</strong> button.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://blackstewie.com/posts/vaultwarden-in-proxmox-lxc-container/Vaultwarden-User.png" class="kg-image" alt="Proxmox Container Template" loading="lazy"><figcaption><p style="box-sizing: inherit; margin: 0px; text-align: center; justify-self: center; hyphens: auto; font-size: 0.875rem; line-height: 1.15; font-style: italic;">Logged in users home page</p></figcaption></figure><h2 id="importing-passwords">Importing Passwords</h2><p>Importing passwords is easy, figure out what how to export your passwords from a web browser is the hard part since every browser is different. Because of this I well not go over how to export passwords from a web browser or from another password manager. That is something that you well have to figure out on your own.</p><p>Just know that vaultwarden supports importing passwords from other password managers and web browsers in multiple formats. You can find the list of supported formats <a href="https://bitwarden.com/help/export-your-data/" rel="noopener">here</a> .</p><h2 id="making-vaultwarden-persistent">Making Vaultwarden Persistent</h2><p>Now that we have Vaultwarden setup and running we need to make it persistent so that it starts when the LXC container restarts or the host rebooted Vaultwarden well start automatically. To do this we need to create a systemd service file using <strong>podman</strong>.</p><pre><code class="language-console"> podman generate systemd --name vaultwarden &gt; /usr/lib/systemd/system/vaultwarden.service
</code></pre><p>I like to use the <code>/usr/lib/systemd/system/</code> directory for my systemd service files. You can use the <code>/etc/systemd/system/</code> directory if you wish.</p><p>Now enable and start the service <code>systemctl enable --now vaultwarden.service</code>.</p><p>That is it you have successfully setup Vaultwarden in a LXC container on Proxmox. Now you can use the official clients to access your passwords and other sensitive information.</p>]]></content:encoded></item><item><title><![CDATA[Licence Portainer Business Edition gratuite : comment l’avoir ?]]></title><description><![CDATA[<p>Il faut donc donc ce rendre sur ce <a href="https://www.portainer.io/take-5" rel="noreferrer noopener">lien</a> et renseignez les informations pour <strong>recevoir votre licence</strong>. Dans l&#x2019;usage souhait&#xE9;, vous pouvez choisir &#xAB; Home &#xBB;.</p><p>Pour activer votre licence, il vous suffit de vous rendre sur votre dashboard Portainer et de cliquer sur le bandeau orange</p>]]></description><link>https://ghost.stf4.com/licence-portainer-business-edition-gratuite-comment-lavoir/</link><guid isPermaLink="false">65cd28959bcd1c01e1897526</guid><category><![CDATA[DOCKER]]></category><dc:creator><![CDATA[Denis]]></dc:creator><pubDate>Wed, 01 Nov 2023 06:41:54 GMT</pubDate><content:encoded><![CDATA[<p>Il faut donc donc ce rendre sur ce <a href="https://www.portainer.io/take-5" rel="noreferrer noopener">lien</a> et renseignez les informations pour <strong>recevoir votre licence</strong>. Dans l&#x2019;usage souhait&#xE9;, vous pouvez choisir &#xAB; Home &#xBB;.</p><p>Pour activer votre licence, il vous suffit de vous rendre sur votre dashboard Portainer et de cliquer sur le bandeau orange <strong>&#xAB; Upgrade to Business Edition &#xBB;</strong>. Une pop-up s&#x2019;ouvre, collez simplement votre licence et patientez quelques minutes pour la mise &#xE0; jour.</p>]]></content:encoded></item><item><title><![CDATA[OUTLOOK Publipostage et PJ]]></title><link>https://ghost.stf4.com/outlook-publipostage-et-pj/</link><guid isPermaLink="false">65cd28959bcd1c01e1897524</guid><category><![CDATA[OUTLOOK]]></category><category><![CDATA[Publipostage]]></category><dc:creator><![CDATA[Denis]]></dc:creator><pubDate>Tue, 05 Sep 2023 13:33:33 GMT</pubDate><content:encoded/></item><item><title><![CDATA[Domoticz Paramètre]]></title><link>https://ghost.stf4.com/domoticz-parametre/</link><guid isPermaLink="false">65cd28959bcd1c01e1897523</guid><category><![CDATA[Domoticz]]></category><dc:creator><![CDATA[Denis]]></dc:creator><pubDate>Fri, 04 Aug 2023 12:57:07 GMT</pubDate><content:encoded/></item><item><title><![CDATA[Mysql et php dans docker]]></title><link>https://ghost.stf4.com/mysql-et-php-dans-docker/</link><guid isPermaLink="false">65cd28959bcd1c01e1897522</guid><dc:creator><![CDATA[Denis]]></dc:creator><pubDate>Fri, 21 Jul 2023 21:16:58 GMT</pubDate><content:encoded/></item><item><title><![CDATA[Installer Docker sur Raspberry Pi]]></title><description><![CDATA[<p>&#xC9;tape 1 : mise &#xE0; jour et mise &#xE0; niveau</p><!--kg-card-begin: markdown--><p>sudo apt-get update &amp;&amp; sudo apt-get upgrade</p>
<!--kg-card-end: markdown--><p>&#xC9;tape 2 : T&#xE9;l&#xE9;charger le script d&#x2019;installation et installer Docker sur Raspberry Pi<br>Passez au t&#xE9;l&#xE9;chargement du script d&#x2019;installation avec</p>]]></description><link>https://ghost.stf4.com/installer-docker-sur-raspberry-pi/</link><guid isPermaLink="false">65cd28959bcd1c01e1897521</guid><category><![CDATA[DOCKER]]></category><dc:creator><![CDATA[Denis]]></dc:creator><pubDate>Sat, 15 Oct 2022 08:54:17 GMT</pubDate><content:encoded><![CDATA[<p>&#xC9;tape 1 : mise &#xE0; jour et mise &#xE0; niveau</p><!--kg-card-begin: markdown--><p>sudo apt-get update &amp;&amp; sudo apt-get upgrade</p>
<!--kg-card-end: markdown--><p>&#xC9;tape 2 : T&#xE9;l&#xE9;charger le script d&#x2019;installation et installer Docker sur Raspberry Pi<br>Passez au t&#xE9;l&#xE9;chargement du script d&#x2019;installation avec :</p><!--kg-card-begin: markdown--><p>curl -fsSL <a href="https://get.docker.com">https://get.docker.com</a> -o get-docker.sh</p>
<!--kg-card-end: markdown--><p>Ex&#xE9;cutez le script</p><!--kg-card-begin: markdown--><p>sudo sh get-docker.sh</p>
<!--kg-card-end: markdown--><p>La sortie vous dira quelle version de docker est install&#xE9;e</p><figure class="kg-card kg-image-card"><img src="https://ghost.stf4.com/content/images/2022/10/image.png" class="kg-image" alt loading="lazy" width="800" height="559" srcset="https://ghost.stf4.com/content/images/size/w600/2022/10/image.png 600w, https://ghost.stf4.com/content/images/2022/10/image.png 800w" sizes="(min-width: 720px) 720px"></figure><p>&#xC9;tape 3 : Ajouter un utilisateur non root au groupe Docker</p><p>Par d&#xE9;faut, seuls les utilisateurs qui ont des privil&#xE8;ges administratifs (utilisateurs root) peuvent ex&#xE9;cuter des conteneurs. Si vous n&#x2019;&#xEA;tes pas connect&#xE9; en tant que root, une option consiste &#xE0; utiliser le pr&#xE9;fixe sudo.</p><p>La syntaxe pour ajouter des utilisateurs au groupe Docker est la suivante :</p><blockquote>sudo usermod -aG docker [user_name]</blockquote><p>Pour ajouter l&#x2019;utilisateur Pi, utilisez la commande</p><blockquote>sudo usermod -aG docker pi</blockquote><p></p><p>Installation de portainer sur raspberry</p><p>sudo docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /home/pi/volume1/portainer:/data portainer/portainer-ce:latest</p>]]></content:encoded></item><item><title><![CDATA[DOCKER Remove the latest version]]></title><description><![CDATA[<p><em><em>Uninstall the Docker Engine, CLI, and Containerd packages:</em></em></p><!--kg-card-begin: markdown--><p>sudo apt-get purge docker-ce docker-ce-cli containerd.io</p>
<!--kg-card-end: markdown--><p><em><em>Delete all images, containers, and volumes:</em></em></p><!--kg-card-begin: markdown--><p>sudo rm -rf /var/lib/docker<br>
sudo rm -rf /var/lib/containerd</p>
<!--kg-card-end: markdown--><h2 id="remove-previous-versions">Remove previous versions:</h2><!--kg-card-begin: markdown--><p>sudo apt-get remove docker docker-engine docker.io containerd runc</p>
<!--kg-card-end: markdown--><p>Remove docker completly</p><!--kg-card-begin: markdown--><p>dpkg -l</p>]]></description><link>https://ghost.stf4.com/docker-remove-the-latest-version/</link><guid isPermaLink="false">65cd28959bcd1c01e1897520</guid><dc:creator><![CDATA[Denis]]></dc:creator><pubDate>Sat, 15 Oct 2022 07:10:15 GMT</pubDate><content:encoded><![CDATA[<p><em><em>Uninstall the Docker Engine, CLI, and Containerd packages:</em></em></p><!--kg-card-begin: markdown--><p>sudo apt-get purge docker-ce docker-ce-cli containerd.io</p>
<!--kg-card-end: markdown--><p><em><em>Delete all images, containers, and volumes:</em></em></p><!--kg-card-begin: markdown--><p>sudo rm -rf /var/lib/docker<br>
sudo rm -rf /var/lib/containerd</p>
<!--kg-card-end: markdown--><h2 id="remove-previous-versions">Remove previous versions:</h2><!--kg-card-begin: markdown--><p>sudo apt-get remove docker docker-engine docker.io containerd runc</p>
<!--kg-card-end: markdown--><p>Remove docker completly</p><!--kg-card-begin: markdown--><p>dpkg -l | grep -i docker<br>
sudo apt remove --purge docker-ce docker-ce-cli containerd.io<br>
sudo rm -rf /var/lib/docker<br>
sudo rm -rf /var/lib/containerd<br>
sudo apt autoremove -y<br>
sudo apt autoclean</p>
<!--kg-card-end: markdown--><p></p>]]></content:encoded></item><item><title><![CDATA[Yet another presence detection method DOMOTICZ ASUS]]></title><description><![CDATA[<!--kg-card-begin: markdown--><pre><code>                                                                             presence_detection                                                                                  
</code></pre>
<h1 id="binsh">!/bin/sh</h1>
<p>mac=$1<br>
idx=$2<br>
device_present=Off<br>
domoticz_status=<code>curl -s &quot;http://xxxx:xxxx@xxxx.xxx.0.xxx:xxxx/json.htm?type=devices&amp;rid=$idx&quot; | grep Status | awk &apos;{print $3}&apos; | sed &apos;s/[&quot;,]//g&apos;</code><br>
for x in <code>wl -i</code></p>]]></description><link>https://ghost.stf4.com/yet-another-presence-detection-method-domoticz-asus/</link><guid isPermaLink="false">65cd28959bcd1c01e189751f</guid><category><![CDATA[Domoticz]]></category><dc:creator><![CDATA[Denis]]></dc:creator><pubDate>Sun, 11 Sep 2022 16:59:44 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><pre><code>                                                                             presence_detection                                                                                  
</code></pre>
<h1 id="binsh">!/bin/sh</h1>
<p>mac=$1<br>
idx=$2<br>
device_present=Off<br>
domoticz_status=<code>curl -s &quot;http://xxxx:xxxx@xxxx.xxx.0.xxx:xxxx/json.htm?type=devices&amp;rid=$idx&quot; | grep Status | awk &apos;{print $3}&apos; | sed &apos;s/[&quot;,]//g&apos;</code><br>
for x in <code>wl -i eth1 assoclist | awk &apos;{print $2}&apos;</code>; do<br>
if [ $x = $mac ]; then<br>
device_present=On<br>
fi<br>
done</p>
<h1 id="look-in-5ghz-eth2-network-for-device">look in 5GHz (eth2) network for device</h1>
<p>for x in <code>wl -i eth2 assoclist | awk &apos;{print $2}&apos;</code>; do<br>
if [ $x = $mac ]; then<br>
device_present=On<br>
fi<br>
done<br>
echo &quot;Domoticz: $domoticz_status, router: $device_present&quot;</p>
<h1 id="tell-domoticz-the-new-device-status">tell domoticz the new device status</h1>
<p>if [ $domoticz_status != $device_present ]; then</p>
<p>if [ $device_present = &quot;On&quot; ]; then curl -s &quot;<a href="http://xxxx:xxx@xxx.xxx.0.xxx">http://xxxx:xxx@xxx.xxx.0.xxx</a>:xxxx/json.htm?type=command&amp;param=switchlight&amp;idx=$idx&amp;switchcmd=On&quot; &gt; /dev/null</p>
<p>else curl -s &quot;<a href="http://xxx:xxx@xxx.xxx.0.xxx">http://xxx:xxx@xxx.xxx.0.xxx</a>:xxxx/json.htm?type=command&amp;param=switchlight&amp;idx=$idx&amp;switchcmd=Off&quot; &gt; /dev/null</p>
<p>fi</p>
<p>fi</p>
<!--kg-card-end: markdown--><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://www.domoticz.com/forum/viewtopic.php?t=15531"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Yet another presence detection method - Domoticz</div><div class="kg-bookmark-description"></div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://www.domoticz.com/favicon.ico" alt><span class="kg-bookmark-author">Domoticz</span><span class="kg-bookmark-publisher">Post</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://www.domoticz.com/forum/download/file.php?avatar=13317_1484746892.jpg" alt></div></a></figure>]]></content:encoded></item><item><title><![CDATA[Parametrage Joomla]]></title><description><![CDATA[<figure class="kg-card kg-image-card"><img src="https://ghost.stf4.com/content/images/2022/06/image.png" class="kg-image" alt loading="lazy" width="1177" height="592" srcset="https://ghost.stf4.com/content/images/size/w600/2022/06/image.png 600w, https://ghost.stf4.com/content/images/size/w1000/2022/06/image.png 1000w, https://ghost.stf4.com/content/images/2022/06/image.png 1177w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card"><img src="https://ghost.stf4.com/content/images/2022/06/image-1.png" class="kg-image" alt loading="lazy" width="1673" height="624" srcset="https://ghost.stf4.com/content/images/size/w600/2022/06/image-1.png 600w, https://ghost.stf4.com/content/images/size/w1000/2022/06/image-1.png 1000w, https://ghost.stf4.com/content/images/size/w1600/2022/06/image-1.png 1600w, https://ghost.stf4.com/content/images/2022/06/image-1.png 1673w" sizes="(min-width: 720px) 720px"></figure><p>L&apos;&#xE9;toile active la page par d&#xE9;faut du site web </p><figure class="kg-card kg-image-card"><img src="https://ghost.stf4.com/content/images/2022/06/image-2.png" class="kg-image" alt loading="lazy" width="1246" height="164" srcset="https://ghost.stf4.com/content/images/size/w600/2022/06/image-2.png 600w, https://ghost.stf4.com/content/images/size/w1000/2022/06/image-2.png 1000w, https://ghost.stf4.com/content/images/2022/06/image-2.png 1246w" sizes="(min-width: 720px) 720px"></figure>]]></description><link>https://ghost.stf4.com/joomla/</link><guid isPermaLink="false">65cd28959bcd1c01e189751d</guid><category><![CDATA[location]]></category><dc:creator><![CDATA[Denis]]></dc:creator><pubDate>Sat, 25 Jun 2022 06:31:54 GMT</pubDate><content:encoded><![CDATA[<figure class="kg-card kg-image-card"><img src="https://ghost.stf4.com/content/images/2022/06/image.png" class="kg-image" alt loading="lazy" width="1177" height="592" srcset="https://ghost.stf4.com/content/images/size/w600/2022/06/image.png 600w, https://ghost.stf4.com/content/images/size/w1000/2022/06/image.png 1000w, https://ghost.stf4.com/content/images/2022/06/image.png 1177w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card"><img src="https://ghost.stf4.com/content/images/2022/06/image-1.png" class="kg-image" alt loading="lazy" width="1673" height="624" srcset="https://ghost.stf4.com/content/images/size/w600/2022/06/image-1.png 600w, https://ghost.stf4.com/content/images/size/w1000/2022/06/image-1.png 1000w, https://ghost.stf4.com/content/images/size/w1600/2022/06/image-1.png 1600w, https://ghost.stf4.com/content/images/2022/06/image-1.png 1673w" sizes="(min-width: 720px) 720px"></figure><p>L&apos;&#xE9;toile active la page par d&#xE9;faut du site web </p><figure class="kg-card kg-image-card"><img src="https://ghost.stf4.com/content/images/2022/06/image-2.png" class="kg-image" alt loading="lazy" width="1246" height="164" srcset="https://ghost.stf4.com/content/images/size/w600/2022/06/image-2.png 600w, https://ghost.stf4.com/content/images/size/w1000/2022/06/image-2.png 1000w, https://ghost.stf4.com/content/images/2022/06/image-2.png 1246w" sizes="(min-width: 720px) 720px"></figure>]]></content:encoded></item></channel></rss>