How to install Informix Online for Linux

Source: Internet
Author: User
Tags informix

1. Create an INFORMIX user group and an informix user home =/usr/informix

2. Add password to informix

3. Expand the informix Installation File: rpm-I *******************. rpm (three in total)

4. Modify the root profile and add
INFORMIXDIR =/usr/informix
ExportINFORMIXDIR
Execute profile

5. database installation. The installation principle is to first install the software of the lower version, later install the software of the higher version, and finally install the software online.
A, # cd/usr/informix
B. #./installclientsdk
C, #./installonline
6. Add the file system online. You can define other file systems.
Mount/online file system. Create the data file onlinedbs.
# Cd/online
#> Onlinedbs
# Chmod660onlinedbs

7. Modify/online and/online/onlinedbs Permissions
# Chowninformix/online
# Chgrpinformix/online
# Chowninformix/online/onlinedbs
# Chgrpinformix/online/onlinedbs

8. Register with informix
Cd/usr/informix/etc

9. Copy the onconfig. std file to onconfig or another file name.

Parameters in vionconfig
A. ROOTPATH/online/onlinedbs
B. ROOTSIZE100000
C. CONSOLE/dev/null
D. TAPDEV/dev/null or user-defined
E, LTAPDEV/dev/null
F and DBSERVERNAMEdb can be defined by yourself, but must be consistent with the definition in sqlhosts .)
All the above content can be defined by the user.

10. initialize shared memory

11. Modify the. profile file of informix
$ Cd
Vi. profile Add the following content
INFORMIXDIR =/usr/informix
INFORMIXSERVER = db
ONCONFIG = onconfig
PATH = $ PATH:/usr/informix/bin
ExportINFORMIXDIRINFORMIXSERVERONCONFIGPATH
$ Chmod + x. profile
$ ../. Profile

12. Modify the sqlhosts file/usr/informix/etc)
This file contains two lines similar to demo_onipcshmon_hostnameon_servername,
Add "#" before the second line and add the following content:
Demo_ononipcshmon_hostnameon_servername
Added: dbonipcshmtest1on_servername
It is consistent with that in onconfigsharememory. This parameter must be onipcshm.
You can customize the host name.

13. Run onmonitor.
<注> If the following information appears when running onmonitor:
Thetypeofyourterminalisunknowntothesystem
You can edit the. profile file of informix, for example:
TERM = vt100
TERMCAP =/usr/informix/etc/termcap
ExportTERMTERMCAP
If the following information appears when running onmonitor:
(Share) Memoryfault
You can increase the system's shared memory.
Select parameter à initialization from the menu
Press esc to set the default value for Initialization Configuration. If an error is returned,
Check the/usr/informix/online. log File to determine the cause of the error. If
It is a shared memory or signal lamp error, you can increase the system's shared memory as appropriate
Or a traffic signal.
Exit to exit onmonitor
# Su-informix
$ Oninit

14. test whether the installation is correct.
$ Dbaccessdemo7
$ Dbaccess

15. Re-compile the kernel or fine-tune the parameters with onmonitor if necessary

16. For copyright reasons, the LicenseS/N and keys that cannot be provided may be forgiven.


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.