You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virtubox 19c9c8f26d Mettre à jour 'etc/sysctl.conf' 1 year ago
etc Mettre à jour 'etc/sysctl.conf' 1 year ago
LICENSE Initial commit 1 year ago Mettre à jour '' 1 year ago


tweak sysctl.conf

modprobe tcp_htcp
wget -O /etc/sysctl.conf
sysctl -p
wget -O /etc/security/limits.conf

fail2ban ddos

wget -O /etc/fail2ban/filter.d/ddos.conf
wget -O  /etc/fail2ban/jail.d/ddos.conf

fail2ban-client reload

wget -O - | sh
source ~/.bashrc 
bash <(curl -Ss all

# save 40-60% of netdata memory
echo 1 >/sys/kernel/mm/ksm/run
echo 1000 >/sys/kernel/mm/ksm/sleep_millisecs

# disable email notifications
wget -O /etc/netdata/health_alarm_notify.conf
service netdata restart