Installation and start of Informix Dynamic Server products

xiaoxiao2021-03-06  72

1. Installation sequence 1. Install Application Development Tools. Such as Informix -SQL, Informix-4GL, etc. 2. Install SQL Application-Programming Interfaces. Such as: Informix- ESQL / C, Informix- CLI, etc. 3. Install Database Serves. Such as: Informix Dynamic Server, etc. 4. Install Additional Products. Such as Lang Supplement ENWW. II. Installation step 1. Check if the operating system runs normal 2. Log in to the Super User root, create a user group called Informix and a user named Informix, is the only user of the Informix user group. 3. Set environment variables: # informixdir = (Informix product installation directory) #EXPORT Informixdir # path = $ informixdir / bin: $ path #Export path 4. # CD $ informixdir 5. If the medium is a disc, you should correspond to the CD File system: #mount Media Device Name Correspondence Directory Main Operating System CDROM MOUNT Method: a. Data General DG / UX V4.11 ON Aviion (Intel & M88k) # mount -t cdrom -o noveions / dev / pdsk / pdsk_num / CDROM (PDSK_NUM is a value, you can find the corresponding value in / etc / devlinktab) B. Digital Unix V4.0, V3.2 on the Dec Alpha system configuration file must exist: Options CDFS line. # / Usr / sbin / mount -r -t cdfs -o noversion / dev / rz c / cdrom The unit number of the CDROM drive, typically 4 (ie: / dev / rz4c). Single can be used to find RRD Disk, for example: / dev / rrz4c: Character Special (8/4098) SCSI # 0 RRD43 DISK # 32 (SCSI ID # 4) c. Fujitsu - UXP / DS V20 ON DS / 90 If there is a standard location of the Mount CD in / etc / vfstab, you can call: / etc / mount / cdrom Otherwise: / etc / mount -f cdfs -r / dev / cd0 / cdrom d . HP / UX -V 11.0, V10.20, V10.10, V10.0.01 ON HP 9000 Series 800 # mount -f cdfs -o cdcase / dev / dsk / / cdrom available ioscan -f -f n Commands found.

e. IBM-AIX V4.3, V4.2.1, V4.1.4 ON RS / 6000 and SP2 If there is a standard location of the Mount CD in / etc / filesystems, directly: / etc / mount / cdrom Otherwise: / etc / Mount -V CDRFS -R / DEV / CD0 / CDROM also uses smit mount to perform Mount F. NCR - MP-RAS V3.02, V3.0.1 # / etc / mount -f cdfs -r -o nmconv = m / cdrom is a CDROM device file, generally / dev / dsk / c0t0d0s0 g. SCO - Open Server v5.0 on Intel # / etc / mount -f hs, limited-r / dev / cd0 / cdom H. Sco -unixware V7, V2.1 # mount -f cdfs -r -o nmconv = m / cdrom1 can be determined by devattr CDROM1 BDEVICE. You can also use #share -o ro to allow sharing CDROM, in other machines #mount -f nfs : / cdrom1 / cdrom1 i. Siemens Pyramid - SNI Reliant UNIX V5.4.4B, V5.4.3C V5.4.3B must be installed "SiCDROM" Package. Su mount -f hs -o dos / dev / ios0 / / cdrom j.slackware linux 2.0.34 #mount -t iso9660 -r / dev / / cdrom1 available DMESG | GREP - I CD is obtained. Such as HD20 SONY CDU-55 ATAPI HD20 is k. Sunos - 5.7 Solaris V2.7, V2.6, V2.5.1, V2.4 on Intel & Ultrasparc Volume Management Automatically automatically CDROM MOUNT in / cdrom / cdrom0 / S0 L. TANDAM NON-STOP UX C41, C21 ON INTEGRITY S4000 Series Mount -f CDFS -O RO / DEV / CDROM / / CDROM1 M. Unisys SVR4 on Intel Mount -f CDFS / CDROM1 Generally, this step is omitted for / dev / cdrom / d0, such as a tape.

