LoginSignup
2
2

More than 5 years have passed since last update.

debian squeeze に 最新ぽい nginx をインストール

Last updated at Posted at 2014-08-17

debian に最新のnginx をインストール

wget "http://nginx.org/keys/nginx_signing.key"
sudo apt-key add nginx_signing.key
sudo vi /etc/apt/sources.list

sources.listを書く

deb http://nginx.org/packages/debian/ squeeze nginx
deb-src http://nginx.org/packages/debian/ squeeze nginx

インストール

sudo apt-get update
sudo apt-get install nginx

バージョン見る

$ /usr/sbin/nginx -v
nginx version: nginx/1.6.1

アクセスしてみる

スクリーンショット 2014-08-17 14.54.39.png

はっぴー

2
2
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
2
2