Oracle Application Server 10g (9.0.4) for Linux x86 インストール手順 - J2EE実行環境編

Similar documents
Oracle Application Server 10g (9.0.4) for Linux x86 インストール手順 - J2EE実行環境編

Oracle Application Server 10g( )インストール手順書

Oracle Application Server 10g(9

Oracle Application Server 10g(9.0.4) for Linux x86 インストール手順 ~Infrastructure編~

Oracle Application Server 10g(9.0.4) for Linux x86 Discoverer Red Hat Enterprise Linux AS/ES 2.1 Red Hat Enterprise Linux AS/ES 3.0 MIRACLE LINUX Stan

Oracle Application Server 10g(9.0.4) for Linux x86 インストール手順 ~Infrastructure編~

<Documents Title Here>

<Documents Title Here>

<Documents Title Here>

Oracle HTML DB 導入ガイド

<Documents Title Here>

Oracle Application Server 10g(9

Oracle Database Clientクイック・インストレーション・ガイド, 10gリリース 1( ) for Linux x86-64

untitled

Oracle Application Server 10g (9.0.4): Manually Managed Cluster

Oracle Application Server10g (9.0.4) - OracleAS PortalによるOracleAS Web Cacheの配置

Oracle Calendar Oracle Collaboration Suite 2(9.0.4) Creation Date: Jun 04, 2003 Last Update: Nov 18, 2003 Version:

11 Oracle Oracle10g Database Oracle 2 sam 1M (GUI ) 2

<Documents Title Here>

<Documents Title Here>

new_logo.eps

untitled

日本語タイトルを入力

Oracle Application Server 10g Forms and Reports Servicesインストレーション・ガイド, 10g(9.0.4)for HP-UX PA-RISC(64-bit)and Linux x86

Oracle Change Management Pack, Oracle Diagnostics Pack, Oracle Tuning Packインストレーション・ガイド リリース2.2

Oracle Identity Managementの概要およびアーキテクチャ

Northern Lights Server

橡CoreTechAS_HighAvailability.PDF

PrintWalker/LXE インストールガイド

WebSphere Application Server V5.0 for Linux Ver. 1.11

橡CoreTechAS_OverView.PDF

Microsoft Word - J doc

Windows Oracle -Web - Copyright Oracle Corporation Japan, All rights reserved.

Install.PDF

Red Hat Enterprise Linux 2.1 ASからRed Hat Enterprise Linux 3へのアップグレード時のOracle Database 10g環境の保持

Oracle8 Workgroup Server for Windows NTインストレーション・ガイド,リリース8.0.6

Windows SE RAC 10g 構築手順書

Oracle Web Conferencing Oracle Collaboration Suite 2 (9.0.4) Creation Date: May 14, 2003 Last Update: Jan 21, 2005 Version: 1.21

Microsoft Word - PSB導入ガイド_ docx

PowerGres on Linuxマニュアル

untitled

組織変更ライブラリ

Systemwalker IT Service Management Systemwalker IT Service Management V11.0L10 IT Service Management - Centric Manager Windows


Sybase on CLUSTERPRO for Linux HowTo

PowerGres on Linuxマニュアル

ExpressUpdate Agent インストレーションガイド

意外と簡単!? Oracle Database 11g -バックアップ・リカバリ編-

untitled

BC4J...4 BC4J Association JSP BC4J JSP OC4J

mvd_nas_2.0.5_release_notes_v1_ja.doc

unix.dvi

Oracle9i Application Server for Windows NT/2000 リリース・ノート追加情報 リリース

オラクルのバックアップとリカバリの必須要件

_‚Ofl¼

untitled

Microsoft Word - マニュアル4.1J

ja:Products:USB-3-Hard-Drive:Printable · User Manuals

untitled

意外と簡単!?

RouteMagic Controller RMC-MP200 / MP Version

# mv httpd tar.gz /usr/local/src /usr/local/src # tar zxvf httpd tar.gz make #./configure # make # make install Apache # /usr/local/apac

CentOSv2_furoku

Red Hat Enterprise Linux AS (v.3 for IPF) Update 3

RouteMagic Controller( RMC ) 3.6 RMC RouteMagic RouteMagic Controller RouteMagic Controller MP1200 / MP200 Version 3.6 RouteMagic Controller Version 3

RouteMagic Controller RMC-MP200 / MP Version

OpenAM 13 インストールガイド

untitled

ESMPRO/ServerAgent Extension インストレーションガイド

橡環境設定.PDF

Oracle Application Server Standard Edition One インストレーションおよびスタート・ガイド, 10g リリース2( )for Linux x86

はじめに このドキュメントではftServerに関する障害調査を行う際に 必要となるログ データの取得方法を説明しています ログ データの取得には 初期解析用のデータの取得方法と 詳細な調査を行うときのデータ取得方法があります 特別な理由でOS 側のログが必要となった場合には RHELログの取得につ

ExpressUpdate Agent インストレーションガイド

Oracle Databaseクイック・インストレーション・ガイド, 10g リリース1( ) for Linux Itanium

HP Server tc2120 Microsoft Windows 2000 Server SP3 HP P

Oracle Developer Suiteインストレーション・ガイド, 10gリリース2(10.1.2)for Solaris Operating System (SPARC), Microsoft Windows and Linux x86

P X-M04-00 PowerChute Network Shutdown PowerChute Network Shutdown Standard v2.2.3a / Enterprise v2.2.3v PowerChute Network Shutdown Standard

debian_manual.dvi

FileMaker Server 9 Getting Started Guide

INR-HG5579a_Netshut_Guide_Linux-Solaris_.doc

ExpressUpdate Agent インストレーションガイド

A : kerl kerl Erlang/OTP Erlang/OTP 2 2 Elixir/Phoenix URL 2 PDF A.2 Bash macos.bash_profile exp

etrust Access Control etrust Access Control UNIX(Linux, Windows) 2

FileMaker Server Getting Started Guide

KWCR3.0 instration

Oracle Secure Enterprise Search

DianaScope インストレーションマニュアル

ExpressUpdate Agent インストレーションマニュアル

PRIMEQUEST 1000シリーズ Linux設計ガイド

Copyright 2009 Sun Microsystems, Inc Network Circle, Santa Clara, CA U.S.A. All rights reserved. Sun Microsystems, Inc. ( Sun Microsystems

CLUSTERPRO 3.x データベース監視オプション編

Java Platform Debugger Architecture Apache JServ Oracle JVM JPDA JVM Tomcat Oracle JVM... 7

Oracle Database 10g Release2 インストレーションガイド Enterprise Linux 5編

チュートリアル XP Embedded 入門編

様向けサーバ環境設定 株式会社フュージョンシス 文書バージョン日付変更点 Ver 年 1 月 6 日作成 Ver. 年月日

セットアップカード

JP1/Integrated Management - Service Support 操作ガイド

untitled

HITACHI Gigabit Fibre Channel (SUSE Linux Enterprise Server IOCard-FP2-Z-199(1)

untitled

Transcription:

Oracle Application Server 10g Release 2 (10.1.2) for Linux x86 J2EE

Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE and Web Cache J2EE Oracle Application Server 10g Release 2 (10.1.2) J2EE Oracle HTTP Server Oracle Application Server Containers for J2EE(OC4J) Oracle Enterprise Manager Application Server Control Oracle Application Server 10g 2(10.1.2) Oracle Application Server 10g 2(10.1.2) Oracle Application Server 10g 2(10.1.2) Oracle Technology Network Japan http://otn.oracle.co.jp/document/products/as10g/index.html Linux bash Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 2

...2...2...3...4...6...6...6 (Red Hat Enterprise Linux 3.0 )...7...8...9 OS...10...13...28...28 Oracle HTTP Server...28 Application Server Control...29...30...30...31 Oracle Enterprise Manager Application Server Control...31 Oracle HTTP Server...31 Oracle Application Server Containers for J2EE(OC4J)...33...35 Oracle HTTP Server...35 Oracle Application Server Containers for J2EE(OC4J)...37 Application Server Control...39...39...41...41 Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 3

OS J2EE Oracle Universal Installer 1 Oracle Application Server 10g Release 2 (10.1.2) J2EE Oracle Universal Installer GUI Oracle Universal Installer J2EE 3 1 Oracle HTTP Server Apache Web Oracle Application Server Container for J2EE(OC4J) J2EE J2EE Oracle Enterprise Manager Application Server Control Oracle Application Server Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 4

Oracle HTTP Server OC4J Application Server Control j2eehost.my.company.com 2 Oracle Universal Installer Oracle Universal Installer / 3 Oracle Universal Installer Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 5

3 1. 2. 3. Oracle Application Server 10g Release 2 (10.1.2) Oracle Universal Installer root 1. J2EE 512MB # grep MemTotal /proc/meminfo 2. J2EE 700MB # df -h 3. 1.5GB # grep SwapTotal /proc/meminfo Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 6

4. 256 # /usr/x11r6/bin/xdpyinfo grep window ( ) depth of root window: 16 planes ( ) depth of root window 8 (Red Hat Enterprise Linux 3.0 ) root 1. OS OS # cat /etc/issue Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 2. kernel-2.4.21-20.el CPU SMP Enterprise smp enterprise # uname -r 2.4.21-20.EL kernel-2.4.21-20.el Red Hat Web 3. RedHat Update3 glibc-2.3.2-95.27 glibc-common-2.3.2-95.27 binutils-2.14.90.0.4-35 compat-glibc-7.x-2.2.4.32.6 compat-libstdc++-7.3-2.96.128 compat-libstdc++-devel-7.3-2.96.128 gcc-3.2.3-42 gcc-c++-3.2.3-42 libstdc++-3.2.3-42 Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 7

libstdc++-devel-3.2.3-42 openmotif21-2.1.30-8 pdksh-5.2.14-21 setarch-1.3-1 make-3.79.1-17 gnome-libs-1.4.1.2.90-34.1 sysstat-4.0.7-4.el3.3 compat-db-4.0.14-5 # rpm -q < > Red Hat Enterprise Linux CD-ROM Red Hat Web : rpm / # rpm ivh < > # rpm Uvh < > 4. hugemem #setarch i386 root 1. Web Cache nofile 65536 # ulimit -Hn Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 8

65536 /etc/security/limits.conf * hard nofile 65536 root /etc/hosts IP. 146.56.9.103 j2eehost.jp.oracle.com j2eehost web portal 255 /etc/hosts DHCP Linux Windows DHCP DHCP /etc/hosts 127.0.0.1. 127.0.0.1 localhost.localdomain localhost 127.0.0.1 j2eehost.jp.oracle.com j2eehost 127.0.0.1 localhost.localdomain localhost hostname hostname # hostname Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 9

j2eehost.jp.oracle.com OS Oracle Application Server Oracle Application Server Oracle Application Server root root 1. oinstall # groupadd oinstall 2. dba # groupadd dba 3. oracleas oracleas oinstall dba # useradd -g oinstall -G dba oracleas 4. oracleas # passwd oracleas New password: 5. oracleas /etc/profile $USER = "oracleas" $SHELL = "/bin/ksh" 1 ( ) if [ $USER = "oracleas" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit p 16384 >/dev/null 2>&1 ulimit n 65536 >/dev/null 2>&1 else ulimit u 16384 n 65536 >/dev/null 2>&1 fi fi Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 10

6. root /etc/security/limits.conf 4 * soft nproc 2047 * hard nproc 16384 * soft nofile 2048 * hard nofile 65536 /etc/pam.d/login session required /lib/security/pam_limits.so 7. oracleas # su - oracleas $ env DISPLAY X Server TMP TMPDIR TMP TMPDIR 400MB PATH CLASSPATH LD_LIBRARY_PATH Oracle ORACLE_HOME TNS_ADMIN ORA_NLS33 Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 11

LD_BIND_NOW LANG LANG=ja_JP.eucJP ( Linux EUC ) 8. /opt/oracle/ Oracle Application Server oracleas Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 12

1. oracleas # su oracleas Password: 2. TMP TMPDIR TMP TMPDIR 400MB $ df h $TMP $ df h $TMPDIR 3. Oracle Application Server Disk1 CD-ROM $ mount /mnt/cdrom 4. Oracle Universal Installer OUI $ /mnt/cdrom/runinstaller Oracle Application Server 10g Error :.Continue? (y/n) [n] n

OUI 5. 6. Oracle Oracle Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 14

/opt/oracle/orainventory oinstall OK orainstroot.sh root /opt/oracle/orainventory/orainstroot.sh $ su Password: #/opt/oracle/orainventory/orainstroot.sh Oracle (/etc/orainst.loc) Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 15

: /opt/oracle/orainventory : oinstall. orainstroot.sh 7. OracleAS mid_j2ee01 /opt/oracle/product/as10.1.2/mid_j2ee01 8. Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 16

Oracle Application Server 10g 9. J2EE and Web Cache 10. Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 17

11. Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 18

12. Oracle HTTP Server Oracle HTTP Server J2EE&Web Cache OracleAS Containers for J2EE OC4J (OC4J) J2EE&Web Cache OracleAS Web Cache Oracle Application Server Web Cache OracleAS Farm Repository OracleAS Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 19

Identity Management Access OracleAS Oracle Application Server Single Sign-On Oracle Internet Directory Identity Management 13. Oracle Application Server 10g /etc/services Oracle Application Server 10g Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 20

staticports.ini Disk1 $ cp /mnt/cdrom/stage/response/staticports.ini /opt/oracle/staticports.ini staticports.ini /opt/oracle/staticports.ini # OracleAS Infrastructure Oracle HTTP Server(OHS) 8888 # J2EE and Web Cache Oracle HTTP Server port = 8888 Oracle HTTP Server Listen port = 8888 #Oracle HTTP Server SSL port = port_num #Oracle HTTP Server Listen (SSL) port = port_num #Oracle HTTP Server Diagnostic port = port_num Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 21

#Oracle HTTP Server Jserv port = port_num #Java Object Cache port = port_num #DCM Java Object Cache port = port_num #Oracle Notification Server Request port = port_num #Oracle Notification Server Local port = port_num #Oracle Notification Server Remote port = port_num #Application Server Control port = port_num #Application Server Control RMI port = port_num #Oracle Management Agent port = port_num #Web Cache HTTP Listen port = port_num #Web Cache HTTP Listen (SSL) port = port_num #Web Cache Administration port = port_num #Web Cache Invalidation port = port_num #Web Cache Statistics port = port_num #Log Loader port = port_num portlist.ini 65536 Oracle Application Server staticports.ini Oracle Application Server 10g 10g 2 10.1.2 for HP-UX PA-RISC(64-bit) and Linux x86 4.4 14. ias_admin Oracle Application Server ias_admin Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 22

mid_j2ee01 ias_admin oracle10g Oracle Application Server Application Server Control ias_admin ias_admin 5 (A Z a z 0 9) $ _ 1 OracleAS 15. Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 23

16. CD-ROM Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 24

CD-ROM OK : # umount /mnt/cdrom # eject # mount /mnt/cdrom root.sh OK Oracle Application Server ( /opt/oracle/products/as10.1.2/mid_j2ee01/ ) root.sh root $su password #/opt/oracle/product/as10.1.2/mid_j2ee01/root.sh Running Oracle10 root.sh script... The following environment variables are set as: ORACLE_OWNER= oracleas ORACLE_HOME= /opt/oracle/product/as10.1.2/mid_j2ee01 Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin... Copying oraenv to /usr/local/bin... Copying coraenv to /usr/local/bin... Adding entry to /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 25

Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed. Oracle /usr/local/bin dbhome oraenv coraenv y staticports.ini Oracle HTTP Server OracleAS Web Cache 1024 $ su Password: # cd /opt/oracle/products/as10.1.2/mid_j2ee01/apache/apache /bin # chown root.apachectl # chmod 6750.apachectl OK 17. Configuration Assistant Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 26

18. Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 27

Oracle HTTP Server Oracle Enterprise Manager Application Server Control Oracle HTTP Server Application Server Control 1. /opt/oracle/product/as10.1.2/mid_j2ee01/install/portlist.ini Oracle HTTP Server port Web Cache HTTP Listen port ( 2 ) Application Server Control port [Ports] Oracle HTTP Server port = 7777 Oracle HTTP Server Listen port = 7777 Oracle HTTP Server SSL port = 4443 Oracle HTTP Server Listen (SSL) port = 4443 Oracle HTTP Server Diagnostic port = 7200 Application Server Control RMI port = 1850 Oracle Notification Server Request port = 6003 Oracle Notification Server Local port = 6100 Oracle Notification Server Remote port = 6200 Java Object Cache port = 7010 Log Loader port = 44000 DCM Java Object Cache port = 7101 Oracle Management Agent port = 1830 Application Server Control port = 1810 Oracle HTTP Server Listen port = 7777 Oracle HTTP Server Listen (SSL) port = 4443 Web Cache HTTP Listen port = 7778 Web Cache HTTP Listen (SSL) port = 4445 Web Cache Administration port = 4000 Web Cache Invalidation port = 4001 Web Cache Statistics port = 4002 Oracle HTTP Server 1. URL http://<. >:< > Oracle HTTP Server port

2. Application Server Control Application Server Control 1. URL http://<. >:< > Application Server Control port 2. ias_admin oracle10g 3. Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 29

Oracle HTTP Server OracleAS Containers for J2EE(OC4J) Oracle Enterprise Manager Application Server Control 1. oracleas 2. $ vi.j2ee01_env 3..j2ee01_env export ORACLE_HOME=/opt/oracle/product/as10.1.2/mid_j2ee01 export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH export PATH=/usr/bin:/usr/local/bin:/bin:/usr/X11R6/bin:. :$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$ORACLE_HOME/dcm/bin :$PATH export NLS_LANG=Japanese_Japan.JA16EUC Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 30

/usr/bin PATH 4. $..j2ee01_env 5. $ env Oracle Enterprise Manager Application Server Control 1. oracleas 2. $..j2ee01_env 3. Application Server Control $ emctl start iasconsole TZ set to Japan Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.0.0 Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved. http://j2eehost.my.company.com:1818/emd/console/aboutappli cation Starting Oracle Enterprise Manager 10g Application Server Control... started successfully. Oracle HTTP Server Application Server Control 1. Application Server Control Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 31

http://<. >:< > Application Server Control port 2. Application Server Control ias_admin oracle10g 3. Oracle HTTP Server HTTP_Server (A) Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 32

Oracle Application Server Containers for J2EE(OC4J) 1. Application Server Control http://<. >:< > Application Server Control port 2. Application Server Control ias_admin oracle10g Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 33

3. Oracle Application Server Containers for J2EE(OC4J) home (A) Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 34

Oracle HTTP Server Application Server Control 1. Application Server Control http://<. >:< > Application Server Control port 2. Application Server Control ias_admin oracle10g Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 35

3. Oracle HTTP Server HTTP_Server (P) Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 36

Oracle Application Server Containers for J2EE(OC4J) Application Server Control 1. Application Server Control http://<. >:< > Application Server Control port 2. Application Server Control ias_admin oracle10g Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 37

3. Oracle Application Server Containers for J2EE(OC4J) home (P) Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 38

Application Server Control 1. oracleas 2. $..j2ee01_env 3. Application Server Control $ emctl stop iasconsole TZ set to Japan Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.0.0 Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved. http://j2eehost.my.company.com:1818/emd/console/aboutappli cation Stopping Oracle Enterprise Manager 10g Application Server Control...... Stopped. 1. oracleas 2. $..j2ee01_env Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 39

3. $ $ORACLE_HOME/opmn/bin/opmnctl stopall Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 40

Oracle Application Server 1. oracleas 2. Oracle HTTP Server Oracle Application Server Containers for J2EE(OC4J) Application Server Control 3. Oracle Universal Installer $ $ORACLE_HOME/oui/bin/runInstaller 4. Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 41

5. mid_j2ee01 6. 7. Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 42

11 OK 8. 9. 10. Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 43

OUI 11. ORACLE_HOME Oracle Application Server ORACLE_HOME $ su Password: # rm rf /opt/oracle/product/as10.1.2/mid_j2ee01 /etc/oratab /etc/oratab $ vi /etc/oratab # # This file is used by ORACLE utilities. It is created by root.sh # and updated by the Database Configuration Assistant when creating # a database. # A colon, ':', is used as the field terminator. A new line terminates # the entry. Lines beginning with a pound sign, '#', are comments. # Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 44

# Entries are of the form: # $ORACLE_SID:$ORACLE_HOME:<N Y>: # # The first and second fields are the system identifier and home # directory of the database respectively. The third filed indicates # to the dbstart utility that the database should, "Y", or should not, # "N", be brought up at system boot time. # # Multiple entries with the same $ORACLE_SID are not allowed. # # *:/opt/oracle/product/as10.1.2/mid_j2ee01:n ( ) Oracle Application Server 10g Release 2 (10.1.2) for Linux J2EE 45

Copyright 2005 Oracle Corporation Japan. All Rights Reserved. Oracle Oracle Corporation Oracle Corporation