6. Refer to the product's license, use the CPIO or TAR command to copy the files on the disc or tape to the current directory: to the disc: # cpio -icvdumb > Use Cook File mode: # cat / dev / null> Online # chmod 660 Online # chGRP Informix Online 13. Informix - Online: (1) Log in with Informix User (2 $ CD $ INFORMIX $ CP etc / onconfig.std etc / onconfig.online (3) Set Environment Variables: $ informixdir = (Informix Product installation directory) $ path = $ informixdir / bin: $ PATH $ informixserver = dbsvrname $ onconfig = OnConfig.Online $ Export InformixDir Path InformixServer OnConfig can also set these environment variables to. Profile, so that each time INFORMIX login, no need to reset.

(4) $ vi $ INFORMIX / etc / sqlhosts join line of the format: dbsvrname nettype hostname servicename wherein: dbsvrname environment variable corresponding to INFORMIXSERVER dbsvrname defined, there are several NETTYPE selected according to hardware platforms: ontlitcp ontlispx onsocspx onipcshm onipcstr may Refer to $ INFORMIXDIR / RELEASE / EN_US / 0333 / Online_7.2, HostName corresponds to step 10. / etc / hosts The machine name in / etc / hosts corresponds to step 10. / etc / services Service Name. (5) Initialization rootdbs: Select One of the following two ways: I. Run $ onMonitor Parameters initialize Initializing rootdbs Need to pay attention to root path to the path and name of the first chunk set in step 12, will not be changed, should be cautious when this setting should be made. DBSERVERNUM and DBSERVERNAME do not have repetition throughout the network system. DBSERVERNAME is consistent with the settings in step 13 (3). Other settings can be used by default. After the initialization, the system enters the Quescent state.  EXIT  Mode  Online  Enables the system to go to the Online mode. II. Modify configuration parameters: $ vi $ informixdir / etc / onconfig.online mainly modified the following parameters: rootpath --first chunk path and name Rootsize - First Chunk size TapeDev - Tape machine LTAPEDEV - Teller DBSERNAME - Initialize Online Number Nettype - Network Type Other Settings Available Default. Perform Initialization: The system is ONLINE state after the overinit -IV initialization. (6) Test initialization success or not: $ onstat - see ............. - - line-- .................., indicate that initialization is successful. $ Onstat -g ATH exists as there is a TCP clue that should be Online, indicating that the network is normal.

III. Start INFORMIX-ONLINE: 1. Realized environment variables: InformixDir = (installation directory of Informix products) PATH = $ informixdir / bin: $ PATH INFORMIXSERVER = dbsvrname onconfig = OnConfig.Online requires the use of Chinese environments, DB_LOCALE = zh_cn.gb client_locale = zh_cn.gb server_locale = zh_cn.gb 2. Starting Online: $ oninit to add this command to the user's .profile file, use the user to start online at the same time. Close Online: $ ONMODE -KY can add commands to the system shutdown command to simultaneously exit the installation and start of the INFORMIX. INFORMIX UNIVERSAL SERVER product while the system is turned off. Installing Application Development Tools. such as Informix - SDK, etc. 2. Install Database Servers. Such as Informix - Universal Server et al. 3. Install Data Blade as: Web Data Blade, etc. II. 2. Installation Steps 1. Check if the operating system is operating normally. 2. Super User root login, create a list informix User group and a user named Informix, when INFORMIX users are unique users of the Informix user group. 3. Log in in Informix, set environment variables; $ informixdir = (installation directory of Informix Products) $ export informixdir @ $ PATH = $ Informixdir / bin: $ in export path 4. $ CD $ INFORMIXDIR 5. If the medium is a disc, you should ignore the file system for the CD: $ mount media device name, such as the media is tape, then omit this step. 6. The license of the weekly product, using the CPIO or TAR command to put the disc or tape Document COPY to Current Directory: CD: $ CPI -ICVDumb

