Skip to content

Instantly share code, notes, and snippets.

@foloinfo
Created October 26, 2012 09:30
Show Gist options
  • Save foloinfo/3957837 to your computer and use it in GitHub Desktop.
Save foloinfo/3957837 to your computer and use it in GitHub Desktop.
apt-getでnginx-1.2.4 stableをubuntu 11.10にインストール ref: http://qiita.com/items/3c5d3c13df65fb8e581d
$ wget http://nginx.org/keys/nginx_signing.key
$ sudo apt-key add nginx_signing.key
$ sudo vim /etc/apt/sources.list
+ deb http://nginx.org/packages/ubuntu/ oneiric nginx
+ deb-src http://nginx.org/packages/ubuntu/ oneiric nginx
$ apt-get update
# Get:1 http://nginx.org oneiric Release.gpg [287 B] とかちゃんと取ってきてるのを確認
$ apt-get install nginx
# Setting up nginx (1.2.4-1~oneiric) ...
$ w3m 127.0.01
# Welcome to nginx!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment