天道酬勤

RDBMS and My Life

Archive for the ‘install’ tag

libXp.so.6: cannot open shared object file: No such file or directory

one comment

OEL5.3上安装Oracle 10g时提示如下错误:

Exception in thread “main” java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-11-25_02-34-42PM/jre/1.4.2/lib/i386/libawt.so:libXp.so.6: cannot open shared object file: No such file or directory

原因是缺少了包,装上如下的包就可以了。

# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm

记录一下以免过段时间又忘了。

-The End-

Written by ochef

November 25th, 2009 at 3:38 pm

Posted in Database

Tagged with

Install IDS 11.5 UC5 for Linux

leave a comment

感谢chinaunix.net上zhaowuxing提供的免key无限制正式版软件,欲知更多内容请看帖子

环境:VMware + Linux AS 4 + IDS 11.5

安装主机名为informix,创建的informix服务为ochef,创建的数据库名为ochefdb。

一、创建用户、组、安装目录

[root@informix ~]# groupadd informix

[root@informix ~]# useradd -g informix  Informix

[root@informix ~]# passwd informix

[root@informix ~]# mkdir -p /opt/IBM/informix

二、环境变量设置

1.Login as informix user

[informix@informix ~]$ vi /home/informix/.bash_profile

export  INFORMIXDIR=/opt/IBM/Informix

export  INFORMIXSERVER=ochef

export  ONCONFIG=onconfig.ochef

PATH=$PATH:$HOME/bin:$INFORMIXDIR/bin

export PATH

2.修改系统配置

Login as root user

[root@informix ~]#  vi  /etc/services

在文件尾添加:sqlexec  9088/tcp

三、安装IDS Enterprise Edition V11.50.UC5

Login as root user

[root@informix ids]# tar xvf IDS_EE_V11.50.UC5_Linux_x86.tar

[root@informix ids]# ./ids_install

以下省略部分图片:

01

选择安装目录

04

选择安装部件和类型

05

Read the rest of this entry »

Written by ochef

September 9th, 2009 at 2:36 pm

Posted in Database

Tagged with ,

Install DB2 9.1 for Linux

leave a comment

DB2的安装其实蛮简单的,与 Sybase的安装界面大同小异,详细步骤请参阅下文。

一、安装DB2

在主机上mount DB2_ESE_9_1_0_0_LNX_x86.iso的光盘。

[root@db2 V9.1]# mount /dev/cdrom /mnt
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@db2 V9.1]# cd /mnt
[root@db2 mnt]# ls
db2  db2_install  db2setup  doc  installFixPack
[root@db2 mnt]#./db2setup

从这里开始一路狂点吧…

db2_install01

db2_install02

db2_install03

db2_install04

Read the rest of this entry »

Written by ochef

September 7th, 2009 at 1:33 pm

Posted in Database

Tagged with ,

Install Sybase ASE 15.0 for Linux

leave a comment

上个周末,闲着没事(其实要做的事很多)想看看除Oracle之外的其它商用数据库,比如:DB2、SYBASE、Informix。在闲下的时候也好有个学习环境,呵呵,在此记录一下安装过程。

环境:VMware Server + Linux AS 4.7 + SYBASE ASE 15.0

一、安装Linux操作系统,这里就不多说了,只需注意一下共享内存的配置,以实际字节为单位,如我给OS系统的内存是1792M,则为1792*1024*1024的大小,在 /etc/sysctl.conf中增加一行”kernel.shmmax=1879048192″,

#echo “kernel.shmmax=1879048192” >> /etc/sysctl.conf

使用修改立即生效

[root@sybase ~]# sysctl -p

net.ipv4.ip_forward = 0

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.default.accept_source_route = 0

kernel.sysrq = 0

kernel.core_uses_pid = 1

kernel.shmmax = 1879048192

二、安装SYBASE

ASE 15仅一张cd,将其下载后ftp到Linux,或者直接 mount cd。

[sybase@sybase sybase]$ tar xzvf sybase_1500_1_linux.tgz

[sybase@sybase sybase]$ cd /opt/sybase

[sybase@sybase sybase]$ ./setup

进入Sybase的安装界面,同意协议并点击“下一步”

inst_win

进入安装目录选择,如果在开始建立了sybase用户,并指定主目录为/opt/sybase,则安装程序会自动默认路径,如下图所示:点击“下一步”,继续安装。

inst_cata

Read the rest of this entry »

Written by ochef

September 7th, 2009 at 11:19 am

Posted in Database

Tagged with ,