当前位置:网站首页>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】 Installation
Be 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 Windowshttps://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 .
边栏推荐
- 如何查看 MySQL 表的索引信息?
- 手把手教你在Windows 10安装Oracle 19c(详细图文附踩坑指南)
- VSCode 建议你启用 gopls,它到底是个什么东东?
- Offline disk group
- Redis installation
- Alibaba cloud server is invaded
- 电子智慧套装教程
- 时间序列数据的特点
- Explain the distributed computing of Apache skywalking OAP in detail
- If the storage engine of time series database wants to be the best, it has to do its own research
猜你喜欢

Alibaba cloud server is invaded

Set up your own website (10)

How to use the low code platform of the Internet of things for picture management?

开源之夏 2022 | openGauss 项目中选公布
![[leetcode] 2. Add two numbers (user-defined listnode), medium](/img/27/1e7ce0e08d7428f0f594a3477e35df.jpg)
[leetcode] 2. Add two numbers (user-defined listnode), medium

VSCode 建议你启用 gopls,它到底是个什么东东?

Electronic smart package tutorial

Lvgl8.x migrating to stm32f4

Asemi rectifier bridge kbp307 parameters, kbp307 details, kbp307 pictures

Wechat applet map displays the current position with annotation
随机推荐
Part 32 supplement (32) string of ECMAScript
(5) SPI application design and simulation verification 1 - logic sorting
Industry university cooperation cooperates to educate people, and Kirin software cooperates with Nankai University to complete the practical course of software testing and maintenance
手把手教你在Windows 10安装Oracle 19c(详细图文附踩坑指南)
Redis系列2:数据持久化提高可用性
MongoDB和MySQL的区别
TDengine 连接器上线 Google Data Studio 应用商店
Current market situation and development prospect forecast of global concrete shrinkage reducing agent industry in 2022
Introduction to photoswape
Hash encryption
Common optimization techniques for Web Performance
Daily leetcode force deduction (31~35)
Overview of Inspur Yunxi database executor
All you want to know about large screen visualization is here
技术分享 | kubernetes pod 简介
Alibaba cloud server is invaded
[UVM foundation] can only be used in build_ Research on executing instantiation action in phase
CDH cluster installation
【ELT.ZIP】OpenHarmony啃论文俱乐部—见证文件压缩系统EROFS
Contest3182 - the 39th individual training match for 2021 freshmen_ C: [string] ISBN number