Debian Linux 安装firebird 数据库并基本设置

今天在QQ上,有网友问我能否将FIREBIRD数据库迁移到unix/Linux,并作优化。俺心想,这个数据库平时比较小众,不像ORACLE,DB2,MYSQL这些数据库那么普遍,就不妨研究一下,就想着在LINUX下安装一套FIREBIRD数据库。

下面为安装过程:

首先就想着在centos  安装,首先yum search firebird,发现centos没有收录firebrid数据库。

root@co1 ~]# yum search Firebird
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Warning: No matches found for: Firebird
No Matches found

那么,就只能从官网拉源代码包,准备编译安装。
[root@co1 ~]# which wget
/usr/bin/wget
[root@co1 ~]# pwd
/root
[root@co1 ~]# wget https://github.com/FirebirdSQL/firebird/releases/download/R3_0_4/Firebird-3.0.4.33054-0.amd64.tar.gz

解压源代码,发现只有三个文件,并且有一个install.sh文件:

[root@co1 install]# cd Firebird/
[root@co1 Firebird]# ls
Firebird-3.0.4.33054-0.amd64.tar.gz
[root@co1 Firebird]# tar zxvf *.tar.gz
Firebird-3.0.4.33054-0.amd64/
Firebird-3.0.4.33054-0.amd64/install.sh
Firebird-3.0.4.33054-0.amd64/buildroot.tar.gz
Firebird-3.0.4.33054-0.amd64/manifest.txt
[root@co1 Firebird]# cd Firebird-3.0.4.33054-0.amd64
[root@co1 Firebird-3.0.4.33054-0.amd64]# ls
buildroot.tar.gz install.sh manifest.txt

安装firebird.如下:

[root@co1 Firebird-3.0.4.33054-0.amd64]# ./install.sh

阅读更多

在debian9.3下面安装与设置Oracle jdk1.8的最好方法

1、ssh  login到debian9 系统

2、切换到rott用户:sudo su-  OR  su –

3、下载oracle jdk1.8

###32 bit ###

# wget –no-check-certificate –no-cookies –header “Cookie: oraclelicense=accept-securebackup-cookie” http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-linux-i586.tar.gz

### 64 Bit ###

# wget –no-check-certificate –no-cookies –header “Cookie: oraclelicense=accept-securebackup-cookie” http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-linux-x64.tar.gz

4、解压jdk.tar.gz  文件并移到/usr/local/目录:

#tar -zxvf jdk-8u*-linux-*.tar.gz

#  mv jdk1.8.*/ /usr/local/

5、安装oracle jdk1.8

# update-alternatives –install /usr/bin/java java /usr/local/jdk1.8.*/bin/java 2

# update-alternatives –config java

阅读更多