·
Oracle
Linux 9.6
·
Oracle
Database Free 23.7
·
Oracle
REST Data Services 24.4
·
Oracle
SQLcl 24.4.1
·
Oracle
APEX 24.2
·
JDK
21.0.5
License
This
software is licensed under the Oracle Free Use Terms and Conditions
Getting
Started
Connect to
your EC2 Instance using an SSH Client such as putty, as the ec2-user. More information
about how to do this is here:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-linux-inst-from-windows.html
Oracle Home : /opt/oracle/product/23ai/dbhomeFree
ORDS/SQLDeveloper Web : http://[EC2 Instance IP]:8080/ords/sql-developer
APEX : http://[EC2 Instance IP]:8080/ords
SQLcl : localhost:1521/freepdb1
Database Information
Oracle SID : free
Pluggable DB : freepdb1
Operating
System authentication with the oracle
Linux user is enabled. Use this account to reset the SYS, SYSTEM, and any other
database accounts.
Sample
schemas have been preloaded in the freepdb1 database (HR, HRREST, CO, SH).
The precreated PDB freepdb1 database and CDB free can be accessed
using the sqlcl client on the EC2 instance, the SQL
Developer Web client, or using an Oracle client such as SQL Developer on your
PC or another EC2 Instance. Ensure TCP
Port 1521 is enabled in your AWS Security Group configuration to allow this
connection.
To connect
from the sqlcl client, on your SSH client, switch to
the oracle user
sudo su - oracle
sql / as sysdba
SQL> alter session set container = freepdb1;
To reset any database user passwords, use the following:
SQL> alter user [username] identified by "[newpassword]" account unlock;
SQLcl access to the precreated
PDB freepdb1
from a terminal
window
sql hr/[password]@localhost:1521/freepdb1
SQLcl access to the CDB free
sql system/[password]@localhost:1521/free
From a web
browser:
Ensure TCP Port 8080 is enabled in
your AWS Security Group configuration to allow connection from your web
browser’s IP address.
APEX
Application Information
From your
SSH client, switch to the oracle
user
sudo su - oracle
AWS
Elastic IP Address Allocation
It
is strongly recommended that you create an AWS elastic IP address associated to
this new EC2 build instance. This will allow you to start and stop without
having to update public IP address connection information.
AWS
Public IP Address Setting
Enable
SSH, HTTP, HTTPS and SQL*Net from your client IP to the EC2 Instance IP
SSH : 22:22
HTTPS : 443:443
HTTP : 80:80
HTTP : 8080:8080
SQL*Net : 1521:1521