Mettre à jour 'README.md'

This commit is contained in:
virtubox 2018-04-25 20:17:49 +00:00
parent 959f5d27f8
commit e357175ffb
1 changed files with 34 additions and 0 deletions

View File

@ -1,2 +1,36 @@
# 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
```