Update README.md

This commit is contained in:
VirtuBox 2018-04-02 01:53:14 +02:00 committed by GitHub
parent 6783b7f829
commit f5effe7a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -18,17 +18,13 @@ apt-get update && apt-get upgrade -y && apt-get autoremove -y && apt-get clean
sudo apt install haveged curl git unzip zip fail2ban python-pip python-setuptools htop -y
```
**Tweak Kernel sysctl.conf** [sysctl.conf](https://github.com/VirtuBox/ubuntu-nginx-web-server/blob/master/etc/sysctl.conf)
**Tweak Kernel** [sysctl.conf](https://github.com/VirtuBox/ubuntu-nginx-web-server/blob/master/etc/sysctl.conf) &
**Increase open files limits** : [limits.conf](https://github.com/VirtuBox/ubuntu-nginx-web-server/blob/master/etc/security/limits.conf)
```
wget -O /etc/sysctl.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/sysctl.conf
sysctl -p
```
**Increase open files limits** : [limits.conf](https://github.com/VirtuBox/ubuntu-nginx-web-server/blob/master/etc/security/limits.conf)
```
wget -O /etc/security/limits.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/security/limits.conf
```
**disable transparent hugepage for redis**
```
echo never > /sys/kernel/mm/transparent_hugepage/enabled