Aller au fichier
virtubox 19c9c8f26d Mettre à jour 'etc/sysctl.conf' 2018-04-25 20:28:40 +00:00
etc Mettre à jour 'etc/sysctl.conf' 2018-04-25 20:28:40 +00:00
LICENSE Initial commit 2018-04-25 20:12:32 +00:00
README.md Mettre à jour 'README.md' 2018-04-25 20:17:49 +00:00

README.md

proxmox

tweak sysctl.conf

modprobe tcp_htcp
wget -O /etc/sysctl.conf https://git.virtubox.net/virtubox/proxmox/raw/branch/master/etc/sysctl.conf
sysctl -p
wget -O /etc/security/limits.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/security/limits.conf

fail2ban ddos

wget -O /etc/fail2ban/filter.d/ddos.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/fail2ban/filter.d/ddos.conf
wget -O  /etc/fail2ban/jail.d/ddos.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/fail2ban/jail.d/ddos.conf

fail2ban-client reload

acme.sh

wget -O -  https://get.acme.sh | sh
source ~/.bashrc 
bash <(curl -Ss https://my-netdata.io/kickstart.sh) 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 https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/netdata/health_alarm_notify.conf
service netdata restart