Hi All, in this blog I will share the installation steps of 12c database single instance and create database using DBCA
Environment I use :
OS : Centos 7
Database Software : 12CR1
Download the 12c software from oracle website and unzip them simultaneously to a same directory and disable the firewall and selinux
lets start, I assume that you have created the oracle user, groups and directory for the software installation.
prior to 11gr2 release we need to perform the pre-requisite before installation of software but for 12cr1 we have a RPM package which sets all the pre-requisite required for the installation as below screenshot install the RPM package
you can use yum or rpm utility to install the package
"yum install -y oracle-rdbms-server-12cR1-preinstall"
go to the software directory and run "./runInstaller" as an oracle user and follow the screenshots.
uncheck the following if you wish not to receive update and click next
As am installing only the software so click install database software only
or
if you want to install database you can click create and configure database
select single instance and click next
select language click next
select enterprise and click next
mention the location for oracle base and software location and click next
give inventory location and click next
select group and click next
after pre-requisite check please click install
as a root user run the following scripts as mention above
run first orainstRoot.sh then root.sh
now the oracle database software is install successfully
Creating the database using DBCA Utility :
move to the bin directory of oracle database and run dbca as mention below in screen shot
Now select the create database and click next
in the next step provide the details of database like
Name, file system type, database file location, FRA and password
if you want to create a container database select the "create As Container database" and give the name for Pluggable database as you can see in the above screenshot, and click next
click finish and it will start the creation of database.
database is successfully created now we will connect and check if its up and running
i am trying to connect to database but facing the above error this will come because of environment
we need to set the environment
as you can see from the above screenshot that i have set the environment using ".oraenv" and connected to a database.
i hope you able to understand and learn how to install 12cR1 single instance in your machines
happy learning
feedback appreciated!
0 comments:
Post a Comment