Oracle 10.2.0.3 Patchset Install

advertisement
Oracle 10.2.0.3 Installation on Windows XP Service Pack 2
Table of Contents
Table of Contents ................................................................................................................ 1
Oracle 10.2.0.1 DB Base Install...................................................................................... 1
Oracle 10.2.0.3 Patchset Install (DB $ORACLE_HOME)........................................... 10
Create 10.2.0.3 DB (sandbox)....................................................................................... 18
Oracle 10.2.0.1 Companion Base Install (HTTP Server) ............................................. 45
Oracle 10.2.0.3 Patchset Install (HTTP Server $ORACLE_HOME) ........................... 61
Post Installation Configuration ..................................................................................... 67
create_user.script .......................................................................................................... 70
How to Create a Database Access Descriptor (DAD) on the HTTP Server ................. 72
How to Start / Stop / Restart the HTTP Server ............................................................. 73
Oracle 10.2.0.1 DB Base Install
..\..\10201_database_win32\database\setup.exe
Click Advanced Installation
Click Next
1
Click Next
2
Click Next
3
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Failed <<<<
Problem: The install has detected that the primary IP address of the system is DHCPassigned.
Recommendation: Oracle supports installations on systems with DHCP-assigned IP
addresses; However, before you can do this, you must configure the Microsoft LoopBack
Adapter to be the primary network adapter on the system. See the Installation Guide for
more details on installing the software on systems configured with DHCP.
<< IGNORE >>
4
Click Next
5
Click Install
6
Monitor progress…
7
Your database configuration files have been installed in C:\oracle\product\db while other
components selected for installation have been installed in C:\oracle\product\db\10.2.0.
Be cautious not to accidentally delete these configuration files.
The iSQL*Plus URL is:
http://BHANLEY-RENAME.CORPORATE.ercot.com:5560/isqlplus
The iSQL*Plus DBA URL is:
http://BHANLEY-RENAME.CORPORATE.ercot.com:5560/isqlplus/dba
Click Exit
8
Click Yes
Done!!
9
Oracle 10.2.0.3 Patchset Install (DB $ORACLE_HOME)
Download the RDBMS Server 10.2.0.3 patch for METALINK
Unzip p5337014_10203_WINNT.zip
..\..\p5337014_10203_WINNT\Disk1\setup.exe
10
Click Next
11
Click Next
12
Click Install
13
Monitor progress…
14
Monitor progress…
15
Enterprise Manager Database Control URL - (sandbox) :
http://BHANLEY-RENAME.CORPORATE.ercot.com:1158/em
Your database configuration files have been installed in C:\oracle\product\db while other
components selected for installation have been installed in C:\oracle\product\db\10.2.0.
Be cautious not to accidentally delete these configuration files.
The iSQL*Plus URL is:
http://BHANLEY-RENAME.CORPORATE.ercot.com:5560/isqlplus
The iSQL*Plus DBA URL is:
http://BHANLEY-RENAME.CORPORATE.ercot.com:5560/isqlplus/dba
Click Exit
16
Click Yes
Done!!
17
Create 10.2.0.3 DB (sandbox)
Run the DBCA (Database Configuration Assistant)
18
Click Next
19
Click Next
20
Click Next
21
Click Next
22
Click Next
Password: sandb0x!
23
Click Next
24
Click Next
25
Click Next
26
Click Next
27
Click Next
28
Click Next
29
Click Finish
30
Click OK
31
Monitor progress…
Click Exit
32
Run the Net Configuration Assistant
Click Next
Click Add
33
Click Next
Click Next
34
Click Next
Click Next
35
Click Next
Click Next
36
Click Next
Click Next
37
Click Next
Click Next
38
Click Next
Click Change Login
39
Click OK
Click Next
40
Click Next
Click Next
41
Click Next
Click Cancel
42
Click Yes
Manually add the service name (highlighted below in yellow) to the default LISTENER:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\db\10.2.0)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = sandbox)
(SID_NAME = sandbox)
(ORACLE_HOME = C:\oracle\product\db\10.2.0)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = BHANLEYRENAME.CORPORATE.ercot.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
43
Add System Environment Variable for TNS_ADMIN
Done!!
44
Oracle 10.2.0.1 Companion Base Install (HTTP Server)
..\..\10201_companion_win32\companion\setup.exe
Click Next
45
Click Next
46
Click Next
47
Click Next
48
Click Next
49
Click Install
50
Monitor progress…
51
Monitor progress…
52
The following information is available in:
C:\oracle\product\http\10.2.0\install\setupinfo.txt
----------------------------------------Use the following URL to access the Oracle HTTP Server and the Welcome Page:
http://BHANLEY-RENAME.CORPORATE.ercot.com:7777
-----------------------------------------
Click Exit
53
Click Yes
54
..\..\p5337014_10203_WINNT\Disk1\setup.exe
Click Next
55
Click Next
56
Click Install
57
Monitor progress…
58
The following information is available in:
C:\oracle\product\htmldb\10.2.0\install\setupinfo.txt
----------------------------------------Use the following URL to access the Oracle HTTP Server and the Welcome Page:
http://BHANLEY-RENAME.CORPORATE.ercot.com:7777
----------------------------------------Click Exit
59
Click Yes
Done!!
60
Oracle 10.2.0.3 Patchset Install (HTTP Server $ORACLE_HOME)
Unzip p5337014_10203_WINNT.zip
..\..\p5337014_10203_WINNT\Disk1\setup.exe
Click Next
61
Click Next
62
Click Install
63
Monitor progress…
64
The following information is available in:
C:\oracle\product\http\10.2.0\install\setupinfo.txt
----------------------------------------Use the following URL to access the Oracle HTTP Server and the Welcome Page:
http://BHANLEY-RENAME.CORPORATE.ercot.com:7777
----------------------------------------Click Exit
65
Yes
Verify Oracle HTTP Server is working…
Done!!
66
Post Installation Configuration
Set the follow system variables…
Click Environment Variables
67
Edit the following variables…
C:\oracle\product\db\10.2.0
68
C:\oracle\product\db\10.2.0\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRo
ot%\System32\Wbem;C:\PROGRA~1\SecureFX;C:\Program
Files\SecureCRT\;C:\Program Files\UltraEdit\;%HummPATH11%
**This should be the only $ORACLE_HOME in the $PATH
C:\oracle\product\db\10.2.0\NETWORK\ADMIN
69
create_user.script
clear
host cls
doc
/**************************************************************************
NAME:
create_user.script
PURPOSE:
This script creates a user/schema in the specified database.
It also creates a data and index tablespace for the
user/schema.
NOTE #1:
The script assumes the database is using Oracle-Managed
Files (OMF) - in order to automate data file creation for
tablespaces.
**************************************************************************/
#
set
set
set
set
set
set
verify off
echo off
feedback off
pagesize 0
linesize 32767
trimspool on
prompt
accept
'
prompt
accept
prompt
accept
prompt
accept
prompt
v_database char default 'sandbox' prompt 'Enter the database (Default = sandbox):
v_system_passwd char prompt 'Enter the system password: '
v_user char prompt 'Enter the user/schema you want to create: '
v_user_passwd char prompt 'Enter the user/schema password: '
conn system/&&v_system_passwd@&&v_database
spool create_user-&&v_user..log
set echo on feedback on
CREATE TABLESPACE &&v_user._data
DATAFILE SIZE 5M AUTOEXTEND ON NEXT 1280K MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL AUTOALLOCATE
LOGGING
ONLINE
SEGMENT SPACE MANAGEMENT AUTO
/
CREATE TABLESPACE &&v_user._indx
DATAFILE SIZE 5M AUTOEXTEND ON NEXT 1280K MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL AUTOALLOCATE
LOGGING
ONLINE
SEGMENT SPACE MANAGEMENT AUTO
/
CREATE USER &&v_user IDENTIFIED BY "&&v_user_passwd"
DEFAULT TABLESPACE &&v_user._data
TEMPORARY TABLESPACE TEMP
PROFILE DEFAULT
ACCOUNT UNLOCK
/
GRANT "CONNECT" TO &&v_user
/
GRANT "RESOURCE" TO &&v_user
/
GRANT SELECT_CATALOG_ROLE TO &&v_user
/
ALTER USER &&v_user DEFAULT ROLE "CONNECT",
"RESOURCE",
SELECT_CATALOG_ROLE
/
GRANT CREATE DATABASE LINK TO &&v_user
/
GRANT CREATE DIMENSION TO &&v_user
/
70
GRANT CREATE MATERIALIZED VIEW TO &&v_user
/
GRANT CREATE SYNONYM TO &&v_user
/
GRANT CREATE VIEW TO &&v_user
/
spool off
71
How to Create a Database Access Descriptor (DAD) on the HTTP Server
Refer to the following links below…
HTTP Server Administrator's Guide:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14190/toc.htm
HTTP Server mod_plsql User's Guide:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14337/toc.htm
mod_plsql – Creating a DAD:
http://downloadeast.oracle.com/docs/cd/B19306_01/server.102/b14190/confmods.htm#sthref550
72
How to Start / Stop / Restart the HTTP Server
Refer to the link below…
http://downloadeast.oracle.com/docs/cd/B19306_01/server.102/b14190/overview.htm#sthref39
On windows you can use the Start Menu => Programs => Oracle Application Server OraHttp10gR2 => Oracle HTTP Server => Start HTTP Server & Stop HTTP Server
73
…or by executing the following commands:
C:\oracle\product\http\10.2.0\opmn\bin\opmnctl.exe stopproc ias-component=HTTP_Server
C:\oracle\product\http\10.2.0\opmn\bin\opmnctl.exe startproc ias-component=HTTP_Server
C:\oracle\product\http\10.2.0\opmn\bin\opmnctl.exe restartproc ias-component=HTTP_Server
74
Download