Manually sending logs to stdout in a container.
- No Comments
- cze, 05, 2023
- siwy
- Docker, Kubernetes, Linux, okd
When working with Docker containers, there may be times when you need to pass information to the Docker logging system. Although there are various methods to achieve this, one intriguing approach involves using the special /proc filesystem. The /proc directory is a unique area in Unix-like systems, containing information about running processes. For Docker containers, […]
Read MoreManaging Nodes in OpenShift Using oc adm
- No Comments
- maj, 22, 2023
- siwy
- Kubernetes, okd
OpenShift, the container management platform created by Red Hat, offers powerful tools for managing nodes in your cluster. Today, we’re going to focus on a few key commands that will assist us in optimizing and maintaining our clusters. Managing Node Schedulability First off, sometimes we want to prevent new Pods from being placed on a […]
Read MoreDelete open files. When df and du show different results.
- No Comments
- maj, 17, 2023
- siwy
- Linux
In Linux systems, files that have been deleted but are still open by some process can sometimes take up valuable disk space. Fortunately, there’s a way to handle this issue. Here’s a command that allows you to “clean” these files: Understanding what this command does requires breaking it down into parts. Let’s start from the […]
Read MorePrestaShop – Free module – sticky banner
- No Comments
- kwi, 08, 2021
- siwy
- PrestaShop
How To Create a Fixed Header on Scroll. Installation Download ZIP: https://github.com/siwy-github/ps_sticky_information Remove “-main” from zip file and first dir in zip Add new module in Back Office
Read MorePrestaShop 1.6 – Change copyright year in footer
- No Comments
- kwi, 08, 2021
- siwy
- PrestaShop
Edit file themes/default-bootstrap/footer.tpl and replace year with: This change will automatically update year in footer.
Read MoreProxmox disable power off button
- No Comments
- sty, 24, 2021
- siwy
- Debian, Linux, OS, ProxMox, virtualization
Source: https://forum.proxmox.com/threads/disable-acpi-power-button-shutdown-host.64637/ Edit file /etc/systemd/logind.conf. Uncomment HandlePowerKey and set value to ignore.To save changes:
Read MoreBacula-client (bacula-fd) debug mode
- No Comments
- sty, 10, 2021
- siwy
- Bacula, CentOS, Debian
1. Stop bacula-fd on client 2. Start debug mode 3. Stop debug mode 1. Start bacula-fd on client
Read MoreProxMox – net::ERR_CONTENT_LENGTH_MISMATCH
- No Comments
- kwi, 14, 2019
- siwy
- Debian, Linux, ProxMox, Useful commands, virtualization
Error repair curl –insecure https://IP:8006/pve2/ext6/ext-all-debug.js
Read MoreProxMox – HDD Passthrough
- No Comments
- kwi, 14, 2019
- siwy
- Debian, Linux, ProxMox, virtualization
Source: blog.imnotacyb.org 1. Find disk with you want passthrough I want passthrough all disk, no partition. ls -l /dev/disk/by-id/ In my case is: ls -l /dev/disk/by-id/ lrwxrwxrwx 1 root root 9 kwi 12 20:34 ata-ST9250315AS_5VC36VNP -> ../../sdd 2. Passthrough HDD to VM Add HDD to VM config file. Add to /etc/pve/qemu-server/<vmid>.conf scsi1: /dev/disk/by-id/ata-ST9250315AS_5VC36VNP 3. Accept […]
Read More