2017年05月29日

Firebird 3.0.2 (64bit) source install CentOS 6 [成功]

CentOS6.9(64bit) / Firebird 3.0.2 (64bit) / source install

1. Firewall 3050port をopen

vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3050 -j ACCEPT
/etc/init.d/iptables restart

2. yum
yum -y update
yum -y install libstdc++.so.5
yum -y install libstdc++.so.6
yum -y install libncurses.so.5

3. libtommathをinstall
cd /usr/local/src
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
yum -y install libtommath-devel
11_fb_libtom.png

4. Firebird-3.0.2.32703-0.amd64.tar.gz  ( libtommathとbitを合わす)
cd /usr/local/src
wget https://sourceforge.net/projects/firebird/files/firebird-linux-amd64/3.0.2-Release/Firebird-3.0.2.32703-0.amd64.tar.gz
tar zxvf Firebird-3.0.2.32703-0.amd64.tar.gz
cd Firebird-3.0.2.32703-0.amd64
12_wegt.png

5. ./install.sh
014_install.png

6.
chkconfig --list firebird
chkconfig  firebird on

service firebird stop
service firebird start

7.データ用フォルダの作成と権限
mkdir /var/fdb
chown -R firebird.firebird /var/fdb

8. ISQL
cd /opt/firebird/bin
./isql -u sysdba -p masterkey
CREATE DATABASE '/var/fdb/TEST1.FDB' page_size 8192  default character set utf8;
CREATE DATABASE '/var/fdb/TEST2.FDB' default character set utf8;
exit;

9.データベース作成後に再度権限
chown -R firebird.firebird /var/fdb

posted by a23 at 15:44| Comment(0) | Firebird
この記事へのコメント
コメントを書く
お名前:

メールアドレス:

ホームページアドレス:

コメント: