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



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章