Informix Online for Linux installation method

Source: Internet
Author: User
Tags file system informix semaphore linux

1. Create Informix user group and Informix user Home=/usr/informix

2. Add the password to Informix

3, the deployment of Informix installation files: rpm-i******************.rpm (a total of three)

4, modify the root profile, increase

Informixdir=/usr/informix

Exportinformixdir

Executive profile

5, the database installation, the principle of installation is to install a lower version of the software, later loaded with a high version of the software, finally installed online.

a、#cd/usr/informix
b、#./installclientsdk
c、#./installonline

6, increase the file system online. Users can define other file systems.

mount/online文件系统。创建数据文件onlinedbs。
#cd/online
#>onlinedbs
#chmod660onlinedbs

7, modify the/online and/online/onlinedbs permissions

#chowninformix/online
#chgrpinformix/online
#chowninformix/online/onlinedbs
#chgrpinformix/online/onlinedbs

8, with Informix registration

Cd/usr/informix/etc

9, copy the Onconfig.std file to Onconfig or other file name.

The parameters in the Vionconfig

a、ROOTPATH/online/onlinedbs
b、ROOTSIZE100000
c、CONSOLE/dev/null
d、TAPDEV/dev/null或用户定义
e、LTAPDEV/dev/null
f、DBSERVERNAMEdb(此项可自己定义但要求与sqlhosts中的定义一致。)

All of the above content can be defined by the user.

10. Initializing shared memory

11, modify Informix's. Profile file

$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 Sqlhosts file (/USR/INFORMIX/ETC)

There are two lines similar to Demo_ononipcshmon_hostnameon_servername in this file,

Add "#" in front of the second line and add the corresponding content as follows:

demo_ononipcshmon_hostnameon_servername
增加:dbonipcshmtest1on_servername
与onconfigsharememory中一致,要求此项为onipcshm

Host name can be defined by itself

13, the implementation of Onmonitor

< Note > If you run Onmonitor, you receive the following message:

Thetypeofyourterminalisunknowntothesystem

You can edit the. profile file for Informix, such as:

term=vt100

Termcap=/usr/informix/etc/termcap

Exporttermtermcap

If you run Onmonitor, you receive the following message:

(Share) Memoryfault

Can appropriately increase the system's shared memory.

Select Parameteràinitialization in the menu

Press the ESC key to default to its settings and initialize the configuration. If an error is returned, check the/usr/informix/online.log file to determine the cause of the error. If you are sharing memory or a semaphore error, you can appropriately increase the system's shared memory or semaphore.

exit退出onmonitor
#su-informix
$oninit

14, test installation is correct

$dbaccessdemo7
$dbaccess

15, if necessary, recompile the kernel or use Onmonitor for parameter fine-tuning.

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.