2017年05月30日

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

CentOS7.3.1611(64bit) / Firebird 3.0.2 (64bit) / source install

1. Firewall 3050port をopen

firewall-cmd --add-port=3050/tcp --zone=public --permanent
firewall-cmd --reload              //firewalldのリロード
 参照


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

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
./install.sh

5.
chkconfig --list firebird
chkconfig  firebird on

service firebird stop
service firebird start

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

7. 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;
Screenshot from 2017-05-30 11-37-15.png


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


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

メールアドレス:

ホームページアドレス:

コメント: