System Requirements: written according to Oracle9I) the following system requirements apply to typical Oracle Installation and creation of simple databases.
Memory: the installation of the Oralce 9i software requires at least MB of memory.
Swap zone: Generally, the size of the SWAp zone must be twice the size of the memory, at least MB
Optical Drive: if you use a CD to install Oracle9i, you need a CDROM with a speed of more than 8 on your computer. If you download the oracle9i package file, you do not need to use the CDROM.
Hard Disk Space: the Oracle9i database must have at least GB of space.
Temporary hard disk space: the Oracle installer requires more than MB of temporary hard disk space during installation. We recommend that you use the/tmp folder as the zero-time folder. If the/tmp file does not have enough hard disk space, you can create a new folder as the temporary directory for installation, and then set the environment variables TEMP and TMPDIR to the corresponding location, for example:
Use bash
Mkdir/home/temp
TEMP =/home/temp; export TEMP
TMPDIR =/home/temp; export TMPDIR
Use csh
Mkdir/home/temp
Setenv TEMP/home/temp
Setenv TMPDIR/home/temp
Operating System:
UnixWare713 (LKP software package must be installed)
JDK
JDK is required for Oracle817. You can download it here.
Ftp://ftp.tux.org/pub/java/JDK-1.1.8/i386/v3/jdk118_v3-glibc-2.1.3.tar.bz2
The preparation is complete. Let's get started:
1. Configure Kernel Parameters
Half of SHMMAX 134217728 memory)
SHMMIN 1
SHMMNI 100
SHMSEG 15
SEMMNI 10000
SEMMSL 300
SEMMNS 610
SEMOPM 20
SCORLIM 0x7FFFFFFF
HCORLIM 0x7FFFFFFF
SDATLIM 0x7FFFFFFF
HDATLIM 0x7FFFFFFF
SVMMLIM 0x7FFFFFFF
HVMMLIM 0x7FFFFFFF
SFSZLIM 0x7FFFFFFF
HFSZLIM 0x7FFFFFFF
HFNOLIM 2048
Sfnolim128
NPROC 12500
ARG_MAX 1048576
NPBUF 100
MAXUP 5000
RECVRETRIES 5
# MAXULWP 10000
FLCKREC 2000
2. Add users and groups
You can use scoadmin to create a cluster.
You can also run the following command:
Log on to the system as a root user;
Run # groupadd dba command to add a dba user group;
Run # useradd-g dba-s/usr/bin/ksh-d/home/oracle-m oracle.
After running, the system creates a user oracle belonging to the dba user group. The main directory is/home/oracle using ksh.
Run # passwd oracle
Add a user password.
3. JDK Installation
Root User Login,
# Linux
Bash # mkdir/home/oracle/oracle_java
Bash # chown oracle: dba/home/oracle/oracle_java
Bash # cd/home/oracle/oracle_java
Bash # bzcat/tmp/jdk118_v3-glibc-2.1.3.tar.bz2 | tar xf-
Bash # rm/tmp/jdk118_v3-glibc-2.1.3.tar.bz2
Bash # ln-s jdk118_v3 java
4. Connect Oracle commands
Bash # ln-s/usr/bin/gawk/bin/awk
Bash # ln-s/usr/bin/grep
Bash # vi/etc/ld. so. conf
Add a line/opt/csm/lib/compat
Bash # ldconfig
5. configure system environment variables
Many netizens failed to install oracle because the environment variables were not correctly configured. The configuration of the environment variables directly affects the subsequent oracle installation and configuration. Be careful when configuring the environment variables!
The following is an example for your reference:
Oracle user login:
$ Vi. profile
Add the following content
ORACLE_HOME =/home/oracle/oracle817; export ORACLE_HOME
ORACLE_SID = oracle; export ORACLE_SID
LD_LIBRARY_PATH = $ ORACLE_HOME/lib; export LD_LIBRARY_PATH
NLS_LANG = american_america.ZHS16GBK; export NLS_LANG
PATH = $ PATH: $ ORACLE_HOME/bin
Export PATH
TMPDIR =/tmp; export TMPDIR
Umask 022
Where:
ORACLE_HOME is the installation directory of system software;
ORACLE_SID is the SID of the database. You can set it here;
NLS_LANG is the character set of the database. To ensure that the database can output the input database, we need to set the character set to american_america.ZHS16GBK here, where american_america English character set and ZHS16GBK is the Chinese character set.
Log on to oracle again
5. Install Oracle. Root User Login
# Linux
Bash # mount-r/mnt/cdrom
New Screen
Oracle user login
$ Linux
Bash $ startx
Bash $ startkde
Start KDE
Bash $ cd/mnt/cdrom
Bash $./runInstaller
Follow the prompts to create a database!