在linux上安装Oracle Application Express

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博客 ” ,链接:http://blog.itpub.net/8684388/viewspace-620249/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/8684388/viewspace-620249/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值