Difference between revisions of "Firebird"

From SME Server
Jump to navigationJump to search
m (instructions to allow internet access to Firebird)
Line 7: Line 7:
 
1) Enable EPEL repository as from http://wiki.contribs.org/Epel<br>
 
1) Enable EPEL repository as from http://wiki.contribs.org/Epel<br>
  
Here is command for SME8, see there for SME7<br>
 
  
<pre>
 
/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
 
</pre>
 
 
2) run this:
 
2) run this:
 
<pre>
 
<pre>

Revision as of 12:16, 10 November 2014

How to install Firebird SS on SME

Important.png 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


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