Software engineer >> Sysadmin >> Devops >> SRE

Note book to help you and me remember some tricks

Java memory problem causing overuse of the garbage collector

Detection of a Java memory problem causing overuse of the garbage collector: We are on a server with 4 cpu cores. We can see that 98,5% of these 4 cors is used, it means 387,9% of one cpu. The culprit… Continue Reading →

VSCode + Free LLM model + RAG on your source code in private server – no data shared to outside

This post follow the previous one you should read it in order to configure a LLM on your private server. First we create a userdev in which we will create our API for RAG. We create virtual python environment to… Continue Reading →

Detect ghost space on linux system

On one server there was space missing As you can see / size is 118G but when you look at the data size in / you find 69G 49G are missing The reason is that there are files deleted but… Continue Reading →

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)

Go to the instance where you have attached your block volume. Now go to the ssh terminal of this instance and execute: You can see your block volume has been mounted on /fortest Now in OCI console, increase by 1G… Continue Reading →

« Older posts

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

Theme by Anders NorenUp ↑