Firebird

From SME Server
Revision as of 21:35, 17 November 2012 by Jader (talk | contribs) (instructions to allow internet access to Firebird)
Jump to navigation Jump to search

How to install Firebird SS on SME

  Note:
Warning
I'm not sure what is the best version: SS or CS (classic) but I'm sure SS is a lot easier to install!

I've done a CS to work...but lots of manual tweak (shame: I do not take notes)... maybe some time I have to redo it and take the apropriate notes or someone else have done it.
- Jáder



1) Enable EPEL repository as from http://wiki.contribs.org/Epel

Here is command for SME8, see there for SME7

/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL5' \
BaseUrl 'http://download.fedoraproject.org/pub/epel/5/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL \
Visible no \
status disabled

signal-event yum-modify

2) run this:

yum --enablerepo=epel install firebird-superserver
config set firebird service status enabled
cd /etc/rc7.d
ln -s /etc/rc.d/init.d/e-smith-service S99firebird
service firebird start

Verify your firebird is running:

netstat -an|grep 3050

should show:

tcp        0      0 0.0.0.0:3050                0.0.0.0:*                   LISTEN    

Extracted from: http://forums.contribs.org/index.php?topic=45447.0

By default, Firebird just allow access from local networks.
If you wanna to allow INTERNET ACCESS to your Firebird (NOT RECOMMENDED) run:

config setprop firebird access public TCPPort 3050
signal-event remoteaccess-update 

Verify the config:

config show firebird

Should show something like:

firebird=service
    TCPPort=3050
    access=public
    status=enabled