分类: DB2/Informix
2008-08-01 10:12:32
六、设置环境变量
将以下内容加入到informix用户的.profile文件中:
INFORMIXDIR=/home/db/Informix
PATH=$INFORMIXDIR/bin:$PATH
INFORMIXSERVER=front
ONCONFIG=onconfig.front
TERM=vt100
LIBPATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/cli:$INFORMIXDIR/lib/esql:
$INFORMIXDIR/lib/dmi:$LIBPATH
export INFORMIXDIR PATH INFORMIXSERVER ONCONFIG TERM LIBPATH
七、载入产品源文件
用informix用户登录
将当前目录设置为$INFORMIXDIR:
cd $INFORMIXDIR
载入源文件,用informix用户身份执行:
根据产品介质的文件格式,使用cpio或tar命令:
cpio -icvmduB < /path/filename.cpio
或 tar xvf /path/filename.tar
八、执行安装程序
以root用户在/home/db/informix下执行以下命令
# ./ids_install
WARNING!
This software, and its authorized use and number of users, are
subject to the applicable license agreement with IBM Corporation.
If the number of users exceeds the licensed number, the excess users may
be prevented from using the software. UNAUTHORIZED USE OR COPYING MAY
SUBJECT YOU AND YOUR COMPANY TO SEVERE CIVIL AND CRIMINAL LIABILITIES.
Please Press RETURN to Continue, or (q/Q) to Quit :
IBM Informix Unix Bundle Installer
Installation Requirements:
- A user "informix" and a group "informix" must be known to the system.
- This installation procedure must be run by user root.
- Approximately 770 MB disk space required initially.
- Approximately 500 MB disk space if everything is installed (50 MB
for ISA, 25 MB for either version of JDBC).
0) All Products listed below
1) IBM Informix Dynamic Server 9.40
2) IBM Informix IConnect
3) IBM Informix JDBC version 2.21
4) IBM Informix Server Administrator
5) Configure a Demo IDS Server (requires IDS)
Enter the number(s) of the products to install, separated by spaces
(i.e. "1 2 3"):
1
Install into directory (INFORMIXDIR) [/home/db/informix] :
Installing IBM Informix Dynamic Server 9.40
420050 blocks
5260 blocks
80360 blocks
334300 blocks
Bundle Install program has finished
# ./RUN_AS_ROOT.server
Informix Product: IBM Informix Dynamic Server
Installation Directory: /home/db/informix
Performing root portion of installation of IBM Informix Dynamic Server ...
Installation of IBM Informix Dynamic Server complete.