Installing Informix for Linux on Turbolinux

Source: Internet
Author: User
Tags addgroup informix mkdir

1. Pre-Installation Preparation

1) need to install Turbolinux products

2 need to have installation files ids.rpm, connect.rpm and clisdk.rpm

ids.rpm Informix Dynamic Server 7.3

CONNECT.RPM Informix Client Product Connectivity Environment

CLISDK.RPM Informix Client Product development environment

3 need to have legal serial number and Key number

4 If more than one product is installed on the same server, it should be installed in the following order:

Informix client Connector, Informix client SDK, Informix Dynamic Server

2. Install Informix Client Connector for Linux

Let's assume that we build a demo database My_data, the database server named demo_on

1 Establish Informix Users and groups

AddGroup Informix

Adduser-g Informix Informix

passwd Informix

2 Login to root user and set up the installation directory

Mkdir/opt

Chown informix/opt

3 to the Informix user Login, and set up the installation directory

Mkdir/opt/informix

4 Increase environment variables

Export Informixdir=/opt/informix

Export informixserver=demo_on

Export path= $PATH: $INFORMIXDIR/bin

5) Expand the installation file

RPM-IVH connect.rpm

6) Installation

Run/opt/informix/installconn and enter serial number and Key number as prompted

7) to Login to the root user, running/opt/informix/run_as_root.conn

8) Installation Complete

3. Install Informix Client SDK for Linux

Let's assume that we build a demo database My_data, the database server named demo_on

1 Establish Informix Users and groups

AddGroup Informix

Adduser-g Informix Informix

passwd Informix

2 Login to root user and set up the installation directory

Mkdir/opt

Chown informix/opt

3 to the Informix user Login, and set up the installation directory

Mkdir/opt/informix

4 Increase environment variables

Export Informixdir=/opt/informix

Export informixserver=demo_on

Export path= $PATH: $INFORMIXDIR/bin

5) Expand the installation file

RPM-IVH clisdk.rpm

6) Installation

Run/OPT/INFORMIX/INSTALLCLIENTSDK and enter serial number and Key number as prompted

7) to Login to the root user, running/OPT/INFORMIX/RUN_AS_ROOT.CLIENTSDK

8) Installation Complete

4. Install IDs 7.3 for Linux

Let's assume that we build a demo database My_data, the database server named demo_on

1 Establish Informix Users and groups

AddGroup Informix

Adduser-g Informix Informix

passwd Informix

2 Login to root user and set up the installation directory

Mkdir/opt

Chown informix/opt

Login with Informix user and set up the installation directory

Mkdir/opt/informix

3 Increase environment variables

Export Informixdir=/opt/informix

Export informixserver=demo_on

Export path= $PATH: $INFORMIXDIR/bin

4) Expand the installation file

RPM-IVH ids.rpm

5) Install the database

With root login, run/opt/informix/installserver, enter serial number and Key number as prompted

6 to Informix User Login

7 Establish the database file

Mkdir/opt/data

Cat/dev/null >/opt/data/my_data

8) Configuration database file

CP/OPT/INFORMIX/ETC/ONCONFIG.STD Onconfig

Modify the following parameters in the/optusr/informix/etc/onconfig file

Rootpath/opt/data/my_data # Path for device containing root dbspace

DbServerName demo_on # Name of default database server

Msgpath/opt/informix/online.log # System Message log file path

ALARMPROGRAM/OPT/INFORMIX/ETC/LOG_FULL.SH # Alarm Program Path

SYSALARMPROGRAM/OPT/INFORMIX/ETC/EVIDENCE.SH # System Alarm program Path

Drlostfound/opt/informix/etc/dr.lostfound # dr Lost+found file path

Modify/opt/informix/etc/sqlhosts file to increase

demo_on Onipcshm Kevin.com.cn.tlan Demo_on_service

Modify/etc/services file to increase

Demo_on_service 1543/tcp

9 Initialize and start the database

Oninit-i

10) Set up demo database Stores7

Run/opt/informix/bin/dbaccessdemo7

11) View the database

Run dbaccess, with Informix user registration, select DEMO_ON Database, you can see the Store7 demo data

12) Close the database

Run Onmode-k

13) Installation Complete

Related Article

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.