ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 在linux上安装Oracle Application Express

在linux上安装Oracle Application Express

原创 Linux操作系统 作者:iolia131 时间:2009-11-22 20:16:07 0 删除 编辑

ENV:

[oracle@azhao-linux apex]$ uname -a

Linux azhao-linux 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686 i686 i386 GNU/Linux

Download source:

1. apex_3.2.1.zip address: apex.oracle.com

2. as_101330_apache2_lnx.zip address: oracle 11.1g download page

Step:

1. Install apex engine

unzip apex_3.2.1.zip

mkdir oracle_apache

cd oracle_apache

Unzip ../as_101330_apache2_lnx.zip

Cd ../apex

sqlplus / as sysdba

SQL> create tablespace apex datafile '/opt/oracle/oradata/test/apex01.dbf' size 1000m autoextend on;

SQL> @apexins.sql apex apex temp /i/

Sqlplus / as sysdba

SQL> select username,account_status,default_tablespace from dba_users order by created;

USERNAME                       ACCOUNT_STATUS                   DEFAULT_TABLESPACE

------------------------------ -------------------------------- ------------------------------

APEX_PUBLIC_USER               LOCKED                           USERS

APEX_030200                    LOCKED                           APEX

FLOWS_FILES                    LOCKED                           APEX

SQL> alter user APEX_PUBLIC_USER account unlock;

SQL> alter user  APEX_PUBLIC_USER identified by test;

SQL> @apxchpwd.sql #set password of 'admin' user.

2. Install Oracle apache

cd oracle_apache/

./runInstaller

Path: $ORACLE_BASE/ias

Install

#don't need run 'root.sh' since it has been run when installing the Oracle database.

3. Configure apache

(1) register APEX to mod_plsql

Cd /opt/oracle/ias/ohs/modplsql/conf

Vi dads.conf

Alias /i/ "/opt/oracle/ias/ohs/images/" #don't lose the last "/"

AddType text/xml       xbl

AddType text/x-component       htc

 Order deny,allow

 PlsqlDocumentPath docs

 AllowOverride None

 PlsqlDocumentProcedure      wwv_flow_file_mgr.process_download

 PlsqlDatabaseConnectString  azhao-linux:1521:test ServiceNameFormat

 PlsqlNLSLanguage            AMERICAN_AMERICA.AL32UTF8

 PlsqlAuthenticationMode     Basic

 SetHandler                  pls_handler

 PlsqlDocumentTablename      wwv_flow_file_objects$

 PlsqlDatabaseUsername       APEX_PUBLIC_USER

 PlsqlDefaultPage            apex

 PlsqlDatabasePassword       test

 Allow from all

(2) change default port which has been occupied by Oracle 

vi /opt/oracle/ias/opmn/conf/opmn.xml

    

          remote="6209"

          request="6009"/>

(3) copy images

cp -r /opt/oracle/source_apex/apex/images /opt/oracle/ias/ohs

(4) add env variable 

Vi .bash_profile

ORACLE_HTTPSERVER_HOME=$ORACLE_BASE/ias

alias opmnctl='$ORACLE_HTTPSERVER_HOME/opmn/bin/opmnctl'

4. Start apache

[oracle@azhao-linux conf]$ opmnctl startall

opmnctl: starting opmn and all managed processes...

[oracle@azhao-linux conf]$ opmnctl stopall

opmnctl: stopping opmn and all managed processes...

[oracle@azhao-linux conf]$ opmnctl startall

opmnctl: starting opmn and all managed processes...

http://azhao-linux:7777/

http://azhao-linux:7777/pls/apex

http://azhao-linux:7777/pls/apex/apex_admin

GOOD LUCK.

Comment:

The admin workspace is "internal"

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8684388/viewspace-620249/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: RMAN error RMAN-20004
请登录后发表评论 登录
全部评论

注册时间:2009-10-20

  • 博文量
    20
  • 访问量
    48658