Sei sulla pagina 1di 16

Implementation

Manual
Installing Oracle 11g

Installing Oracle 11g Database

Prerequisites
The prerequisites for installing Oracle 11g are:
Operating System: Windows XP/w7/w8 32bit/64bit
Disk Space: 10 GB Free
Physical Memory: 1 GB Free
OS User Account: Administrator
To install the Oracle 11g database, you need to perform the following steps:
1. Double-click setup.exe. The Oracle Universal Installer window is displayed, as shown in the
following figure.

The Oracle Universal Installer Window

Note
If the User Account Control dialog box is displayed, click the Yes button.

NIIT Implementation Manual I.3


2. After a few seconds, the Oracle Database 11g Release 2 Installer dialog box is displayed, as shown in
the following figure.

The Oracle Database 11g Release 2 Installer Dialog Box


3. Click the Yes button.

Note
If the system meets the minimum requirements, the Oracle Database 11g Release 2
Installer dialog box does not appear.

4. Once the universal installer is launched, the splash screen is displayed, as shown in the following figure.

The Splash Screen

I.4 Implementation Manual NIIT


After the splash screen disappears, the Oracle Database 11g Release 2 Installer Installing database
Step 1 of 9 window is displayed, as shown in the following figure.

The Oracle Database 11g Release 2 Installer Installing database Step 1 of 9 Window
5. Clear the I wish to receive security updates via My Oracle Support check box, and then click the
Next button.
6. The Email Address Not Specified dialog box is displayed, as shown in the following figure.

The Email Address Not Specified Dialog Box

NIIT Implementation Manual I.5


7. Click the Yes button. The Oracle Database 11g Release 2 Installer Installing database Step 2 of 9
window is displayed, as shown in the following figure.

The Oracle Database 11g Release 2 Installer Installing database Step 2 of 9 Window
8. Ensure that the Create and configure database option is selected, and then click the Next button. The
Oracle Database 11g Release 2 Installer Installing database Step 3 of 8 window is displayed, as
shown in the following figure.

The Oracle Database 11g Release 2 Installer Installing database Step 3 of 8 Window

I.6 Implementation Manual NIIT


9. Select the Server Class option, and then click the Next button. The Oracle Database 11g Release 2
Installer Installing database Step 4 of 10 window is displayed, as shown in the following figure.

The Oracle Database 11g Release 2 Installer Installing database Step 4 of 10 Window
10. Ensure that the Single instance database installation option is selected.
11. Click the Next button. The Oracle Database 11g Release 2 Installer Installing database Step 5 of
10 window is displayed, as shown in the following figure.

The Oracle Database 11g Release 2 Installer Installing database Step 5 of 10 Window

NIIT Implementation Manual I.7


12. Ensure that the Typical install option is selected.
13. Click the Next button. The Oracle Database 11g Release 2 Installer Installing database Step 6 of
10 window is displayed, as shown in the following figure.

The Oracle Database 11g Release 2 Installer Installing database Step 6 of 10 Window
14. Replace the existing text with orcl1 in the Global database name text box.
15. Type oracle in the Administrative password text box.
16. Type oracle in the Confirm Password text box.
17. Click the Next button. The Oracle Database 11g Release 2 Installer dialog box is displayed, as shown
in the following figure.

The Oracle Database 11g Release 2 Installer Dialog Box

I.8 Implementation Manual NIIT


18. Click the Yes button. The Oracle Database 11g Release 2 Installer Installing database Step 8 of
10 window is displayed, as shown in the following figure.

Note
If the Oracle Database 11g Release 2 Installer Installing database Step 7 of 10
window is displayed, ensure that the Ignore All check box is selected, and then click
the Next button.

The Oracle Database 11g Release 2 Installer Installing database Step 8 of 10 Window

NIIT Implementation Manual I.9


19. Click the Finish button. The Oracle Database 11g Release 2 Installer Installing database Step 9
of 10 window is displayed, as shown in the following figure.

The Oracle Database 11g Release 2 Installer Installing database Step 9 of 10 Window
After a few minutes, the Database Configuration Assistant window is displayed.
20. Once the database installation completes, the Database Configuration Assistant dialog box that shows
the completion status of the database installation is displayed.
21. Click the Password Management button. The Password Management dialog box is displayed.
22. Unlock the user, HR, and then click the OK button to close the Password Management dialog box.
23. Click the OK button to close the Database Configuration Assistant dialog box.
24. Click the Close button.

Checking the Connectivity


To check the connectivity, you need to perform the following steps:
1. Press the Windows logo key. The Start screen is displayed.
2. Type services.msc, and then press the Enter key. The Services window is displayed.
3. Ensure that the following services are in the Running state in the Status column:
a. OracleOraDb11g_home1TNSListener
b. OracleServiceORCL1

I.10 Implementation Manual NIIT


Note
In case the OracleOraDb11g_home1TNSListener and OracleServiceORCL1 services
are not in the Running state, then right-click the services and select the Start option.

4. Close the Services window.


