meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:debian [2026/06/08 22:14] – removed - external edit (Unknown date) 127.0.0.1 | linux:debian [2026/06/08 22:14] (current) – ↷ Page moved from os:linux:debian to linux:debian kilroy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Debian ====== | ||
| + | ===== Initial ===== | ||
| + | |||
| + | < | ||
| + | |||
| + | env | grep LANG | ||
| + | export LANG=en_US.UTF-8 | ||
| + | dpkg-reconfigure locales | ||
| + | |||
| + | nano / | ||
| + | nano /etc/hosts -> 127.0.1.1 hostname.yourdomain.tld hostname | ||
| + | invoke-rc.d hostname.sh start | ||
| + | invoke-rc.d networking force-reload | ||
| + | invoke-rc.d network-manager force-reload | ||
| + | |||
| + | |||
| + | nano / | ||
| + | |||
| + | apt-get install ufw | ||
| + | ufw default deny incoming | ||
| + | ufw default allow outgoing | ||
| + | ufw allow ssh | ||
| + | ufw allow 22 | ||
| + | ufw enable | ||
| + | </ | ||
| + | |||
| + | ===== Disable ipv6 ===== | ||
| + | |||
| + | < | ||
| + | nano / | ||
| + | |||
| + | net.ipv6.conf.all.disable_ipv6 = 1 | ||
| + | net.ipv6.conf.default.disable_ipv6 = 1 | ||
| + | net.ipv6.conf.lo.disable_ipv6 = 1 | ||
| + | |||
| + | ip -6 addr del < | ||
| + | |||
| + | echo " | ||
| + | echo " | ||
| + | </ | ||
| + | |||
| + | |||