Databases 7 min read

Step-by-Step Guide to Installing Oracle Grid Infrastructure and ASM on CentOS 7

This comprehensive tutorial walks you through preparing the environment, configuring the OS, setting up ASM disk groups, installing Oracle Grid Infrastructure, creating ASM disks, and building a database on a CentOS 7 cluster, complete with detailed screenshots for each step.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
Step-by-Step Guide to Installing Oracle Grid Infrastructure and ASM on CentOS 7

1. Environment

1.1 System version

CentOS Linux release 7.6.1810 (Core)

1.2 ASM disk group planning

ASM disk group planning
ASM disk group planning

1.3 Host network planning

Host network planning
Host network planning

1.4 Operating system configuration

1. Disable firewall

Disable firewall
Disable firewall

2. Disable SELinux

Disable SELinux
Disable SELinux

3. Configure /etc/hosts

Hosts file
Hosts file

2. Preparation (Configure rac1 and rac2 simultaneously)

2.1 Configure local yum repository

Yum repo configuration
Yum repo configuration

2.2 Install RPM dependency packages

Install RPM dependencies
Install RPM dependencies

2.3 Create users

Create users
Create users

2.4 Configure host table

Configure host table
Configure host table

2.5 Disable NTP

Disable NTP
Disable NTP

2.6 Create required directories

Create directories
Create directories

2.7 Other configurations

Other configurations
Other configurations

2.8 Configure environment variables

Environment variables
Environment variables

2.9 Configure shared disk permissions

Shared disk permissions
Shared disk permissions

2.10 Configure mutual trust

Mutual trust
Mutual trust

2.11 Install cvuqdisk from Grid installation files

Install cvuqdisk
Install cvuqdisk

3. Install Grid Infrastructure

3.1 Upload cluster software package

Upload package
Upload package

3.2 Extract Grid installation package

Extract the package to /u01/app/19.0.0/grid under the grid user.

Extract package
Extract package

3.3 Run installation from the Grid software directory

./gridSetup.sh
Run gridSetup.sh
Run gridSetup.sh

3.4 GUI installation steps

1. Create a new cluster

Create cluster
Create cluster

2. Configure cluster name and SCAN name

Cluster name
Cluster name

3. Node mutual trust

Node trust
Node trust

4. Choose public and private network segments

Network selection
Network selection

5. Select ASM storage

ASM storage
ASM storage

6. Configure GIMR

GIMR configuration
GIMR configuration

7. Place OCR, voting file, and GIMR together

OCR and voting file
OCR and voting file

8. Choose ASM disk group

ASM disk group
ASM disk group

9. Enter passwords

Password entry
Password entry

10-15. Accept defaults, pre‑install checks, ignore warnings, and run root scripts as prompted.

4. Log in to the graphical interface as the Oracle user

Unzip the database software to $ORACLE_HOME and start the installation.

5. Create ASM disks

Log in to the Grid graphical interface and run asmca to create ASM disks.

6. Build the database

Log in as the Oracle user and run the Database Configuration Assistant (DBCA) to create the database.

6.1 Run DBCA

DBCA
DBCA

6.2 Check cluster status

Cluster status
Cluster status

6.3 Verify database version

Database version
Database version
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

ClusterOracleASMCentOSDatabase InstallationGrid Infrastructure
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.