This article assumes that the Informix uses from zero, which will be described from zero to maximize the various detailed steps of INFORMIX. In this article, the contents of the VI editing are placed between the two lines, you have to edit the rear replication. 1: Download the Informix-Online database server Linux trial system address: http://www.intraware.com, registration becomes Informix trial System user, tell the correct email address, and Intraware will send you an email, tell you the installation authorization name and password of the station system downloaded later. Of course, when you download, the authorized user name and password will also appear on the screen, you have to copy it. (Generally authorized names and your names are different) After registration, enter the EVLAUTE (or Evaluation or Trial Download) Link page, login in enters the download page, select the Informix product you want. Since this article uses Linux as an example, download INFORMIX DYNAMIC_SERVER_2000, INFORMIX_DYNAMIC_SERVER_2000_S_O_V9_21_UC2_FOR_LINUX.ZIP. 2: Preparing to install Informix-Online 2000 /, decompressed download file informix_Dynamic_server_2000_s_o_v9_21_uc2_for_linux.zip (WIN Download or Linux Download) In Linux, register into system 1: establish an Informix User Name (AddUser) 2: Create an Informix Group (GroupAdd 3: Change the properties of the Informix user home directory # chown informix.informix / home / informix If you do it with WIN: 1: If you don't have a double start on the same machine, you don't have to install Linux, hang in the hard drive where the download file is located. Partition, such as I D: # mkdir / mnt / win # mount -t vfat / dev / hda5 / mnt / win 2: If Linux is installed on another machine, only set Samba sharing, put the informix downloaded under Win Online 2000 system is copied into the top of the Linux machine (this example is / mnt / win) 3: If you are downloaded with Linux, use the stored directory. (This example is still / mnt / win). Three: Start installing the downloaded INFORMIX online directory # cd / mnt / win set installation environment # informixdir = / home / informix # Export Informixdir Directory structure for Informix Online 921 installation package RPM for InterWare is / opt / informix or / usr / Informix, not necessarily / home / informix, the installation command is as follows: # rpm -ivh -relocate / opt / informix = / home / informix informix_dynamic_server_2000_s_o_v9_21_uc2_for_linux.rpm during installation, you will ask you to enter your license number and password, Enter it.
It is recommended that you do not install this package in the GUI environment. I may install unsuccessful. IV: Start setting Linux work environment # cd / etc # vi hosts ================== ============================================================================================================================================================================================================= ====== # Add your network card address, Host host name, and other computer addresses to access this machine according to the actual situation ===================================================================================================================================================== ============================================================================================================================================================================================================= ==== # vi Services ===================================================================================================================================================================== =============================== SQLEXEC 9999 / TCP # Fight Your Informix Database Server Service Service is SQLEXEC === ============================================================================================================================================================================================================= ===================== # CD / root (setting the root user boot environment)
# Ls -a # vi .bash_profile =========================================== ============================== Path = $ PATH: $ home / bin: $ homen / etc: / home / informix / BIN: /HOME/INFORMIX/Etc.....informixdir=/HOME/informixinformixsqlhosts=/HOME/informix/etc/sqlhostsinformixserver=demo_on #Online server name, with the service service name is not a concept TERM = 100 # Normal display of Informix DBACCESS menu EXPORT path. . . . . . . .
Informixdir InformixServer InformixSqlhosts Term ================================================= ============================ set informix user environment # cd / home / informix # ls -a # vi .bash_profile ==== ============================================================================================================================================================================================================= ==================== Path = $ PATH: $ HOME / BIN: $ homen / etc ......informixdir = $ homeinformixsqlhosts = $ homen / etc / sqlhostsinformixserver = demo_on #online server name, with the service service name is not a concept TERM = 100 # Menu Export Path in Informix DBAccess. . . . . . . .
Informixdir InformixServer InformixSqlhosts Term ================================================= ============================= Established the online service library server data space file (assuming in / home / informix, Otherwise, please enter the directory such as / home / informix, just take a name, such as root_chunk # CD / Home / Informix # cat / dev / null> root_chunk # chmod 660 root_chunk Setting Other Properties # CD / home / informix # cd etc # cp sqlhosts.std sqlhosts # vi sqlhosts =================================== ===================================================================================================================================================== # 地图Host hostname service service name demo_on oversoctcp myhostname SQLEXEC ======================================= ==================================== # cp onconfig.std onconfig # vi onconfig ===== ==================