Recently Updated Pages
fnOS Init
User & Group Switch to root: sudo -i Init home dir: mkdir -p /home/kuga groupadd kuga usermod ...
OpenVPN on macOS
SNAT (pf.conf) pf.confscrub-anchor "com.apple/*" nat-anchor "com.apple/*" nat-anchor "kugarocks_...
Add lo0 Aliases
lo0-aliases.sh /usr/local/bin/lo0-aliases.sh #!/bin/bash IPS=( "10.24.1.1" "10.24.1.2"...
IPTables Commands
SNAT iptables -t nat -A POSTROUTING \ -d 10.24.0.0/16 \ -j SNAT --to-source 10.24.x.x POST...
Mastodon
Docker Compose Rails Secret docker compose run --rm web bin/rails secret VAPID Key docker compo...
Common SQL
Connect psql psql -U xxx -d postgres psql -U xxx -d postgres -p List Databases \l List Tab...
PM2 Setup
Install npm install -g pm2 macOS Root User sudo -i pm2 startup cp /var/root/Library/LaunchAge...
Deploy Server and Client
Install OpenVPN and EasyRSA apt install -y openvpn easy-rsa Create CA cd /etc/openvpn Create E...
/etc/network
/etc/network 是 Debian 体系里“老一代网络配置”的地盘,主要给 ifupdown 用的, 和 netplan / systemd-networkd 是不同年代、不同体系的东...
apparmor
Errors dmesg | grep -i apparmor | grep mysqld [ 1237.535694] audit: type=1400 audit(1766687118....