SlideShare a Scribd company logo
1 of 45
LECTURE -1
INSTALL ATION &
UNINSTALL ATION
ORACLE
L e c t u r e D e l i v e r e d B y :
S h u b h a m S h u k l a
( A s s i s t a n t P r o f e s s o r )
( D e p a r t m e n t o f I T , G . L . B a j a j I n s t i t u t e o f T e c h n o l o g y & M a n a g e m e n t , G r . N o i d a )
INSTALLATION
• Purpose:
Installation of the Oracle Database 12c Release-1 software on Microsoft Windows.
• Hardware and Software Requirements:
i. Minimum 2 GB of physical memory
ii. Sufficient virtual memory (swap)
iii. At least 10 GB of free disk space
• Prerequisites
i. Have access to the Oracle Database 12c distribution media, or have an internet
connection so that you can download the software
ii. Have general knowledge of product installation
DOWNLOADING THE ORACLE SOFTWARE
• Step1. open link
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
Step2- Accept the OTN License Agreement
Step3- Move to Oracle Database 12c Release 1
Step4- Download Enterprise edition 12.1.0.2.0
i. It will open login window –
If have credentials already then login otherwise click on signup to create account with oracle (Its only for update and
authentication purpose no money will be charged for it).
ii. After login it will start downloading.
iii. Download both File 1 and File 2
Step4- Create a new folder lets name it ‘Oracle’ on your drive (lets its E drive) and paste both downloaded zip file on oracle
folder. Now
I. Extract winx64_12102_database_1of2
II. Extract winx64_12102_database_2of2
Step5- Both file will be unzipped under database folder.
Step-6 Open database folder, it will looks like –
Step7- Right click on setup file and run as administrator
• Enter email id and password used during software downloading. (Optional i.e. if you
want to receive updates)
User Name- OracleHomeUser1
Pass: Welcome1
Admin Pass: Oracle_1
Windows alert for java platform block will appear 2 times , allow access for java both times.
INSTALLATION FINISHED, CLOSE SETUP
CHECKING SQL PLUS
• Window -> Search-> SQL Plus-> Enter
LOGIN
Enter user-name: OracleHomeUser1 as sysdba
Password: Welcome1
Note: Use Username and password that you defined during installation phase.
Now You are ready to work on Oracle i.e. start execution of SQL commands
UNINSTALLATION
Manual Approach
Step 1: Delete Environment Variable.
Right Click your Computer Icons and Select “Properties”. Then from the left hand side
panel of the System Properties Windows Select “Advance System Settings”. This will
open up “System Properties” Windows.
Inside the “System Properties” Windows go to “Advance” Tab and select “Environment
Variable”
On the “Environment Variable” Window inside the “System Variable Section” Find entry
with the name “Path”, then double click and open it. Doing so will open up an “Edit
System Variable” dialogue box. On that dialogue box under the “Variable value field”
your Oracle Home entry and Delete it.
Step 2: Delete Registries
Press Win Key + R --> Run Dialouge Box
Write regedit in text box.
1. Now first we have to delete the “Oracle Software” Registry. To access this registry first go to
HKEY_LOCAL_MACHINE and then go to sub directory SOFTWARE. Under the software – search for
directory “Oracle”. Once you have reached this directory, right click and Delete it.
HKEY_LOCAL_MACHINE --> SOFTWARE --> ORACLE
2. To access these registries first go to HKEY_LOCAL_MACHINE and then go to sub directory “Systems”
then “CurrentControlSet” and then “Services”. Under the Services directory you have to find all the
Registries which are responsible for your oracle database services. If Oracle Database 12c is the only
product from Oracle that is installed on your system then search for all the registries whose names start
with Oracle and Delete them. If you have other products from Oracle installed on your system then be
careful and delete accordingly. In the screenshot below you can see some general Oracle Service
Registries.
HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → SERVICES
• Step 3: Restart your system.
• Next you have to restart your system so that your operating system can blend in all the settings
we just altered.
• Step 4: Delete the Oracle Home Directory
• An Oracle home is a directory into which all Oracle software is installed. Once you have deleted all
registries of oracle database 12c you are free to delete oracle home directory from your system. In
order to delete Oracle Home open up your computer and go to your C drive as well as any other
where you have installed your oracle database 12c. Now go to APP directory then to the directory
your username here select all the files and delete them. If you want to save backups then do not
delete flash_recovery_area.
If in case your folder is not getting deleted then don’t worry. First try to refresh your system or you
also reboot the system then try deleting again. If it is still not deleting then re-check the services and
registries and see whether you have deleted all the oracle registries or not. If not then delete those
that are still left and then try deleting the Oracle database folder again.
In case not able to delete run cmd as administrator and run rmdir app /s command to delete it.
•
• Step 5: Delete Directory from Program File
• Next go to your program file directory and search for folder with the name Oracle. I have
one here and then delete it.
• Step 6: Delete Directory from Start Menu.
• Next you have to delete the directory from start menu. For that go to
“C:ProgramDataMicrosoftWindowsStart MenuPrograms” and here search for
Oracle Folder and delete it.
• Step 7: Clear the Temporary files and Recycle bin
• Again open your Run dialogue box and write %temp% this will open the temporary
folder and here delete all the files. Next come to your desktop and empty your
bin.
• Step 8: Delete the Oracle user
• Next and the last step is to delete the oracle home user which we created during the installation of the oracle database. In
order to do so, right click “Computer Icon” and select “Manage”. Inside the computer management window click “Local
Groups” and then click and open “Users” folders. From the list of the user you can delete the ones which you have
as an oracle home user during the installation. Then select Right click and Select Delete.
• For window 10 type computer management and open it, I have shown it below:
• Now oracle is completely uninstalled from your system.
ANOTHER METHOD (Oracle Universal Installer based)
Run oracle Universal Installer
• Click the Deinstall Products button.
• The Inventory window appears.
• Select the Oracle home you wish to remove. Expand the tree of installed components
only if you want to remove selected components of an Oracle home.
• For example, if you installed Oracle Database Client with the Runtime option and later
installed additional components with the Custom option, then expand the Oracle
home component to display all the components installed in the Oracle home.
• Check the boxes of components to remove.
• Click Remove.
• The Confirmation window appears.
• Click Yes to remove the selected components.
• Note:
• A message may appear indicating that removing some components may cause other
components to not function properly.
• After the components are removed from your computer, the Inventory window
appears without the removed components.
• Click Close to close the Inventory window.
• Click Cancel to exit Oracle Universal Installer.
• Click Yes to confirm that you want to exit.
• After Oracle Universal Installer exits, go to the next section to remove the remaining
Oracle Database Client components.
• Then restart the computer.
THANK YOU
• In case you face any problem in any step please email me on the emailed with the detailed problem including snapshot
of problem.

