Itmakeyousmile
Posts: 3
Joined: Sun May 29, 2016 10:52 am

Web server at raspbery pi

Sun May 29, 2016 10:57 am

Hello.i want to ask you if someone tried project like thishttp://projpi.com/diy-home-projects-wit ... eb-server/ i want to create a web server for website only for educational reasons. If someome can help.

Thank you !!!

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Web server at raspbery pi

Sun May 29, 2016 11:10 am

Those instructions are out of date and won't work with Raspbian Jessie.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Itmakeyousmile
Posts: 3
Joined: Sun May 29, 2016 10:52 am

Re: Web server at raspbery pi

Sun May 29, 2016 11:28 am

Can you please tell me what should i do to make a web sever. If you know one tutorial or steps; or anything else;

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Web server at raspbery pi

Sun May 29, 2016 11:39 am

A one-line example:

Code: Select all

pi@rpi2b ~ $ python3 -m http.server
Serving HTTP on 0.0.0.0 port 8000 ...
But for a more useful answer you will need to think about what sort of information ('static' or 'dynamic') you hope to make available from your webserver.

Some people use a 'lamp' stack. Other people reply on 'frameworks' such as flask, bottle or django. Other options for differing implementation languages are also available.

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Web server at raspbery pi

Sun May 29, 2016 11:44 am

Itmakeyousmile wrote:Can you please tell me what should i do to make a web sever. If you know one tutorial or steps; or anything else;
Try this: https://www.raspberrypi.org/documentati ... /apache.md
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

cpc464
Posts: 239
Joined: Tue Jul 08, 2014 5:10 pm
Contact: Website

Re: Web server at raspbery pi

Thu Jun 02, 2016 4:25 pm

Hi OP

I've written a simple article for this:
http://unixetc.co.uk/2013/09/21/create- ... pberry-pi/

Note it is a little out of date. If you are running Jessie, where the article says "/var/www/index.html", treat is as "/var/www/html/index/html".
Unix engineer since 1989

hello world :-)
Posts: 121
Joined: Sat Nov 14, 2015 7:12 am
Location: England, in an insecure cloud, ie. The Interwebs
Contact: Website Yahoo Messenger AOL

Re: Web server at raspbery pi

Sun Jun 26, 2016 6:42 pm

Here, the very first (and second if you want PHP) steps will get you a working Lighttpd server.
viewtopic.php?f=36&t=151358
Yes, I did make that guide, but that's not why I'm linking to it. It's because a. I can't write all that again and b. Lighttpd is more lightweight than Apache.
I do moral support. Here: https://www.raspberrypi.org/forums/search.php?search_id=egosearch
I know I use too many parentheses. Problem?
Topics I have posted in: http://bit.ly/1NbDdr5
My topics: http://bit.ly/1ObnKqQ
All my posts: http://bit.ly/1OHzje7

hello world :-)
Posts: 121
Joined: Sat Nov 14, 2015 7:12 am
Location: England, in an insecure cloud, ie. The Interwebs
Contact: Website Yahoo Messenger AOL

Re: Web server at raspbery pi

Sun Jun 26, 2016 6:44 pm

Itmakeyousmile wrote:Paging Itmakeyousmile
I do moral support. Here: https://www.raspberrypi.org/forums/search.php?search_id=egosearch
I know I use too many parentheses. Problem?
Topics I have posted in: http://bit.ly/1NbDdr5
My topics: http://bit.ly/1ObnKqQ
All my posts: http://bit.ly/1OHzje7

Return to “Networking and servers”