Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th December 2010, 12:26
colskinet colskinet is offline
Junior Member
 
Join Date: Aug 2008
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Default Perfect SpamSnake 10.10 - nginx install..

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 https://launchpad.net/~chris-lea/+ar...1%7Emaverick1_ $(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
wget https://launchpad.net/~chris-lea/+ar...hl1~maverick1_ $(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
wget https://launchpad.net/~chris-lea/+ar...hl1~maverick1_ $(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
wget https://launchpad.net/~chris-lea/+ar...hl1~maverick1_ $(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
wget https://launchpad.net/~chris-lea/+ar...erick1_all.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-- https://launchpad.net/~chris-lea/+ar...1%7Emaverick1_
Resolving launchpad.net... 91.189.89.223, 91.189.89.222
Connecting to launchpad.net|91.189.89.223|: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.

Anyone?!

Colin
Reply With Quote
Sponsored Links
  #2  
Old 18th December 2010, 12:51
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Remove the space between _ and $(uname....
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 18th December 2010, 13:00
colskinet colskinet is offline
Junior Member
 
Join Date: Aug 2008
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by topdog View Post
Remove the space between _ and $(uname....
Hi topdog!

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

Looking at https://launchpad.net/~chris-lea/+archive/nginx-devel/ I see it is now version 0.9.3 - assume it's safe to get that version instead?

Thanks again
Colin
Reply With Quote
  #4  
Old 19th December 2010, 02:27
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

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.
__________________
Home of the SpamSnake
Reply With Quote
  #5  
Old 8th January 2011, 16:49
thbe thbe is offline
Junior Member
 
Join Date: May 2010
Location: Stockholm, Sweden
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Rocky View Post
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.

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

thomas
Reply With Quote
  #6  
Old 9th January 2011, 02:22
colskinet colskinet is offline
Junior Member
 
Join Date: Aug 2008
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by thbe View Post
It seems that uwsgi is not available anymore. I can't find it on their website. What now? I'm stuck here!

thomas

If you go to https://launchpad.net/~chris-lea/+ar...wsgi/+packages 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 https://launchpad.net/~chris-lea/+archive/uwsgi/+files/uwsgi-common_0.9.6.5-1chl1~maverick1_$(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..)
Colin

Last edited by colskinet; 9th January 2011 at 02:28.
Reply With Quote
The Following User Says Thank You to colskinet For This Useful Post:
thbe (15th January 2011)
  #7  
Old 15th January 2011, 15:38
thbe thbe is offline
Junior Member
 
Join Date: May 2010
Location: Stockholm, Sweden
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by colskinet View Post
If you go to https://launchpad.net/~chris-lea/+ar...wsgi/+packages 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 https://launchpad.net/~chris-lea/+archive/uwsgi/+files/uwsgi-common_0.9.6.5-1chl1~maverick1_$(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..)
Colin
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 :-(
Reply With Quote
  #8  
Old 16th January 2011, 04:33
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
 
Default

Yes, the gateway error points to uwsgi not working as expected.
__________________
Home of the SpamSnake
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perfect SpamSnake - Bug or misconfiguration, attachments not forwarded Mysterion HOWTO-Related Questions 4 3rd August 2009 22:29
Perfect Ubuntu Server Postfix install problem Sneblot Installation/Configuration 3 24th July 2009 18:49
Install failure -- Apache 1.3 missing? Allen15 Installation/Configuration 11 24th February 2009 09:53
The Perfect Server - 7.10 Server (PHP5 & PHP5 Packages Install Snag) giganet HOWTO-Related Questions 8 9th December 2008 21:05
Fresh Install of FC4 using Perfect Install HowTo latcarf HOWTO-Related Questions 21 10th August 2005 22:55


All times are GMT +2. The time now is 12:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.