Guide to Install ORALCE APEX with HTTP Server 1. Install Http server from ORACLE Companion CD.

Install it on other than Oracle database home like /rdbms/app/oracle/product/httpserver. Select http server only (don’t select HTML DB) when system asks during the installation. The system will give linking error during installation; select ‘Continue’ on that error. After installation run root.sh from httpserver home i.e. /rdbms/app/oracle/product/httpserver as root user. After this installation, browse http://<server ip>:<http port default 7777> from any PC; if Oracle HTTP server welcome page is appeared then it means http server is installed successfully. Add export ORACLE_HTTPSERVER_HOME= /rdbms/app/oracle/product/httpserver in .bash_profile of oracle user. Moreover, add the following lines in the PATH variable of .bash_Profile: :$ORACLE_HTTPSERVER_HOME/bin:$ ORACLE_HTTPSERVER_HOME/opmn/bin 2. Stop httpserver from ORACLE_HTTPSERVER_HOME/opmn/bin as opmnctl stopall 3. Unzip apex*.zip on any file system of the server ( We extracted it in /freespace) 4. Execute owainst.sql from apex/owa directory under SYS user. Check the version after it that should be 10.1.2.0.6 or higher by select owa_util.get_vesion from dual; Run rdbms/admin/utlrp.sql from oracle home on the safer side afterwards. 5. Create tablespace for apex users and files. Create tablespace myapx datafile ‘/mydbs2/oradata/mysys/MYAPX.dbf’ size 200M autoextend on extent management local segment space management auto online; 6. Change directory to apex (on the file system at where the apex is unzipped like /myspace/apex). Take SQL session from SYS user and then run: @apexins MYAPX MYAPX TEMP /i/ 7. After the completion of apexins.sql script, execute apxchpwd .sql to change the password of apex ADMIN account. Set the desired password when the system prompts for it. 8. Restart http server from ORACLE_HTTPSERVER_HOME/opmn/bin as opmnctl startall 9. Unlock APEX_PUBLIC_USER account by SYS user. Alter user APEX_PUBLIC_USER account unlock; 10. Change the password of APEX_PUBLIC_USER by SYS user. Alter user APEX_PUBLIC_USER identified by <passowrd>; 11. Increase the JOB_QUEUE_PROCESSES by SYS user, if it is less than 20. Alter system set JOB_QUEUE_PROCESSES = 50; To check this parameter run: select value from v$parameter where name = ‘job_queue_processes’; 12. Copy the images directory to correct location (from the file system where apex is unzipped like /myspace/apex). cp -rf /myspace/apex/images ORACLE_HTTPSERVER_HOME/Apache 13. Configure the dads.conf file located at ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf. Copy the following contents in this file and then modify the parameter accordingly: Page 1 of 2

process_download PlsqlNLSLanguage AMERICAN_AMERICA. The user name will be ADMIN (the password that you have been set through point 7 of this document).oracle $ORACLE_HTTPSERVER_HOME/opmn/bin/opmnctl startall >> /var/log/dbstart 18. Set the password as per system’s complexity rule.0.AL32UTF8 </Location> 14.168. The apex can be accessed by any PC’s browser as http://hostname:port/pls/apex/apex_admin (http://192.168. 17.Guide to Install ORALCE APEX with HTTP Server Alias /i/ "/rdbms/app/oracle/product/httpserver/Apache/images/" # point the image directory AddType text/xml xbl AddType text/x-component htc <Location /pls/apex> SetHandler pls_handler Order deny. Optionally. To make the http server shut down automatically. run dadTool.README file under ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf directory.oracle $ORACLE_HTTPSERVER_HOME/opmn/bin/opmnctl stopall >> /var/log/dbshut Page 2 of 2 .d/dbstart by root user: su . The system will ask for change of password. opmnctl stopall. add the following as last line in /etc/init.0.1:1521/pls/apex/apex_admin).pl by following the instructions in the dadTool.d/xfs by root user: su . the installation and configuration is done. To obfuscate or encrypt passwords. add the following line after dbshut line under stop() tag in /etc/init. opmnctl startall. Now. Start and stop http server from ORACLE_HTTPSERVER_HOME/opmn/bin. the password of PlsqlDatabasePassword parameter can be encrypted. 15.1:1521:mysys # <server ip:listener port:service name> PlsqlAuthenticationMode Basic PlsqlDefaultPage apex PlsqlDocumentTablename wwv_flow_file_objects$ PlsqlDocumentPath docs PlsqlDocumentProcedure wwv_flow_file_mgr. To make the http server start up automatically.allow Allow from all AllowOverride None PlsqlDatabaseUsername APEX_PUBLIC_USER PlsqlDatabasePassword <apex_public_user password> PlsqlDatabaseConnectString 192. 16.

Sign up to vote on this title
UsefulNot useful