1. Build the installation environment
1. Create an informix user group and user
Log in as root, and then:
Groupadd-g 3000 informix
Useradd-u 3000-g 3000-d/home/informix-m informix
2. Modify Environment Variables
# Su-informix
# Cd
# Ls-
# Vi. bash_profile
To:
INFORMIXDIR =/opt/IBM/informix // installation path of informix
Export INFORMIXDIR
INFORMIXSERVER = informix // The server name of informix
Export INFORMIXSERVER
ONCONFIG = onconfig. informix // configuration file name of informix
Export ONCONFIG
LD_LIBRARY_PATH =/opt/IBM/informix // lib library path of informix
Export LD_LIBRARY_PATH
PATH = $ PATH: $ INFORMIXDIR/bin
Export PATH
After saving and exiting, modify the permission:
# Chmod 755. bash_profile
Make the above settings take effect
#./. Bash_profile
3. Upload the Installation File
(1) set the Virtual Machine shared folder, put the installation file in the shared folder, under linux:/mnt/hgfs.
(2) log on to the system as root/informix, go to/mnt/hgfs, and decompress the installation file:
$ Tar xvf setupfile.tar note that the file name cannot contain spaces
4. Start Installation
Log on as the root user (I have read many documents on the Internet, all of which are installed by logging on to informix users, but when I log on to informix for installation, the system prompts me to install it as root)
# Cd/mnt/hgfs/Informix/SERVER
Run the installation script
#./Installserver
Follow the prompts to complete the operation.