Running Web Server on Raspberry Pi
If you're running a web server on Raspberry Pi, you'll probably want to run on port 80. However, Raspberry Pis sometimes have a problem when installing Python packages into
/usr/local/lib, so you have to install them into a custom directory. This creates a problem when trying to import the package as root, because root python won't be able to find it (won't have the
$PYTHONPATH variable set correctly).
To get around this, you can bind to port 80 without being root by following these instructions:
For an example of how you might do this, see my Dymouse project on Github: http://github.com/charlesreid1/dymouse
The concept is to use a computer with a Flask server, with one side connected to a sensor, and the other side interacting with the user. Python libraries can be used to interface with USB devices (and get the weight reading from the postage scale). This information can be obtained by Flask, which turns it into JSON to be returned when the user requests it. This is linked to a REST-ful URL on the web server.
Raspberry Pia tiny tool for performing extraordinary acts beyond good and evil - with an ARM processor.
Basic Pi Information and Operations:
Organization/Layout of SD Card: Kali Raspberry Pi/SD Card ·
Disable IPV6 on the Raspberry Pi: Disable_IPv6_Pi
Kali Linux on Raspberry Pi:
Debian Raspberry Pi:
Raspberry Pi Circuits:
Raspberry Pi Timelapse Photos:
Flags · Template:PiFlag · e