Perform the following operations under the root user:
$ Uname-
Linux yndxjk 2.6.9-42. elsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
$ Grep memtotal/proc/meminfo
Memtotal: 3115144 KB
$ Grep swaptotal/proc/meminfo
Swaptotal: 1044184 KB
$ DF-H
Filesystem size used avail use % mounted on
/Dev/sda9 2.0 GB 177 m 1.7g 10%/
/Dev/sda1 2.0g 41 m 1.9g 3%/boot
/Dev/md0 537g 1.7g 508g 1%/data02
None 1.5g 0 1.5g 0%/dev/SHM
/Dev/sda7 8.7g 136 m 8.1g 2%/home
/Dev/sda6 4.6g 42 m 4.3g 1%/OPT
/Dev/sda5 4.6g 42 m 4.3g 1%/tmp
/Dev/sda3 4.9g 2.6 GB 2.1g 55%/usr
/Dev/sdb1 2.0g 36 m 1.9g 2%/usr/local
/Dev/sda2 6.0g 126 m 5.5g 3%/var
$/Usr/sbin/groupadd oinstall
$/Usr/sbin/groupadd DBA
$/Usr/sbin/useradd-m-D/home/Oracle-G oinstall-g dba Oracle
$ Id Oracle
Uid = 511 (Oracle) gid = 503 (oinstall) groups = 503 (oinstall), 504 (DBA)
$ Passwd Oracle
Changing password for user oracle.
New UNIX password:
Bad password: it is based on a dictionary word
Retype new Unix Password:
Passwd: All authentication tokens updated successfully.
$ Pwd
/Data02
$ Mkdir Oracle
$ LS-l
Total 40
Drwxrwxr-x 3 das 4096 Mar 30 2009 Bin
Drwxr-XR-x 3 dcsinput users 4096 Jul 29 Data
Drwxr-XR-x 2 root Root 4096 Aug 5 16: 26 dB
Drwxrwxr-x 3 DB2 DB2 4096 APR 29 2009 DB2
Drwx ------ 4 Root 4096 May 21 2009 ftphome
Drwx ------ 2 root Root 16384 Mar 27 2009 LOST + found
Drwxr-XR-x 2 root Root 4096 Aug 5 16:23 Oracle
$ Mkdir DB
$ Chown-r ORACLE: oinstall./Oracle
$ CD DB
$ Mkdir oralce
From the FTP installation package on another host
$ Ls
Oralce
10g_linux_x86_db_10_1_0_3.iso
$ LS-l
Total 671956
-RW-r -- 1 Root 687407104 Aug 5 16:29 10g_linux_x86_db_10_1_0_3.iso
$ Mount-o loop-T iso9660 10g_linux_x86_db_10_1_0_3.iso/tmp
$ CP-r/tmp/data02/DB/Oracle/
$ Chmod-r 777 oralce
$ Rpm-q gcc make binutils openmotif setarch compat-DB compat-GCC compat-gcc-C ++ compat-libstdc
Gcc-3.4.6-3
Make-3.80-6.EL4
Binutils-2.15.92.0.2-21
Openmotif-2.2.3-10.RHEL4.5
Setarch-1.6-1
Compat-db-4.1.25-9
Package compat-GCC Is Not Installed
Package compat-gcc-C ++ Is Not Installed
Package compat-libstdc Is Not Installed
The following operations are performed under the oralce User:
Set oralce environment variables:
$ Cd
$ VI. bash_profile
Oracle_base =/data02/Oracle;
Export oracle_base
ORACLE_HOME = $ oracle_base/product/10.1.0;
Export ORACLE_HOME
Path = $ path: $ home/bin:/data02/Oracle/product/10.1.0/bin :.
Export path
Nls_lang = american_america.zhs16gbk
Export nls_lang
Lang = en_us
Export lnag
If [-s "$ mail"] # This is at Shell startup. In normal
Then ECHO "$ mailmsg" # operation, the shell checks
FI # periodically.
Set-O vi
CD/home/Oracle
PS1 = '$'
Then you can start the installation.
$ CD/data02/DB/Oracle/tmp
$./Runinstaller
Starting Oracle universal installer...
Checking installer requirements...
Checking operating system version: Must be redhat-2.1, redhat-3, SuSE-9, SuSE-8 or UnitedLinux-1.0
Failed <
Exiting Oracle universal installer, log for this session can be found at/tmp/OraInstall2011-08-05_05-35-35PM/installActions2011-08-05_05-35-35PM.log
The following J2EE applications have been deployed and are accessible at the URLs listed below.
If the preceding error is reported, you must use the root user to modify the Linux release tag.
You need to change the file '/etc/RedHat-release' from
Red Hat Enterprise Linux as Release 4 (nahant Update 4)
Change
Red Hat Enterprise Linux as Release 3 (nahant Update 4)
Then run the./runinstaller command again to start the installation. I used VNC to connect to the host server, which is a graphical interface.
$ LSNRCTL start
$ LSNRCTL status
LSNRCTL for Linux: Version 10.1.0.3.0-production on 06-aug-2011 09:51:15
Copyright (c) 1991,200 4, Oracle. All rights reserved.
Connecting to (address = (Protocol = TCP) (Port = 1521 ))
Status of the listener
------------------------
Alias listener
Version tnslsnr for Linux: Version 10.1.0.3.0-Production
Start date 06-aug-2011 09:30:57
Uptime 0 days 0 HR. 20 min. 18 Sec
Trace Level off
Security on: Local OS Authentication
SNMP off
Listener log file/data02/Oracle/product/10.1.0/Network/log/listener. Log
Listening endpoints summary...
(Description = (address = (Protocol = TCP) (host = yndxjk) (Port = 1521 )))
The listener supports no services
The command completed successfully
$
I have not created a database.