yum -y install geoip-devel cd /usr/local/src wget http://pecl.php.net/get/geoip-1.1.1.tgz tar -zxvf geoip-1.1.1.tgz cd geoip-1.1.1 /opt/alt/php-fpm74/usr/bin/phpize ./configure --with-php-config=/opt/alt/php-fpm74/usr/bin/php-config
Forfatter: PO
Persist dns nameserver for ubuntu 14.04
If you are using ubuntu 14.04, you may find you can not setting dns on your /etc/resolv.conf
This is because ubuntu using resolvconf to manage the dns setting, every times system boot, resolvconf will regenerate resolv.conf file.
But there always have way to do this.
vim /etc/resolvconf/resolv.conf.d/head
put your nameserver list in
nameserver 8.8.8.8nameserver 8.8.4.4
then run
resolvconf -u
this command tell resolvconf to regenerate the resolve file
enjoy it.