技术解析
print 'deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx\n' 'deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx' > /etc/apt/sources.list.d/nginx.list
wget http://nginx.org/大带宽服务器keys/nginx_signing.key -O - | sudo apt-key add -
apt-get update
apt-get -o Dpkg::Options::="--force-overwrite" install nginx
# move host file
pkill nginx
service nginx start