Oracle8i for unixware installation instructions

xiaoxiao2021-03-06  77

Oracle 8i for unixware 7 is difficult to install. Here is the installation method I have obtained after n times. It is not necessarily the best way, but it is definitely available. Software and version =========== Unixware 7.1.1Racle 8i for Intel UnixUnixware 7 installation notation ======================== = 1, select the security level of the standard. 2, / DEV / SWAP and / TMP is large enough. With the default value, Oracle / DEV / SWAP = / TMP / VAR / TMP3 cannot be installed properly, and NIS cannot be installed, and you can step by F8. 4. The development tool must be installed. Installation method: Pow 5 disk mount to / mNT, execute pkgadd -d / mnt UDK, execute pkgadd -d / mnt update711rebootd -d / mnt update711rebootoToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToToTracle 8i installation step ========== ======= 1, log in to the root user 2, Mount CDROM # mount -f cdfs -oro / dev / cdrom / cdrom1 / cdrom3, use SCOADMIN to establish DBA Group and Oracle users, join Oracle to DBA Group 4, establish Oracle Directory / Oracle # MKDIR / ORACLE # Chown Oracle: DBA / ORACLE5, Modify File / etc / Default / Login, set uMask = 0226, execution # chmod 777 / dev / askENC modified file /etc/conf/node.d/async , Change the 600 to 7777, modify the core parameters to modify the file /etc/conf/mtune.d/iPc, find the line containing "Semopm", 3 values, corresponding to DEFAULT, Min, Max, change the max value to 100 Modify file /etc/conf/cf.d/mtune, change the MAX value of Semopm to 100.

Enter the directory /etc/conf.d, modify the corresponding parameters in the file Stune by run the following command: ../ bin / idtune shmmax 536870912 ../ bin / idtune shmmin1 ../ bin / idtune shmmni 200 ../ BIN / IDTUNE SHMSEG 10 ../ bin / IDTUNE SEMMSL 30 ../ bin / idtune semmns 700 ../ bin / idtune semopm 100 ../ bin / idtune scorlim 0x7fffffff ../ bin / idtune HCORLIM 0x7FFFFFFF ../ bin / idtune SDATLIM 0x7FFFFFFF ../ bin / idtune HDATLIM 0x7FFFFFFF ../ bin / idtune SVMMLIM 0x7FFFFFFF ../ bin / idtune HVMMLIM 0x7FFFFFFF ../ bin / idtune SFSZLIM 0x7FFFFFFF ../ bin / idtune HFSZLIM 0x7fffffff ../ bin / idtune hfnolim 2048 ../ bin / idtune sfnolim 128 ../ bin / idtune nproc 300y ../ bin / idtune arg_max 1048576 ../ bin / idtune npbuf 100 ../ bin / IDTune maxup 1000y. ./bin/idtune strandResh 0x500000 ../ BIN / IDTUNE Recvretries 4 Note: If the core parameters are modified for the first time, the above command COPY & PASTE to the # prompt can be directly. The "Y" is the system needs to confirm when executing commands. If it is not the first to modify the kernel parameters, it is best to execute one by one for security. 7, Rebuild kernel # / etc / conf / bin / idbuild # / usr / ucb / reboot8, above what root users have to do. The following is logged in with Oracle users. 9, modify the file .dtprofile, let .profile into force in front of the last line DTSOURCEPROFILE = true to remove the number # 10, added umask 022DISPLAY = workstation_name in your .profile: 0.0ORACLE_BASE = / oracleORACLE_HOME = / oracleORACLE_SID = ORCLORACLE_OWNER = oracleexport DISPLAY ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_OWNERPATH = $ PATH: $ ORACLE_HOME / bin: / usr / local / binTMPDIR = / tmpLD_LIBRARY_PATH = $ ORACLE_HOME / lib: / usr / java / lib: / usr / ccs / lib: / usr / lib: $ LD_LIBRARY_PATHJAVA_HOME = / usr / javaCLASSPATH = $ ORACLE_HOME / oraInventory / Compoments / oracle / swd / jre / 1.1.7: $ ORACLE_HOME / jlibexport PATH TMPDIR LD_LIBRARY_PATH JAVA_HOME CLASSPATHNLS_LANG = AMERICAN_AMERICA.ZHS16CGB231280ORA_NLS33 = $ ORACLE_HOME / ocommon / nls / admin / data export NLS_LANG ORA_NLS33 save the file, Reuse the Oracle login console. 11, CD CDROM_MOUNT_POINT_DIRECTORY execution ./RunInstaller starts installation. To select a Custom mode, you cannot select the default installation.

The installation process is similar to that in other Unix installed Oracle 8i. 12 Otherwise, the forward and post-works !!! 14, after the installation is complete, configure NET8. If you don't respond too long, press STOP, then NEXT, exit the installation process. View LSNRCTL Status in the command line, and Listener should have started. If you don't start, start with LSNRCTL START. 15. Say the ORATAB file in / var / opt / oracle / oracab with the installation document attached to the CD, actually wants to use to / etc / oracability. With root users # CP / VAR / OPT / ORACLE / ORATAB / ETC16, run dbassist with Oracle users. Don't use the library, you want to quit the SQL to build a library. At this point, Oracle is installed. 17, because the file $ oracle_home / rdbms / demo / oratepes.h is wrong, if you want to use the OCI or Pro * C write, you need to modify the file, set the 445th line typef int boolean; comment. Automatic switch oracle ============== 1, modify file / etc / oracab, set the corresponding SID to Y2, build a DBORA file in the /etc/init.d directory, and set For executable. Document reads as follows:! # / Bin / sh # Set ORA_HOME to be equivalent to the ORACLE_HOME # from which you wish to execute dbstart and dbshut # set ORA_OWNER to the user id of the owner of the # Oracle database in ORA_HOMEORA_HOME = / oracleORA_OWNER = oracleif thenecho "Oracle startup: can not start" [-f $ ORA_HOME / bin / dbstart!] exitficase "$ 1" in'start ') # Start the Oracle databases: # The following command assumes that the oracle login will not prompt the # user for any valuessu - $ ORA_OWNER -c $ ORA_HOME / bin / dbstart & su - $ ORA_OWNER -c $ ORA_HOME / bin / lsnrstart & ;; 'stop') # Stop the Oracle databases: # The following command assumes that the oracle login will not Prompt the # user for any value - $ ora_owner -c $ ora_home / bin / lsnrshut & su - $ ora_owner -c $ ora_home / bin / dbshut & ;; eSAC3, establish two files LSNRSTART and LSNRSHUT The content is: LSNRCTL START and LSNRCTL STOP and is set to be executable.

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

New Post(0)