Table of Contents
前言
1、安装OHS
2、配置OHS
3、验证及OHS配置
Home Database Mysql Tutorial OHS简单安装与系统配置

OHS简单安装与系统配置

Jun 07, 2016 pm 03:59 PM
Preface Install whole Simple system Configuration

前言 OHS完整安装过程包括安装weblogic(用于展示OHS图形配置界面)、OHS、WebCache组件,安装完成后启动weblogic能够在em管理控制台中可视化的配置和控制OHS相关参数和操作,更加便于管理。 为了保障OHS服务器稳定、不受其他因素干扰,并且不需要上述weblog

前言

OHS完整安装过程包括安装weblogic(用于展示OHS图形配置界面)、OHS、WebCache组件,安装完成后启动weblogic能够在em管理控制台中可视化的配置和控制OHS相关参数和操作,更加便于管理。

为了保障OHS服务器稳定、不受其他因素干扰,并且不需要上述weblogic图形管理界面时,可以采用本文档所介绍的简单安装模式。

1、安装OHS

与BIEE安装过程类似,在安装OHS之前首先保证服务器已经安装好开发包插件,尤其是CPP安装包,务必要提前安装就绪;其次,创建oracle或biee账户,将账户分配给oinstall用户组;同时客户端安装X-manager图形界面工具。

解压缩webtier压缩包,并进入WebTier安装目录,进入“Disk1”文件夹

\

通过export DISPLAY=IP地址:0.0命令,将屏幕输出至安装了x-manager的机器

执行runInstaller文件:./runInstaller

\

此时会输出图形界面如下,选择安装路径,点击”OK“:

\

如果操作系统权限不满足条件,系统会弹出以下窗口:此时需要复制下图中选中部分的脚本路径,以root账户登录系统,并执行脚本,执行后,点击 “OK”

\

点击“Next”

\

选择“Skip Software Updates”, 点击“Next”

\

该步骤很重要:只要选择仅安装模式,不要进行配置,“Install Software –Do not Configure”

\

点击“Next”,进行系统环境检查

\

点击“Next”,选择安装路径

\

取消输入oracle support账号,点击“Next”

\

点击“Next”,准备安装\

点击“Installer”,开始安装,知道安装结束,关闭窗口

\

2、配置OHS

cd /d01/biee/Oracle/Middleware/Oracle_WT1/bin

执行config.sh命令,出现webTier图形化配置界面:

\

点击“Next”

\

此时只需要勾选Oracle HTTP Server,点击“Next”

\

点击“Next”

\

点击“Next”

\

取消Oracle Support账号填写,点击“Next”

\

点击“Configure”,开始进行配置:

\

配置完成,点击“Finish”关闭安装窗口

\

3、验证及OHS配置

在上述安装过程结束之后,ohs1服务默认是开启的,ohs1服务器的默认端口为7777,可以直接访问http://[IP]:7777,如果安装成功,输出界面如下:

\

此时需要做的操作包括:

查看OHS服务状态:

> $ORACLE_INSTANCE/bin/opmnctl status

结果类似下图:

\

2、启动OHS服务

A:启动所有OHS服务:

> $ORACLE_INSTANCE/bin/opmnctl startproc process-type=OHS

B:启动指定的OHS服务:

> $ORACLE_INSTANCE/bin/opmnctl startproc ias-component=component_name

3、停止OHS服务

A:停止所有OHS服务:

> $ORACLE_INSTANCE/bin/opmnctl stopproc process-type=OHS

B:停止指定的OHS服务:

> $ORACLE_INSTANCE/bin/opmnctl stopproc ias-component=component_name

4、重启OHS服务

A:重启所有OHS服务:

> $ORACLE_INSTANCE/bin/opmnctl restartproc process-type=OHS

B:重启指定的OHS服务:

> $ORACLE_INSTANCE/bin/opmnctl restartproc ias-component=component_name

5、创建新的OHS服务

如果需要一个新的分发端口,此时需要创建新的OHS服务,以创建名为biee的OHS服务为例,具体命令如下:

> $ORACLE_INSTANCE/bin/opmnctl createcomponent -componentType OHS -componentName biee

注意:上述创建过程会自动创建一个名为biee的服务,所有侦听端口等信息都是自动创建(如:7778),如果需要在创建时对端口有要求,则需要增加以下参数:

