You may get the following error while installing Oracle 19c on Oracle Linux 8 in GUI as well as in silent mode.
[oracle@ol8-db-dr dbhome_1]$ ./runInstaller -silent -responseFile /u01/softwares/19c/db_install.rsp
Launching Oracle Database Setup Wizard...
[WARNING] [INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'
CAUSE: No additional information available.
ACTION: Contact Oracle Support Services or refer to the software manual.
SUMMARY:
- java.lang.NullPointerException
[oracle@ol8-db-dr dbhome_1]$
Solution 1: (Temporary):
Export the below variable while runtime and run the runInstaller
export CV_ASSUME_DISTID=OEL7.6
Solution 2 (Permanent):
Edit the cvu_config file under $ORACLE_HOME/cvu/admin and change the below line:
from
# Fallback to this distribution id
#CV_ASSUME_DISTID=OEL5
to
# Fallback to this distribution id
CV_ASSUME_DISTID=OEL8
This is my first blog post and I hope you will ignore mistakes. Thank you in advance.
Description:
In this blog post I will describe the step by step creation of Oracle cloud always free account and creating a Linux Virtual Machine.
Oracle Cloud Free Tier will allows you to sign up for an Oracle Cloud account which provides a number of Always Free services and a free credit of 300$ which can be use on all eligible Oracle cloud Infrastructure services for up to 30 days. The Always Free services are available for an unlimited period of time. Kindly click here to know more in detail.
Choose your country and enter your name and email address Once provided the details, check your email. You will see an account validation email from Oracle.
Enter the account information. Note: Home Region cannot be changed once you sign-up.
Enter the address information, mobile details & Payment details and verify the same Note: You need to provide the credit card details and 1$ will be charged for the verification and the same will be reserved. You will not be charged unless you elect to upgrade the account.
Enter you cloud account name and click next. This is the name we choose during the account creation
Enter the cloud account credentials and click next. Username is your email address.
You are now login to your cloud account
3. Network Configuration
Create Virtual Cloud Network (VCN)
Open the navigation menu. Under Core Infrastructure, go to Networking and click Virtual Cloud Networks
Select the compartment you want to create the network. Then click on Create VCN
Enter a name for the VCN For CIDR Block, I choose IP 192.168.10.0/24, so that I can use the private IP range b/w 192.168.10.1 to 192.168.10.254.
Now the VCN status is available
Click on VCN Name (ocvcn) and you will be redirected to VCN Details page. Under Resource select Subnets and then click Create Subnet
Enter the information as per the below screenshot and click on Create Subnet. Note: Public subnet has selected to access the instance in public n/w.
The subnet is now created
Configure Internet Gateway
From VCN Details page under Resources, click on Internet Gateways
Give it a name and choose the compartment, then click on Create Internet Gateway
Your internet gateway is created. but you still need to add a route rule that allows traffic to flow to the gateway.
Adding Route table
From VNC Details page, Under Resources –> Route Tables, click on the route table associated with your public subnet.
Click on Add Route Rules
This is for the public subnet. select Target Type as Internet gateway Destination CIDR Block: 0.0.0.0/0 (This means all the internet) Once ready, click on Add Route Rules
Now you can see the Internet gateway route has been successfully added
Adding Security lists
Check your public IP using the URL and whitelist it to access the cloud VM which you will be creating in the next steps
From Subnet Details page, Under Resources, select Security Lists and click on the Default Security List as shown below
Click on Add Ingress Rules
Source Type: CIDR Source CIDR: <Your Public IP>/32 IP Protocol: TCP; Source Port Range: All; Destination Port Range: All Once ready, Click on Add Ingress Rules
Now you can see your my Public IP is whitelisted
Creation of Oracle Linux Virtual Machine Instance
Open the navigation menu. Under Core Infrastructure, go to Compute and click Instances.
Click on create instance
Name: Enter the name for the instance Create in Compartment: Select the compartment to create the instance in Availablilty Zone: Select the Availability domain that you want to create the instance Image: Select the image, by default Oracle Linux 7.x is used to boot the instance Shape: Select VM.Standard.E2.1.Micro, which is eligible for always free Add SSH keys: select Generate SSH Key pair; Click Save Private Key and Save Public key on your computer.
In Management section leave the setting as default
In Networking section enter the private IP and Hostname of the VM. Then click on Create
Wait for the instance creation to complete
After a couple of minutes you can see your Instance is in running state