Escolar Documentos
Profissional Documentos
Cultura Documentos
2
Overview: The following instructions will install Oracle11g Release 2 version 11.2.0.2 in your local C:\oracle\11.2.0.2 directory and create a new database instance O11gR202. NOTE: [For Windows 7, set User Account Control to "Never Notify", go to <Control Panel><User Accounts><User Account Settings> and adjust the slider bar to "Never notify". Additionally go to <All Programs><Accessories> and right click on <Command Prompt> and open selecting <run as administrator>.]
Edit and create the file C:\oracle\11.2.0.2\network\admin\tnsnames.ora and add the following entry: O11gR202 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = <name of your machine>)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = O11gR202) ) )
Hyderabad Locations:
Using Windows File Explorer>Tools>Map Network Drive, map to your machine as the local I:\ disk drive. You must map the share as I:\ as the installation scripts reference the drive.
1. Stop all the oracle services from Start->Control Panel -> Administrative Tools -> Services (services under the name oracle*). 2. Run the installer.
Run the installer by double clicking setup.exe from the above location depending upon 32bit/64bit machine.
De-select I wish to receive the security updates and then click next
Click yes
Click next
Modify Oracle Base and Oracle Home paths accordingly and then click next In this case ORACLE_HOME and ORACLE_BASE is ORACLE_HOME = D:\oracle\product\11.2.0.2\dbhome_1 ORACLE_BASE= D:\oracle
Click Install
Click close 3. Database creation (Follow the below steps to create the database if you are CoE user.
Others can refer to database base creation steps mentioned at the beginning of the page.
Set the following in the environment variables. Modify ORACLE_HOME and ORACLE_BASE paths accordingly. In this case ORACLE_HOME and ORACLE_BASE is ORACLE_HOME = D:\oracle\product\11.2.0.2\dbhome_1 ORACLE_BASE= D:\oracle Next open the file sqlnet.ora present in the location %ORACLE_HOME%\network\admin When opened the file contains the value NTS. Change it to NONE and save it. Copy the scripts folder to %ORACLE_HOME% from the following location. \\in1prdfs01\Apps\Oracle\Oracle 11.2.0.2\11202scripts Right click on CMD and select "run as administrator" and execute o11gr202.bat file. Oracle has
added enhanced security to the CREATE DATABASE command and you will be prompted to "Enter password for SYS:". Please type and enter "O11gR202". Please use "O11gR202" as the password as it will be important and required for database maintainace and administration.
4. Create the listener for Oracle 11202 and register the database to it.
Open Start -> Programs-> Oracle-OraDb11g_home1->Configuration and Migration Tools->Net Manager
In the Net Manager window expand the tree item Local, which has Service Naming and Listeners. Click on the Green + icon on the left side of the window to add a listener.
In the empty screen, click on Add Address button at the bottom of the window. This will add Address1 tab in the window, as following:
Enter your system name as Host, Port value would be default i.e 1521.Click on the drop down at the top which has Listening Locations select and select Database Services.
Enter the following values in the Textboxes: Global Database Name: o11gr202 Oracle Home Directory: D:\oracle\product\11.2.0.2\dbhome_1 SID : o11gr202
Click on the Green + icon on the left side of the window to add new Service.
In the next window type in the host name as the name of your machine and leave the port number default that is 1521. Click Next
Type in Service Name o11gr202 in the next screen and click Next.
If you click on Test button, the test will fail because scott/tiger user is not created in our database. Even after changing it to the system/manager it may fail as the Listener is not started.
Now Click on File menu and click on Save Network Configuration 5. Run the listener.
Open up command prompt, browse D:\oracle\product\11.1.0\db_1\bin Type lsnrctl start
Check Start->Control Panel -> Administrative Tools ->Services, you will see OracleOraDbR2_home1TNSListener running.
6.
Auto maintenance jobs in the new database are disabled as part of the create script process. SQL>EXECUTE DBMS_AUTO_TASK_ADMIN.disable();
Pre-11g Security Oracle11g has new default security settings. Usernames and passwords are case sensitive and user accounts lock after 3 failed attempts. These feature have been disabled and reverted back to Pre-11g settings. The following are included as part of the database create scripts.
SQL>ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE scope = both; SQL>ALTER PROFILE "DEFAULT" LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED PASSWORD_LOCK_TIME UNLIMITED PASSWORD_GRACE_TIME UNLIMITED PASSWORD_LIFE_TIME UNLIMITED ;