Questions tagged [web-server]

These questions relate to using the Pi as a web server, including installation and configuration.

Frequently asked:

354 questions
87
votes
6 answers

What should be done to secure Raspberry Pi?

Having tens of thousands of Raspberry Pi's connected to the internet is eventually going to capture the interest of some people who would like to do unsavory things to the little computers especially when many people are using their Pi to do network…
Dan B
  • 2,897
  • 2
  • 20
  • 20
43
votes
2 answers

What kind of performance can I expect from using a Raspberry Pi as a webserver?

Has anyone done some web server benchmarking on their Raspi? I don't have my Raspi yet but I'm planning on using it as a web server and I'm interested to see stats for: Number of requests per second Latency response time between…
AntonChanning
  • 753
  • 1
  • 10
  • 16
38
votes
1 answer

Pros and Cons of a Pi Cluster?

I have seen a lot of posts asking how to build a "supercomputer" or cluster with Raspberry Pis, but I have found very little with the pros and cons of actually making a network of Pis. I am interested in building my own small cluster, but I have a…
SuperAdmin
  • 505
  • 1
  • 4
  • 9
30
votes
2 answers

Can I use a USB webcam?

Is it possible to use a standard USB webcam with the RPi, or is there a specific peripheral that should be used? I would like to use RPi's to stream images from webcams to the net.
darryn.ten
  • 1,476
  • 2
  • 14
  • 18
27
votes
2 answers

How to get Python to work with Lighttpd?

I've got Lighttpd setup on my Raspberry Pi, but I'd like to get server-side code working now. I'm familiar with PHP, but I figure I should try Python as it's supposed to be the "go to" language for the Raspberry Pi. How can I get Python handling…
Mark Ingram
  • 879
  • 3
  • 11
  • 18
23
votes
7 answers

Is there a lightweight webserver that will serve dynamic content?

I'm building an image with a Nagios server. One of the problems of the raspberry pi is that the memory is quite small on the raspberry pi. So I'll be using a light weight interface based on php-apc instead of the standard one. I was wondering what…
Lucas Kauffman
  • 875
  • 2
  • 7
  • 15
18
votes
2 answers

Where is the HTTPD.CONF file?

I am attempting to stop people from being able to browse directories on my server. I have a fully functioning public facing LAMP on my pi but when you type in a dir name or my ip address you can see the DIR info. Here is a live…
DotNetRussell
  • 325
  • 2
  • 3
  • 11
17
votes
4 answers

Configuring the Raspberry Pi for Node.js

Reading a book on Single Page Web Applications I came to a paragraph that got me thinking: Node.js is non-blocking and event-driven. In a nutshell, this means a single Node.js instance on modest hardware can handle tens or hundreds of thousands of…
Marius Butuc
  • 925
  • 3
  • 11
  • 20
16
votes
3 answers

Execute Python Scripts Via Web interface

I have seen a lot of projects which claim to control the GPIO pins, but I want something a bit different, for example, to be able to blink an LED. Is there a system out there where, via a web interface, I can click and execute a python script, for…
J.Zil
  • 271
  • 1
  • 2
  • 4
15
votes
5 answers

How can I find my Pi's external (public) IP address?

I cannot seem to figure out what my external IP address is on my Pi. I believe I will need to know it in order for me to allow other people to send information to the web server I have that is running off of my Raspberry Pi. My Pi's web server is…
jim
  • 151
  • 1
  • 1
  • 3
14
votes
3 answers

Performance comparison of RPi 3 web servers: Apache, Nginx, and Lighttpd

Has anyone done any real performance comparison testing on RPi 3 on popular web servers: Apache2 -- the most prevalent server Nginx -- the server that claims to be best performer Lighttpd -- the most lightweight server Or a package I have not heard…
Sandor Dosa
  • 511
  • 1
  • 5
  • 17
14
votes
1 answer

256 or 512 MB for a webserver

I'm planning to buy a Raspberry Pi, a colleague of mine has a 256 MB left. But I don't know if 256 MB of memory can for fill the things I want to run. I want to run an Apache web server (or some other web server that uses less ram and CPU) with PHP…
Laurence
  • 365
  • 1
  • 4
  • 14
13
votes
2 answers

Setting up a Ruby on Rails Server

I am thinking of buying a raspberry pi, because I want to host a personal website. I am using a UK Internet provider (Virgin Media), and I want to use my internet connection to allow access to my website! I have found quite a few resources for…
user5536
  • 131
  • 1
  • 1
  • 3
13
votes
2 answers

Run a GUI without the desktop

I would like to run a web browser or a simple GUI without running the whole desktop. I want to use my Raspberry Pi as a simple web server, but still have a very simple GUI for controlling my 3-D printer with a few buttons and graphs. I don't want to…
13
votes
1 answer

How can I mitigate the need for manual intervention with remotely deployed Raspberry Pis?

I'm working on a project that makes use of Raspberry Pis which will be deployed to several locations. They have special hardware attached to it for automation purposes, and run a web-service (that I wrote) to access the hardware. We will…
BobIsNotMyName
  • 231
  • 1
  • 2
1
2 3
23 24