User Tools

Site Tools


os:linux:debian

This is an old revision of the document!


Debian

Initial

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

Disable ipv6

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
os/linux/debian.1542269877.txt.gz · Last modified: 2018/11/15 09:17 by titannet

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki