-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoracleapexinstall
70 lines (43 loc) · 1.39 KB
/
oracleapexinstall
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Create Tablespace apex
logging
datafile 'D:\Oracle\oradata\LIVE\APEX.DBF' size 1024m
autoextend on
next 64m maxsize 8G
extent management local;
@apexins.sql apex apex temp /i/
@apxchpwd.sql
@apex_rest_config.sql
--- Enter password like 123
select username,account_status from dba_users where username like 'APEX%'
ALTER USER APEX_LISTENER ACCOUNT UNLOCK identified by 123;
ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK identified by 123;
ALTER USER APEX_REST_PUBLIC_USER ACCOUNT UNLOCK identified by 123;
ALTER USER APEX_220100 ACCOUNT UNLOCK identified by 123;
BEGIN
DBMS_NETWORK_ACL_ADMIN.APPEND_HOST_ACE(
host => '*',
ace => xs$ace_type(privilege_list => xs$name_list('connect'),
principal_name => 'APEX_220100',
principal_type => xs_acl.ptype_db));
END;
/
BEGIN
DBMS_NETWORK_ACL_ADMIN.APPEND_HOST_ACE(
host => 'localhost',
ace => xs$ace_type(privilege_list => xs$name_list('connect'),
principal_name => 'APEX_220100',
principal_type => xs_acl.ptype_db));
END;
/
EXEC DBMS_XDB.sethttpport(0);
download jdk
https://www.oracle.com/java/technologies/javase-downloads.html
--Download Ords file as you required or support your apex versions....
https://www.oracle.com/database/technologies/appdev/rest-data-services-v192-downloads.html
#unzip ords file
copy images folder from apex directory and past to ords folder.
go to cmd
and enter ords directory
example
CD D:\Oracle\ords
java -jar ords.war