-listenPort: OHS服务的侦听端口

-sslPort: SSL的侦听端口

以创建一个侦听端口为9704的名为biee的OHS服务为例,具体命令如下:

> $ORACLE_INSTANCE/bin/opmnctl createcomponent -componentType OHS -componentName biee -listenPort 9704

创建完成后,需要手工启动新的OHS服务:

> $ORACLE_INSTANCE/bin/opmnctl stopproc ias-component=biee

6、修改OHS服务侦听端口

修改OHS服务对应的httpd.conf文件(位置在Oracle_WT1\instances\instance1\config\OHS\(服务名))

修改:

# OHS Listen Port

Listen 9704

红色部分即可

注:若使修改生效,需重启OHS服务。

7、配置OHS分发

修改OHS服务对应的mod_wl_ohs.conf文件(位置与httpd.conf文件一致)

新创建的OHS服务,并无任何配置信息,打开上述文件后内容如下:

# NOTE : This is a template to configure mod_weblogic.

LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/mod_wl_ohs.so"

# This empty block is needed to save mod_wl related configuration from EM to this file when changes are made at the Base Virtual Host Level

# WebLogicHost

# WebLogicPort

# Debug ON

# WLLogFile /tmp/weblogic.log

# MatchExpression *.jsp

#

# SetHandler weblogic-handler

# PathTrim /weblogic

# ErrorPage http:/WEBLOGIC_HOME:WEBLOGIC_PORT/

#

此时需要在该文件中添加需要分发的目标服务器的IP地址、端口、和上下文根等信息,具体示例如下:

# NOTE : This is a template to configure mod_weblogic.

LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/mod_wl_ohs.so"

# This empty block is needed to save mod_wl related configuration from EM to this file when changes are made at the Base Virtual Host Level

# WebLogicHost

# WebLogicPort

# Debug ON

# WLLogFile /tmp/weblogic.log

# MatchExpression *.jsp

#location后的”/analytics”为需要分发的上下文根名称

#默认写法

SetHandler weblogic-handler

#配置日志文件输出地址,可以不用写

WLLogFile /d01/biee

#运行环境时,建议关闭Debug信息

Debug OFF

#要分发的集群的IP地址,和对应的端口号

WebLogicCluster 10.114.3.22:9704,10.114.3.23:9704

#要分发的集群的IP地址,和对应的端口号

WebLogicCluster 10.114.3.22:9704,10.114.3.23:9704

#默认写法

DynamicServerList Off

#

# SetHandler weblogic-handler

# PathTrim /weblogic

# ErrorPage http:/WEBLOGIC_HOME:WEBLOGIC_PORT/

#

配置完成后,需重启OHS服务

迪塔维
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

CUDA's universal matrix multiplication: from entry to proficiency! CUDA's universal matrix multiplication: from entry to proficiency! Mar 25, 2024 pm 12:30 PM

General Matrix Multiplication (GEMM) is a vital part of many applications and algorithms, and is also one of the important indicators for evaluating computer hardware performance. In-depth research and optimization of the implementation of GEMM can help us better understand high-performance computing and the relationship between software and hardware systems. In computer science, effective optimization of GEMM can increase computing speed and save resources, which is crucial to improving the overall performance of a computer system. An in-depth understanding of the working principle and optimization method of GEMM will help us better utilize the potential of modern computing hardware and provide more efficient solutions for various complex computing tasks. By optimizing the performance of GEMM

Huawei's Qiankun ADS3.0 intelligent driving system will be launched in August and will be launched on Xiangjie S9 for the first time Huawei's Qiankun ADS3.0 intelligent driving system will be launched in August and will be launched on Xiangjie S9 for the first time Jul 30, 2024 pm 02:17 PM

On July 29, at the roll-off ceremony of AITO Wenjie's 400,000th new car, Yu Chengdong, Huawei's Managing Director, Chairman of Terminal BG, and Chairman of Smart Car Solutions BU, attended and delivered a speech and announced that Wenjie series models will be launched this year In August, Huawei Qiankun ADS 3.0 version was launched, and it is planned to successively push upgrades from August to September. The Xiangjie S9, which will be released on August 6, will debut Huawei’s ADS3.0 intelligent driving system. With the assistance of lidar, Huawei Qiankun ADS3.0 version will greatly improve its intelligent driving capabilities, have end-to-end integrated capabilities, and adopt a new end-to-end architecture of GOD (general obstacle identification)/PDP (predictive decision-making and control) , providing the NCA function of smart driving from parking space to parking space, and upgrading CAS3.0