More Related Content

Similar to Lecture 1 sql {installation & uninstallation}

Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linuxInstalling 12c R1 database on oracle linux
Installing 12c R1 database on oracle linuxAnar Godjaev
 
Software Distribution
Software DistributionSoftware Distribution
Software DistributionDell World
 
First To Oracle 11g release 2
First To Oracle 11g release 2First To Oracle 11g release 2
First To Oracle 11g release 2Chhom Karath
 
Installation of oracle
Installation of oracleInstallation of oracle
Installation of oracleRamanRai18
 
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)yoonus ch
 
How to Make Your Windows 8 and 8.1 to Run Faster?
How to Make Your Windows 8 and 8.1 to Run Faster?How to Make Your Windows 8 and 8.1 to Run Faster?
How to Make Your Windows 8 and 8.1 to Run Faster?Bella882
 
patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack David McNish
 
Linux VMWare image with Informatica , Oracle and Rundeck scheduler
Linux VMWare image with Informatica , Oracle and Rundeck schedulerLinux VMWare image with Informatica , Oracle and Rundeck scheduler
Linux VMWare image with Informatica , Oracle and Rundeck schedulerpcherukumalla
 
Oracle_Retail_Xstore_Suite_Install.pdf
Oracle_Retail_Xstore_Suite_Install.pdfOracle_Retail_Xstore_Suite_Install.pdf
Oracle_Retail_Xstore_Suite_Install.pdfvamshikkrishna1
 
