当前位置:网站首页>Teach you how to install Oracle 19C on Windows 10 (detailed picture and text with step on pit Guide)
Teach you how to install Oracle 19C on Windows 10 (detailed picture and text with step on pit Guide)
2022-06-27 18:47:00 【Ink Sky Wheel】
Produce 丨 TeacherWhat
Title Map :Oracle 19c Database
keyword :19c、Install、 install 、DBT-50000、 Getting started with databases 、Database
Text about 2500 word , Suggested reading time 5 minute
Directory structure :
1. Download the installation package on the official website
2. Decompress the compressed package , Click on 【setup.exe】 Installation
3. Install database software
4. Create database
5. Verification test
6. Step on the hole guide ( Problems encountered )
Windows Environmental installation Oracle The simplest , It's for beginners to learn Oracle The best way to get started and practice .
Here are the detailed installation steps :
1. Download the installation package on the official website
about Oracle Software download , It is recommended to download for free through the official website , Safe and assured .
Download address :
https://www.oracle.com/database/technologies/oracle19c-windows-downloads.html
You can choose to install the compressed package through the download page (WINDOWS.X64_193000_db_home.zip ).
2. Decompress the package
Decompress the compressed package , Click on 【setup.exe】 InstallationBe careful : Use the system administrator account to run .
3. Install database software
3.1 Select configuration options
Choose here 【 Set software only 】, Click on 【 next step 】.
3.2 Choose the installation option
Choose here 【 Single instance database installation 】, Click on 【 next step 】.
3.3 Select the database version
For testing convenience , choice 【 Enterprise Edition 】, Click on 【 next step 】.
3.4 Appoint Oracle Home directory users
Here, select the default recommended 【 Virtual accounts 】, Click on 【 next step 】.
3.5 Specify the installation location
Create an installation path 【D:\app\oracle】, And then click 【 Browse 】 Select the path to create , Click on 【 next step 】.
3.6 Condition check and summary confirmation
Wait for the condition check to complete and confirm the profile setting , Click on 【 install 】
3.7 Wait for installation to complete .( about 15 minute )
3.8 Software installed successfully
Click on 【 close 】
4. Create database
4.1 start-up dbca
Run the command prompt as an administrator .
Type at a command prompt 【dbca】 Start the database Creator .
4.2 Select operation
choice 【 Create database 】, Click on 【 next step 】.
4.3 Select the database creation mode
To see more customization options , choice 【 Advanced configuration 】, Click on 【 next step 】.
4.4 Select the database creation mode
Database type selection 【Oracle Single instance database 】、 Create template selection 【 General purpose or transaction 】, Click on 【 next step 】.
4.5 Develop database identification details
Input SID, For test convenience, uncheck 【 Create as container database 】(CDB/PDB), Click on 【 next step 】.
4.6 Select storage options
Select use template file , Click on 【 next step 】.
4.7 Select a quick restore option
4.8 Specify network configuration details , Create a listener
Create a listener
4.9 Data Vault Options
Not configured for the time being
4.10 Modify configuration options
4.11 Specify management options
Do not configure for the time being EM, Cancel 【 To configure EM Express】
4.12 Specify the database user id
For testing convenience , choice 【 All users use the same administrative password 】, Input here Oracle123
4.13 Create database
4.14 Confirm the profile
Confirm the profile , Click finish
4.15 Wait for creation to complete , about 15 minute
4.16 Close after creation
5. Verification test
Use on the command line sqlplus as sysdba Conduct validation tests .
C:\WINDOWS\system32>sqlplus as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Sunday 5 month 24 08:58:15 2020
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Connect to :
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL> select instance_name from v$instance;
INSTANCE_NAME
--------------------------------
orcl
Use on the command line lsnrctl status Verify that the listening is normal .
C:\WINDOWS\system32>lsnrctl status
LSNRCTL for 64-bit Windows: Version 19.0.0.0.0 - Production on 24-5 month -2020 09:00:49
Copyright (c) 1991, 2019, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
LISTENER Of STATUS
------------------------
Alias LISTNER
edition TNSLSNR for 64-bit Windows: Version 19.0.0.0.0 - Production
Start date 24-5 month -2020 08:39:08
Normal operation time 0 God 0 Hours 21 branch 45 second
Tracking level off
Security ON: Local OS Authentication
SNMP OFF
Listener parameter file D:\WINDOWS.X64_193000_db_home\network\admin\listener.ora
Listener log file D:\app\oracle\diag\tnslsnr\DESKTOP-LG875FI\listner\alert\log.xml
Listening endpoint profile ...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DESKTOP-LG875FI)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Service summary ..
service "CLRExtProc" contain 1 An example .
example "CLRExtProc", state UNKNOWN, The 1 A handler ...
service "orcl" contain 1 An example .
example "orcl", state READY, The 1 A handler ...
service "orclXDB" contain 1 An example .
example "orcl", state READY, The 1 A handler ...
Command executed successfully
C:\WINDOWS\system32>
Reference resources :
Release 19[Database Installation Guide for Microsoft Windows]
(https://docs.oracle.com/en/database/oracle/oracle-database/19/ntdbi/index.html)
6. Step on the hole guide ( Problems encountered )
It's on paper , We must know that we must do it .
I thought I was Windows Installing a database on is the easiest thing to do , But it took some trouble .
6.1. [DBT-50000] Unable to check available memory
During installation , Yes DBT-50000 The mistake was a bit unexpected , So an investigation was carried out .
In general , The solution is as follows :
because Bug Influence , Cause problems , You can use the following command to avoid DBCA Check during operation .
Solution example :
$ dbca -J-Doracle.assistants.dbca.validate.ConfigurationParams=falseDue to the influence of the default memory setting , You can use advanced configuration to set the memory to a smaller size .
Restart the computer
Use the administrator account to run dbca
The reason for my problem is that I have neglected “ Need to be To run with an administrator account ” this .
( It's really important to look at online documents )
Reference resources :
Database Installation Guide for Microsoft Windows
https://docs.oracle.com/en/database/oracle/oracle-database/19/ntdbi/preinstallation-considerations-for-installing-oracle-database.html#GUID-3C8E4D95-2259-4B58-98C5-34F121539584
》Note:Windows requires Administrator privileges at the command prompt.
6.2. Unable to connect due to setting of environment variable sqlplus
problem : Due to the environment variables (SID/Home etc. ) Cannot connect due to the setting of sqlplus, Especially when multiple databases are installed .
example 1:
C:\Users\TeacherWhat>sqlplus as sysdba
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
example 2:
C:\Users\kegui>sqlplus as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Sunday 5 month 24 09:18:19 2020
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS: Protocol adapter error
Please enter a user name :
solve : Set up ORACLE_HOME、ORACLE_SID And other environmental variables .
C:\Users\TeacherWhat>set ORACLE_SID=orcl
C:\Users\TeacherWhat>set ORACLE_HOME=<Oracle Home The path of >
C:\Users\TeacherWhat>sqlplus as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on 5 23 18:59:19 2020
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL> select instance_name from v$instance;
INSTANCE_NAME
--------------------------------
orcl
*【 What do I do 】004 How to find the person who deleted the database and ran away -- Monitoring database user loginRecommended reading
* Introduction to analysis and diagnosis methods of database performance problems
* Case study : The database cannot be logged in ORA-12560/ORA-12557 error
* Quickly understand Oracle 19c New security features ( Two )Privilege Analysis( Permission to analysis )
* Quickly understand 19c New features of database security ( One )Schema Only Accounts
* Through the deposit service “ understand ”Oracle Basic database architecture and action flow
Focus on technology is not limited to technology !
With fragmented time , Improve bit by bit database Technical and personal abilities .
Welcome to your attention !
About Xiaobian :
10+ Database operation and maintenance / Development / Technical support experience , Years of project maintenance / Development / Team management experience , be familiar with Oracle/MySQL/DB2 Relational database , Translation and publication 《MySQL Basic course 》,Oracle 11g OCM Master certification 、10g/11g/12c OCP、RAC&GI OCE、Cloud And so on ,IBM DB2 database V8.1 DBA authentication .
This official account is for personal views only , It has nothing to do with any company .
边栏推荐
- How much room does Migu video have for development without relying on sports events?
- Shardingsphere sharding proxy actual combat scenario
- Asemi rectifier bridge kbp310 function pin diagram
- Written in eclipse, problems after querying the database connection
- VSCode 建议你启用 gopls,它到底是个什么东东?
- Application practice of day13 for loop distinguish the application of traversing break continue
- Advanced learning of MySQL -- Application -- view, stored procedure, trigger
- Control file related views
- Seata server database connection user and service database undo_ What permissions do log users need?
- JS event binding and common events
猜你喜欢
Wanzhou gold industry: a common technical term in gold t+d transaction?
Wanzhou gold industry: what are the common gold investment and warehouse building modes?
Wanzhou gold industry: what are the differences between gold t+d investment and other investments?
The data synchronization tool dataX has officially supported reading and writing tdengine
How to view the index information of MySQL tables?
Wanzhou gold industry: what knowledge points do you need to master to invest in precious metals?
Redis installation
广汽三菱全新欧蓝德首次国内亮相于年内上市 产品力全面焕新
【网络研讨会】MongoDB 携手 Google Cloud 加速企业数字化创新
Application of tdengine in monitoring of CNC machine tools
随机推荐
Electronic smart package tutorial
「技术课堂」如何用 VSCode 从 0 到 1 改写 TDengine 代码
新产品新人事新服务,英菲尼迪继续深耕中国未来可期!
Jeesite 4.0 replaces the default view style and customizes the theme
PostgreSQL之存储过程篇
Why migrate from opentsdb to tdengine
推荐几个开源的物联网平台
Uploading multiple attachments from canvas apps to SharePoint
Teach you to use elastic search: run the first hello world search command
Application of scaleflux CSD 2000 in Ctrip
Redis installation
About binary
The first in China! EMQ joined Amazon cloud technology's "startup acceleration - global partner network program"
阿里巴巴的使命、愿景、核心价值观
Alibaba cloud server is invaded
The power of code refactoring: how to measure the success of refactoring
WOx WPM installing the Youdao plug-in
Asemi rectifier bridge kbp307 parameters, kbp307 details, kbp307 pictures
DOM object in JS
1. introduction to MariaDB