User avatar
corematrix
Posts: 14
Joined: Mon Jan 09, 2012 2:24 pm
Contact: Website

Which WebServer apache

Mon May 21, 2012 4:47 pm

Hi,

I'm thinking about trying to run my Pi as a little webserver for a small project. Has anyone tried running apache, or is there anything more suitable for the Pi?

spurious
Posts: 343
Joined: Mon Nov 21, 2011 9:29 pm

Re: Which WebServer apache

Mon May 21, 2012 6:44 pm

I've setup nginx MySQL and PHP

Have a look at the notes:
http://www.raspberrypi.org/phpBB3/viewt ... 943#p79943

User avatar
corematrix
Posts: 14
Joined: Mon Jan 09, 2012 2:24 pm
Contact: Website

Re: Which WebServer apache

Mon May 21, 2012 9:59 pm

Ok so I run the following and it fails because it's looking for the wrong version.
----------------------------------------------------------------------------------------------------------------------------------
pi@clu:~$ sudo apt-get install nginx
......blah blah blah
Do you want to continue [Y/n]? y
Err http://ftp.uk.debian.org/debian/ squeeze/main nginx armel 0.7.67-3+squeeze1
404 Not Found
Failed to fetch http://ftp.uk.debian.org/debian/pool/ma ... _armel.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
----------------------------------------------------------------------------------------------------------------------
------------
If I look at the repository "nginx_0.7.67-3+squeeze2_armel.deb" exsists but "nginx_0.7.67-3+squeeze1_armel.deb " doesn't.

Why is my repository look for squeeze1 and not squeeze2? :?: :roll:

plugwash
Forum Moderator
Forum Moderator
Posts: 3223
Joined: Wed Dec 28, 2011 11:45 pm

Re: Which WebServer apache

Tue May 22, 2012 12:40 am

run apt-get update

User avatar
simonlc
Posts: 31
Joined: Wed May 16, 2012 4:11 am
Location: Calgary, AB
Contact: Website

Re: Which WebServer apache

Tue May 22, 2012 4:18 am

and then

Code: Select all

sudo apt-get upgrade

User avatar
corematrix
Posts: 14
Joined: Mon Jan 09, 2012 2:24 pm
Contact: Website

Re: Which WebServer apache

Tue May 22, 2012 8:24 am

Thanks guys, apparently my brain feel out yesterday

Return to “General programming discussion”

Who is online

Users browsing this forum: No registered users and 6 guests