My sql on linux
My sql on linuxMy sql on linux
My sql on linuxkjwunderle
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Yury Velikanov
 
Oracle 12cR2 Installation On Oracle Linux 7
Oracle 12cR2 Installation On Oracle Linux 7Oracle 12cR2 Installation On Oracle Linux 7
Oracle 12cR2 Installation On Oracle Linux 7Arun Sharma
 
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Taoufik AIT HSAIN
 
Obia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platformObia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platformSheikh Zakirulla
 
Oracle Audit vault
Oracle Audit vaultOracle Audit vault
Oracle Audit vaultuzzal basak
 
Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7bupbechanhgmail
 

Similar to Lecture 1 sql {installation & uninstallation} (20)

Windows 10 Error 1603
Windows 10 Error 1603Windows 10 Error 1603
Windows 10 Error 1603
 
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linuxInstalling 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
 
Oracle install
Oracle installOracle install
Oracle install
 
Software Distribution
Software DistributionSoftware Distribution
Software Distribution
 
First To Oracle 11g release 2
First To Oracle 11g release 2First To Oracle 11g release 2
First To Oracle 11g release 2
 
Installation of oracle
Installation of oracleInstallation of oracle
Installation of oracle
 
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
 
Xp trick
Xp trickXp trick
Xp trick
 
How to Make Your Windows 8 and 8.1 to Run Faster?
How to Make Your Windows 8 and 8.1 to Run Faster?How to Make Your Windows 8 and 8.1 to Run Faster?
How to Make Your Windows 8 and 8.1 to Run Faster?
 
patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack
 
Linux VMWare image with Informatica , Oracle and Rundeck scheduler
Linux VMWare image with Informatica , Oracle and Rundeck schedulerLinux VMWare image with Informatica , Oracle and Rundeck scheduler
Linux VMWare image with Informatica , Oracle and Rundeck scheduler
 
Oracle_Retail_Xstore_Suite_Install.pdf
Oracle_Retail_Xstore_Suite_Install.pdfOracle_Retail_Xstore_Suite_Install.pdf
Oracle_Retail_Xstore_Suite_Install.pdf
 
My sql on linux
My sql on linuxMy sql on linux
My sql on linux
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
 
Oracle 12cR2 Installation On Oracle Linux 7
Oracle 12cR2 Installation On Oracle Linux 7Oracle 12cR2 Installation On Oracle Linux 7
Oracle 12cR2 Installation On Oracle Linux 7
 
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
 
Obia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platformObia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platform
 
Java part 1
Java part 1Java part 1
Java part 1
 
Oracle Audit vault
Oracle Audit vaultOracle Audit vault
Oracle Audit vault
 
Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7
 

More from Shubham Shukla

Floyd warshall algo {dynamic approach}
Floyd warshall algo {dynamic approach}Floyd warshall algo {dynamic approach}
Floyd warshall algo {dynamic approach}Shubham Shukla
 
Skip lists (Advance Data structure)
Skip lists (Advance Data structure)Skip lists (Advance Data structure)
Skip lists (Advance Data structure)Shubham Shukla
 
Lecture 4 sql {basics keys and constraints}
Lecture 4 sql {basics  keys and constraints}Lecture 4 sql {basics  keys and constraints}
Lecture 4 sql {basics keys and constraints}Shubham Shukla
 
Lecture 3 sql {basics ddl commands}
Lecture 3 sql {basics  ddl commands}Lecture 3 sql {basics  ddl commands}
Lecture 3 sql {basics ddl commands}Shubham Shukla
 
Lecture 2 sql {basics date type, constrains , integrity types etc.}
Lecture 2 sql {basics  date type, constrains , integrity types etc.}Lecture 2 sql {basics  date type, constrains , integrity types etc.}
Lecture 2 sql {basics date type, constrains , integrity types etc.}Shubham Shukla
 

