Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read

End of Support Dates

IIUG on Facebook IIUG on Twitter

Previous Next Contents

3. Installation and Configuration

NOTE: There is some overlap here with the installation instructions at Informix's site and with the Nils Myklebust's excellent HOWTO, available at the IIUG site (see Additional Resources). This is deliberate for two reasons:

  1. Hopefully, through repetition, we will make some important points.
  2. It is possible that the reader may not yet have found the other documents.

3.1 Pre-installation tasks

The examples below presume the following:

  • The host machine is named frodo in the domain
  • You are logged in as the root user
  • You are using a Bourne-descendant shell (Bourne, Korn, bash, pdksh)

Create group informix

Most Linux distributions will have one or both of addgroup or groupadd. These programs create new user groups. If your system has a GUI tool, such as usercfg, you may use it instead. The essential information remains unchanged.

<frodo> $ groupadd -g 777 informix
<frodo> $ addgroup -g 777 informix

These examples create a group named informix with a GID (group ID) of 777. The GID is merely an example. You can use any GID that is not already assigned (cat /etc/group to see the assigned GIDs) or use the next available GID by not specifying one.

Only the informix user you will create in the next step should be a member of the informix group. If any other user is a member of this group, that user will be able to alter or delete any database - not a Good Idea.

Create user informix

Most Linux distributions will have one or both of adduser or useradd These programs create new users. If your system has a GUI tool, such as usercfg, you may use it instead. The essential information remains unchanged.

<frodo> $ useradd -u 777 -g informix informix
<frodo> $ adduser informix

The first format requires that a UID (-u 777) and and initial group (-g informix) be specified. It creates the user informix with initial group membership in the informix group and assigns this user a UID of 777. This UID is merely an example; you can use any UID not already in use (cat /etc/passwd to review the assigned UIDs). The informix user should have the informix group as its primary group; if possible, this should be the only group membership, although the user.

