Pi-Lib Server

Covered in this chapter

Pi-Lib relies on one server and multiple nodes. The nodes are all the computers that are available for the public to use and run the Pi-Lib software package. In that package there is one option that allows our visitors to ask help to the library staff by sending a pre-structured message to the server. The server then reads that message and displays it on the screen. To allow this to work, we will need to configure one Raspberry Pi to act as a server. For this we will have to assign it a static IP, and make the server-program auto-start itself. In this chapter you will learn to set up this server, it's the most technical part of the project, but it's feasible for computer novices. Just follow the instructions closely.

For the server to work, you will need to start from a fully functional Raspberry Pi that has the python file association set. Do this by taking the device you configured in Pi-Lib: Basics.

Table of content:

Securing the Pi account

Disable the screensaver

Making a static IP

Auto-start the server

Demo (+/- 15 minutes):



Let's get started