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 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 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 MoreProxMox – GPU Passthrough – Seabios PCI EXPRESS
- No Comments
- kwi, 14, 2019
- siwy
- Debian, Linux, ProxMox, virtualization
Source: pve.proxmox.com techblog.jeppson.org forum.proxmox.com blog.quindorian.org 1. You must know what you want to do! Read line by line: pve.proxmox.com 2. Check what configuration is the best for you Checking if card is UEFI (ovmf) or BIOS (Seabios) compatible: A. Plugin your GPU thich you want passthrough and turn on the hypervisor I have two GPU, […]
Read MoreBacula-client installation (CentOS 7 and Debian 9)
- No Comments
- sty, 13, 2019
- siwy
- Bacula, CentOS, Debian
1. Installation dependence: CentOS 7 sudo yum install gcc gcc-c++ libacl-devel lzo-devel mt-st mtx openssl-devel readline-devel zlib-devel Debian 9 sudo apt install build-essential 2. Installation bacula-client: Download bacula tar from sourceforge.net: bacula-9.4.1.tar.gz and sent tar to server CentOS 7 and Debian 9 tar -xvzf bacula-gui-9.4.1.tar.gz cd bacula-9.4.1/ sudo ./configure –prefix=/usr/local/bacula \ –disable-build-dird […]
Read MoreInstallation Bacula 9 and Baculum on CentOS 7
- 2 komentarze
- sty, 09, 2019
- siwy
- Bacula, CentOS
Source: www.bacula.pl www.bacula.org bacula.us/compilation/ bacula.us/baculum/ This tutorial install DIR and SD on one machine. 1. Download bacula tar from sourceforge.net: bacula-9.4.1.tar.gz and sent tar to server 2. Install PostgreSQL: sudo yum install postgresql-server postgresql-contrib postgresql-devel sudo postgresql-setup initdb sudo systemctl start postgresql sudo systemctl enable postgresql 3. Configuration firewalld: sudo firewall-cmd […]
Read MoreEncrypted zip with hidden files list without compression
- No Comments
- lis, 26, 2018
- siwy
- Useful commands
7z a -p -t7z -mx0 -mhe=on file.7z /path/dir a – Add files to archive -p – Set Password -t7z – Set type of archive -mx0 – Set compression Method 0 – NON 1 – Fastest 3 – Fast 5 – Normal 7 – Maximum 9 – Ultra -mhe=on – Hide files list
Read More