Skip to content

Instantly share code, notes, and snippets.

View portertech's full-sized avatar

Sean Porter portertech

View GitHub Profile
keepalive_timeout 2;
tcp_nopush on;
tcp_nodelay off;
sendfile on;
rewrite ^/(.*)/favicon.ico$ /favicon.ico last;
location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ {
expires max;
break;
}
gzip_comp_level 2;
gzip_min_length 360;
gzip_disable "MSIE [1-6]\.";
gzip_types text/plain text/xml text/css
text/comma-separated-values
text/javascript application/x-javascript
application/atom+xml;
sudo apt-get update
sudo apt-get install mdadm xfsprogs bonnie
sudo mdadm --create /dev/md0 --metadata=1.1 --level=0 --raid-devices=6 /dev/sdx1 /dev/sdx2 /dev/sdx3 /dev/sdx4 /dev/sdx5 /dev/sdx6
sudo mkfs.xfs /dev/md0