Software engineer >> Sysadmin >> Devops >> SRE

Note book to help you and me remember some tricks

VSCode + Free LLM model on private server with or without GPU (CPU-only)

Prerequisites Private server with 8 or 12 cores (8 or up to 12 virtual CPU if your server is a virtual machine). Install Ollama + LLM models To easily manager LLM model you can install Ollama. It’s easier to manage… Continue Reading →

Terraform with OCI (Oracle Cloud Infrastructure)

In this post I will describe how to test terraform with OCI, for instance from your windows laptop. This is not intended for production server. Install OCI cli on your desktop or server On your laptop (or on your server)… Continue Reading →

Change the domain name of your wordpress site without a wordpress plugin

In the following information, we work with a MySQL database. We deals with the case of changing nicodevlog.com to codetodevops.com. I wrote this article after I changed nicodevlog.com to codetodevops.com Backup your database Firstly, make a backup of your database…. Continue Reading →

Do you know the difference between sleep 1000, sleep 1000 & and (sleep 1000 &)? ChatGPT thinks it knows but is wrong

So I asked chatgpt a question for an experimented Linux system administrator. The question Here is the question: You are a software engineer and linux system administror. You are an expert in using shell script.can you compare the following 3… Continue Reading →

Ansible.builtin.script triggers permission denied on Oracle Linux

You have some Oracle Linux servers targeted by your ansible playbooks. You have your_playbook.yml that contains the following task: (The become and become_user instructions are not required to reproduce the error) If you got an error, just add the -vvv… Continue Reading →

How install and configure Clamav antivirus as a background process notifying you by email when a threat is detected

In the following post we will work on a rocky Linux server (RHEL). Install EPEL Repository The Rocky Linux base repo does not contain packages for installing Clamv. Install Clamav Set SELinux for Clamav freshclam: run Virus database signature update… Continue Reading →

OCI: increase the size of a block volume that is attached to a single instance (not shareable block volume)

WARNING: in the following example we will create an ext4 partition, but you must be informed that ext4 is a filesystem that cannot manage more than 2TiB (cannot manage more than 1TiB with 256 bytes inodes, or cannont manage more… Continue Reading →

OCI: attach a new block volume to a single host

In the OCI console, go to the block volumes menu and create a block volume. Choose in which compartment you want to create your block volume (same compartment as your host), and choose a custom size. Let the other settings… Continue Reading →

Management of permissions on a mount point with Linux SGID and Linux group + ansible example

For the purpose of this article, I give you an existing context. Imagine you have one server share.yourdomain.com that is an NFS server, and that shares a directory that we have named /heapdump Now imagine you have ten other linux… Continue Reading →

Error 500 after securing your wazuh installation

if you follow the step-by-step guide to install wazuh, you will also get to the step “securing your wazuh installation” in which a command is provided to replace all the default passwords: Then if you go back to your dashboard… Continue Reading →

« Older posts

© 2025 Software engineer >> Sysadmin >> Devops >> SRE — Powered by WordPress

Theme by Anders NorenUp ↑