How to install Android apps on Linux? How to install Android apps on Linux? Mar 19, 2024 am 11:15 AM

Installing Android applications on Linux has always been a concern for many users. Especially for Linux users who like to use Android applications, it is very important to master how to install Android applications on Linux systems. Although running Android applications directly on Linux is not as simple as on the Android platform, by using emulators or third-party tools, we can still happily enjoy Android applications on Linux. The following will introduce how to install Android applications on Linux systems.

Understand Linux Bashrc: functions, configuration and usage Understand Linux Bashrc: functions, configuration and usage Mar 20, 2024 pm 03:30 PM

Understanding Linux Bashrc: Function, Configuration and Usage In Linux systems, Bashrc (BourneAgainShellruncommands) is a very important configuration file, which contains various commands and settings that are automatically run when the system starts. The Bashrc file is usually located in the user's home directory and is a hidden file. Its function is to customize the Bashshell environment for the user. 1. Bashrc function setting environment

How to Install and Run the Ubuntu Notes App on Ubuntu 24.04 How to Install and Run the Ubuntu Notes App on Ubuntu 24.04 Mar 22, 2024 pm 04:40 PM

While studying in high school, some students take very clear and accurate notes, taking more notes than others in the same class. For some, note-taking is a hobby, while for others, it is a necessity when they easily forget small information about anything important. Microsoft's NTFS application is particularly useful for students who wish to save important notes beyond regular lectures. In this article, we will describe the installation of Ubuntu applications on Ubuntu24. Updating the Ubuntu System Before installing the Ubuntu installer, on Ubuntu24 we need to ensure that the newly configured system has been updated. We can use the most famous "a" in Ubuntu system

Always new! Huawei Mate60 series upgrades to HarmonyOS 4.2: AI cloud enhancement, Xiaoyi Dialect is so easy to use Always new! Huawei Mate60 series upgrades to HarmonyOS 4.2: AI cloud enhancement, Xiaoyi Dialect is so easy to use Jun 02, 2024 pm 02:58 PM

On April 11, Huawei officially announced the HarmonyOS 4.2 100-machine upgrade plan for the first time. This time, more than 180 devices will participate in the upgrade, covering mobile phones, tablets, watches, headphones, smart screens and other devices. In the past month, with the steady progress of the HarmonyOS4.2 100-machine upgrade plan, many popular models including Huawei Pocket2, Huawei MateX5 series, nova12 series, Huawei Pura series, etc. have also started to upgrade and adapt, which means that there will be More Huawei model users can enjoy the common and often new experience brought by HarmonyOS. Judging from user feedback, the experience of Huawei Mate60 series models has improved in all aspects after upgrading HarmonyOS4.2. Especially Huawei M

How to install Podman on Ubuntu 24.04 How to install Podman on Ubuntu 24.04 Mar 22, 2024 am 11:26 AM

If you have used Docker, you must understand daemons, containers, and their functions. A daemon is a service that runs in the background when a container is already in use in any system. Podman is a free management tool for managing and creating containers without relying on any daemon such as Docker. Therefore, it has advantages in managing containers without the need for long-term backend services. Additionally, Podman does not require root-level permissions to be used. This guide discusses in detail how to install Podman on Ubuntu24. To update the system, we first need to update the system and open the Terminal shell of Ubuntu24. During both installation and upgrade processes, we need to use the command line. a simple

Detailed steps to install Go language on Win7 computer Detailed steps to install Go language on Win7 computer Mar 27, 2024 pm 02:00 PM

Detailed steps to install Go language on Win7 computer Go (also known as Golang) is an open source programming language developed by Google. It is simple, efficient and has excellent concurrency performance. It is suitable for the development of cloud services, network applications and back-end systems. . Installing the Go language on a Win7 computer allows you to quickly get started with the language and start writing Go programs. The following will introduce in detail the steps to install the Go language on a Win7 computer, and attach specific code examples. Step 1: Download the Go language installation package and visit the Go official website

See all articles