Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL>
[apex@apex apex_24.1]$ pwd
/home/apex/apex_24.1
[apex@apex apex_24.1]$ ss
SQL*Plus: Release 19.0.0.0.0 - Production on Mon Jul 15 06:53:50 2024
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL>
[apex@apex apex_24.1]$ pwd
/home/apex/apex_24.1
[apex@apex apex_24.1]$ ss
SQL*Plus: Release 19.0.0.0.0 - Production on Mon Jul 15 06:53:50 2024
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL>
apex 설치를 위해 apexins.sql 스크립트를 아래와 같은 옵션으로 수행 해 줍니다.
SQL> @apexins.sql SYSAUX SYSAUX TEMP /i/
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
SQL> @apexins.sql SYSAUXSYSAUXTEMP /i/
...set_appun.sql
PL/SQL procedure successfully completed.
...
Thank you for installing Oracle APEX24.1.0
Oracle APEX is installed in the APEX_240100 schema.
The structure of the link to the Oracle APEX administration services is as follows:
http://host:port/ords/apex_admin
The structure of the link to the Oracle APEX development interface is as follows:
http://host:port/ords
timing for: Phase 3 (Switch)
Elapsed: 0.13
timing for: Complete Installation
Elapsed: 5.48
SYS>
SQL> @apexins.sql SYSAUX SYSAUX TEMP /i/
...set_appun.sql
PL/SQL procedure successfully completed.
...
Thank you for installing Oracle APEX 24.1.0
Oracle APEX is installed in the APEX_240100 schema.
The structure of the link to the Oracle APEX administration services is as follows:
http://host:port/ords/apex_admin
The structure of the link to the Oracle APEX development interface is as follows:
http://host:port/ords
timing for: Phase 3 (Switch)
Elapsed: 0.13
timing for: Complete Installation
Elapsed: 5.48
SYS>
SQL> @apexins.sql SYSAUX SYSAUX TEMP /i/
...set_appun.sql
PL/SQL procedure successfully completed.
...
Thank you for installing Oracle APEX 24.1.0
Oracle APEX is installed in the APEX_240100 schema.
The structure of the link to the Oracle APEX administration services is as follows:
http://host:port/ords/apex_admin
The structure of the link to the Oracle APEX development interface is as follows:
http://host:port/ords
timing for: Phase 3 (Switch)
Elapsed: 0.13
timing for: Complete Installation
Elapsed: 5.48
SYS>
Apex 설치가 완료되면 다음 명령으로 Administrator 계정을 구성해 줘야 합니다.
User "ADMIN" does not yet exist and will be created.
Enter ADMIN's email [ADMIN] test@test.test
Enter ADMIN's password []
Created instance administrator ADMIN.
SYS>
SYS> @apxchpwd.sql
...set_appun.sql
================================================================================
This script can be used to change the password of an Oracle APEX
instance administrator. If the user does not yet exist, a user record will be
created.
================================================================================
Enter the administrator's username [ADMIN]
User "ADMIN" does not yet exist and will be created.
Enter ADMIN's email [ADMIN] test@test.test
Enter ADMIN's password []
Created instance administrator ADMIN.
SYS>
SYS> @apxchpwd.sql
...set_appun.sql
================================================================================
This script can be used to change the password of an Oracle APEX
instance administrator. If the user does not yet exist, a user record will be
created.
================================================================================
Enter the administrator's username [ADMIN]
User "ADMIN" does not yet exist and will be created.
Enter ADMIN's email [ADMIN] test@test.test
Enter ADMIN's password []
Created instance administrator ADMIN.
SYS>
다음으로 Public User 구성작업을 진행합니다.
# APEX_PUBLIC_USER Lock 해제
SQL> ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK ;
# APEX_PUBLIC_USER PW 변경
SQL> ALTER USER APEX_PUBLIC_USER IDENTIFIED BY new_password ;
SYS> ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK ;
SYS> ALTER USER APEX_PUBLIC_USER IDENTIFIED BY "new_password";
SYS>
SYS> ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK ;
SYS> ALTER USER APEX_PUBLIC_USER IDENTIFIED BY "new_password";
SYS>
계정 관련 작업은 마무리 되었고 Apex RESTful Data Service 사용을 위한 설정을 진행 해 줍니다.
# APEX RESTful Data Service 구성
SQL> @apex_rest_config.sql
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
SYS> @apex_rest_config.sql
Enter a password for the APEX_LISTENER user []
Enter a password for the APEX_REST_PUBLIC_USER user []
...set_appun.sql
...setting session environment
...create APEX_LISTENER and APEX_REST_PUBLIC_USER users
...grants for APEX_LISTENER and ORDS_METADATA user
SYS>
SYS> @apex_rest_config.sql
Enter a password for the APEX_LISTENER user []
Enter a password for the APEX_REST_PUBLIC_USER user []
...set_appun.sql
...setting session environment
...create APEX_LISTENER and APEX_REST_PUBLIC_USER users
...grants for APEX_LISTENER and ORDS_METADATA user
SYS>
SYS> @apex_rest_config.sql
Enter a password for the APEX_LISTENER user []
Enter a password for the APEX_REST_PUBLIC_USER user []
...set_appun.sql
...setting session environment
...create APEX_LISTENER and APEX_REST_PUBLIC_USER users
...grants for APEX_LISTENER and ORDS_METADATA user
SYS>
여기까지 apex 개발환경 구성작업이 마무리 되었습니다.
실제 http환경으로 apex에 접속하기 위해서는 ORDS 구성이 필요한데, ORDS 구성은 다음 장에서 진행 해 보도록 하겠습니다.