ここでは、Oracle8.0.5 のインストール方法をしてしています。
現在 8.0.5.1になっており、内容が異なるかも知れません。ご了承下さい。

まず、su - で root になる
$ su -
Password: xxxxxxx

[root@legnum /home]# groupadd dba
[root@legnum /home]# useradd -g dba oracle
[root@legnum /home]# passwd oracle

[root@legnum /home]# exit
legnum.egami.co.jp[~] su - oracle
Password: xxxxxxx

[oracle@legnum oracle]$ vi .bash_profile

[oracle@legnum oracle]$ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME=""

export USERNAME BASH_ENV PATH

# For ORACLE8
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=$ORACLE_BASE/8.0.5
export ORACLE_SID=test
export ORACLE_TERM=vt100
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export PATH=$PATH:$ORACLE_HOME/bin
export ULIMIT=`ulimit`

[oracle@legnum oracle]$ mkdir 8.0.5
[oracle@legnum oracle]$ exit
legnum.egami.co.jp[~] su - oracle
Password: xxxxxx

[oracle@legnum oracle]$ su -
Password: xxxxxx

[root@legnum orainst]# cd /usr/src/oracle-8.0.5/orainst
[root@legnum orainst]# export ORACLE_OWNER=oracle
[root@legnum orainst]# ./oratab.sh

*************************************************************************
Following conditions should be met to run this script successfully.
1. Needs root permission to run this script.
2. Need to set ORACLE_OWNER enviornment variable to the user who
installs oracle product.
3. This ORACLE_OWNER should be part of group "dba".

If any of these conditions are not met, please re-run after satisfying
these conditions.
*************************************************************************
Is it OK to continue (Y/N)? [Y]: そのままリターン

The ORACLE_OWNER is set as: oracle
Are these settings correct (Y/N)? [Y]: そのままリターン

Checking for "oracle" user id...

Creating /etc/oratab file...
[root@legnum orainst]# exit

[oracle@legnum oracle]$ cd /usr/src/oracle-8.0.5/orainst
[oracle@legnum orainst]$ ./orainst

---------Install Type------------------------------------------
Select the installation method, either Default Install
or Custom Install:

( ) Default Install
(o) Custom Install

(Help...) (Back) (Cancel) (OK)

Tabで移動してカーソルを矢印で動かしてスペースで o を動かして
そのままリターン

----------preamble.txt------------------------------------------
------------------------------------
WELCOME TO THE NEW ORACLE INSTALLER!
------------------------------------
The information in this file is provided in the following format:
Newest information is provided at the top,older information is
urther down in the file. Each major section is separated by a
heading which documents the release number.

------------------------------------
Oracle Installer 4.0.3.0
------------------------------------
SIGNIFICANT CHANGES TO THE INSTALLER FOR THIS RELEASE

*** Add support for the "Customizable Dialog" in Motif

(Back) (Cancel) (OK)

そのままリターン

-------/usr/src/oracle-8.0.5/orainst/README.FIRST-----------
VERSION=8.0.5.0.0

IMPORTANT ORACLE PARALLEL SERVER INSTALLATION NOTE.

For the Sun SPARCcluster PDB installation of Oracle Parallel Server
you must first install the support package for Oracle group Membership
Services. If this is not already done please exit the installer,and
follow the directions in the <cdhome>/ops_patch/README file.

ORACLE8 RELEASE 8.0.5.0.0 IMPORTANT PRE-INSTALL INFORMATION

The following contains critical information that the customer needs to
be aware of prior to installing Oracle8 Release 8.0.5.0.0.

(Back) (Cancel) (OK)

そのままリターン

-----------Installation Activity Choice---------------------------
Select the Installer activity:

(o) Install, Upgrade, or De-Install Software
( ) Create/Upgrade Database Objects
( ) Perform Administrative Tasks

(Help...) (Back) (Cancel) (OK)

そのままリターン

-----------Installation Options-----------------------------------
Select the Installer option:
Note: there are two different Install New Product
options.

