- 论坛徽章:
- 1
|
哪位老大有INFORMIX FOR UNIXWARE711的安装文档?
Informix
The information provided here is for example purposes only. We recommend that you refer to the product documentation for definitive information about installing and configuring the product.
Prerequisites
Tune the Open UNIX 8 kernel shared memory segment parameter, SHMMAX, as recommended in ``Tuning for Linux applications''
Users and groups
Create a group and a user named informix
groupadd informix
useradd -g informix -m informix
Installing Informix
You have to have a disk partition (or a separate disk) to run Informix. The partition used for this example is on the Open UNIX 8 disk at partition entry 3 (device node /unixware/dev/rdsk/c0b0t0d0p3). Change owner and group for this partition to informix, and. mode to 666.
Mount the CD under /cdrom
mount -F cdfs -r /dev/cdrom/cdrom1 /cdrom
Become a Linux user by typing linux, and install the Informix server
rpm --nodep --install /unixware/cdrom/XPS/XPS_SERVER/xps-8.31.UC1-1.i386.rpm
The --nodep switch is necessary because of a dependency on an older libncurses library.
Install the binaries as the Open UNIX 8 root user:
cd /opt/informix
export INFORMIXDIR=/opt/informix
./installonline
Create an /opt/informix/etc/informix.rc file with the contents:
export INFORMIXDIR=/opt/informix
export INFORMIXSERVER=systemname.1
export ONCONFIG=onconfig.std
export PATH=$PATH:/opt/informix/bin
In /opt/informix/etc, edit edit onconfig.std so that the modified lines read:
ROOTPATH /unixware/dev/rdsk/c0b0t0d0p3
DBSERVERNAME systemname
Edit sqlhosts so it contains this one line This is for shared memory communication
systemname.1 onipcshm systemname systemname.1
Login as the informix user
/linux/bin/su - informix
Then run the initialization program for the database
xctl -C oninit -iy
You can check installation progress by looking at the last entries in the log.
tail -f /opt/informix/online.log
And confirm Informix is running by typing
xctl onstat
(use xctl onstat --help to view other possible commands.)
To shut down the database use:
xctl onmode -ky
There is a log file in /opt/informix/online.log, and sometimes a file called stdout.#.1 or stdout.systemname.1 in /linux. Also /INFORMIXTMP is created. |
|