Menú
08225, Terrassa (Barcelona)
Soporte Técnico
Sábados a convenir
Cita de admin en 24 julio, 2019, 10:05 pmInstalación Firebird
no instalar xinetd ya que es un servicio (deprecated)
instalar firebird desde el tarball
chown firebird.firebird /opt/firebird
chown firebird.firebird (carpeta donde hay la base de datos)Place the documented configuration files into /etc/systemd/system
firebird.socket
[Unit]
Description=Firebird Classic Activation Socket[Socket]
ListenStream=3050
Accept=yes[Install]
WantedBy=sockets.target
firebird@.service[Unit]
Description=Firebird Classic server
After=syslog.target[Service]
User=firebird
Group=firebird
ExecStart=/opt/firebird/bin/fb_inet_server
StandardInput=socket[Install]
WantedBy=multi-user.target
Now execute the following commands as root:> systemctl daemon-reload
> systemctl enable firebird.socket
> systemctl enable firebird@.service
> systemctl start firebird.socket
This needs to be only done once, as the service should be started automatically on the next boot.Now it's possible to connect to the Firebird server via the remote interface:
> /opt/firebird/bin/isql -user sysdba -pas masterkey localhost:employee
#ln -s /opt/firebird/bin/isql /bin/isql
#ln -s /opt/firebird/bin/gbak /bin/gbak
#ln -s /opt/firebird/bin/gfix /bin/gfix
#ln -s /opt/firebird/bin/gsec /bin/gsec
Instalación Firebird
no instalar xinetd ya que es un servicio (deprecated)
instalar firebird desde el tarball
chown firebird.firebird /opt/firebird
chown firebird.firebird (carpeta donde hay la base de datos)
Place the documented configuration files into /etc/systemd/system
firebird.socket
[Unit]
Description=Firebird Classic Activation Socket
[Socket]
ListenStream=3050
Accept=yes
[Install]
WantedBy=sockets.target
firebird@.service
[Unit]
Description=Firebird Classic server
After=syslog.target
[Service]
User=firebird
Group=firebird
ExecStart=/opt/firebird/bin/fb_inet_server
StandardInput=socket
[Install]
WantedBy=multi-user.target
Now execute the following commands as root:
> systemctl daemon-reload
> systemctl enable firebird.socket
> systemctl enable firebird@.service
> systemctl start firebird.socket
This needs to be only done once, as the service should be started automatically on the next boot.
Now it's possible to connect to the Firebird server via the remote interface:
> /opt/firebird/bin/isql -user sysdba -pas masterkey localhost:employee
#ln -s /opt/firebird/bin/isql /bin/isql
#ln -s /opt/firebird/bin/gbak /bin/gbak
#ln -s /opt/firebird/bin/gfix /bin/gfix
#ln -s /opt/firebird/bin/gsec /bin/gsec
© Informàtica Can Boada All rights reserved