Use commands when installing: $ ./installius, you need to enter the product's serial number and serial-number key, run_as_root files for Run_as_Root.ius. 11. Install Data Blade: WEB DATADE: If the medium is a CD, MOUNT corresponds to the file system of the disc, then opens the web directory under the file system, runs $ ./ihnstall. If the medium is tape, first CPIO / TAR correspond to the file on the tape, then open the web directory, run $ ./ INSTALL. 12. Setting the network running environment: Profiles: / etc / hosts and / etc / services. Add a machine's IP address and name to / etc / service, add a custom non-repetition Service Name and Port Number. 13. Tuning the operating system core parameters Reference $ INFORMIXDIR / RELEASE / EN_US / 0333 / IUNIVERSE / EN_US / 0333 / IUNIVERSE / EN_US / 0333 / IUNIVERSE / EN_US / 0333 / IUNIVERSE / EN_US / 0333 / IUNIVERSAL_9.X, use the operating system's core parameter tuning tool to modify the operating system core parameters, then resin the core parameters, reboot operating system. 14. Set the rootdbs of First Chunk: If you use the cook file: $ CAT / DEV / NULL> Online $ Chmod 660 Online $ Chown Informix Online $ ChGRP Informix Online If you use the Raw device mode, you need to store the database in the / dev directory. Disk device links Under $ INFORMIX: $ IN Disk device name Online $ Chmod 660 Online $ Chown Informix Online $ ChGRP Informix Online 15. Initialization Informix - Ius: (1) Log in with Informix. (2) $ CD $ InformixDir $ CP etc / onconfig.std etc / onconfig.ius (3) set the environment variable; $ INFORMIXDIR = (informix product installation directory) $ PATH = $ INFORMIXDIR / bin: $ PATH $ INFORMIXSERVER = dbsvrname $ ONCONFIG = onconfig.ius $ expiort INFORMIXDIR Path InformixServer OnConfig is also visible to. Profile, so that each time INFORMIX login, no need to reset (4) $ VI $ informixdir / etc / sqlhosts to join the line, the format is as follows; dbsvrname Nettype Hostname ServiceName Among them: DBSVRNAME NETTYPE defined in the environment variables in the environment variables The following options are available in the hardware platform: Ontilitcp ONTLISPX ONSOCSPX OnipCShm onipcstr can be referred to $ informixdir / release / en_us / 0333;

/Iuniversal_9.x hostname corresponds to the machine name in / etc / hostas, ServiceName corresponds to step 12. / etc / services Service Name. (5) Initializing rootdbs: You can choose one of the following two ways: i. Run $ ONMONITOR  Parameters  Initialize Initialize Initialization Rootdbs Need Note that root path is the path and name of the first chunk set in step 14, and it will not be changed in the future, and it should be cautious when this setting is required. DBServerNum and FBserverName do not have repeats in the entire network system .Dbservername needs to be consistent with the settings in step 15 (3). Other settings can be used by default. After initialization, the system enters the Quescent state.  EXIT Mode  Online enters the system into the Online mode. II. Modify configuration parameters: $ VI $ informixdir / etc / onconfig.online mainly modifies the following parameters: rootpath --First Chunk path and name Rootsize - First Chunk size TapeDev - Tape machine device LTAPEDEV - Teller device ServerNum - Initialization Online number dbservename - Initializing Online Nettype Nettype - Network Type Other Settings Available Default. Perform Initialization: $ OnNIT -I Initialization After the system is ONLINE state. (6) Initialization Success, whether or not: $ onstat - see ... .......... - on _ line - .............................. "$ onstat -g ath exists in the TCP cable that should be Online, indicates that the network is normal. 16. Creating a specific database Registration of Web DataBlade: (1) Sign in with Informix, create the required database with DBACCESS or other tools, and note that the database must be logged. (2) Use Blademgr to register the database to Web DataBlade: Such as: $ blademgr onlincius> list test There are no modules registered in database test Onlineius> show modules 3 DataBlade modules installed on server onlineius:. Ifxbuiltins.1.1 web.3.30.UC4 LLD.1.20.UC1B1 onlineius> register LLD.1.20.uc1b1 test Register module LLD.1.20.UC1B1 into database test? [Y / n] y Registering DataBlade module ... (may take a while). DataBlade LLD.1.20.UC1B1 was successfully registered in database test. Onlineius> register web.3.30.UC4 Test Register Web.3.30.uc4 INTO DATABASE TEST? [Y / N] Y REGILING DATABLADE MOULE ... DATABLADE Web.3.30.uc4 WAS SuccessFully Registered in Database Test. Onlineius>

