$ sudo su
# apt-get install firebird2.1-super
Kemudian akan muncul tawaran untuk isntalasi paket Firebird berikut dependeciesnya:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
firebird2.1-common firebird2.1-common-doc firebird2.1-server-common firebird2.5-common firebird2.5-common-doc libfbclient2 libib-util libicu44
Suggested packages:
firebird2.1-doc
The following NEW packages will be installed:
firebird2.1-common firebird2.1-common-doc firebird2.1-server-common firebird2.1-super firebird2.5-common firebird2.5-common-doc libfbclient2 libib-util libicu44
0 upgraded, 9 newly installed, 0 to remove and 49 not upgraded.
Need to get 11.7 MB of archives.
After this operation, 33.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Paket-paket kemudian akan mendownload dan menginstal pada server. Linux akan membuat user "firebird" untuk menjalankan server, namun server secara default tidak akan start otomatis:
Setting up libfbclient2 (2.5.0.26074-0.ds4-5) ...
Setting up firebird2.1-super (2.1.4.18393-0.ds2-2) ...
Created default security.fdb
* Firebird 2.1 server manager not running
* Not starting Firebird 2.1 server manager
* Use `dpkg-reconfigure firebird2.1-super' to enable
Setting up libib-util (2.5.0.26074-0.ds4-5) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Untuk menjalankan Firebird secara otomatis ketika server restart, jalankan perintah:
# dpkg-reconfigure firebird2.1-super
* Firebird 2.1 server manager not running
* Starting Firebird 2.1 server manager... [ OK ]
GSEC> GSEC> * Firebird 2.1 server manager already running
Instalasi server Firebird telah berhasil, untuk menggunakan database .fdb di Linux, pastikan bahwa owner file tersebut adalah user "firebird". Atau dengan kekuasaan sebagai root, kita mengubah password user firebird, lalu dengan SCP login sebagai firebird dan bisa mengupload file database ke folder home user firebird di "/var/lib/firebird/2.1/data/" (default) atau ke folder lain yang diinginkan.
0 komentar:
Posting Komentar