The second format uses adduser, which is usually (almost always, but Caldera's OpenLinux is a notable exception) an interactive shell script front-ending the useradd program. If you use this script and are prompted to specify an initial group, type informix. I recommend using useradd because it allows you to exercise more control over the whole process. See man useradd for details.

Informix-SE doesn't necessarily require that the informix user have a home directory or default shell, since it is unlikely that you will need to log in as informix, but there is no harm in doing so, either.

Informix Dynamic Server, on the other hand, does need a home directory, so creating a home directory now will eliminate one step in setting it up when IDS is released for Linux and if you anticipate installing it.

Create user dba

Create a user account named dba following the procedure in Create user informix account. This account will be used for creating and managing your databases. Two rules apply here:

  1. Never use the informix user to create a database.
  2. Do not make dba a member of the informix group. Doing so will screw the security mechanisms built into the database engine.

This user's home directory will be where databases are stored, so give some thought to its location. On my system, dba's home directory is /dbms, which physically resides on its own disk and is mounted on the root filesystem at boot time. This allows me to lose my root filesystem without munging my databases and vice-versa.

Create the installation directory

Next, you need to create a directory in which to install Informix. The Filesystem Hierachy Standard recommends that static, shareable files (such as documentation, libraries or other binaries) be installed to /usr or /opt. Non-system files are often installed to /usr/local. On my system, they go in /opt. You may install anywhere you like (/tmp or /dev are Not Recommended (c)).

<frodo> $ mkdir /opt/informix
<frodo> $ chown informix.informix /opt/informix
<frodo> $ chmod 755 /opt/informix

3.2 Install the Software

First set the environment variable $INFORMIXDIR to point at your installation directory:

<frodo> $ export INFORMIXDIR=/opt/informix

Next, set your path, or the installation scripts will not be able to find the branding information:

<frodo> $ export PATH=$PATH:$INFORMIXDIR/bin

Change to the directory where you saved the downloaded files and unzip them (this should not be your installation directory). If you popped for the CD-ROM, you can install directly from the CD-ROM.

<frodo> $ cd /downloads
<frodo> $ unzip

You should wind up with three directories, ESQLC, SE and ICONNECT, each containing a tarball, ESQLC.TAR, SE.TAR and ICONNECT.TAR, respectively.

Change to your installation directory (/opt/informix in this example), The tarballs should be untarred in the following order: ESQLC, SE, ICONNECT.



<frodo> $ tar xvf /downloads/ESQLC/ESQL.TAR 

Install ESQL/C and apply the license (you will be prompted for the serial number and license key you received from Intraware):

<frodo> $ ./installesql 


Untar SE.TAR:

<frodo> $ tar xvf /downloads/SE/SE.TAR 

Install SE and apply the license (you will be prompted for the serial number and license key you received from Intraware):

<frodo> $ ./installse 


NOTE: This step is optional. Informix-SE will function quite well without installing Informix-CONNECT. Both SE and ESQL/C have the connectivity they need built into them. IConnect is only there to allow you to connect to an engine with an ESQL/C binary that is installed on a system that does not have SE or ESQL/C installed.


<frodo> $ tar xvf /downloads/ICONNECT/ICONNECT.TAR 

Install ICONNECT and apply the license (you will be prompted for the serial number and license key you received from Intraware):

<frodo> $ ./installconn 

3.3 Post-installation

Post-installation tasks are few. They amount to telling Informix how it should run and (optionally) tweaking your TCP/IP configuration.

Configure sqlhosts file

First, make a backup copy of $INFORMIXDIR/etc/sqlhosts. If you are totally anal, you can use cp -p or cp -a to preserve time and date stamps on the original file.

After you make a copy of sqlhosts, edit the original file. You can either delete or comment out (using #) the line that reads

demo_on  onipcshm  on_hostname  on_servername

since this refers to Informix Dynamic Server, which is not yet available on Linux. The hostname must exactly match the output of uname -n, or you will get a -25591 error. Using the alias will not work. The entry should now look like

demo_se  seipcpip  sqlexec

  1. Field 1 is the name of the database server.
  2. Field 2 is the communication protocol (often referred to as "nettype" in Informix's documentation)
  3. Field 3 is the name of the host running the server.
  4. Field 4 is the service name (technically, with seipcpip connections, the service name points to the engine or binary being used, in this case, sqlexec).

The seipcpip protocol uses unnamed pipes, which can only be used as a local connection protocol. I can't really think of a compelling reason not to use seipcpip, particularly in a development environment (which, by the way, is the presumption behind this release of Informix-SE). So, let me state it categorically: Unless you have a specific reason not to do so, use the seipcpip nettype for any work with Informix-SE.

3.4 Test the installation

Now that you have the preliminaries out of the way, you are ready to validate your installation. If you are not an experienced Informix user, this is best done using a regular user account.

Create a directory to hold the test database, say, dbtest, and cd into that directory. Set the environment variable $INFORMIXDIR to point to the directory where you installed Informix; similarly, set $INFORMIXSERVER to the server name you specifed in the sqlhosts file. Finally, add $INFORMIXDIR/bin to your $PATH:

<frodo> $ export INFORMIXDIR=/opt/informix
<frodo> $ export INFORMIXSERVER=demo_se
<frodo> $ export PATH=$PATH:$INFORMIXDIR/bin

The command dbaccessdemo7 will create the stores7 sample database in the current directory and copy some example queries into the directory as well.

<frodo> $ dbaccessdemo7

The command dbaccess will start a nice, screen-based interface to the engine from which you can work with the database.

<frodo> $ dbaccess

Select Query-language from the menu (just type Q) and select Choose (C). This will show you a list of queries available in the sample database. Use the cursor keys to select one of the queries that begin with sel_, press Enter twice, and you should see some output. If all of this worked, you've got Informix-SE running on your machine.


Previous Next Contents