СУБД Firebird. Установка на CentOS 7

Важно!
При установке командой:
[centos@localhost ~]$ sudo yum install firebird

возникла проблема при подключении к БД через DBeaver, а именно ошибка: CHARACTER SET WIN1251 is not installed

Поэтому для решения проблемы было решено переустановить Firebird и установить superclassic:
[centos@localhost ~]$ sudo yum install firebird-superclassic

Установка:

Устанавливаем репозиторий epel и устанавливаем СУБД:
[centos@localhost ~]$ sudo yum install epel-release
[centos@localhost ~]$ sudo yum install firebird-superclassic

Разрешаем автозапуск службы и запускаем ее:
[centos@localhost ~]$ sudo systemctl enable firebird-superclassic
[centos@localhost ~]$ sudo systemctl start firebird-superclassic

Проверяем статус службы:
[centos@localhost ~]$ sudo systemctl status firebird-superclassic

[sudo] password for centos:
● firebird-superclassic.service - Firebird Database Server ( SuperClassic )
   Loaded: loaded (/usr/lib/systemd/system/firebird-superclassic.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2022-03-29 11:45:31 +08; 30min ago
  Process: 1128 ExecStart=/usr/sbin/fbguard -pidfile /run/firebird/default.pid -daemon -forever (code=exited, status=0/SUCCESS)
 Main PID: 1142 (fb_smp_server)
    Tasks: 7
   CGroup: /system.slice/firebird-superclassic.service
           ├─1141 /usr/sbin/fbguard -pidfile /run/firebird/default.pid -daemon -forever
           └─1142 /usr/sbin/fb_smp_server

Mar 29 11:45:31 localhost.localdomain systemd[1]: Starting Firebird Database Server ( SuperClassic )...
Mar 29 11:45:31 localhost.localdomain systemd[1]: Can't open PID file /run/firebird/default.pid (yet?) after s...tory
Mar 29 11:45:31 localhost.localdomain systemd[1]: firebird-superclassic.service: Supervising process 1142 whic...its.
Mar 29 11:45:31 localhost.localdomain systemd[1]: Started Firebird Database Server ( SuperClassic ).
Hint: Some lines were ellipsized, use -l to show in full.

Далее, при необходимости корректируем настройки брандмауэра.

Проверяем доступность порта СУБД 3050:
[centos@localhost firebird]$ netstat -tulpn | grep 3050
tcp        0      0 0.0.0.0:3050            0.0.0.0:*               LISTEN      -



Настройки и данные по каталогам СУБД:
  • /etc/firebird/ - конфигурации, настройка ссылок к БД.
  • /var/log/firebird - логи СУБД
  • /var/lib/firebird - тут тестовая БД и firebird.msg

Комментарии

Популярные сообщения из этого блога

TRUNCATE / DELETE / DROP или как очистить таблицу

Linux (РедОС). Сброс пароля

ЭС с ЦБ РФ. РЕКВИЗИТНЫЙ СОСТАВ ЭС

КБК. КВФО - Код вида финансового обеспечения (деятельности)

ТФФ 35.0. Полный перечень документов альбома ТФФ (Таблица 2)