env | grep LANG export LANG=en_US.UTF-8 dpkg-reconfigure locales nano /etc/hostname -> hostname 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 /etc/ssh/sshd_config -> permitrootlogin no apt-get install ufw ufw default deny incoming ufw default allow outgoing ufw allow ssh ufw allow 22 ufw enable
nano /etc/sysctl.conf 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 <ipv6address>/<prefixlength> dev <interface> echo "net.ipv6.conf.all.disable_ipv6 = 1" | tee /etc/sysctl.d/01-disable-ipv6.conf echo "net.ipv6.conf.eth0.disable_ipv6=1" | tee /etc/sysctl.d/01-disable-ipv6-eth0.conf