5. Press the Windows logo key. The Start screen is displayed.
6. Type SQL Plus, and then press the Enter key. The SQL Plus window is displayed.
7. Type sys as sysdba as user name.
8. Press the Enter key.
9. Type oracle as password, and then press the Enter key.
10. Type the select status from V$instance; command, and then press the Enter key. The status of the
database gets displayed.
11. Type the select username, account_status from dba_users; command, and then press the Enter key.
The name of the available users with their account status gets displayed.
12. Type the alter user <USERNAME> account unlock; command to unlock ACCOUNT_STATUS of
EXPIRED & LOCKED users, and then press the Enter key. The User altered message gets displayed,
as shown in the following figure.

The User altered Message

NIIT Implementation Manual I.11


13. Type the alter user <USERNAME> identified by <PASSWORD>; command to set the password for
the user, and then press the Enter key. The User altered message gets displayed, as shown in the
following figure.

The User altered Message


Similarly, repeat steps 12 and 13 to unlock ACCOUNT_STATUS of EXPIRED & LOCKED users
and to set the password.
14. Close the SQL Plus window.

Installing SQL Developer


If the SQL Developer client tool is not available on the student nodes then, perform the following steps to
install the SQL Developer client tool:
1. Create a folder with the name, SQLDeveloper in the D: drive on the student node.
2. Download SQL Developer from the following site in D:\SQLDeveloper:
http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
3. Install the SQL Developer client tool.
4. Create a new connection with the machine where Oracle 11g is installed:
a. Connection Name: MyConnection
b. Username: scott
c. Password: tiger

Note
Here, <USERNAME> and <PASSWORD> refers to the user name and password
available in the oracle database. For example, you can use the username as scott along
with the password, tiger.

d. Hostname: <IP address of the machine where Oracle 11g is installed>


e. SID: orcl1
5. Test the connection.

I.12 Implementation Manual NIIT


Installing JDeveloper

Note
The steps provided in this topic may differ depending upon the machine configuration.
In case you do not encounter a step while installing the JDeveloper client tool, you can
skip the step and proceed to the next step.

If the JDeveloper client tool of Oracle 10g is not available on the student nodes then, perform the following
steps to install the JDeveloper client tool of Oracle 11g:
1. Create a folder with the name, JDeveloper in the D: drive on the student node.
2. Download Oracle 11g Studio Edition 11.1.2.4.0 for Windows from the following site in D:\JDeveloper:
http://www.oracle.com/technetwork/developer-tools/jdev/downloads/jdev11124download-
1970562.html
3. Double-click jdevstudio11124install.exe to start the application. After a few moments, the Welcome
page of the Oracle Installer - Oracle JDeveloper 11g (11.1.2.4.0) wizard is displayed.

Note
In case the User Account Control dialog box is displayed, click the Yes button.

4. Click the Next button. The Choose Middleware Home Directory page is displayed.
5. Click the Next button. The Choose Install Type page is displayed.
6. Click the Next button. The Choose Product Installation Directories page is displayed.
7. Click the Next button. The Choose Shortcut Location page is displayed.
8. Click the Next button. The Installation Summary page is displayed.
9. Click the Next button. After a few moments, the Installation Complete page is displayed.

NIIT Implementation Manual I.13


10. Click the Done button. The Oracle JDeveloper 11g Release 2 (11.1.2.4.0) Studio - 11.1.2.4 window is
displayed, as shown in the following figure.

The Oracle JDeveloper 11g Release 2 (11.1.2.4.0) Studio - 11.1.2.4 Window


11. Select the Launch Oracle JDeveloper 11g option. After a few moments, the Select Role dialog box is
displayed, as shown in the following figure.

The Select Role Dialog Box

I.14 Implementation Manual NIIT


12. Click the OK button. After a few moments, the Confirm Import Preferences dialog box is displayed,
as shown in the following figure.

The Confirm Import Preferences Dialog Box


13. Click the No button. After a few moments, the Oracle JDeveloper 11g Release 2 window is displayed
with the following dialog boxes:
a. Tip of the Day
b. Oracle Usage Tracking
c. Configure File Type Associations
The preceding dialog boxes may appear in any sequence.
14. Select all the check boxes in the Configure File Type Associations dialog box, as shown in the
following figure, and then click the OK button.

The Configure File Type Associations Dialog Box


NIIT Implementation Manual I.15
15. Click the OK button of the Oracle Usage Tracking dialog box.
16. Clear the Show tips at startup check box in the Tip of the Day dialog box.
17. Close the Tip of the Day dialog box.
18. Select ToolsDatabaseSQL Worksheet. The Select Connection dialog box is displayed.

19. Click the Create a new database connection. button. The Create Database Connection
dialog box is displayed.
20. Type MyConnection in the Connection Name text box.
21. Type <USERNAME> and <PASSWORD> in the Username and Password text boxes.

Note
Here, <USERNAME> and <PASSWORD> refers to the user name and password
available in the oracle database. For example, you can use the username as scott along
with the password, tiger.

22. Type <IP address> of the machine where Oracle 11g is installed in the Hostname text box.
23. Ensure that SID option is selected.
24. Type orcl1 in the SID text box.
25. Click the Test Connection button. After a few moments, the Success! message is displayed.
26. Click the OK button to close the Create Database Connection dialog box.
27. Click the OK button to close the Select Connection dialog box.
Disclaimer: The URLs listed in Implementation Manual have been examined for accuracy and
appropriateness at the time of addition. However, the same cannot be guaranteed over time as websites and
their contents change constantly.

I.16 Implementation Manual NIIT

Potrebbero piacerti anche