Различия
Здесь показаны различия между двумя версиями данной страницы.
Следующая версия | Предыдущая версия | ||
dev:ubuntu:firebird25_tar [2012/08/08 12:31] jamis7005 создано |
dev:ubuntu:firebird25_tar [2012/08/08 18:34] (текущий) jamis7005 [Uninstall previos installation] |
||
---|---|---|---|
Строка 1: | Строка 1: | ||
====== Installing Firebird from archieve ====== | ====== Installing Firebird from archieve ====== | ||
+ | See [[http://www.firebirdsql.org/file/documentation/release_notes/html/install210.html#install2-posx|Firebird 2 Migration & Installation]] for details. | ||
===== Uninstall previos installation ===== | ===== Uninstall previos installation ===== | ||
If you you have any installed Firebird on your system, remove it before moving on. | If you you have any installed Firebird on your system, remove it before moving on. | ||
For instance: | For instance: | ||
- | sudo apt-get remove firebird2.5-common | + | sudo apt-get remove firebird2.5-common firebird2.5-common-doc firebird2.5-dev firebird2.5-examples firebird2.5-server-common firebird2.5-super |
- | sudo apt-get remove firebird2.5-common-doc | + | |
- | sudo apt-get remove firebird2.5-dev | + | |
- | sudo apt-get remove firebird2.5-examples | + | |
- | sudo apt-get remove firebird2.5-server-common | + | |
- | sudo apt-get remove firebird2.5-super | + | |
===== Download release archieve ===== | ===== Download release archieve ===== | ||
Строка 41: | Строка 37: | ||
than you need to patch "insserv bug": | than you need to patch "insserv bug": | ||
- | - get this file [[https://bugs.launchpad.net/ubuntu/+source/insserv/+bug/467000/+attachment/1911930/+files/upstart-job.patch|upstart-job.patch]]<code> | + | - get this file [[https://bugs.launchpad.net/ubuntu/+source/insserv/+bug/467000/+attachment/1911930/+files/upstart-job.patch|upstart-job.patch]]<code bash> |
*** upstart-job.orig 2011-03-16 08:06:15.275456408 -0400 | *** upstart-job.orig 2011-03-16 08:06:15.275456408 -0400 | ||
--- upstart-job 2011-03-16 08:44:45.622968551 -0400 | --- upstart-job 2011-03-16 08:44:45.622968551 -0400 | ||
Строка 71: | Строка 67: | ||
/sbin/insserv /etc/init.d/firebird</code> | /sbin/insserv /etc/init.d/firebird</code> | ||
- | Finally you'll something similar to this: | + | Finally you'll see something similar to this: |
<code> | <code> | ||
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides | insserv: warning: script 'K20acpi-support' missing LSB tags and overrides | ||
Строка 82: | Строка 78: | ||
</code> | </code> | ||
+ | ===== Checking your Firebird working ===== | ||
+ | <code> | ||
+ | $cd /opt/firebird/bin | ||
+ | $./isql -user sysdba -password <password>1 | ||
+ | |||
+ | SQL>connect localhost:employee.fdb /* this is an aliased path */ | ||
+ | |||
+ | SQL>select * from sales; | ||
+ | SQL>select rdb$relation_name from rdb$relations; | ||
+ | SQL>help; | ||
+ | |||
+ | SQL>quit; | ||
+ | </code> | ||