---
title: How to install 18c Grid Infrastructure in Silent Mode on Linux 7
description: Howie Jiang provides a step-by-step procedure for installing Oracle Database 18c Grid Infrastructure and upgrading to 18.6.0.0.
---

[Blog | Pythian ](https://www.pythian.com/blog)

# [How to install 18c Grid Infrastructure in Silent Mode on Linux 7](https://www.pythian.com/blog/install-18c-grid-infrastructure-in-silent-mode)

 Written by [Howie Jiang](https://www.pythian.com/blog/author/howie-jiang) | Jul 8, 2019 4:00:00 AM

## This blog post will show you how to install 18c Grid and upgrade to 18.6.0.0.

1. Download the 18c binairy and Apr, 2019 PSU:

> **18c Grid**: https://download.oracle.com/otn/linux/oracle18c/180000/LINUX.X64_180000_grid_home.zip **Apr 2019 PSU**: https://updates.oracle.com/Orion/Services/download/p29251992_180000_Linux-x86-64.zip?aru=22869122&patch_file=p29251992_180000_Linux-x86-64.zip **OPatch 12.2.0.1.17**: https://updates.oracle.com/Orion/Services/download/p6880880_180000_Linux-x86-64.zip?aru=22870225&patch_file=p6880880_180000_Linux-x86-64.zip

 2. Prepare OS for Oracle installation, run following commands as root user:

> yum install -y oracle-database-preinstall-18c yum install oracleasmlib yum install oracleasm-support

 3. Prepare the disks for ASM using oracleasm or udev:

## Create the disks using oracleasm

- Configure oracleasm

> # oracleasm configure -i

- load oracleasm module

> # oracleasm init

- Create the disk for ASM diskgroup

> # oracleasm createdisk asmvol001 /dev/sdb1 # oracleasm createdisk asmvol002 /dev/sdc1

## Create the disks using udev

- Obtain the Serial Numbers of the SCSI disk devices

> ```
> # udevadm info --query=all --path=/sys/block/sdb | grep ID_SERIAL
>  E: ID_SERIAL=VBOX_HARDDISK_VB699f3fca-4ea7d16b
>  E: ID_SERIAL_SHORT=VB699f3fca-4ea7d16b
> ```
> 
> ```
> # udevadm info --query=all --path=/sys/block/sdc | grep ID_SERIAL
>  E: ID_SERIAL=VBOX_HARDDISK_VB29b82c85-78d7b697
>  E: ID_SERIAL_SHORT=VB29b82c85-78d7b697
>  
> ```

- Create or update the UDEV configuration file "/etc/udev/rules.d/99-oracleasm.rules"

> ```
> # ====== DATADG DiskGroup ====== KERNEL=="sd*",ENV{DEVTYPE}=="partition",ENV{ID_SERIAL}=="VBOX_HARDDISK_VB699f3fca-4ea7d16b",SYMLINK+="oracleasm/asmvol001",OWNER="oracle",GROUP="dba",MODE="0660" KERNEL=="sd*",ENV{DEVTYPE}=="partition",ENV{ID_SERIAL}=="VBOX_HARDDISK_VB29b82c85-78d7b697",SYMLINK+="oracleasm/asmvol002",OWNER="oracle",GROUP="dba",MODE="0660"
> ```

- Restart the udev service and verify device permissions

> ```
> # /sbin/udevadm control --reload-rules && /sbin/udevadm trigger
> ```

- Confirm that the devices have been created under /dev/oracleasm

> # ls -ld /dev/oracleasm/* lrwxrwxrwx 1 root root 7 July 4 10:35 /dev/oracleasm/asmvol001 -> ../sdb1 lrwxrwxrwx 1 root root 7 July 4 10:35 /dev/oracleasm/asmvol002 -> ../sdc1

- Check if they have the proper owner/group permissions in /dev

> # ls -ld /dev/sd* brw-rw---- 1 oracle dba 8, 49 July 4 10:35 /dev/sdb1 brw-rw---- 1 oracle dba 8, 65 July 4 10:35 /dev/sdc1

 4. Install Grid Infrastructure software

- Create the directory

> ```
> # mkdir -p /u01/app/oracle/product/18.0.0.0/grid
>  
> ```

- Unzip the binary as oracle user

> # cd /u01/app/oracle/product/18.0.0.0/grid/ # unzip LINUX.X64_180000_grid_home.zip

- Install cvuqdisk as root user

> ```
> # rpm -ivh /u01/app/oracle/product/18.0.0.0/grid/cv/rpm/cvuqdisk-1.0.10-1.rpm
>  
> ```

- Prepare the response file

> # cat /tmp/gi.rsp | grep -v "^$" | grep -v "^#" oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v18.0.0 INVENTORY_LOCATION=/u01/app/oracle/oraInventory oracle.install.option=HA_CONFIG ORACLE_BASE=/u01/app/oracle oracle.install.asm.OSDBA=oinstall oracle.install.asm.OSOPER=oinstall oracle.install.asm.OSASM=oinstall oracle.install.crs.config.scanType= oracle.install.crs.config.SCANClientDataFile= oracle.install.crs.config.gpnp.scanName= oracle.install.crs.config.gpnp.scanPort= oracle.install.crs.config.ClusterConfiguration= oracle.install.crs.config.configureAsExtendedCluster= oracle.install.crs.config.memberClusterManifestFile= oracle.install.crs.config.clusterName= oracle.install.crs.config.gpnp.configureGNS= oracle.install.crs.config.autoConfigureClusterNodeVIP= oracle.install.crs.config.gpnp.gnsOption= oracle.install.crs.config.gpnp.gnsClientDataFile= oracle.install.crs.config.gpnp.gnsSubDomain= oracle.install.crs.config.gpnp.gnsVIPAddress= oracle.install.crs.config.sites= oracle.install.crs.config.clusterNodes= oracle.install.crs.config.networkInterfaceList= oracle.install.asm.configureGIMRDataDG= oracle.install.crs.config.storageOption= oracle.install.crs.config.useIPMI= oracle.install.crs.config.ipmi.bmcUsername= oracle.install.crs.config.ipmi.bmcPassword= oracle.install.asm.storageOption=ASM oracle.install.asmOnNAS.ocrLocation= oracle.install.asmOnNAS.configureGIMRDataDG= oracle.install.asmOnNAS.gimrLocation= oracle.install.asm.SYSASMPassword=oracle oracle.install.asm.diskGroup.name=DATA oracle.install.asm.diskGroup.redundancy=EXTERNAL oracle.install.asm.diskGroup.AUSize= oracle.install.asm.diskGroup.FailureGroups= oracle.install.asm.diskGroup.disksWithFailureGroupNames= oracle.install.asm.diskGroup.disks=/dev/oracleasm/asmvol001,/dev/oracleasm/asmvol002 oracle.install.asm.diskGroup.quorumFailureGroupNames= oracle.install.asm.diskGroup.diskDiscoveryString=/dev/oracleasm/* oracle.install.asm.monitorPassword=oracle oracle.install.asm.gimrDG.name= oracle.install.asm.gimrDG.redundancy= oracle.install.asm.gimrDG.AUSize= oracle.install.asm.gimrDG.FailureGroups= oracle.install.asm.gimrDG.disksWithFailureGroupNames= oracle.install.asm.gimrDG.disks= oracle.install.asm.gimrDG.quorumFailureGroupNames= oracle.install.asm.configureAFD=false oracle.install.crs.configureRHPS= oracle.install.crs.config.ignoreDownNodes= oracle.install.config.managementOption= oracle.install.config.omsHost= oracle.install.config.omsPort= oracle.install.config.emAdminUser= oracle.install.config.emAdminPassword= oracle.install.crs.rootconfig.executeRootScript= oracle.install.crs.rootconfig.configMethod= oracle.install.crs.rootconfig.sudoPath= oracle.install.crs.rootconfig.sudoUserName= oracle.install.crs.config.batchinfo= oracle.install.crs.app.applicationAddress= oracle.install.crs.deleteNode.nodes=
> 
> ```
>  
> ```

- Perform Installation PreCheck as Oracle user

> ```
> # /u01/app/oracle/product/18.0.0.0/grid/bin/runcluvfy.sh stage -pre hacfg
> ```

- Install 18c Grid Infrastructure as Oracle user

> ```
> # /u01/app/oracle/product/18.0.0.0/grid/gridSetup.sh -silent -responseFile /tmp/gi.rsp
> ```

- As a root user, execute the following script(s)

> 1. /u01/app/oracle/oraInventory/orainstRoot.sh 2. /u01/app/oracle/product/18.0.0.0/grid/root.sh

- As an Oracle user, execute the following script

> ```
> /u01/app/oracle/product/18.0.0.0/grid/gridSetup.sh -executeConfigTools -responseFile /tmp/gi.rsp -silent
> ```

- Verify the installation as Oracle user

> ```
> # /u01/app/oracle/product/18.0.0.0/grid/bin/cluvfy stage -post hacfg
> ```

 5. Upgrade OPatch to the latest version Since current version is 12.2.0.1.14 and you have to upgrade opatch to at least 12.2.0.1.16.

- As a root user, run following commands

> # cd /u01/app/oracle/product/18.0.0.0/grid/ # mv OPatch OPatch_old # unzip -q p6880880_180000_Linux-x86-64.zip # chown oracle:dba OPatch

- Verify the opatch version

> ```
> # /u01/app/oracle/product/18.0.0.0/grid/OPatch/opatch version
> ```

 6. Apply Apr 2019 PSU

- As an Oracle user, run following commands (/home/oracle/patch is the location where you save Apr 2019 PSU)

> # cd /home/oracle/patch # unzip -q p29251992_180000_Linux-x86-64.zip

- As a root user, run the prerequisites

> # cd /home/oracle/patch/29251992/29301682 # /u01/app/oracle/product/18.0.0.0/grid/OPatch/opatchauto apply -oh /u01/app/oracle/product/18.0.0.0/grid -analyze

- Still as a root user, apply the patch if the prerequisites runs successfully

> # /u01/app/oracle/product/18.0.0.0/grid/OPatch/opatchauto apply -oh /u01/app/oracle/product/18.0.0.0/grid

- As an Oracle user, verify the patch is installed

> # /u01/app/oracle/product/18.0.0.0/grid/OPatch/opatch lsinventory

## Oracle Database Consulting Services

Ready to optimize your Oracle Database for the future?

[View full post](https://www.pythian.com/blog/install-18c-grid-infrastructure-in-silent-mode)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Howie Jiang"
  },
  "dateModified" : "2026-02-25T06:34:18.654Z",
  "datePublished" : "2019-07-08T04:00:00Z",
  "headline" : "How to install 18c Grid Infrastructure in Silent Mode on Linux 7",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://www.pythian.com/blog/install-18c-grid-infrastructure-in-silent-mode",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Pythian Blog"
  }
}
```