Install New Product - Create DB Objects
Install New Product - Do Not Create DB Objects
Add/Upgrade Software
Build Oracle8 Staging Area
Install Documentation Only
De-Install Software
Migrate from ORACLE7 to ORACLE8

(Help...) (Back) (Cancel) (OK)

そのままリターン
(Install New Product - Create DB Objects を選択)

----------Environment Variables----------------------------------
Confirm, change, or enter values for the environment variables
listed:

ORACLE_BASE: /home/oracle
ORACLE_HOME: /home/oracle/8.0.5

(Help...) (Back) (Cancel) (OK)

そのままリターン

----------Logging and Status-------------------------------------
Confirm (or Change) Log File Location:

If current versions of these log files exist in these locations,
they will be archived and reinitialized. Select Help for more
details.

Installer Log: /home/oracle/8.0.5/orainst/install.log
SQL Log: /home/oracle/8.0.5/orainst/sql.log
Makefile Log: /home/oracle/8.0.5/orainst/make.log
OS Log: /home/oracle/8.0.5/orainst/os.log

(Help...) (Back) (Cancel) (OK)

そのままリターン

--------------Install Source-----------------------------------
Select one of the following:

( ) Install from CD-ROM
(o) Install from Staging Area

(Help...) (Back) (Cancel) (OK)

FTP版なので、Staging Area を選択

--------------Source Staging Area------------------------------
Enter the pathname of the source staging area directory:

/usr/src/oracle-8.0.5

(Help...) (Back) (Cancel) (OK)

そのままリターン

--------------ORACLE_SID-------------------------------------
Enter your ORACLE_SID:

test

(Help...) (Back) (Cancel) (OK)

そのままリターン

-------------NLS---------------------------------------------
Select the native language to be installed:

.........
Italian
Japanese
Korean
.........

(Help...) (Back) (Cancel) (OK)

Jananese を選択

-----------------Information---------------------------------
Post-installation steps that need to be run by root will
be written to /home/oracle/8.0.5/orainst/root.sh.

(Help...) (Back) (Cancel) (OK)

そのままリターン

-----------------Software Asset Manager-----------------------
(From...)

Products available on Products installed on
/usr/src/oracle-8.0.5 /home/oracle/8.0.5

Client Software 8.0.5.0.0
+ Net8 Protocol Adapters 8.0.5.0.0
Oracle Intelligent Agent 8.0.5.0.0
Oracle Unix Installer 4.0.3.0.0
Oracle8 JDBC Drivers 8.0.5.0.0
Oracle8 Server, Release 8.0.5 Documentation
Oracle8 Standard (RDBMS) 8.0.5.0.0
PL/SQL 8.0.5.0.0
+ Precompilers 8.0.5.0.0
SQL*Plus 8.0.5.0.0

全部スペースで選択して Tab で (Install) に移動してリターン

---------------Information------------------------------------
The environment variable ULIMIT is not set. The
installation will continue with the assumption that the
ULIMIT of this account, or on this machine is at least
2113674. If it is not, then you should increase the
ULIMIT of your system, or use the osh program supplied
by Oracle.

(Help...) (Back) (Cancel) (OK)

そのままリターン

----------------DBA Group-------------------------------------
Select group to act as DBA of the database:

(o) dba

(Help...) (Back) (Cancel) (OK)

そのままリターン

----------------OSOPER Group---------------------------------
Select the OSOPER group:

dba

(Help...) (Back) (Cancel) (OK)

そのままリターン

---------------Create DB Objects: Storage Type--------------
Choose storage type for database:

(o) Filesystem-Based Database
( ) Raw Device-Based Database

(Help...) (Back) (Cancel) (OK)

そのままリターン

------- Create DB Objects (F/S): Control File Distribution ----
Distribute control files over three mount points?

(Help...) (Back) (Cancel) (No) (Yes)

(No) を選択

-------- Create DB Objects (F/S): Mount Point Locator ----------
Enter mount point

/home/oracle と入力

(Help...) (Back) (Cancel) (OK)

そのままリターン

---------------- Character Set ------------------------------

