APEX installation on Linux - Step by Step
1. Download the Apex latest version(apex_4.2.5.zip).
2. Copy apex_4.2*.zip to Linux server (/u01/APEX)
3. Unzip apex_4.2*.zip :
Create the Tablespace for APEX :
CREATE TABLESPACE apex DATAFILE '/u01/apex/oradata/apexdev/apex01.dbf' SIZE 400M AUTOEXTEND ON NEXT 1M;
4. Start APEX installation:
sqlplus "/as sysdba"
SQL > @apexins.sql APEX APEX TEMP /i/
5. Change ADMIN account password:
sqlplus "/as sysdba"
SQL > @apxchpwd.sql
*** The password must contain at least one punctuation character: (!”#$%&()“*+,-/:;?_).
6. Run the Embedded PL/SQL Gateway configuration (EPG):
sqlplus "/as sysdba"
SQL > @apex_epg_config.sql /u01/APEX (Where Apex unziped - cd /u01/APEX/apex/..)
7. Update the APEX images with those from the new release:
sqlplus "/as sysdba"
SQL > @apxldimg.sql /u01/APEX (Where Apex unziped - cd /u01/APEX/apex/..)
8. Verify the below account's unlocked and not expired:
If EXPIRED - Change password for following users : ANONYMOUS,XDB,APEX_PUBLIC_USER,FLOWS_FILES,APEX_040200.
IF LOCKED - Unlock:
ALTER USER ANONYMOUS ACCOUNT UNLOCK;
ALTER USER XDB ACCOUNT UNLOCK;
ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK;
ALTER USER FLOWS_FILES ACCOUNT UNLOCK;
ALTER USER APEX_040200 ACCOUNT UNLOCK;
9. Run below syntax.
sqlplus "/as sysdba"
DECLARE
ACL_PATH VARCHAR2(4000);
BEGIN
-- Look for the ACL currently assigned to '*' and give APEX_040200
-- the "connect" privilege if APEX_040200
-- does not have the privilege yet.
SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200',
'connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
'APEX_040200', TRUE, 'connect');
END IF;
EXCEPTION
-- When no ACL has been assigned to '*'.
WHEN NO_DATA_FOUND THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
'ACL that lets power users to connect to everywhere',
'APEX_040200', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
END;
/
COMMIT;
10. Download webtier.
ofm_webtier_linux_11.1.1.7.0_64_disk1_1of1.zip
11. Install the webtier.
12. Copy the images folder from apex to webtier.(/u01/APEX/apex/images to webtire oracle home)
13. Copy below parameters to dads.conf file and edit password.
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None -d
PlsqlDatabaseUsername APEX_PUBLIC_USER-d
PlsqlDatabasePassword apexpwd -d
PlsqlDatabaseConnectString system.xxxxxx.com:1521:orcl -d
PlsqlAuthenticationMode Basic -d
PlsqlDefaultPage apex -- d
PlsqlDocumentTablename wwv_flow_file_objects$ d
PlsqlDocumentPath docs -d
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download -d
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8 -d
1. Download the Apex latest version(apex_4.2.5.zip).
2. Copy apex_4.2*.zip to Linux server (/u01/APEX)
3. Unzip apex_4.2*.zip :
Create the Tablespace for APEX :
CREATE TABLESPACE apex DATAFILE '/u01/apex/oradata/apexdev/apex01.dbf' SIZE 400M AUTOEXTEND ON NEXT 1M;
4. Start APEX installation:
sqlplus "/as sysdba"
SQL > @apexins.sql APEX APEX TEMP /i/
5. Change ADMIN account password:
sqlplus "/as sysdba"
SQL > @apxchpwd.sql
*** The password must contain at least one punctuation character: (!”#$%&()“*+,-/:;?_).
6. Run the Embedded PL/SQL Gateway configuration (EPG):
sqlplus "/as sysdba"
SQL > @apex_epg_config.sql /u01/APEX (Where Apex unziped - cd /u01/APEX/apex/..)
7. Update the APEX images with those from the new release:
sqlplus "/as sysdba"
SQL > @apxldimg.sql /u01/APEX (Where Apex unziped - cd /u01/APEX/apex/..)
8. Verify the below account's unlocked and not expired:
If EXPIRED - Change password for following users : ANONYMOUS,XDB,APEX_PUBLIC_USER,FLOWS_FILES,APEX_040200.
IF LOCKED - Unlock:
ALTER USER ANONYMOUS ACCOUNT UNLOCK;
ALTER USER XDB ACCOUNT UNLOCK;
ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK;
ALTER USER FLOWS_FILES ACCOUNT UNLOCK;
ALTER USER APEX_040200 ACCOUNT UNLOCK;
9. Run below syntax.
sqlplus "/as sysdba"
DECLARE
ACL_PATH VARCHAR2(4000);
BEGIN
-- Look for the ACL currently assigned to '*' and give APEX_040200
-- the "connect" privilege if APEX_040200
-- does not have the privilege yet.
SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200',
'connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
'APEX_040200', TRUE, 'connect');
END IF;
EXCEPTION
-- When no ACL has been assigned to '*'.
WHEN NO_DATA_FOUND THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
'ACL that lets power users to connect to everywhere',
'APEX_040200', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
END;
/
COMMIT;
10. Download webtier.
ofm_webtier_linux_11.1.1.7.0_64_disk1_1of1.zip
11. Install the webtier.
12. Copy the images folder from apex to webtier.(/u01/APEX/apex/images to webtire oracle home)
13. Copy below parameters to dads.conf file and edit password.
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None -d
PlsqlDatabaseUsername APEX_PUBLIC_USER-d
PlsqlDatabasePassword apexpwd -d
PlsqlDatabaseConnectString system.xxxxxx.com:1521:orcl -d
PlsqlAuthenticationMode Basic -d
PlsqlDefaultPage apex -- d
PlsqlDocumentTablename wwv_flow_file_objects$ d
PlsqlDocumentPath docs -d
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download -d
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8 -d
14. Restart the opmnctl
Accessible URLs
Oracle HTTP Server URL : http://system.xxxxxxx.com:7780
Oracle HTTP Server SSL URL : https://system.xxxxxxxx.com:4443
4 comments:
Do you realize there's a 12 word phrase you can tell your partner... that will induce intense feelings of love and instinctual attraction for you buried within his chest?
That's because deep inside these 12 words is a "secret signal" that fuels a man's instinct to love, adore and guard you with his entire heart...
12 Words Will Trigger A Man's Desire Impulse
This instinct is so hardwired into a man's mind that it will make him work harder than before to make your relationship as strong as it can be.
As a matter of fact, fueling this influential instinct is so mandatory to having the best possible relationship with your man that once you send your man a "Secret Signal"...
...You'll instantly find him expose his soul and mind for you in such a way he haven't expressed before and he will distinguish you as the one and only woman in the world who has ever truly fascinated him.
Your Affiliate Profit Machine is ready -
And getting it running is as easy as 1..2..3!
Here is how it works...
STEP 1. Tell the system which affiliate products you intend to promote
STEP 2. Add push button traffic (this LITERALLY takes 2 minutes)
STEP 3. Watch the system grow your list and sell your affiliate products all by itself!
Are you ready???
Click here to check it out
Thank you for sharing this post its very knowledgeable i hope that you will continue to post these kinds of contents in future apart from that if anyone looking for Advance Excel institute in delhi so Contact Here-+91-9311002620 Or Visit Website- https://www.htsindia.com/Courses/business-analytics/adv-excel-training-course
Your post is really good thanks for sharing these kind of post but if anyone looking for Best Consulting Firm for Fake Experience Certificate Providers in mumbai, India with Complete Documents So Dreamsoft Consultancy is the Best Place.Further Details Here- 9599119376 or VisitWebsite-https://experiencecertificates.com/experience-certificate-provider-in-mumbai.html
Post a Comment