Latest
About everything
-
2026-04-06 LinuxEnable Proxmox weekly containers fstrim
What is fstrim? fstrim tells SSDs or thin-provisioned storage which blocks are no longer used by the filesystem so they can be reclaimed. Without TRIM/discard: deleted data still looks “used” to the storage layer SSD performance slowly degrades thin storage pools appear full even when files were deleted write amplification increases (reduces SSD lifespan) Running…
-
2025-10-04 LinuxDebian 13 "trixie" sysctl tutorial
Create or edit a custom config file in /etc/sysctl.d/ sudo nano /etc/sysctl.d/99-custom.conf Add your settings, e.g.: net.ipv4.ip_forward = 1 vm.swappiness = 10 Apply the changes: sudo sysctl --system Verify: sysctl net.ipv4.ip_forward sysctl vm.swappiness
-
2025-03-16 LinuxIPv6 RADVD SLAAC Config
# /etc/radvd.conf interface vmbr1 { AdvSendAdvert on; MinRtrAdvInterval 30; MaxRtrAdvInterval 100; prefix 2a0f:85c1:334:8::/64 { AdvAutonomous on; # Enable SLAAC AdvOnLink on; }; };
-
2024-11-29 LinuxHow do I execute ALL sudo commands without password?
Type the following command as root user: # visudo Append the following entry to run ALL command without a password for a user named tom: tom ALL=(ALL) NOPASSWD:ALL
-
2024-01-26 WindowsHow to Resolve Boot Issues after Upgrading (increasing) RAM memory (No video signal fix)
Problem Description: After upgrading the RAM on your PC to increase memory capacity, you may encounter boot issues where the system fails to boot properly on the first cold start. Symptoms include the computer starting up but without any video output, requiring a restart to boot normally and display video. Possible Cause: The issue may…
-
2024-01-16 LinuxWireguard Clients isolation
This will block traffic between clients: ip6tables -I FORWARD -i wg0 -o wg0 -j REJECT --reject-with icmp6-adm-prohibited iptables -I FORWARD -i wg0 -o wg0 -j REJECT --reject-with icmp-admin-prohibited To disable isolation for single client: iptables -I FORWARD -i wg0 -s 10.0.0.3/32 -d 10.0.0.0/24 -j ACCEPT 10.0.0.3/32 - Single client IP 10.0.0.0/24 - Subnet allow to…
-
2023-12-14 LinuxLimit proxmox backup disk speed
nano /etc/vzdump.conf add bwlimit: 12207 save This will limit read/write speed to 12 MiB/s during backup
-
2023-05-14 UncategorizedRedirect a Domain without Changing the URL with htaccess rule
Redirect and keep everything after the URL RewriteCond %{HTTP_HOST} ^DomainA.com RewriteRule ^(.*) https://DomainB.com/$1 [P] Redirect a domain to a specific url RewriteCond %{HTTP_HOST} ^DomainA.com RewriteRule ^(.*) https://DomainB.com/PathToPageHere [P] Redirect an IP address # Redirect all IP address (replace the ## with the IP address numerals) to same https://domain_name.com RewriteCond %{HTTP_HOST} ^##.##.##.## RewriteRule (.*) https://domain_name.com/$1 [R=301,L]
-
2023-04-15 LinuxThermal sensors
for i in /sys/class/thermal/thermal_zone[0-9]/temp /sys/class/hwmon/hwmon[0-9]/temp[0-9]_input /sys/devices/platform/coretemp.[0-9]/hwmon/hwmon[0-9]/temp[0-9]_input do [[ -e $i ]] && echo "$i : $(
-
2023-03-03 LinuxExport IP:PORT from random text file to the list
You can use a combination of Linux commands to filter out IP:port pairs from a text file and create a list. Assuming that the IP:port pairs in the file are separated by a space, you can use the grep command to filter out lines that match the IP:port pattern, and then use the cut command…