14.01.2013 Views

IBM Informix Developer's Handbook - IBM Redbooks

IBM Informix Developer's Handbook - IBM Redbooks

IBM Informix Developer's Handbook - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. Create the installation .ini file that specifies the installation options. You can<br />

use the sample installation .ini file, server.ini, as a template. The<br />

server.ini file is located in the directory that is used to extract the server<br />

media package. Edit the following information in the server.ini file, and save<br />

the file with a new name, for example myserver.ini:<br />

– Change -P installLocation="/opt/<strong>IBM</strong>/informix" to the location of<br />

directory where you want to install the product.<br />

– Change -G licenseAccepted= option to true to accept the software<br />

license. Otherwise, the installation process stops:<br />

3. Start the silent installation with the following command:<br />

./ids_install -silent -options myserver.ini<br />

Performing these steps installs <strong>Informix</strong> Server in your specified directory along<br />

with a demonstration instance by the name demo_on.<br />

For more information about <strong>Informix</strong> installation and creating new instances, refer<br />

to the installation guide PDF that comes with the media file.<br />

2.1.3 Configuring <strong>Informix</strong> Server<br />

The connectivity information allows a client application to connect to any <strong>IBM</strong><br />

<strong>Informix</strong> database server in the network. The connectivity data for a particular<br />

database server includes the following connectivity data and information is<br />

required:<br />

► The host name of the computer or node on which the database server runs<br />

► The type of connection that an application can use to connect to the server<br />

► The service name or port number used by the database server<br />

► The database instance (also called the database server name)<br />

Even if the client application and the database server are on the same computer<br />

or node, you might need to specify connectivity information for your client<br />

application.<br />

Connectivity on UNIX<br />

On UNIX, the sqlhosts file contains the connectivity information. By default, this<br />

file resides in the $INFORMIXDIR/etc directory. You can use the<br />

INFORMIXSQLHOSTS environment variable to specify an alternative location for<br />

the connectivity information. Edit this file according to the protocol that you are<br />

using or the port number to which your client application will connect.<br />

Chapter 2. Setting up an <strong>Informix</strong> development environment 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!