Select the character set for creating this database. If
your desired character set is not listed, select
(Others..) and enter the character set manually.

EE8ISO8859P2
EL8DEC
JA16EUC
.........
(Others..)

(Help...) (Back) (Cancel) (OK)

(Otheres..) を選択して、リターン

---------------- Character Set ------------------------------
Enter the character set for creating this database:

JA16SJIS と入力

(Help...) (Back) (Cancel) (OK)

そのままリターン

------------ National Character Set ------------------------
Select the national character set for this database.
The default value is the character set specified for
database creation. If your desired character set is not
listed, select (Others..) and enter the character set

EE8ISO8859P2
EL8DEC
JA16EUC
JA16EUCFIXED
JA16SJISFIXED
JA16DBCSFIXED
.............

(Help...) (Back) (Cancel) (OK)

JA16SJISFIXED を選択してリターン

--------------- SYSTEM Password ---------------------------
Enter the password for the 'SYSTEM' ORACLE userid:
(For security reasons, your input will not be echoed. After you
type in the password, you will be prompted to re-enter the
password for confirmation.)

xxxxxxxxxxx パスワードを入力

(Help...) (Back) (Cancel) (OK)

リターン

--------------- SYSTEM Password ---------------------------
Please enter the password for the 'SYSTEM' ORACLE userid again to
confirm:
(Your input will not be echoed.)

xxxxxxxxxxx もう一回パスワードを入力

(Help...) (Back) (Cancel) (OK)

リターン

---------------- SYS Password --------------------------------
Please enter the password for the 'SYS' ORACLE userid:
(For security reasons, your input will not be echoed. After you
type in the password, you will be prompted to re-enter the
password for confirmation.)

xxxxxxxxxxx パスワードを入力

(Help...) (Back) (Cancel) (OK)

リターン

---------------- SYS Password --------------------------------
Please enter the password again to confirm:
(Your input will not be echoed.)

xxxxxxxxxxx もう一回パスワードを入力

(Help...) (Back) (Cancel) (OK)

リターン

------------------- dba password ------------------------------
Do you want to set the passwords for the internal users (dba and
operator)?

(Help...) (Back) (Cancel) (No) (Yes)

(No) のままリターン

--------------------- TNS Listener Password --------------------
Enter the password for the TNS listener: (For security reasons,
your input will not be echoed. After you type in the password,
you will be prompted to re-enter the password for confirmation.)

xxxxxxxxxxx パスワードを入力

(Help...) (Back) (Cancel) (OK)

リターン

--------------------- TNS Listener Password --------------------
Please enter the password again to confirm:
(Your input will not be echoed.)

xxxxxxxxxxx もう一回パスワードを入力

(Help...) (Back) (Cancel) (OK)

リターン

---------- Configure MTS and start SQL*Net listener? -----------
Would you like MTS (Multi-Threaded Server) configured and the
SQL*Net listener automatically started?

(Help...) (Back) (Cancel) (No) (Yes)

(No) のままリターン

----------- Create DB Objects(F/S): Control File Locator --------
Do you want to use the following files as control files?
/home/oracle/oradata/test/control01.ctl
/home/oracle/oradata/test/control02.ctl
/home/oracle/oradata/test/control03.ctl

(Help...) (Back) (Cancel) (No) (Yes)

そのままリターン

------------------ DB Defaults --------------------------------
The following are the default file names and sizes that
will be used to create the new database. Select (OK) to
continue to the next screen of defaults files:
PASSWORD(1 entry): /home/oracle/8.0.5/dbs/orapwtest
SYSTEM(80M): /home/oracle/oradata/test/system01.dbf
LOG1(500k): /home/oracle/oradata/test/redotest01.log
LOG2(500k): /home/oracle/oradata/test/redotest02.log
LOG3(500k): /home/oracle/oradata/test/redotest03.log
(more..)

(Help...) (Back) (Cancel) (OK)

そのままリターン

