Install informix in Linux

Source: Internet
Author: User

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.

  • 1
  • 2
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.