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
README.md Mettre à jour 'README.md' 1 year ago

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