// FIELD NOTES

Broke it. Fixed it. Wrote it down.

Writeups, guides and long-form notes on things I broke and fixed — servers, networks, IRC, self-hosting. Every page is a fix I actually ran.

* 28 docs / 3 categories / linux · irc · https

linux

14
create systemctl service.service linux/create-systemctl-service-service nano /etc/systemd/system/radio ipv6.service Create /etc/systemd/system/radio ipv6.service : Enable and start: If it dies again, check: 2026-08-08 docker @ debian12 linux/docker-debian12 apt update && apt upgrade y && apt autoremove y && apt install y ca certificates curl gnupg install m 0755 d /etc/apt/keyrings chmod a+r /etc/apt/keyrings/docker.gpg apt update apt install y docker ce docker ce cli conta 2026-07-18 debian + ipv6 linux/debian-ipv6 1. Disable cloud init networking (if not already) Create the disable file exactly as their own header suggests: This tells cloud init to stop reconfiguring network on boot so only your ifupdown files control eth0. 2. Bui 2026-06-19 openVPN linux/openvpn 1. Install OpenVPN and Easy RSA on Debian On harley : This installs the OpenVPN daemon, Easy‑RSA PKI tools, and iptables for NAT.[](https://www.server world.info/en/note?os=Debian 12&p=openvpn&f=1) 2. Create CA and serve 2026-03-26 monitor + fail2ban linux/monitor-fail2ban ubuntu / debian for DEBIAN make sure rsyslog is installed and running : apt install rsyslog systemctl enable –now rsyslog .systemctl status rsyslog Configure SSH Logging Edit the SSH configuration to ensure proper loggin 2025-09-22 portspoof linux/portspoof apt update apt upgrade apt install portspoof Configure iptables to redirect scans to portspoof iptables t nat A PREROUTING i eth0 p tcp –dport 1:65535 j REDIRECT –to port 4444 Start portspoof (runs on port 4444 by defaul 2025-09-19 iptables / syn / traffic control linux/iptables-syn-traffic-control apt install iptables && netfilter persistent netfilter persistent save 2025-07-04 .swap linux/swap sudo swapoff a sudo fallocate l 2G /swapfile sudo dd if=/dev/zero of=/swapfile bs=1M count=2048 sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile echo ‘/swapfile none swap sw 0 0’ | sudo tee a /etc/fst 2025-06-26 Benchmarking VPS/Bare Metal linux/benchmarking-vps-bare-metal 1. install git 2. git clone [https://github.com/masonr/yet another bench script](https://github.com/masonr/yet another bench script) 3. cd yet another bench script 4. chmod +x yabs.sh 5. ./yabs.sh 2025-06-20 Configure RAID 1 linux/configure-raid-1 This example is based on the environment like follows. It shows to install new Disks [sdb] and [sdc] on this computer and configure RAID 1. Create a partition on new Disks and set RAID flag. Configure RAID 1. If a member 2025-06-20 vsFTPd linux/vsftpd apt update apt install ftp vsftpd y systemctl status vsftpd ls ld /data /data/ftp ls la /data/ftp | head n 20 useradd d /data/ftp s /usr/sbin/nologin uid0ftp passwd uid0ftp useradd d /data/ftp s /usr/sbin/nologin uid1ftp 2025-06-20 rsync with ssh key linux/rsync-with-ssh-key On our origin server, we will generate public SSH keys with no password: This is our public SSH key that can be placed on other hosts to give us access: Copy this key to your clipboard and login to your destination serve 2025-06-20 unix2dos filename linux/unix2dos-filename 2025-06-20 installing ssh keys linux/installing-ssh-keys if root user not permited to log in 2025-06-20

irc

5

https

9
Nextcloud Server Installation Guide for Debian 12 (Root User) https/nextcloud-server-installation-guide-for-debian-12-root-user This guide provides detailed step by step instructions for installing Nextcloud Server on a fresh Debian 12 VM running as root, with Apache2, MariaDB, and SSL/TLS encryption via Let’s Encrypt. System Requirements and Pre 2026-01-03 zabbix agent install ( ubuntu 22) https/zabbix-agent-install-ubuntu-22 apt update apt upgrade y wget https://repo.zabbix.com/zabbix/7.2/release/ubuntu/pool/main/z/zabbix release/zabbix release latest 7.2+ubuntu22.04 all.deb dpkg i zabbix release latest 7.2+ubuntu22.04 all.deb apt update apt 2025-07-26 zabbix agent install (buster_10) https/zabbix-agent-install-buster_10 nano /etc/apt/sources.list Replace its contents with the following (delete everything else): Disable “Valid Until” Check: Because these archived repos are frozen, you must tell apt to ignore package date expiry. Create ( 2025-07-26 zabbix agent install ( bookworm_12) https/zabbix-agent-install-debian Change the following lines: Replace with the IP address of your Zabbix server (parent VM) : Optional: To allow server and frontend connections, also set: (Optional but recommended) Set a hostname for this VM: Save and ex 2025-07-25 .cloudflarED https/cloudflared 1. wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared linux amd64.deb 2. dpkg i cloudflared linux amd64.deb 3. cloudflared tunnel login This will open a browser window with a Cloudflare l 2025-06-20 LAMP install https/lamp-install APACHE INSTALL && CONFIG Syntax OK IF AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message Syntax OK T 2025-06-20 certbot SSL (re)install https/certbot-ssl-reinstall with the result : Certificate is saved at: /etc/letsencrypt/live/domain.name/fullchain.pem Key is saved at: /etc/letsencrypt/live/domain.name/privkey.pem THEN: nano /etc/apache2/sites available/default ssl.conf sudo a2en 2025-06-20 Certbot install https/certbot-install Find the existing ServerName and ServerAlias lines. They should be listed as follows: You should receive Syntax OK as a response. If you get an error, reopen the virtual host file and check for any typos or missing chara 2025-06-20 How To: Change / Move Nextcloud data directory after installation https/how-to-change-move-nextcloud-data-directory-after-installation The solution is far simpler and less risky in data corruption concerns, but it does NOT fulfil the security recommendations . So if you just need to move the data directory for storage reasons, not for security reasons, 2025-06-20