cxg518 发表于 2018-11-15 07:37:57

Nginx-Debian/Ubuntu yum安装

  出处记不太清了。
  对于Debian/Ubuntu系统如何用yum来安装nginx.下面进行讲解:
  For Debian/Ubuntu, in order to authenticate the nginx repository signatureand to eliminate warnings about missing gpg key during installation of thenginx package, it is necessary to add the key used to sign the nginx packagesand repository to the apt program keyring. Please download this key from our website, and add it to the apt program keyring with the following command:
  sudo apt-key add nginx_signing.key
  For Debian 6 append the following to the end of the /etc/apt/sources.list file:
  deb http://nginx.org/packages/debian/ squeeze nginx
  deb-src http://nginx.org/packages/debian/ squeeze nginx
  For Ubuntu 10.04 append the following to the end of the /etc/apt/sources.list file:
  deb http://nginx.org/packages/ubuntu/ lucid nginx
  deb-src http://nginx.org/packages/ubuntu/ lucid nginx
  For Debian/Ubuntu then run the following commands:
  apt-get update
  apt-get install nginx

页: [1]
查看完整版本: Nginx-Debian/Ubuntu yum安装