1.4. Creating Oracle Instance (“Launch an Instance”)¶
1.4.1. Creating Oracle Instance (“Launch an Instance”)¶
This procedure describes an example on how you create an Instance. However, you do not need to configure it, based on the procedure. Please modify the details, according to the database configuration of your own.
1.4.1.1. Start DBCA¶
Start the DBCA with Oracle user device.
Boot “<ORACLE_HOME>/bin/dbca “. NOTE: Please modify “ORACLE_HOME”, according to your environment.
$ LANG=C /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/dbca
Select “Create Database”. Then, click “Next”.
Select “Advanced Mode”. Then, click “Next”.
Select “General Purpose or Transaction Processing”. Then, click “Next”.
Click “Next”.
Here, you need to verify the details on the settings. Then, please click the “Finish” button.
Instance creation gets started.
After you verifying the details as above, then click “Close”. Finally, you have completely created an Instance.
1.4.2. Required Tasks After Creating an Instance.¶
1.4.2.1. Configuring the User Environment.¶
Log in as the Oracle user.
$ cd $ vi .bash_profile
You are required to additionally write down the following. Please modify the setting contents based on your environment.
export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2/dbhome_1 export PATH=$ORACLE_HOME/bin:$PATH export ORACLE_SID=orcl export NLS_LANG=Japanese_Japan.AL32UTF8
Write down additionally, then save.
$ source .bash_profile
Verify it.
$ env | grep ORA ORACLE_SID=orcl ORACLE_BASE=/u01/app/oracle ORACLE_HOME=/u01/app/oracle/product/12.1.0.2/dbhome_1
Finally, you have successfully configured the Oracle related settings as described above.