Installing Oracle 12c database getting below error.
Cause: Unable to determine local host name using Java network functions.
Action: Ensure hostname is defined correctly using the 'hostname' command.
# hostname
ora12c.localdomain
Add the hostname into /etc/hosts
# vi /etc/hosts
192.0.0.25 ora12c.localdomain