Ubuntu Remote VNC Server Setup with XFCE

Install requirements Create a user for desktop use. For this example, I will use the username “user1”. switch to the user Start vncserver Stop vncserver Create the VNC startup script and make it executable Add Save and exit. Create a service file Add Enable and restart vncserver You can restart the server, you will be … Read more

DeepSeek-TUI

AI code assistant

DeepSeek-TUI is an open-source command-line coding assistant written in Rust. https://github.com/Hmbown/DeepSeek-TUI To install on Ubuntu, just download the latest release To run with NVIDIA nim, use Back to AI

SSH Login delay

AlmaLinux

When i login to a server, SSH connection take more than 2 minutes. Solution: In the server, I disabled UseDNS in /etc/ssh/sshd_config This was AlmaLinux server 9 with GSSAPIAuthentication disabled, DIsabled with GSSAPIAuthentication with Verified it is disabled with When running Got the error “PAM Error connecting to /opt/i360_pam_imunify/pam_imunify360.sock: Connection refused”, this is resolved by … Read more

Teaching SpamAssassin What Is Spam

spamassassin

SpamAssassin is one of the most widely used open-source spam filtering systems for email servers. It is commonly deployed together with Postfix (mail transfer) and Dovecot (mail delivery / IMAP). Instead of relying on a single rule, SpamAssassin assigns a spam score to every email based on hundreds of tests, including: When the score exceeds … Read more

iotop

iotop shows which process is doing disk I/O. Shows only tasks doing I/O: -o toggles “only active I/O”-a accumulates I/O per process-P shows per-process (not threads) If you get SWAPIN/IO% warning, run Server Load

Alpine Linux

Alpine Linux is a lightweight, security-focused Linux distribution renowned for its simplicity, small footprint, and performance. Designed for power users, developers, and container environments, Alpine offers a minimal base system and uses the efficient APK package manager to handle software installation and updates. To install a package, use To list all package, use Example To … Read more

How to Upgrade Debian 11 to Debian 12

Refresh package lists and upgrade all installed packages: Reboot to ensure all updates are properly applied: Change repository references in /etc/apt/sources.list from “bullseye” to “bookworm”. Update the package index and commence the upgrade: Remove obsolete packages and reboot for changes to take effect: Back to Debian