Created
August 17, 2014 05:58
-
-
Save noblejasper/e1b2563804906f2ff0f5 to your computer and use it in GitHub Desktop.
debian squeeze に 最新ぽい nginx をインストール ref: http://qiita.com/noblejasper/items/d6e858ca29ca86427ed3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget "http://nginx.org/keys/nginx_signing.key" | |
sudo apt-key add nginx_signing.key | |
sudo vi /etc/apt/sources.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://nginx.org/packages/debian/ squeeze nginx | |
deb-src http://nginx.org/packages/debian/ squeeze nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /usr/sbin/nginx -v | |
nginx version: nginx/1.6.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment