----------Сервер Firebird 2.5 на Ubuntu 12.04:---------------
Если установить просто версию classic то мастер настройки спросит автозапускать сервер или нет и возможно настроить только клиент БД.
sudo apt-get install firebird2.5-superclassic
Пароль хранится в /etc/firebird/2.5/SYSDBA.password и вы можете использовать
sudo dpkg-reconfigure, чтобы обновить:
sudo dpkg-reconfigure firebird2.5-superclassic
sudo useradd -p 'pass_to_fb' -U -M firebird
sudo apt-get install firebird2.5-examples firebird2.5-dev
su firebird
cd /usr/share/doc/firebird2.5-examples/examples/empbuild/
gunzip employee.fdb.gz
sudo chown firebird.firebird employee.fdb
mv employee.fdb /var/lib/firebird/2.5/data/
Проверим подключение к БД:
isql-fb
SQL> connect "localhost:/var/lib/firebird/2.5/data/employee.fdb"
CON>user 'SYSDBA' password 'pass_to_fb';
cd /var/lib/firebird/2.5/data/
chown firebird:firebird employee.fdb
exit;exit;
sudo apt-get install flamerobin
--------------------Готово!---------------------------
Если установить просто версию classic то мастер настройки спросит автозапускать сервер или нет и возможно настроить только клиент БД.
sudo apt-get install firebird2.5-superclassic
Пароль хранится в /etc/firebird/2.5/SYSDBA.password и вы можете использовать
sudo dpkg-reconfigure, чтобы обновить:
sudo dpkg-reconfigure firebird2.5-superclassic
sudo useradd -p 'pass_to_fb' -U -M firebird
sudo apt-get install firebird2.5-examples firebird2.5-dev
su firebird
cd /usr/share/doc/firebird2.5-examples/examples/empbuild/
gunzip employee.fdb.gz
sudo chown firebird.firebird employee.fdb
mv employee.fdb /var/lib/firebird/2.5/data/
Проверим подключение к БД:
isql-fb
SQL> connect "localhost:/var/lib/firebird/2.5/data/employee.fdb"
CON>user 'SYSDBA' password 'pass_to_fb';
cd /var/lib/firebird/2.5/data/
chown firebird:firebird employee.fdb
exit;exit;
sudo apt-get install flamerobin
--------------------Готово!---------------------------
Комментариев нет :
Отправить комментарий
Благодарю за ваше участие!