由于本人未能成功在ubuntu7.10上安装firebird数据库,于是跑到firebird的主页上找答案,还真在firebrid的主页上找到了一个文档,虽然是针对
由于本人未能成功在ubuntu7.10上安装firebird数据库,于是跑到firebird的主页上找答案,还真在firebrid的主页上找到了一个文档,虽然是针对ubuntu 6.10+firebird1.5的,我想对于ubuntu 7.10和firebird2.0也是一样的。我将这份文档翻译成了中文,本人英语底子薄,不对之处,还望指教。另外本人只是阅读了文档,还没有进行实验呢
特别提醒,安装源里的firebird2其实是firebird1.5并不是firebird2.0
在ubuntu 7.10 linux上安装设置firebird
这份文档描述了在ubuntu linux上安装和运行firebird的过程。像在基于debian gnu/linux发行版一样,在ubuntu上安装软件是非常简单直接的,firebird也不例外。这份指南基于ubuntu 6.10 edgy eft。
ubuntu edgy eft使用的firebird包的版本是 1.5.3.4870-10,但是被称为firebirdsql2。从已开始,ubuntu严格的按照每6个月一个发行循环,所以这也许在2007年4月发行的代号为feisty fawn的版本中改变。(我在7.10版本看到,有不少叫做firebird的包,有1.5的,有2.0的,有2的就是1.5的,,然后分为classic版和super版,仔细看一下描述就会明白的。)
在目标计算机上使用管理员权限执行下列命令:
# apt-get install firebird2-super-server
apt的包依赖分析机制会自动请求完全安装需要的所有的需要的包,并且输出下列内容:
the following extra packages will be installed:
firebird2-common firebird2-server-common libfbclient1
recommended packages:
firebird2-server
the following new packages will be installed
firebird2-common firebird2-server-common firebird2-super-server
libfbclient1
need to get 2342kb of archives.
after unpacking 5976kb of additional disk space will be used.
do you want to continue [y/n]?
当询问你选择classic或者super服务器时,选择其中一个,忽略firebird2-server虚拟包。(其实在ubuntu7.10的安装源里classic安装包和super安装包是直接分开的。)原文如下,理解不太清楚:
ignore the “firebird2-server” virtual package which will just ask you to select either the “classic” or “super” server.
这个软件包将下载并且安装到目标机器上,一个名为firebird的新用户被建立来运行服务,这个服务程序会立即启动:
setting up firebird2-super-server (1.5.3.4870-10) ...
created default security.fdb
starting firebird server: server has been successfully started
你将被询问为sysdba用户输入一个新口令,包括拼写错误:
plase enter new password for sysdba user:
随着下面的输出你将返回到shell提示符下,就像这样!
gsec> gsec>