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
5Feb / 14 Comments Off

Is Internet running out of space?

DNS

chart-1

largest-top-level-domainstld-list-amazon_001 tld-list-google_001 tld-list-donuts

 

Reff:

http://qz.com/165238/the-biggest-land-rush-in-the-history-of-the-internet-begins-on-february-4/

5Jan / 14 Comments Off

Vagrant – cannot create host-only network

Vagrant error

VBoxManage hostonlyif create 0% ...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interfaces: failed to open / dev / vboxnetctl: No such file or directory
 
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface
VBoxManage: error: Context: "int handleCreate (HandlerArg *, int, int *)" at line 68 of file VBoxManageHostonly.cpp

Solution

sudo /Library/StartupItems/VirtualBox/VirtualBox restart

Reff:

https://forums.virtualbox.org/viewtopic.php?f=8&t=55347