Installing the Firebird Database Server on CentOS 7

  • Service Provider

    Firebird is a mature, well known relational database server. It comes in the CentOS and RHEL EPEL and can be installed and run easily. We will assume a minimal CentOS 7 installation (from the 1611 media, with firewalld installed by default) for this project.

    First we need to install the EPEL:

    yum -y install epel-release

    Now that we have the EPEL set up, all we need to do is:

    yum -y install firebird

    That is all that we need for installation. But the server is not running yet:

    systemctl start firebird-superserver
    systemctl enable firebird-superserver

    Those commands will start our new database server and will set it to start automatically on system boot as a service. It is important to note that the server's full name on CentOS is firebird-superserver.

    Since we have a firewall in place, we will want to open the ports for our new database server. Firebird uses port 3050. If you only plan to use Firebird locally, do not open this port on the firewall. But if you are building a dedicated database server and need external connections, then you will need to open it.

    firewall-cmd --zone=public --add-port=3050/tcp --permanent
    firewall-cmd --reload

    That's it. Our database is installed, running, open for external connections and ready for use. And because Firebird is included with the EPEL, all patches and updates are handled automatically with your normal yum updates. Enjoy!

  • Service Provider

    If we have netstat installed, we can see the server listening:

    # netstat -tulpn | grep 3050
    tcp        0      0  *               LISTEN      13898/fbserver 

    Good to note that the process name is fbserver.

Log in to reply

Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.