These roles configure Oracle Database prerequisites and install it for CentOS 7.
- CentOS 7.7 or later
- Ansible 2.9
- Installation media file distributed by oracle.com
Place the installation media file into roles/oracle19c/files/, configure your inventory and run ansible-playbook.
$ cp /foo/bar/LINUX.X64_193000_db_home.zip roles/oracle19c/files/
$ ansible-playbook -i inventory.yml playbook.yml oracle -k -K
You can use the database with SID orcl19c
.
The default password for SYS and SYSTEM is oracle123
.
$ export ORACLE_SID=orcl19c
$ sqlplus system/oracle123
SQL*Plus: Release 19.0.0.0.0 - Production on 金 4月 24 06:51:46 2020
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
に接続されました。
SQL> quit
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0との接続が切断されました。