<!--[if !supportLists]--> <!--[endif]-->INFORMIX数据库在SCO UNIX上的安装和配置
<!--[if !supportLists]-->2.1.2 <!--[endif]-->INFORMIX数据库在SCO UNIX上的安装和配置
<!--[if !supportLists]-->2.1.2.1 <!--[endif]-->安装和配置概述
INFORMIX服务器产品的安装和配置基本有以下一些步骤:
<!--[if !supportLists]-->1. <!--[endif]-->INFORMIX服务器产品的安装
<!--[if !supportLists]-->l <!--[endif]-->创建"informix"用户组和"informix"用户
<!--[if !supportLists]-->l <!--[endif]-->设置安装所需环境变量
<!--[if !supportLists]-->l <!--[endif]-->逐个安装INFORMIX服务器产品,包括:
<!--[if !supportLists]-->1) <!--[endif]-->Informix SQL for SCO UNIX
<!--[if !supportLists]-->2) <!--[endif]-->Informix Online for SCO UNIX
<!--[if !supportLists]-->3) <!--[endif]-->Informix Global Language Support (GLS)
INFORMIX所有产品的安装应一次完成。先装低版本产品,后装高版本产品;先装开发工具,后装ONLINE(ONLINE版本必须等于或高于开发工具)。
<!--[if !supportLists]-->2. <!--[endif]-->INFORMIX服务器配置准备
<!--[if !supportLists]-->l <!--[endif]-->为数据存储分配原始磁盘空间
<!--[if !supportLists]-->l <!--[endif]-->调节UNIX系统核心参数
<!--[if !supportLists]-->l <!--[endif]-->调整系统的交换区
<!--[if !supportLists]-->l <!--[endif]-->调整/tmp文件系统
<!--[if !supportLists]-->l <!--[endif]-->信息提示选用西文方式
(具体做法:$cd /usr/informix/msg
$mv zh_cn zh_cn.gb )
<!--[if !supportLists]-->3. <!--[endif]-->INFORMIX服务器的配置
<!--[if !supportLists]-->l <!--[endif]-->设置informix用户的环境变量
<!--[if !supportLists]-->l <!--[endif]-->修改/etc/hosts及/etc/services文件
<!--[if !supportLists]-->l <!--[endif]-->准备连接文件$INFORMIXDIR/etc/sqlhosts
<!--[if !supportLists]-->l <!--[endif]-->准备ONCONFIG配置文件
<!--[if !supportLists]-->l <!--[endif]-->ONLINE数据库服务器的初始化
<!--[if !supportLists]-->l <!--[endif]-->调整逻辑日志和物理日志
<!--[if !supportLists]-->l <!--[endif]-->重新启动ONLINE服务器
<!--[if !supportLists]-->2.1.2.2 <!--[endif]-->INFORMIX服务器产品安装
<!--[if !supportLists]-->1. <!--[endif]-->创建"informix"组和"informix"用户
以root用户身份注册,启动系统管理工具“scoadmin”。
<!--[if !supportLists]-->1) <!--[endif]-->创建“informix”用户组, 组号大于100。
<!--[if !supportLists]-->2) <!--[endif]-->创建“informix”用户,其中:
用户号User ID大于100,
主组Login Group设为“informix”用户组
主目录Home Directory为:/usr/informix
<!--[if !supportLists]-->3) <!--[endif]-->修改informix用户的口令。使用 #passwd informix设置informix用户口令。
<!--[if !supportLists]-->2. <!--[endif]-->设置安装所需环境变量
使用root注册,设置PATH和INFORMIXDIR环境变量
B shell:
# INFORMIXDIR=/usr/informix
# PATH=$PATH:$INFORMIXDIR/bin
#export INFORMIXDIR PATH
C shell:
#setenv INFORMIXDIR /usr/informix
#setenv PATH $/bin:$
并将当前目录改变到/usr/informix
#cd $INFORMIXDIR
<!--[if !supportLists]-->3. <!--[endif]-->安装SQL
<!--[if !supportLists]-->1) <!--[endif]-->安装软件光盘
将SQL光盘插入光驱执行命令
#mount /dev/cd0 /mnt
<!--[if !supportLists]-->2) <!--[endif]-->拷贝介质
产品介质的格式参照产品License Card中的“Load Line:”部分。
介质如果为tar格式,则执行: #tar xvf /mnt/SQL.TAR
介质如果为cpio格式,则执行:#cpio -icvdumB
<!--[if !supportLists]-->3) <!--[endif]-->执行安装命令
#./installsql
根据提示输入产品的序列号,如AAC#X999999,注意字母必须大写
根据提示输入产品的KEY,如AAABBB,注意必须为大写字母。
最后屏幕提示Informix SQL安装完毕。
<!--[if !supportLists]-->4) <!--[endif]-->卸载软件光盘
执行命令#umount /mnt,并取出软件光盘。
<!--[if !supportLists]-->4. <!--[endif]-->安装ONLINE
ONLINE的安装步骤与SQL相同:
<!--[if !supportLists]-->1) <!--[endif]-->安装软件光盘
将ONLINE 光盘插入光驱执行命令
#mount /dev/cd0 /mnt
<!--[if !supportLists]-->2) <!--[endif]-->拷贝介质中的文件名是:
/mnt/ ONLINE/ONLINE.TAR或
/mnt/ ONLINE/ONLINE.CPI
<!--[if !supportLists]-->3) <!--[endif]-->执行安装命令为:#./installonline
根据提示输入产品的序列号,如AAC#X999999,注意字母必须大写
根据提示输入产品的KEY,如AAABBB,注意必须为大写字母。
最后屏幕提示Informix ONLINE安装完毕。
<!--[if !supportLists]-->4) <!--[endif]-->卸载软件光盘
执行命令#umount /mnt,并取出软件光盘。
<!--[if !supportLists]-->5. <!--[endif]-->安装Global Language Support (GLS)
Global Language Support (GLS)的安装步骤与SQL相同:
<!--[if !supportLists]-->1) <!--[endif]-->安装软件光盘
将GLS光盘插入光驱执行命令
#mount /dev/cd0 /mnt
<!--[if !supportLists]-->2) <!--[endif]-->拷贝介质中的文件名是:
/mnt/ LS723.TAR或/mnt/LS723.CPI
<!--[if !supportLists]-->3) <!--[endif]-->执行安装命令为:#./installzhcn
根据提示输入产品的序列号,如AAC#X999999,注意字母必须大写
根据提示输入产品的KEY,如AAABBB,注意必须为大写字母。
最后屏幕提示Informix GLS安装完毕。
<!--[if !supportLists]-->4) <!--[endif]-->卸载软件光盘
执行命令#umount /mnt,并取出软件光盘。
<!--[if !supportLists]-->2.1.2.3 <!--[endif]-->INFORMIX服务器配置准备
<!--[if !supportLists]-->1. <!--[endif]-->为数据存储分配原始磁盘空间
应用系统要求使用原始磁盘空间作为Informix的数据存储空间。这种方式效率高,安全性好,但要注意在安装操作系统时,预留出这部分磁盘空间,并且不能格式化,还应该知道该磁盘空间的设备和大小。修改相应字符型设备(带r的,例如:rrootdbs、rlogdbs、rtempdbs、rphydbs、rdatadbs1chk1等)的权限为660,属组为informix,属主为informix。并用UNIX 链
