Install Oracle8i on UnixWare7.1.1

Source: Internet
Author: User

I. The hardware and system environment configurations meet the requirements, especially the memory, disk space, and network configurations.

2. Create an oracle account used for installation:

In the X-WINDOWS interface: SCO Admin-Account Manager, create a new Account oracle and password and set the/home/oracle directory.

Create two groups, such as DBA and supervisor, which correspond to the system administrator group and operator permission group respectively. Then, create a group, oinstall, which stores all installers, and add the account oracle to the supervisor and oinstall groups.

Set oracle account permissions:
Shutdown system chang system tunables
Administer printers monitor system resources
Administer filesystems administer in Operation

3. Edit the. profile file in/home/oracle and add environment variables:

ORACLE_BASE =/home/oracle
ORACLE_HOME = $ ORACLE_BASE/software or specify another installation directory)
DISPLAY =: 0.0 DISPLAY Mode)
JAVA_HOME =/usr/java
PATH = $ ORACLE_HOME/bin:/opt/bin:/usr/ccs/bin:/usr/java/bin: $ PATH :. add installation path) TMPDIR =/var/tmp requires at least MB free space)
Export ORACLE_BASE ORACLE_HOME DISPLAY JAVA_HOME LD_LIBRARY_PATH PATH TMPDIR
... ...
... ...

Or use the following command:
Setenv ORACLE_BASE =/home/oracle
Setenv DISPLAY =: 0.0
...... ......
...... ......

Iv. System Parameter Adjustment

1. Adjust the shared memory: edit the/etc/conf/cf. d/stune file and add:
SHMMAX 0.5 x physical memory bytes
SHMMIN 1
SHMMNI 100
SHMSEG 10
The sum of the PROCESSES of all the databases except the maximum db of SEMMNS + 2 * The number of PROCESSES of the maximum db + 10 * The number of instances. For example
The three instance processes are 100, 100, and 200 respectively, then = 100 + 100) + 2*200 + 10*3 = 630
SEMOPM 10-20
NPROC 20 + 8 * MAXUSERS) Maximum 12500
ARG_MAX 1,048,576 Maximum length of the command line, 5 kb by default
NBUF 100 maximum number of original I/O requests that can be activated at any time
MAXUP 1000 user-created process limit
STRTHRESH 0x500000 streaming stream) Maximum number of bytes allocated to resources
SCORLIM 0x7FFFFFFF
HCORLIM 0x7FFFFFFF
SDATLIM 0x7FFFFFFF
HDATLIM 0x7FFFFFFF
SVMMLIM 0x7FFFFFFF
DEDICATED_MEMORY is set when 4 K pages of physical memory are retained for a specific segment of memory)
HVMMLIM 0x7FFFFFFF
SFSZLIM 0x7FFFFFFF maximum file length of a process
HFSZLIM 0x7FFFFFFF
HFNOLIM 2048 maximum number of file descriptors for a file
Sfnolim128

2. Modify the parameter file:/etc/default/loginULIMIT> maximum number of db file bytes

3. Create a directory: $ ORACLE_BASE/software to store Oracle Installation software ORACLE_HOME) $ ORACLE_BASE/database to store database files

4. re-build the kernel
#/Etc/conf/bin/idbuild

5. restart the computer.
# Shutdown-y-g0-i6

5. Install ORACLE8i (8.1.5/6/7)

1. log on with an oracle account. The prompt is $. Switch to the root account prompt #
2. mount the optical drive: # mount-F cdfs-o ro/dev/cdrom/c0b0t1l0/cdrom
3. $ cd/cdrom
$./RunInstaller start interface Installation Process
Note that $ ORACLE_HOME/root. sh is prompted during installation.
4. Install logs in the $ ORACLE_BASE/oraInventory/logs directory.

6. Create a database

Use DBCAOracle Database Configuration Assistant) to create a default or other database, or use the following command:
$ ORACLE_HOME/bin/dbassist

7. Complete the configuration environment and initialization parameters

· Root Account:

1. Run #./root. sh to confirm the environment settings.
2. Create other UNIX accounts
3. Verify that database file security has and has access to public and installation files)
4. Configure the parameter file to start startup mount

· Oracle account:

1. Modify the startup configuration file of a UNIX account
2. Modify the/var/opt/oracle/oratab file.
3. Patch Oracle if any.
4. Configure initialization parameters

8. Uninstall and delete an installation failure

When the installation process fails to exit, uninstall and delete some installed products:

In the same installation process, enter the main installation interface, select DeInstall, select the name of the product to be deleted from the installed product, delete it, and then exit; manually delete: ORACLE_HOME directory, $ ORACLE_BASE/oraInventory, $ ORACLE_BASE/jre directory.

For more information, see the installation guide.

 


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.