LoginSignup
1
1

More than 5 years have passed since last update.

apt-getでnginx-1.2.4 stableをubuntu 11.10にインストール

Last updated at Posted at 2012-10-26

ubuntuでapt-get install nginxするとちょっと古いバージョンがインストールされてしまいます。
折角なら最新のstableを使いたい、そして自分でmakeとか./configureとかしたくない!のでapt-getで出来るように。

公式サイトにやり方は書いてあります。

$ 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!

Yay!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1