はじめに
Debian8にNginxを標準インストール
親記事:Nginxの各種インストール方法とEOLまとめ
LOG
インストール
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
# apt update; apt install -y nginx
... 略
各種確認
# which nginx
/usr/sbin/nginx
# nginx -v
nginx version: nginx/1.6.2
# apt show nginx
Package: nginx
Version: 1.6.2-5+deb8u6
Installed-Size: 102 kB
Maintainer: Kartik Mistry <kartik@debian.org>
Depends: nginx-full (>= 1.6.2-5+deb8u6) | nginx-light (>= 1.6.2-5+deb8u6) | nginx-extras (>= 1.6.2-5+deb8u6), nginx-full (<< 1.6.2-5+deb8u6.1~) | nginx-light (<< 1.6.2-5+deb8u6.1~) | nginx-extras (<< 1.6.2-5+deb8u6.1~)
Homepage: http://nginx.net
Section: httpd
Priority: optional
Download-Size: 72.9 kB
APT-Manual-Installed: yes
APT-Sources: http://security.debian.org/debian-security/ jessie/updates/main amd64 Packages
Description: small, powerful, scalable web/proxy server
N: There is 1 additional record. Please use the '-a' switch to see it
# apt show nginx -a
Package: nginx
Version: 1.6.2-5+deb8u6
Installed-Size: 102 kB
Maintainer: Kartik Mistry <kartik@debian.org>
Depends: nginx-full (>= 1.6.2-5+deb8u6) | nginx-light (>= 1.6.2-5+deb8u6) | nginx-extras (>= 1.6.2-5+deb8u6), nginx-full (<< 1.6.2-5+deb8u6.1~) | nginx-light (<< 1.6.2-5+deb8u6.1~) | nginx-extras (<< 1.6.2-5+deb8u6.1~)
Homepage: http://nginx.net
Section: httpd
Priority: optional
Download-Size: 72.9 kB
APT-Manual-Installed: yes
APT-Sources: http://security.debian.org/debian-security/ jessie/updates/main amd64 Packages
Description: small, powerful, scalable web/proxy server
Package: nginx
Version: 1.6.2-5+deb8u5
Installed-Size: 102 kB
Maintainer: Kartik Mistry <kartik@debian.org>
Depends: nginx-full (>= 1.6.2-5+deb8u5) | nginx-light (>= 1.6.2-5+deb8u5) | nginx-extras (>= 1.6.2-5+deb8u5), nginx-full (<< 1.6.2-5+deb8u5.1~) | nginx-light (<< 1.6.2-5+deb8u5.1~) | nginx-extras (<< 1.6.2-5+deb8u5.1~)
Homepage: http://nginx.net
Tag: implemented-in::c, interface::daemon, network::server, network::service,
protocol::http, role::program, use::proxying
Section: httpd
Priority: optional
Download-Size: 72.6 kB
APT-Sources: http://deb.debian.org/debian/ jessie/main amd64 Packages
Description: small, powerful, scalable web/proxy server