Minimal Memory: 256 MB
Minimal Swap Space: Twice the amount of the RAM
To determine the amount of RAM memory installed on your system, enter the following command.
$ /usr/sbin/prtconf
To determine the amount of SWAP installed on your system, enter the following command and multiply the BLOCKS column by 512.
$ swap -l
Checking OS patches
Use the latest kernel patch from Sun Microsystems (http://sunsolve.sun.com)Make sure that your Solaris system has all of the required operating system patches installed. You must have Solaris 2.6 or Solaris 7 (32 bit) or Solaris 8 (32 or 64 bit) to run Oracle9i release 2. If you are running Solaris 2.6 or Solaris 7, the patch requirements are as follows:
106040-11 X Input and Output Method patch Required
105181-15 Kernel patch Required
105284-25 Motif Runtime Library Patch Recommended
105490-07 Dynamic linker patch Recommended
105633-21 OpenWindows 3.6: Xsun patch Recommended
105568-13 Libthread patch Recommended
105210-19 LibC patch Recommended
105669-07 CDE 1.2: libDTSvc patch (dtmail) Recommended
106409-01 Chinese TrueType fonts patch Recommended
Patches for Solaris 7 (32 bit) Status
107636-01 X Input and Output Method patch Required
106980-05 Libthread patch Recommended
107607-01 Motif fontlist, fontset, libxm Recommended
107078-10 Open Windows 3.6.1 Xsun patch Recommended
You can verify your operating system version and see which patches are installed with the following commands:
$ uname -a
$ showrev -p
If you are running Solaris 8, no specific patches are required. However, if you are running the 64 bit version of Solaris 8, you should be using the 07/01 release of the operating system. (I am running Oracle9i release 2 on the 04/01 release of 64 bit Solaris 8 without problems, but Oracle Corporation recommends the 07/01 release.) You can check which release of Solaris you are running with the following command:
$ cat /etc/release
Make sure that the following software packages have been installed.
Required Packages
SUNWarc
SUNWbtool
SUNWhea
SUNWlibm
SUNWlibms
SUNWsprot
SUNWtoo
SUNWi1of
SUNWxwfnt
You can use the following command to verify that a package has been installed:
$ pkginfo -i
Kernel Parameters
Make sure that the Solaris kernel has parameters set sufficiently high for Oracle. The Oracle architecture makes extensive use of shared memory segments for sharing data among multiple processes and semaphores for handling locking. Many operating systems, including Solaris, do not by default offer sufficient shared memory or semaphores for maintaining an Oracle database. Happily, you can change kernel parameters in Solaris simply by editing the /etc/system file and rebooting the server.
Kernel Parameter Setting To Get
You Started Purpose
SHMMAX 4294967295 Maximum size of a single shared memory segment
SHMMIN 1 Minimum size of a single shared memory segment
SHMMNI 100 Maximum number of shared memory segments
in entire system
SHMSEG 10 Maximum number of shared memory segments
one process can attach
SEMMNS 2000 Maximum number of semaphores in entire system
SEMMSL 1000 Maximum number of semaphores per set
SEMMNI 100 Maximum number of semaphore sets in entire system
To determine if your X-windows system is working properly on your local system, but you can redirect the X-windows output to another system.
$ xclock
To determine if you are using the correct system executables:
$ /usr/bin/which make
$ /usr/bin/which ar
$ /usr/bin/which ld
$ /usr/bin/which nm
Each of the four commands above should point to the /usr/ccs/bin directory. If not, add /usr/ccs/bin to the beginning of the PATH environment variable in the current shell.
Create Unix Group
$ groupadd -g 400 dba
$ groupdel dba
$ useradd -u 400 -c "Oracle Owner" -d /export/home/oracle -g "dba" -m -s /bin/ksh oracle
Setup ORACLE environment as follows
Login as oracle user
Open the file .profile in vi editor
Add the following lines
# Setup ORACLE environment
ORACLE_HOME=/opt/oracle/product/9.2.0; export ORACLE_HOME
ORACLE_SID=TYP2; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
TNS_ADMIN=/export/home/oracle/config/9.2.0; export TNS_ADMIN
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/openwin/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/dt/lib:/usr/ucblib:/usr/local/lib
export LD_LIBRARY_PATH
# Set up the search paths:
PATH=/bin:/usr/bin:/usr/sbin:/opt/bin:/usr/ccs/bin:/opt/local/GNU/bin
PATH=$PATH:/opt/local/bin:/opt/NSCPnav/bin:$ORACLE_HOME/bin
PATH=$PATH:/usr/local/samba/bin:/usr/ucb:.
export PATH
# CLASSPATH must include the following JRE location(s):
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
Setting up DisplayParamters
$ DISPLAY=
$ export DISPLAY




















No comments:
Post a Comment