Edited 3 weeks ago by ExtremeHow Editorial Team
Oracle DatabaseInstallationWindowsDatabase ManagementSoftware SetupAdmin ToolsSystem ConfigurationPerformanceCloud ComputingEnterprise Solutions
This content is available in 7 different language
Oracle Database is a powerful tool for managing and storing data developed by Oracle Corporation. It is widely used in enterprise environments worldwide. Installing it on the Windows platform may seem daunting, but with this comprehensive guide, you can set it up easily. Let's start by discussing the prerequisites needed to ensure a smooth installation process.
Before starting the installation, make sure that your system meets the following requirements:
In addition, you will need an Oracle account to download the Oracle database installation files. You can create an account on the Oracle website.
First, visit the Oracle database download page through your web browser. Choose the appropriate version for your system. The current database version can be Oracle 19c or the latest available Long-Term Support (LTS) version.
You'll likely find the following download options:
Once you’ve made your selection, download the files and make sure they’re saved in a directory where you can access them easily.
After downloading, you need to prepare your Windows environment for Oracle database installation. Follow these instructions:
Create a directory where the Oracle database will reside. For example:
C:\oracle\product\19.0.0\dbhome
Extract the downloaded zip files to the directory you created. You can use any decompression tool like WinRAR or 7-Zip to do this.
Now, you can proceed with the installation:
Go to the extracted folder, find 'setup.exe', right-click on it and select 'Run as administrator'. Running as administrator ensures that you have the proper permissions during the installation process.
The Oracle Database Installer Wizard starts and will guide you through the process. You must:
Select from the following installation options:
Select your system type - Desktop Class or Server Class. Desktop Class is typically better suited for personal or small-scale installations, while Server Class is for larger setups, better suited for production environments.
Select an existing Windows user or create a new user. It is generally a good practice to create a dedicated user for Oracle database processes.
Point to the directory that you created earlier (for example, C:\oracle\product\19.0.0\dbhome).
Provide the database name and administrative password. Choose some secure name for the password and remember it for later use.
Before proceeding, the installer will perform the necessary checks to make sure your system is ready. If any problems appear, fix them.
When the check is complete and no issues are found, proceed by clicking Install. The process may take some time, so be patient.
After installation, some configuration tasks need to be completed, such as running some scripts prompted by the installer.
To verify the installation:
SQL*Plus is a command-line tool used for database management. Open CMD and navigate to the oracle installation bin directory (for example, C:\oracle\product\19.0.0\dbhome\bin\). Enter the following command:
sqlplus /nolog
When SQL*Plus starts, login using the following:
connect to sys as sysdba;
You will be asked to enter the password set during the installation process. If the connection is successful, it means your database is running.
After confirming the installation, you can start using the Oracle database. Here are some basic commands that you may find helpful as a beginner:
Create a new user by running:
CREATE USER identified by test password;
Grant the new user the necessary permissions to connect and interact with the database:
provide connect,resources for testing;
You can now create tables and insert data. Here is how to create a sample table:
create table test_table ( id number primary key, name VARCHAR2(50) );
You can insert data using SQL:
INSERT INTO test_table(id, name) VALUES(1, 'Sample name');
If you encounter any problems during installation, consider the following:
By following these steps, you will be able to successfully install Oracle Database on your Windows machine. Always remember to use secure credentials and keep your database updated to ensure it remains secure and efficient. Explore Oracle's extensive features and enjoy structured data management and versatility.
If you find anything wrong with the article content, you can