|
|
|
@ -107,6 +107,8 @@ echo "net.core.wmem_default=16777216" >> /etc/sysctl.conf
|
|
|
|
|
echo "net.core.optmem_max=1524288" >> /etc/sysctl.conf
|
|
|
|
|
echo "net.ipv4.tcp_sack=0" >> /etc/sysctl.conf
|
|
|
|
|
echo "net.ipv4.tcp_timestamps=0" >> /etc/sysctl.conf
|
|
|
|
|
echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
|
|
|
|
|
echo "net.ipv6.conf.all.forwarding=1" >> /etc/sysctl.conf
|
|
|
|
|
sysctl -p
|
|
|
|
|
|
|
|
|
|
## Remove subscription banner
|
|
|
|
@ -130,6 +132,8 @@ sudo bash install.sh
|
|
|
|
|
# BUG FIX : No space left on device
|
|
|
|
|
echo 1048576 > /proc/sys/fs/inotify/max_user_watches
|
|
|
|
|
echo "fs.inotify.max_user_watches=1048576" >> /etc/sysctl.conf
|
|
|
|
|
echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
|
|
|
|
|
echo ""
|
|
|
|
|
sysctl -p /etc/sysctl.conf
|
|
|
|
|
|
|
|
|
|
## Increase max FD limit / ulimit
|
|
|
|
|