Perfect SpamSnake 10.10 - nginx install..

Discussion in 'HOWTO-Related Questions' started by colskinet, Dec 18, 2010.

  1. colskinet

    colskinet New Member

    I've got to installing nginx and am trying to retrieve the files to allow me to install nginx using the following commands:

    9. Nginx with Uwsgi
    Download and install both Nginx and Uwsgi from Chris Lea’s Launchpad:

    wget $(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
    wget $(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
    wget $(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
    wget $(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
    apt-get install libsctp1
    dpkg -i nginx*
    dpkg -i uwsgi*

    However, the system is returning the following error:

    --2010-12-18 11:20:31--
    Connecting to||:443... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2010-12-18 11:20:31 ERROR 404: Not Found.

    --2010-12-18 11:20:31-- http://amd64.deb/
    Resolving amd64.deb... failed: Name or service not known.
    wget: unable to resolve host address `amd64.deb'

    This happens on all of the files that I need to retrieve! I've tried copying and pasting, typing it in manually but still it won't work.


  2. topdog

    topdog Active Member

    Remove the space between _ and $(uname....
  3. colskinet

    colskinet New Member

    Hi topdog!

    Just tried that and I then get a 404 not found error.

    Looking at I see it is now version 0.9.3 - assume it's safe to get that version instead?

    Thanks again
  4. Rocky

    Rocky Member

    Nginx was revised and a new version was release. I've updated the link in the guide.

    It should work fine with the new version.
  5. thbe

    thbe New Member

    It seems that uwsgi is not available anymore. I can't find it on their website. What now? I'm stuck here!

  6. colskinet

    colskinet New Member

    If you go to in a web browser, then expand the selection for whatever version of Ubuntu you are using (mine was Maverick as per the guide), you'll then see the files. I right clicked on the ones I wanted, then done a "save as". Once I had them on my PC, I then moved them to my spamsnake server.

    It worked for me anyway!

    Good luck!

    EDIT - changing the path to wget$(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb was successful in finding the files.. (taking out "+build/2038401/" in the original path..)
    Last edited: Jan 9, 2011
  7. thbe

    thbe New Member

    Thanks! Found it but now I have a "Gateway error" in the webbrowser.

    I'll think I will start it all over again. Have messed up things perhaps :-(
  8. Rocky

    Rocky Member

    Yes, the gateway error points to uwsgi not working as expected.

Share This Page