14Jul / 14 Comments Off

Find + Grep

sudo find / -name *.sh -exec grep -n backup /dev/null {} \;
13Jun / 14 Comments Off

IPv4: The Internet is full

IPv4-2-640x480 IPv4-1-640x480http://arstechnica.com/information-technology/2014/06/with-the-americas-running-out-of-ipv4-its-official-the-internet-is-full/?utm_source=digg&utm_medium=email

29Mar / 14 Comments Off

Upgrading nginx from source

Download nginx source (http://nginx.org/en/download.html):

wget http://nginx.org/download/nginx-1.4.7.tar.gz
tar xvzf nginx-1.4.7.tar.gz
cd nginx-1.4.7
chmod a+x configure
./configure (options see below)
make 
make install

Dump your current nginx configuration if you want to replicate existing configuration:

nginx -V

Or use new one according to docs (http://nginx.org/en/docs/configure.html).

You might need following dependencies:

sudo apt get install make fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libtiff5 libvpx1 libxpm4 libxslt1.1 ttf-dejavu-core libxml2-dev libxslt-dev libgd2-xpm-dev libgeoip-dev