------------------ DB Defaults --------------------------------
Default file names and sizes continued. Select (Back)
to see the previous screen of defaults. Select (OK) to
continue:
ROLLBACK(15M): /home/oracle/oradata/test/rbs01.dbf
TEMP(1M): /home/oracle/oradata/test/temp01.dbf
USERS(1M): /home/oracle/oradata/test/users01.dbf
TOOLS(25M): /home/oracle/oradata/test/tools01.dbf

(Help...) (Back) (Cancel) (OK)

そのままリターン

------------- Default Database --------------------------
Select (Yes) to accept the default file names and sizes shown on
the previous screens. Select (No) to specify new values. Select
(Back) to view the previous screens.

(Help...) (Back) (Cancel) (No) (Yes)

userのテーブルスペースを増やすため (No) を選択してみます

-------------- Create DB Objects(RAW) : System File Locator ---------
Enter the complete pathname for the SYSTEM tablespace data file:

/home/oracle/oradata/test/system01.dbf

(Help...) (Back) (Cancel) (OK)

------------------ SYSTEM Data File Size -----------------------
Enter the size of the SYSTEM tablespace data file:

80M

(Help...) (Back) (Cancel) (OK)

--------------------- Create DB Objects(F/S):Redo Log Locator ---------
Enter the complete pathname for the first redo log file:

/home/oracle/oradata/test/redotest01.log

(Help...) (Back) (Cancel) (OK)

--------------------Redo Log File Size ------------------------
Enter the size of the first redo log file:

500k

(Help...) (Back) (Cancel) (OK)

---------------Create DB Objects(F/S):Redo Log Locator-------------
Enter the complete pathname for the second redo log file:

/home/oracle/oradata/test/redotest02.log

(Help...) (Back) (Cancel) (OK)

------------------------ Redo Log File Size ---------------------
Enter the size of the second redo log file:

500k

(Help...) (Back) (Cancel) (OK)

-------------------- Create DB Objects(F/S):Redo Log Locator ---------
Enter the complete pathname for the third redo log file name:

/home/oracle/oradata/test/redotest03.log

(Help...) (Back) (Cancel) (OK)

---------------------- Redo Log File Size --------------------------
Enter the size of the third redo log file:

500k

(Help...) (Back) (Cancel) (OK)

--------------------- Create DB Objects(F/S):Rollback Segment File Locator -----
Enter the complete pathname of the rollback segment file:

/home/oracle/oradata/test/rbs01.dbf

(Help...) (Back) (Cancel) (OK)

----------------------- Rollback Segment File Size ---------------------
Enter the size of the rollback segment file:

15M

(Help...) (Back) (Cancel) (OK)

-----------------------Create DB Objects(F/S):Temporary Segment File Locator--
Enter the complete pathname of the temporary segment file:

/home/oracle/oradata/test/temp01.dbf

(Help...) (Back) (Cancel) (OK)

-------------- Temporary Segment File Size ------------------------
Enter the size of the temporary segment file:

1M

(Help...) (Back) (Cancel) (OK)

20M に変更してリターンしてみましょう

------ Create DB Objects(F/S): USER Data File Locator -----------
Enter the complete pathname of the USER tablespace data file:

/home/oracle/oradata/test/users01.dbf

(Help...) (Back) (Cancel) (OK)

----------- USER Data File Size ---------------------------------
Enter the size of the USER tablespace data file:

1M

(Help...) (Back) (Cancel) (OK)

20M に変更してリターンしてみましょう

------------- Create DB Objects(RAW): TOOLS Data File Locator -----
Enter the complete pathname of the TOOLS tablespace data file:

/home/oracle/oradata/test/tools01.dbf

(Help...) (Back) (Cancel) (OK)

------------ TOOLS Data File Size--------------------------------
Enter the size of the TOOLS tablespace data file:

25M

(Help...) (Back) (Cancel) (OK)

