Oracle Database 12c Release 2 Enterprise Edition - Software installation ( Oracle Home ) and CDB with PDB Creation in silent mode
During the BGOUG event I have discovered a lot of new features which should be tested and validated and this make me drive to install new version of Oracle 12cR2 :)
You can simple download - Oracle Database 12c Release 2 Enterprise Edition and Oracle Database 12c Release 2 Standard Edition from following link -> http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

In order to install Oracle Software there are requirement to install Linux or other supported OS/platform and configure as per the vendor pre-requisites
Very useful starting point for all required pre-requisites - https://oracle-base.com/articles/12c/oracle-db-12cr2-installation-on-oracle-linux-6-and-7
I will install Enterprise Edition in order to test all new features.
Install Oracle Software of Version 12.2
[oracle@vm222 database]$ ./runInstaller -silent -responseFile /home/oracle/database/response/Soft_install.rsp -ignoreSysPrereqs -showProgress -skipPrereqs -ignorePrereqFailure Checking Temp space: must be greater than 500 MB. Actual 3722 MB Passed Prepare in progress. Prepare successful. Copy files in progress. Link binaries in progress. Setup files in progress. Setup Inventory in progress. Setup Inventory successful. Finish Setup successful. Setup Oracle Base in progress. Setup Oracle Base successful. As a root user, execute the following script(s):
.................................................. 100% Done. [oracle@vm222 database]$ exit Execute root.sh with root user [root@vm222 mirrors]# /u01/app/oracle/product/12.2.0/db_2/root.sh |
Create database with dbca ( for testing purpuses have been added non-comples passowrd and as you can see there are WARNING - for production pupruses you should following Oracle Recomendation or Company policy for passowrd complexity )
[oracle@vm222 bin]$ ./dbca -createDatabase \ > -templateName General_Purpose.dbc \ > -gdbName DBABG \ > -createAsContainerDatabase true \ > -numberOfPDBs 1 \ > -pdbName PDB \ > -pdbAdminPassword test123 \ > -datafileDestination /u01/app/oracle/product/oradata/DBABG \ > -storageType FS \ > -recoveryAreaDestination /u01/app/oracle/product/oradata/DBABG/FRA \ > -automaticMemoryManagement false \ > -totalMemory 1024 \ > -sysPassword test123 \ > -systemPassword test123 \ > -silent [WARNING] [DBT-06208] The 'SYS' password entered does not conform to the Oracle recommended standards. CAUSE: a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. b.The password entered is a keyword that Oracle does not recommend to be used as password ACTION: Specify a strong password. If required refer Oracle documentation for guidelines. [WARNING] [DBT-06208] The 'SYSTEM' password entered does not conform to the Oracle recommended standards. CAUSE: a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. b.The password entered is a keyword that Oracle does not recommend to be used as password ACTION: Specify a strong password. If required refer Oracle documentation for guidelines. [WARNING] [DBT-06208] The 'PDBADMIN' password entered does not conform to the Oracle recommended standards. CAUSE: a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. b.The password entered is a keyword that Oracle does not recommend to be used as password ACTION: Specify a strong password. If required refer Oracle documentation for guidelines. Copying database files 1% complete 13% complete 25% complete Creating and starting Oracle instance 26% complete 30% complete 31% complete 35% complete 38% complete 39% complete 41% complete Completing Database Creation 42% complete 43% complete 44% complete 46% complete 49% complete 50% complete Creating Pluggable Databases 55% complete 75% complete Executing Post Configuration Actions 100% complete Look at the log file "/cfgtoollogs/dbca/DBABG/DBABG0.log" for further details. [oracle@vm222 bin]$ |
[oracle@vm222 bin]$ . oraenv Copyright (c) 1982, 2016, Oracle. All rights reserved. SQL> nn / as sysdba SQL> SHOW CON_NAME CON_NAME ----- checking newly create pdb database SQL> select CON_ID,NAME,OPEN_MODE from v$pdbs; CON_ID NAME OPEN_MODE SQL> |
Now we are ready for FUN!