LoginSignup
3
3

More than 5 years have passed since last update.

Nginx(本家版) インストール (Ubuntu)

Last updated at Posted at 2016-02-03

nginxサイトが配布するPGPキーを追加

wget http://nginx.org/keys/nginx_signing.key -O - | sudo apt-key add -

nginxサイトのリポジトリを追加

/etc/apt/sources.list.d/nginx.list
deb http://nginx.org/packages/ubuntu/ CODENAME nginx
deb-src http://nginx.org/packages/ubuntu/ CODENAME nginx
version CODENAME
12.04 precise
14.04 trusty
15.04 vivid
15.10 wily
16.04 xenial
16.10 yakkety

インストール

sudo apt update
sudo apt install nginx
3
3
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
3
3