Installing Firebird and node-firebird on the Raspberry Pi
We based this page on authoritative pages on Firebird on the Raspberry Pi and Node.js with Firebird.
The following steps describe how to install and test Firebird then node-firebird on the Raspberry Pi. You need to install Node.js before node-firebird. You should find this installation easier if you have worked through our Smart Pascal section on networking. The section covers the use of socket.io (that we also employ here for real-time updating of clients).
Type or copy the commands below at the prompt and accept any invitations to continue. When invited, set the sysdba password, to which we will refer as NEWPASS.
We have tried to include all the many necessary steps for a Debian OS on a Pi. Please inform us about anything that would make it easier for a student to succeed in this challenging but rewarding project. Our original instructions were for Firebird 2.5 Super and we have added commands for Firebird 3.0. To date we have been unable to access our Firebird 3.0 database using node-firebird, even after relaxing file permissions and following instructions to set AuthServer = Legacy_Auth and WireCrypt = Disabled in the firebird.conf file. See the following page for an entertaining workaround using WebSockets and, later in this tutorial a more straightforward approach using MySQL instead of Firebird.