Catégorie : Exploitation
Install Nvidia drivers + CUDA on Debian 12 (bookworm) + nvidia-smi + ollama and Docker
When I set out to install NVIDIA drivers alongside CUDA on my machine, I often find myself grappling with frustrating version mismatches that complicate the entire process. One of the most critical tools in this ecosystem is nvidia-smi, which provides vital insights into GPU processes and resource consumption. However, I frequently encounter a common issue: the version of nvidia-smi tends to lag behind the latest NVIDIA drivers. For example, as of April 2025, I might be working with driver version 570 while nvidia-smi is still at version 560. This discrepancy can lead to significant problems, as blindly installing the latest drivers without ensuring compatibility can render nvidia-smi inoperable. Therefore, I’ve learned the importance of carefully navigating these version dependencies to ensure a smooth installation and optimal performance of my GPU resources. Press enter or click to view image in full size Image randomly generated when playing around with https://chat.together.ai/ with FluxSchnell model. Restrict Debian 12 to install too fresh packages On the latest Debian (12 — Bookworm), the standard NVIDIA drivers typically install only up to version 535. However, when I install the cuda-keyring to set up for the CUDA driver later, the official NVIDIA repository gets added to my…
Stalwart email Solution
Unlock the future of email with Stalwart Step into the future with Stalwart, the open-source powerhouse blending modern features with unparalleled security, speed, and scalability. https://stalw.art/
RIP Redis : Comment Garantia Data a orchestré ce qui pourrait être considéré comme le plus grand « vol » de l’histoire de l’open source, selon Khawaja Shams et Tony Valderrama
https://sgbd.developpez.com/actu/355655/RIP-Redis-Comment-Garantia-Data-a-orchestre-ce-qui-pourrait-etre-considere-comme-le-plus-grand-vol-de-l-histoire-de-l-open-source-selon-Khawaja-Shams-et-Tony-Valderrama/
HOWTO: Chia Farming on SCALE | TrueNAS Community
https://www.truenas.com/community/threads/howto-chia-farming-on-scale.93071/
Puppet CA/puppetmasterd cert renewal
While we’re still converting our puppet controlled infra to Ansible, we still have some nodes “controlled” by puppet, as converting some roles isn’t something that can be done in just one or two days. Add to that other items in your backlog that all have priority set to #1 and then time is flying, until you realize this for your existing legacy puppet environment (assuming false FQDN here, but you’ll get the idea):
1 2 |
Warning: Certificate 'Puppet CA: puppetmasterd.domain.com' will expire on 2019-05-06T12:12:56UTC Warning: Certificate 'puppetmasterd.domain.com' will expire on 2019-05-06T12:12:56UTC |
So, as long as your PKI setup for puppet is still valid, you can act in advance, resign/extend CA and puppetmasterd and distribute newer CA certs to agents, and go forward with other items in your backlog, while still converting from puppet to Ansible (at least for us)
FreeNas: Create Custom Jails template
FreeNAS® supports the ability to add custom templates to the Templates drop-down menu described in Table 13.2.1. To create a custom template, first install the desired operating system and configure it as needed. The installation can be either to an existing jail or on another system. Next, create an mtree specification using this command, replacing /path/to/jail with the actual path to the jail:
1 |
mtree -c -p /path/to/jail -k sha256digest > file.mtree |
After configuration is complete, create a tarball of the entire operating system to be used as a template. This tarball needs to be compressed with gzip and end in a .tgz extension. Be careful when creating the tarball as it is possible to end up in a recursive loop. In other words, the resulting tarball must be saved outside of the operating system being tarballed, such as to an external USB drive or network share. Alternately, create a temporary directory within the operating system and use the –exclude switch to tar to exclude this directory from the tarball. The exact tar command to use will vary, depending upon the operating system being used to create the tarball. Save the generated .mtree and .tgz files to either an FTP share or an HTTP server. The FTP or…
Restore FreeNAS jail from dataset snapshot/backup
If something bad happens with your FreeNAS jail you might want to go back in time and just restore the jail from a previously saved snapshot of the jail dataset. Of course, this assumes that you previously have taken snapshots to restore from for the jail, either automatically or manually. If so, this howto describes how you can restore the state of your jail to any of those snapshots.
Installing GitLab on FreeBSD 10
Source : https://raw.githubusercontent.com/gitlabhq/gitlab-recipes/master/install/freebsd/freebsd-10.md
Très bonne présentation organisation DevOps
Mise en place d’une organisation DevOps Cyrille Le Clerc Comme le mouvement Agile a rapproché donneurs d’ordre et équipes de réalisation autour d’une vision commune orientée « produit », le mouvement DevOps rapproche aujourd’hui les équipes de développement (DEV) et d’exploitation (OPS) autour d’une vision commune orientée « service », afin de mieux concilier réactivité et qualité de service. DevOps aborde le paradoxe entre des équipes projets qui cherchent à livrer toujours plus fréquemment des nouvelles fonctionnalités d’une part et d’autre part des équipes d’exploitation qui cherchent à stabiliser et fiabiliser les systèmes tout en maitrisant leur coût.
awk Tutorial
La commande awk Philosophie On parle souvent de awk comme d’une version améliorée de sed. En effet, on retrouve la notion de portée de commande et de manipulation de texte, mais à mon avis, cette comparaison s’arrête la. Si sed dispose d’une commande if, l’on ne peut parler de langage de programmation alors que cette notion s’applique totalement à awk. Il n’est pas question ici de traiter totalement awk mais juste de vous donner un bref aperçu de sa puissance. Dû à la complexité de awk, il ne nous sera pas possible de traiter ce langage de façon extensive. Aussi, nous allons procéder à un rapide tutorial dans la première partie et donner une référence rapide des fonctionnalités les plus utilisées dans une seconde.