Skip to content

Instantly share code, notes, and snippets.

View antonvine's full-sized avatar

Anton Vine antonvine

  • Bank of America
  • NY, USA
View GitHub Profile
@antonvine
antonvine / nginx.conf
Created February 22, 2016 19:45 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@antonvine
antonvine / ixgbevf-upgrade.sh
Created February 3, 2016 17:43
Intell ixgbevf driver installation for Amazon Enhanced Networking
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install build-essential dkms
wget "http://sourceforge.net/projects/e1000/files/ixgbevf stable/3.1.2/ixgbevf-3.1.2.tar.gz"
tar -xzf ixgbevf-3.1.2.tar.gz
sudo mv ixgbevf-3.1.2 /usr/src
sudo cat<<EOH > /usr/src/ixgbevf-3.1.2/dkms.conf
PACKAGE_NAME="ixgbevf"
PACKAGE_VERSION="3.1.2"
CLEAN="cd src/; make clean"
MAKE="cd src/; make BUILD_KERNEL=${kernelver}"