Create Infrastructure for Oracle Standalone Database using VMWARE
(OS: Linux 7.9)
Task 1 (Prepare Virtual Hardware)
1. Create the windows folders to house the first virtual machines and the shared storage.
F:>mkdir Oracle_Standalone_DB_VM
2. Open VMWARE Console and Click on New Virtual Machine and click next.
3. Select Virtual Machine Configurations: Custom
4. Choose Vm Machine Compatibility
Click on the Finish button.
Now your virtual machine is ready to install Linux 7.9 OS
Section: B (Install Linux 7.9 OS on first Virtual Machine)
1. Double Click on CD-ROM Devices. Select Use ISO image when you planning to install OS through ISO image otherwise Use physical drive.
2. Click on Start the Virtual Machine.
Click on
/ 10GB
/boot 500MB
/var 6GB
/swap 10GB
/home 20GB
/oracle 55 GB
reboot machine
Perform below steps
Step 1: Check the internet connectivity and network adapters are enabled.
ping google.com
Step 2 : Check the YUM is working by using the below command.
yum repolist
Step 3: Install Pre-installed packages
First thing is to install a pre-install package for the database.
cd /etc/yum.repos.d
wget https://yum.oracle.com/public-yum-ol7.repo
Using a text editor for Oracle Linux 6 or 7, change the field ‘enabled=0’ to ‘enabled=1’ for the repositories corresponding to the machine’s operating system while also enabling the ‘addons’ channel. Here’s an example of a repo file’s entries:
[ol7_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=https://yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[ol7_addons]
name=Oracle Linux $releasever Add ons ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/
gpgkey=https://yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=https://yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
For Oracle Linux 6 or 7, update all packages and then install the preinstallation rpm by running the following yum commands:
yum update
Install Required RPM’s for Database
yum install elfutils-libelf*
For 11g:
yum install oracle-rdbms-server-11gR2-preinstall
For 12c:
yum install oracle-rdbms-server-12cR1-preinstall
Responses