当前位置: 首页 > news >正文

学习关系型数据库:在Ubuntu和FreeBSD下安装firebird

Firebird是一种关系型数据库管理系统,它使用SQL(结构化查询语言)进行数据操作。与许多其他数据库系统相比,Firebird以其卓越的性能、稳定性和可扩展性而著称。

 在Ubuntu下安装firebird

在Linux下使用apt search查找firebird,看到很多相关软件包:

apt search firebird
Sorting... Done
Full Text Search... Done
centreon-plugins/jammy 0.0~20220113-1 allCollection of Nagios plugins to monitor OS, services and network devicesfirebird-dev/jammy 3.0.8.33535.ds4-1ubuntu2 amd64Development files for Firebirdfirebird3.0-common/jammy 3.0.8.33535.ds4-1ubuntu2 allcommon files for firebird 3.0 server, client and utilitiesfirebird3.0-common-doc/jammy 3.0.8.33535.ds4-1ubuntu2 allcopyright, licensing and changelogs of firebird3.0firebird3.0-doc/jammy 3.0.8.33535.ds4-1ubuntu2 allDocumentation files for firebird database version 3.0firebird3.0-examples/jammy 3.0.8.33535.ds4-1ubuntu2 allExamples for Firebird databasefirebird3.0-server/jammy 3.0.8.33535.ds4-1ubuntu2 amd64Firebird Server - an RDBMS based on InterBase 6.0 codefirebird3.0-server-core/jammy 3.0.8.33535.ds4-1ubuntu2 amd64Firebird engine corefirebird3.0-utils/jammy 3.0.8.33535.ds4-1ubuntu2 amd64Firebird command line utilities

使用apt install 安装firebird

sudo apt install firebird-dev firebird3.0-server firebird3.0-examples

或者

apt install firebird-dev firebird3.0-server firebird3.0-examples

GRUB选项

安装过程中有如下选择项:

Continue without installing GRUB? [yes/no]

感觉有点奇怪,怎么跟grub关联的? 选yes

提示密码 

Firebird有一个名为SYSDBA的特殊用户,该用户
可以访问所有数据库。SYSDBA还可以创建新的数据库
以及用户。因此,有必要使用密码。
密码存储在/etc/firebird/3.0/SYSDBA.password中
(只能由root读取)。你可以在那里修改它(别忘了
也可以使用gsec实用程序更新安全数据库),或者
可以使用dpkg重新配置来更新两者。
如果你不输入密码,将使用随机密码(和
存储在SYSDBA.password中)。

设好密码,安装完成。

有些版本firebird的默认密码是masterkey

启动服务

service firebird3.0 start* Starting Firebird 3.0 server...                          [ OK ] 

在FreeBSD下安装firebird

pkg update
pkg install firebird30-client firebird30-server

 FreeBSD下安装还是挺方便的,完成后的提示:

Firebird 3 was installed.1) Before start the server ensure that the following line exists in /etc/services:gds_db		3050/tcp  #InterBase Database Remote Protocol2) If you use inetd (Classic Server) then add the following line to /etc/inetd.confgds_db  stream  tcp     nowait  firebird        /usr/local/sbin/firebird  firebirdAnd finally restart inetd.3) If you want to use change firebird modes then you must modify the ServerModevariable into /usr/local/etc/firebird/firebird.conf file.ServerMode="Super"# ServerMode="SuperClassic"# ServerMode="Classic"4) It is STRONGLY recommended that you change the SYSDBA
password with:# gsec -user SYSDBA -pass masterkeyGSEC> modify SYSDBA -pw newpasswordGSEC> quitbefore doing anything serious with Firebird.5) See documentation in /usr/local/share/doc/firebird/ for more information.6) Some firebird tools were renamed for avoid conflicts with some other ports/usr/local/bin/isql	-> 	/usr/local/bin/isql-fb/usr/local/bin/gstat	->	/usr/local/bin/fbstat/usr/local/bin/gsplit	->	/usr/local/bin/fbsplit6) Enjoy it ;)

 总体感觉FreeBSD下比较靠谱。

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • elementui图标偶尔乱码问题
  • PyCharm 自定义字体大小
  • 提升农业信息化水平,C# ASP.NET Vue果树生长信息管理系统带来全新管理体验
  • Windows 7 Windows Server 2008 R2 简体中文版下载 (updated Aug 2024)
  • c++ STL 容器相关
  • Qt窗口 菜单栏 QMenuBar和的使用及说明
  • java03
  • 2024全国大学生数学建模国赛,成员如何分工协作?
  • sheng的学习笔记-AI-半监督聚类
  • Golang时间格式化的陷阱与解决方案
  • 一点小小的做事经验
  • 5Kg负重30分钟长航时多旋翼无人机详解
  • Linux命令行更换yum源repo为阿里源-centos7
  • CSS中的`z-index`属性是如何工作(注意事项)
  • idea对项目中的文件操作没有权限
  • 2017-09-12 前端日报
  • Android开发 - 掌握ConstraintLayout(四)创建基本约束
  • Date型的使用
  • Django 博客开发教程 16 - 统计文章阅读量
  • DOM的那些事
  • EventListener原理
  • java 多线程基础, 我觉得还是有必要看看的
  • Javascript弹出层-初探
  • JDK9: 集成 Jshell 和 Maven 项目.
  • jQuery(一)
  • Leetcode 27 Remove Element
  • maya建模与骨骼动画快速实现人工鱼
  • MYSQL 的 IF 函数
  • PHP变量
  • Redis在Web项目中的应用与实践
  • Travix是如何部署应用程序到Kubernetes上的
  • Vim 折腾记
  • WinRAR存在严重的安全漏洞影响5亿用户
  • 闭包,sync使用细节
  • 适配mpvue平台的的微信小程序日历组件mpvue-calendar
  • 微信公众号开发小记——5.python微信红包
  • 学习ES6 变量的解构赋值
  • Spring第一个helloWorld
  • ​LeetCode解法汇总307. 区域和检索 - 数组可修改
  • # linux 中使用 visudo 命令,怎么保存退出?
  • #pragma once
  • #stm32驱动外设模块总结w5500模块
  • (0)Nginx 功能特性
  • (4)STL算法之比较
  • (C语言)fread与fwrite详解
  • (delphi11最新学习资料) Object Pascal 学习笔记---第14章泛型第2节(泛型类的类构造函数)
  • (function(){})()的分步解析
  • (html转换)StringEscapeUtils类的转义与反转义方法
  • (二)springcloud实战之config配置中心
  • (附源码)计算机毕业设计SSM基于java的云顶博客系统
  • (未解决)macOS matplotlib 中文是方框
  • (一)基于IDEA的JAVA基础12
  • (转)重识new
  • *2 echo、printf、mkdir命令的应用
  • ./configure,make,make install的作用