One: Download informix-online database server Linux trial system
Address: <!--[if!vml]--><!--[endif]-->http://www.intraware.com, register as a user of the Informix trial system and tell the correct email address, Then Intraware will send you an email telling you the installation license name and password of the site system you downloaded later. Of course, when you download, the screen will also appear the authorized user name and password, you have to copy down. (General authorization name is different from your name)
After registering successfully, enter the Evlaute (or evaluation or trial download) link page, login into the download page and select the Informix product you want. Because this article takes Linux as an example, download
informix_dynamic_server_2000 Bar is informix_dynamic_server_2000_s_o_v9_21_uc2_for_linux.zip.
II: Ready to install Informix-online 2000/
Unzip the download file Informix_dynamic_server_2000_s_o_v9_21_uc2_for_linux.zip (whether win download or Linux download)
In Linux, registering with root into the system
1: Establish Informix User name (AddUser)
2: Set up Informix Group (GROUPADD)
3: Change the properties of Informix user home directory
# chown Informix.informix/home/informix
If you are using win to do the download:
1: If you do not install Linux on the same machine dual-boot, then hook up the download file on the hard disk partition, such as I for D:
# Mkdir/mnt/win
# mount–t Vfat/dev/hda5/mnt/win
2: If Linux is installed on another machine, only samba sharing is set up, the Informix Online 2000 system downloaded under win is copied into the Linux machine under a directory (this case is/mnt/win)
3: If you are downloading with Linux, use the stored directory. (This example is still/mnt/win).
Three: Start the installation
Enter the downloaded informix online catalog
# Cd/mnt/win
Setting up an installation environment
# Informixdir=/home/informix
# Export Informixdir
Because the directory structure of the Informix Online 921 installation package rpm for Interware downloads is/opt/informix or/usr/informix, it is not necessarily/home/informix or the like, the installation commands are as follows:
# Rpm–ivh–relocate/opt/informix=/home/informix informix_dynamic_server_2000_s_o_v9_21_uc2_for_linux.rpm
The installation process will require you to enter your authorization number and password, enter it.
We recommend that you do not install this package in the GUI environment, the general may not be successful installation.
Four: Start setting up Linux working environment
# CD/ETC
# VI Hosts
==========================================================================
#根据实际情况加入你的网卡地址, host hostname, and other computer addresses to access this machine
==========================================================================
# VI Services
==========================================================================
SqlExec 9999/tcp #将来你的informix数据库服务器服务service名为sqlexec
==========================================================================
# cd/root (set root user boot environment)
# Ls–a
# Vi. Bash_profile
=========================================================================
Path= $PATH: $HOME/bin: $HOME/etc:/home/informix/bin:/home/informix/etc
.......
Informixdir=/home/informix
Informixsqlhosts=/home/informix/etc/sqlhosts