Installing Oracle 7.3.4 on Solaris 2.6.
- Preliminary info for our project
- Machine name is sqasun5.
- Mount point is /export/home/oracle.
- Login as root.
- Add following lines to /etc/system.
set shmsys:shminfo_shmmax=8388608
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=200
set semsys:seminfo_semmni=70
- Reboot the system.
- # groupadd -g 200 dba
- Add users oracle and root
/etc/group
......
dba::200:oracle,root
......
- Create following directories and
# chown oracle:dba $directory
- # mkdir /opt/bin
- # mkdir /export/home/oracle
- # mkdir /export/home/oracle/oracle734
- # mkdir /export/home/oracle/u1
- # mkdir /usr/oracle
- # mkdir /usr/oracle/u2
- # mkdir /usr/oracle/u3
- Insert Oracle 7 CD into the drive.
- Login as oracle
- Create /export/home/oracle/.profile and add following lines:
ORACLE_HOME=/export/home/oracle/oracle734
export ORACLE_HOME
ORACLE_SID=sqasun5
export ORACLE_SID
PATH=/usr/bin:$ORACLE_HOME/bin
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
- $ cd /cdrom/cdrom0/orainst
- $ ./orainst
- Installer Screen appears.
- Choose Custom Install. Select default in most cases except for the followings:
- Mount point is $ORACLE_BASE: /export/home/oracle
- $ORACLE_HOME is /export/home/oracle/oracle734
- Choose default for logs.
- $ORACLE_SID: sqasun5
- Select following to install:
Oracle UNIX Installer
Server Manager
Oracle7 Server (RDBMS)
TCP/IP
Oracle7 Enterprise Backup
Oracle7 JDBC
PL/SQL
SQL*NET (V2)
SQL*Plus
- group: dba
- OSOPER: dba
- Filesystem_based Database: Yes
- As for 3 mounting points:
/export/home/oracle/u1
/usr/oracle/u2
/usr/oracle/u3
- US7ASCII
- SYSTEM ORACLE password: manager
- 'SYS' ORACLE password: manager
- NO password for internal users - dba and operator.
- MTS and SQL*Net: NO
- Choose default in most selections.
- JDK 1.0 JDBC Thin Driver
JDK 1.1 JDBC Thin Driver
Check for your JDBC settings.
- Select more defaults.
- It should start installing packages and takes a while.
- After the installation is finished, it will take you back to the first Installer Screen. Check for the installed packages before exiting. You are set for the next step.
- Login as root.
- # cd /export/home/oracle/oracle734/orainst
- # ./root.sh
- Login as oracle.
- $ cd /export/home/oracle/oracle734/dbs
- Check initsqasun5.ora for:
compatible = 7.3.4.0.1 #This should match the installed Oracle version.
- $ svrmgrl
- SVRMGRL> connect internal
- SVRMGRL> shutdown normal
- SVRMGRL> startup
- SVRMGRL> exit
- $ lsnrctl
- LSNRCTL> start
- LSNRCTL> exit
- $ sqlplus system/manager
- SQL> should appear on your screen, then you're all set.
- Create more users.
- SQL> create user daniel identified by daniel ;
user created
- SQL> grant connect, resource, create view to daniel ;
Grant successful
- SQL> quit
(You're all set.)