More from Shubham Shukla (6)

Tries
TriesTries
Tries
 
Floyd warshall algo {dynamic approach}
Floyd warshall algo {dynamic approach}Floyd warshall algo {dynamic approach}
Floyd warshall algo {dynamic approach}
 
Skip lists (Advance Data structure)
Skip lists (Advance Data structure)Skip lists (Advance Data structure)
Skip lists (Advance Data structure)
 
Lecture 4 sql {basics keys and constraints}
Lecture 4 sql {basics  keys and constraints}Lecture 4 sql {basics  keys and constraints}
Lecture 4 sql {basics keys and constraints}
 
Lecture 3 sql {basics ddl commands}
Lecture 3 sql {basics  ddl commands}Lecture 3 sql {basics  ddl commands}
Lecture 3 sql {basics ddl commands}
 
Lecture 2 sql {basics date type, constrains , integrity types etc.}
Lecture 2 sql {basics  date type, constrains , integrity types etc.}Lecture 2 sql {basics  date type, constrains , integrity types etc.}
Lecture 2 sql {basics date type, constrains , integrity types etc.}
 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 

Lecture 1 sql {installation & uninstallation}

  • 1. LECTURE -1 INSTALL ATION & UNINSTALL ATION ORACLE L e c t u r e D e l i v e r e d B y : S h u b h a m S h u k l a ( A s s i s t a n t P r o f e s s o r ) ( D e p a r t m e n t o f I T , G . L . B a j a j I n s t i t u t e o f T e c h n o l o g y & M a n a g e m e n t , G r . N o i d a )
  • 2. INSTALLATION • Purpose: Installation of the Oracle Database 12c Release-1 software on Microsoft Windows. • Hardware and Software Requirements: i. Minimum 2 GB of physical memory ii. Sufficient virtual memory (swap) iii. At least 10 GB of free disk space • Prerequisites i. Have access to the Oracle Database 12c distribution media, or have an internet connection so that you can download the software ii. Have general knowledge of product installation
  • 3. DOWNLOADING THE ORACLE SOFTWARE • Step1. open link http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html Step2- Accept the OTN License Agreement Step3- Move to Oracle Database 12c Release 1 Step4- Download Enterprise edition 12.1.0.2.0 i. It will open login window –
  • 4. If have credentials already then login otherwise click on signup to create account with oracle (Its only for update and authentication purpose no money will be charged for it). ii. After login it will start downloading. iii. Download both File 1 and File 2 Step4- Create a new folder lets name it ‘Oracle’ on your drive (lets its E drive) and paste both downloaded zip file on oracle folder. Now I. Extract winx64_12102_database_1of2 II. Extract winx64_12102_database_2of2
  • 5.
  • 6. Step5- Both file will be unzipped under database folder. Step-6 Open database folder, it will looks like –
  • 7. Step7- Right click on setup file and run as administrator
  • 8.
  • 9. • Enter email id and password used during software downloading. (Optional i.e. if you want to receive updates)
  • 10.
  • 11.
  • 14.
  • 15.
  • 16.
  • 17. Windows alert for java platform block will appear 2 times , allow access for java both times.
  • 18.
  • 19.
  • 21. CHECKING SQL PLUS • Window -> Search-> SQL Plus-> Enter
  • 22. LOGIN Enter user-name: OracleHomeUser1 as sysdba Password: Welcome1 Note: Use Username and password that you defined during installation phase. Now You are ready to work on Oracle i.e. start execution of SQL commands
  • 23. UNINSTALLATION Manual Approach Step 1: Delete Environment Variable. Right Click your Computer Icons and Select “Properties”. Then from the left hand side panel of the System Properties Windows Select “Advance System Settings”. This will open up “System Properties” Windows. Inside the “System Properties” Windows go to “Advance” Tab and select “Environment Variable” On the “Environment Variable” Window inside the “System Variable Section” Find entry with the name “Path”, then double click and open it. Doing so will open up an “Edit System Variable” dialogue box. On that dialogue box under the “Variable value field” your Oracle Home entry and Delete it.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. Step 2: Delete Registries Press Win Key + R --> Run Dialouge Box Write regedit in text box.
  • 31.
  • 32. 1. Now first we have to delete the “Oracle Software” Registry. To access this registry first go to HKEY_LOCAL_MACHINE and then go to sub directory SOFTWARE. Under the software – search for directory “Oracle”. Once you have reached this directory, right click and Delete it. HKEY_LOCAL_MACHINE --> SOFTWARE --> ORACLE 2. To access these registries first go to HKEY_LOCAL_MACHINE and then go to sub directory “Systems” then “CurrentControlSet” and then “Services”. Under the Services directory you have to find all the Registries which are responsible for your oracle database services. If Oracle Database 12c is the only product from Oracle that is installed on your system then search for all the registries whose names start with Oracle and Delete them. If you have other products from Oracle installed on your system then be careful and delete accordingly. In the screenshot below you can see some general Oracle Service Registries. HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → SERVICES
  • 33.
  • 34. • Step 3: Restart your system. • Next you have to restart your system so that your operating system can blend in all the settings we just altered. • Step 4: Delete the Oracle Home Directory • An Oracle home is a directory into which all Oracle software is installed. Once you have deleted all registries of oracle database 12c you are free to delete oracle home directory from your system. In order to delete Oracle Home open up your computer and go to your C drive as well as any other where you have installed your oracle database 12c. Now go to APP directory then to the directory your username here select all the files and delete them. If you want to save backups then do not delete flash_recovery_area. If in case your folder is not getting deleted then don’t worry. First try to refresh your system or you also reboot the system then try deleting again. If it is still not deleting then re-check the services and registries and see whether you have deleted all the oracle registries or not. If not then delete those that are still left and then try deleting the Oracle database folder again. In case not able to delete run cmd as administrator and run rmdir app /s command to delete it. •
  • 35. • Step 5: Delete Directory from Program File • Next go to your program file directory and search for folder with the name Oracle. I have one here and then delete it.
  • 36.
  • 37. • Step 6: Delete Directory from Start Menu. • Next you have to delete the directory from start menu. For that go to “C:ProgramDataMicrosoftWindowsStart MenuPrograms” and here search for Oracle Folder and delete it.
  • 38. • Step 7: Clear the Temporary files and Recycle bin • Again open your Run dialogue box and write %temp% this will open the temporary folder and here delete all the files. Next come to your desktop and empty your bin.
  • 39. • Step 8: Delete the Oracle user • Next and the last step is to delete the oracle home user which we created during the installation of the oracle database. In order to do so, right click “Computer Icon” and select “Manage”. Inside the computer management window click “Local Groups” and then click and open “Users” folders. From the list of the user you can delete the ones which you have as an oracle home user during the installation. Then select Right click and Select Delete. • For window 10 type computer management and open it, I have shown it below: • Now oracle is completely uninstalled from your system.
  • 40. ANOTHER METHOD (Oracle Universal Installer based) Run oracle Universal Installer
  • 41.
  • 42. • Click the Deinstall Products button. • The Inventory window appears. • Select the Oracle home you wish to remove. Expand the tree of installed components only if you want to remove selected components of an Oracle home. • For example, if you installed Oracle Database Client with the Runtime option and later installed additional components with the Custom option, then expand the Oracle home component to display all the components installed in the Oracle home. • Check the boxes of components to remove. • Click Remove. • The Confirmation window appears. • Click Yes to remove the selected components.
  • 43.
  • 44. • Note: • A message may appear indicating that removing some components may cause other components to not function properly. • After the components are removed from your computer, the Inventory window appears without the removed components. • Click Close to close the Inventory window. • Click Cancel to exit Oracle Universal Installer. • Click Yes to confirm that you want to exit. • After Oracle Universal Installer exits, go to the next section to remove the remaining Oracle Database Client components. • Then restart the computer.
  • 45. THANK YOU • In case you face any problem in any step please email me on the emailed with the detailed problem including snapshot of problem.