Различия
Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
dev:ubuntu:firebird25_tar [2012/08/08 12:33] jamis7005 [Installing Firebird from archieve] |
dev:ubuntu:firebird25_tar [2012/08/08 18:34] (текущий) jamis7005 [Uninstall previos installation] |
||
---|---|---|---|
Строка 5: | Строка 5: | ||
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 ===== | ||
Строка 42: | Строка 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 | ||
Строка 72: | Строка 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 | ||
Строка 83: | Строка 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> | ||