------------------ DB Defaults --------------------------------
The following are the default file names and sizes that
will be used to create the new database. Select (OK) to
continue to the next screen of defaults files:
PASSWORD(1 entry): /home/oracle/8.0.5/dbs/orapwtest
SYSTEM(80M): /home/oracle/oradata/test/system01.dbf
LOG1(500k): /home/oracle/oradata/test/redotest01.log
LOG2(500k): /home/oracle/oradata/test/redotest02.log
LOG3(500k): /home/oracle/oradata/test/redotest03.log
(more..)

(Help...) (Back) (Cancel) (OK)

そのままリターン

------------------ DB Defaults --------------------------------
Default file names and sizes continued. Select (Back)
to see the previous screen of defaults. Select (OK) to
continue:
ROLLBACK(15M): /home/oracle/oradata/test/rbs01.dbf
TEMP(20M): /home/oracle/oradata/test/temp01.dbf
USERS(20M): /home/oracle/oradata/test/users01.dbf
TOOLS(25M): /home/oracle/oradata/test/tools01.dbf

(Help...) (Back) (Cancel) (OK)

TEMP と USERS が 20M になっていますね
そのままリターン

------------- Default Database --------------------------
Select (Yes) to accept the default file names and sizes shown on
the previous screens. Select (No) to specify new values. Select
(Back) to view the previous screens.

(Help...) (Back) (Cancel) (No) (Yes)

(Yes)を選択します

----------------Choose JDBC Components-----------------------
Please select one or more of the following types of JDBC
drivers to install.

[ ] JDK 1.0 JDBC OCI Driver
[ ] JDK 1.0 JDBC Thin Driver
[ ] JDK 1.1 JDBC OCI Driver
[X] JDK 1.1 JDBC Thin Driver

(Help...) (Back) (Cancel) (OK)

JDK1.0 を外してみました

--------------- Help Facility ----------------------------
Would you like to load the SQL*Plus Help Facility?

(Help...) (Back) (Cancel) (No) (Yes)

--------------------- Demo Tables ------------------------
Would you like to load the SQL*Plus Demo Tables?

(Help...) (Back) (Cancel) (No) (Yes)

--------------- ORACLE_DOC------------------------------------

Enter the pathname for your $ORACLE_DOC directory:

/home/oracle/doc

(Help...) (Back) (Cancel) (OK)

そのままリターン

---------------------- Documentation Format------------------------
Select one of the following formats for your Oracle8
Server, Release 8.0.5 documentation:

(o) HTML
( ) PDF
( ) Both

(Help...) (Back) (Cancel) (OK)

そのままリターン

Installing... 待つこと25分 (PentiumMMX 200MHz)

-------------------- Retry--------------------------------------
A write error occurred while trying to copy '/usr/src/oracle-
8.0.5/unixdoc/server.805/install/lnx_server.805.map' to
'/home/oracle/8.0.5/doc/server.805/install/lnx_server.805.map'. (No
such file or directory.) Would you like to retry the operation,
ignore the error, or allow the error to be processed by the
Installer?

(Help...) (Shell) (Cancel) (Process) (Retry)

Retry してもだめなので、Process を選択

-------------------- Software Asset Manager ----------------------

(Help...) (Options...) (View Log...) (Exit)

(Exit) を選択して、終了

----------------------- Confirmation ---------------------------
Are you sure you want to exit the Oracle
Installer?

(No) (Yes)

迷わず、(Yes)

Result: lnx_server.805.ins(268): WRITE_ERROR while copying /usr/src/oracle-8.0.5/unixdoc/server.805/install/lnx_server.805.map

[oracle@legnum orainst]$ su -
Password: xxxxxxx

[root@legnum /]# cd /home/oracle/8.0.5/orainst
[root@legnum orainst]# ./root.sh

Running Oracle8 root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /home/oracle/8.0.5
    ORACLE_SID=   test
Are these settings correct (Y/N)? [Y]: このままリターン

Enter the full pathname of the local bin directory [/usr/lbin]: /usr/local/bin

Checking for "oracle" user id...
ORACLE_HOME does not match the home directory for oracle.
Okay to continue? [N]: y
Updating /etc/oratab file...

Leaving common section of Oracle8 root.sh.
 

これで、Install 終了です。