In my case(my machine is ubuntu 16), I append /etc/resolvconf/resolv.conf.d/base file by adding below ns lines.
nameserver 8.8.8.8
nameserver 4.2.2.1
nameserver 2001:4860:4860::8844
nameserver 2001:4860:4860::8888
then run the update script,
In my case(my machine is ubuntu 16), I append /etc/resolvconf/resolv.conf.d/base file by adding below ns lines.
nameserver 8.8.8.8
nameserver 4.2.2.1
nameserver 2001:4860:4860::8844
nameserver 2001:4860:4860::8888
then run the update script,
| function mb_trim( $str ) { | |
| return mb_ereg_replace( | |
| '^[[:space:]]*([\s\S]*\S)?[[:space:]]*$', '\1', $str ); | |
| } |
| #!/bin/sh | |
| # Script to compile nginx on ubuntu with lua support. | |
| NGX_VERSION='1.6.2' | |
| LUAJIT_VERSION='2.0.3' | |
| LUAJIT_MAJOR_VERSION='2.0' | |
| NGX_DEVEL_KIT_VERSION='0.2.19' | |
| LUA_NGINX_MODULE_VERSION='0.9.15' | |