List test datablade mod. LLD.1.20.uc1b1 Web.3.30.uc4 onlineius> Bye Disconnecting ... $ 17. install APB: Reference $ INFORMIXDIR / EXTEND / Web.3.30.uc4 / APB / Readme, (1) Sign in with Informix, create a smart blobspace: You can create a 10M Smart Blobspace: $ CAT / DEV / NULL> SBLOB $ ChMOD 660 SBLOB $ ONSPACES -C -S SBLOB -GL -P / USR / Informix / IUS / SBLOB -O 0 -s 10000 -ms 2500 (2) Create and upload AppPage Schema: Under $ informixdir / extend / Web.3.30.uc4 / APB, running: $ schema_create test sblob $ schema_load test sblob 18. Image CGI Directory: Reference $ INFORMIXDIR / EXTEND / Web.3.30.uc4 / install / readme (1) Sign in with Informix, create CGI directory: $ mkdir cgi-bin (2) CP $ informixdir / extend / Web.3.30.uc4 / install / * CGI-bin /. (3) Modify this cgi-bin directory Web.cnf file: $ cd cgi-bin $ cp web.cnf.example web.cnf $ vi Web.cnf # # Web.cnf.example # # # # # # # Copy this file to web.cnf, Substituting Actual Values ​​# # for those in below (do not use variables). # # # # Variab les will not be expanded, so putting $ INFORMIXDIR will not # # work, you will have to put the full UNIX path rather than $ INFORMIXDIR # Webdaemon Specific Variables MI_DATABASE test MI_USER informix MI_PASSWORD informix MI_WEBDRVLOG /tmp/.log MI_WEBDRVLEVEL 0X0002 INFORMIXDIR / usr / informix / ius INFORMIXSERVER dbsvrname # webdriver Specific Variables Minam? ID Micol? Object Mitab? WebPages MI_WEBSHOWEXCEPTIONS on MI_WEBRAWPASSWORD WEB_HOME / cgi-bin / webdriver (4) map this cgi-bin directory to the URL Netscape. (5) Test the APB installation success: http:// Hostname: 80 / cgi-bin / webdriver? Mival = APB 3. Start Informix - IUS: 1. Required environment variable: InformixDir =

(Informix product installation directory) PATH = $ INFORMIXDIR / bin: $ PATH INFORMIXSERVER = dbsvrname ONCONFIG = onconfig.ius For Chinese environment, you need to set: DB_LOCALE = zh_cn.gb CLIENT_LOCALE = zh_cn.gb SERVER_LOCALE = zh_cn.gb 2. Start IUS $ OnNit to add commands to the user's .profile file, use the user to start IUS while logging in. Close IUS: $ onmode -ky can add this command before the system shutdown, At the same time, INFORMIX. INFORMIX CLIENT SDK, Connect Installation Steps (for Windows / NT or 98, 95) 1. Installation Steps 1. Start Windows / NT, check if the network is running normally. 2. Read the media to put the disc drive Setup files. 3. Enter Name, Company, Serial Number, Serial Key, and Destination Directory, perform the installation of the Client SDK. 4. Install the screen display: Would you like to view the release notes now? At this point, select the YES button to view the product Release information, select the NO button to skip this step and perform the next step.

转载请注明原文地址:https://www.9cbs.com/read-108347.html

New Post(0)