##TUNING##
System: set file descriptors to 32K or 64K
vim /etc/security/limit.conf
// program | |
package main | |
import "os/signal" | |
import "os" | |
import "fmt" | |
import "syscall" | |
import "time" |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
#!/bin/bash | |
# Setup CentOS 7 host as AMI | |
# Update base OS update, and install EPEL repo and Python Pip | |
sudo yum -y update | |
sudo yum –y install epel-release | |
sudo yum -y install python-pip | |
# Install Python add-ons: | |
sudo pip install pystache |