Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to install nginx on wheezy using this code in my deployment script:

echo "deb http://nginx.org/packages/debian/ wheezy nginx" | sudo tee -a /etc/apt/sources.list
echo "deb-src http://nginx.org/packages/debian/ wheezy nginx" | sudo tee -a /etc/apt/sources.list
apt-get update
apt-get install -y nginx

However it doesn't seem that wheezy is supported by nginx yet. Can anyone tell me how I am meant to be installing nginx on wheezy please?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

it doesn't seem that wheezy is supported by nginx yet

What? There's a package in the main repository: nginx (1.2.1-2.2) . If you're having issues installing stuff nginx's repositories it's because they are not maintaining them properly or haven't updated them yet. If you go to their dists folder you'll notice they have not yet provided a package tree for wheezy.

Use the version of nginx included in the main repository or build your own package from the latest stable release's source until nginx updates their repository.

share|improve this answer
1  
This is the way to go if you don't need the current version of nginx and the old stable version shipped with Debian will work for you. –  Michael Hampton May 16 '13 at 1:47

I'm currently using the squeeze package which works fine - try that.

share|improve this answer
    
This is the way to go if you need the current version of nginx and the old stable version shipped with Debian won't work for you. –  Michael Hampton May 16 '13 at 1:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.