Here I will give you a small overview of the steps that can be done.
All these steps were executed on an Oracle Linux 6 host.
(1)
Prepare your environment to install an Oracle 12c database:
[root@ol6db ~]$ yum install oracle-rdbms-server-12cR1-preinstall
(2)
Download the zipped installers and copy them to your database machine.
(3)
Unzip the installers.
(4)
In the database/response directory, there are 3 types of response files:
- dbca.rsp : Silent installation of Database Configuration Assistant
- db_install.rsp : Silent installation of Oracle Database 12c software + option to configure a database instance and listener
- netca.rsp : Silent installation of Oracle Net Configuration Assistant
(5)
Copy the desired response files to the Oracle home directory and give it the right permissions.
[oracle@ol6db ~]$ cp /u01/software/database/response/*.rsp .
[oracle@ol6db ~]$ chmod 700 *.rsp
First, we will install only the database software.
Open the file db_install.rsp and fill in the appropriate parameters. To install only the software, it is important that you give this parameter value:
oracle.install.option=INSTALL_DB_SWONLY
Go to directory where the unpacked installer resides and execute the silent installer.
[oracle@ol6db ~]$ cd /u01/software/database
[oracle@ol6db database]$ ./runInstaller -silent -noconfig -responseFile /home/oracle/db_install.rsp
At the end, you will be asked to execute some additional small scripts. Please execute them.
Optionally, you can define some values for general system variables, like ORACLE_HOME, ORACLE_BASE, PATH etc.
(7)
Now we will configure the database listener.
Open the file netca.rsp and verify the appropriate parameters.
Execute netca with the response file:
[oracle@ol6db ~]$ netca -silent -responsefile /home/oracle/netca.rsp
(8)
We have the software, our listener is up and running, so we can now create or database instance.
Open the file dbca.rsp and configure the appropriate parameters.
Execute dbca with the response file:
(9)
Now try to login into the database with the necessary coordinates and credentials.
No comments:
Post a Comment