목차
Oracle Database 11g Release 1 (11.1) Installation On Fedora 8 (F8)
Download Software
Unpack Files
Hosts File
Set Kernel Parameters
Setup
Installation
Post Installation
데이터 베이스 MySQL 튜토리얼 Oracle Database 11g Release 1 (11.1) Installation On Fedora

Oracle Database 11g Release 1 (11.1) Installation On Fedora

Jun 07, 2016 pm 03:39 PM
database oracle release

Oracle Database 11g Release 1 (11.1) Installation On Fedora 8 (F8) This article describes the installation of Oracle Database 11g Release 1 (11.1) on Fedora 8 (F8) . The article is based on a server installation with a minimum of 2G swap,

Oracle Database 11g Release 1 (11.1) Installation On Fedora 8 (F8)

This article describes the installation of Oracle Database 11g Release 1 (11.1) on Fedora 8 (F8). The article is based on a server installation with a minimum of 2G swap, secure Linux disabled and the following package groups installed:

  • GNOME Desktop Environment
  • Editors
  • Graphical Internet
  • Development Libraries
  • Development Tools
  • Server Configuration Tools
  • Administration Tools
  • Base
  • Fonts
  • Legacy Fonts
  • Hardware Support
  • System Tools
  • X Window System

An example of this type of Linux installation can be seen here. Alternative installations may require more packages to be loaded, in addition to the ones listed below.

  • Download Software
  • Unpack Files
  • Hosts File
  • Set Kernel Parameters
  • Setup
  • Installation
  • Post Installation

Download Software

Download the following software:

  • Oracle Database 11g Release 1 (11.1) Software

Unpack Files

Unzip the files:

unzip linux_11gR1_database.zip
로그인 후 복사

You should now have a single directory called "database" containing installation files.

Hosts File

The /etc/hosts file must contain a fully qualified name for the server:

<ip-address>  <fully-qualified-machine-name>  <machine-name></machine-name></fully-qualified-machine-name></ip-address>
로그인 후 복사

Set Kernel Parameters

Oracle recommend the following minimum parameter settings:

kernel.shmall = 2097152
kernel.shmmax = 2147483648 # Smallest of -> (Half the size of the physical memory) or (4GB - 1 byte)
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536 # 512 * PROCESSES
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144
로그인 후 복사

The current values can be tested using the following command:

/sbin/sysctl -a | grep <param-name></param-name>
로그인 후 복사

For Fedora 8, the following lines should be appended to the "/etc/sysctl.conf" file.

kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144
로그인 후 복사

Run the following command to change the current kernel parameters:

/sbin/sysctl -p
로그인 후 복사

Add the following lines to the /etc/security/limits.conf file:

oracle              soft    nproc   2047
oracle              hard    nproc   16384
oracle              soft    nofile  1024
oracle              hard    nofile  65536
로그인 후 복사

Add the following line to the /etc/pam.d/login file, if it does not already exist:

session    required     /lib/security/pam_limits.so
session    required     pam_limits.so
로그인 후 복사

Disable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows:

SELINUX=disabled
로그인 후 복사

Alternatively, this alteration can be done using the GUI tool (System > Administration > Firewall and SELinux). Click on the SELinux tab and disable the feature.

Setup

Install the following packages:

# From Fedora 8 DVD
cd /media/cdrom/Packages
rpm -Uvh binutils-2.*
rpm -Uvh elfutils-libelf-0.*
rpm -Uvh glibc-2.*
rpm -Uvh glibc-common-2.*
rpm -Uvh libgcc-4.*
rpm -Uvh libstdc++-4.*
rpm -Uvh make-3.*
rpm -Uvh elfutils-libelf-devel-0.*
rpm -Uvh glibc-devel-2.*
rpm -Uvh gcc-4.*
rpm -Uvh gcc-c++-4.*
rpm -Uvh libstdc++-devel-4.*
rpm -Uvh unixODBC-2.*
cd /
eject

# Not available on Fedora 8 DVD, but available from standard yum repository.
yum install libaio libaio-devel
yum install unixODBC-devel
yum install sysstat
yum install compat-libstdc++

# Required to mask Java conflict (thanks to Robert W. Benton for pointing this out)
yum --enablerepo=development install libxcb.i386
로그인 후 복사

Create the new groups and users:

groupadd oinstall
groupadd dba
groupadd oper
groupadd asmadmin

useradd -g oinstall -G dba,oper,asmadmin oracle
passwd oracle
로그인 후 복사

Note. We are not going to use th "asmadmin" group, since this installation will not use ASM.

Create the directories in which the Oracle software will be installed:

mkdir -p /u01/app/oracle/product/11.1.0/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01
로그인 후 복사

Login as root and issue the following command:

xhost +<machine-name></machine-name>
로그인 후 복사

Edit the /etc/redhat-release file replacing the current release information (Fedora release 8 (Werewolf)) with the following:

redhat release 5
로그인 후 복사

Login as the oracle user and add the following lines at the end of the .bash_profile file:

# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=f8.localdomain; export ORACLE_HOSTNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1; export ORACLE_HOME
ORACLE_SID=DB11G; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

if [ $USER = "oracle" ]; then
  if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
  else
    ulimit -u 16384 -n 65536
  fi
fi

# Required to mask Java conflict (thanks to Robert W. Benton for pointing this out)
LIBXCB_ALLOW_SLOPPY_LOCK=true; export LIBXCB_ALLOW_SLOPPY_LOCK
로그인 후 복사

Installation

Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable:

DISPLAY=<machine-name>:0.0; export DISPLAY</machine-name>
로그인 후 복사

Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory:

./runInstaller
로그인 후 복사

During the installation enter the appropriate ORACLE_HOME and name then continue installation. Some of the prerequisite checks will not complete due to this not being a supported Linux distribution. Check each of these prerequisites to set them to "User Verified" then you can proceed. For a more detailed look at the installation process, click on the links below to see screen shots of each stage.

  1. Select Installation Method
  2. Specify Inventory Directory and Credentials
  3. Select Installation Type
  4. Install Location
  5. Product-Specific Prerequisite Checks
  6. Select Configuration Option
  7. Select Database Configuration
  8. Specify Database Configuration Options
  9. Specify Database Configuration Details
  10. Select Database Management Option
  11. Specify Database Storage Option
  12. Specify Backup and Recovery Options
  13. Specify Database Schema Passwords
  14. Oracle Configuration Manager Registration
  15. Summary
  16. Install
  17. Configuration Assistants
  18. Database Configuration Assistant
  19. DatabaseConfiguration Assistant Summary
  20. Execute Configuration Scripts
  21. End of Installation
  22. OEM Database Control Login
  23. OEM Database Control

Post Installation

Edit the /etc/redhat-release file restoring the original release information:

Fedora release 8 (Werewolf)
로그인 후 복사

Edit the /etc/oratab file setting the restart flag for each instance to 'Y':

DB11G:/u01/app/oracle/product/11.1.0/db_1:Y
로그인 후 복사

For more information see:

  • Oracle Database Installation Guide 11g Release 1 (11.1) for Linux
  • Automating Database Startup and Shutdown on Linux

Hope this helps. Regards Tim...

본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.

핫 AI 도구

Undresser.AI Undress

Undresser.AI Undress

사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover

AI Clothes Remover

사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool

Undress AI Tool

무료로 이미지를 벗다

Clothoff.io

Clothoff.io

AI 옷 제거제

AI Hentai Generator

AI Hentai Generator

AI Hentai를 무료로 생성하십시오.

인기 기사

R.E.P.O. 에너지 결정과 그들이하는 일 (노란색 크리스탈)
3 몇 주 전 By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. 최고의 그래픽 설정
3 몇 주 전 By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. 아무도들을 수없는 경우 오디오를 수정하는 방법
3 몇 주 전 By 尊渡假赌尊渡假赌尊渡假赌

뜨거운 도구

메모장++7.3.1

메모장++7.3.1

사용하기 쉬운 무료 코드 편집기

SublimeText3 중국어 버전

SublimeText3 중국어 버전

중국어 버전, 사용하기 매우 쉽습니다.

스튜디오 13.0.1 보내기

스튜디오 13.0.1 보내기

강력한 PHP 통합 개발 환경

드림위버 CS6

드림위버 CS6

시각적 웹 개발 도구

SublimeText3 Mac 버전

SublimeText3 Mac 버전

신 수준의 코드 편집 소프트웨어(SublimeText3)

누출로 Intel Arrow Lake-U, -H, -HX 및 -S의 주요 사양 공개 누출로 Intel Arrow Lake-U, -H, -HX 및 -S의 주요 사양 공개 Jun 15, 2024 pm 09:49 PM

Intel Arrow Lake는 Lunar Lake와 동일한 프로세서 아키텍처를 기반으로 할 것으로 예상됩니다. 즉, Intel의 새로운 LionCove 성능 코어가 경제적인 Skymont 효율성 코어와 결합될 것입니다. Lunar Lake는 Ava에서만 사용할 수 있습니다.

Oracle 데이터베이스 로그는 얼마나 오래 보관됩니까? Oracle 데이터베이스 로그는 얼마나 오래 보관됩니까? May 10, 2024 am 03:27 AM

Oracle 데이터베이스 로그의 보존 기간은 다음을 포함한 로그 유형 및 구성에 따라 다릅니다. 재실행 로그: "LOG_ARCHIVE_DEST" 매개변수로 구성된 최대 크기에 의해 결정됩니다. 보관된 리두 로그: "DB_RECOVERY_FILE_DEST_SIZE" 매개변수로 구성된 최대 크기에 따라 결정됩니다. 온라인 리두 로그: 보관되지 않고 데이터베이스를 다시 시작하면 손실되며 보존 기간은 인스턴스 실행 시간과 일치합니다. 감사 로그: "AUDIT_TRAIL" 매개변수로 구성되며 기본적으로 30일 동안 보관됩니다.

Remote 3 범용 리모컨은 터치스크린과 함께 제공되지만 구독이나 서버 의무는 없습니다. Remote 3 범용 리모컨은 터치스크린과 함께 제공되지만 구독이나 서버 의무는 없습니다. Jun 14, 2024 am 09:13 AM

Logitech의 인기 있는 Harmony 원격 제어 장치가 사라진 이후 고품질 범용 원격 제어 장치 시장은 기껏해야 조각화되었습니다. Unfolded Circle은 모든 서버 의무나 하위 항목을 제거하여 Harmony Ultimate의 운명을 피하는 것을 목표로 합니다.

오라클에는 얼마나 많은 메모리가 필요합니까? 오라클에는 얼마나 많은 메모리가 필요합니까? May 10, 2024 am 04:12 AM

Oracle에 필요한 메모리 양은 데이터베이스 크기, 활동 수준 및 필요한 성능 수준(데이터 버퍼 저장, 인덱스 버퍼, SQL 문 실행 및 데이터 사전 캐시 관리에 필요)에 따라 다릅니다. 정확한 양은 데이터베이스 크기, 활동 수준 및 필요한 성능 수준에 따라 달라집니다. 모범 사례에는 적절한 SGA 크기 설정, SGA 구성 요소 크기 조정, AMM 사용 및 메모리 사용량 모니터링이 포함됩니다.

Oracle 데이터베이스 서버 하드웨어 구성 요구 사항 Oracle 데이터베이스 서버 하드웨어 구성 요구 사항 May 10, 2024 am 04:00 AM

Oracle 데이터베이스 서버 하드웨어 구성 요구 사항: 프로세서: 기본 주파수가 2.5GHz 이상인 멀티 코어, 대규모 데이터베이스의 경우 32개 이상의 코어가 권장됩니다. 메모리: 소규모 데이터베이스의 경우 최소 8GB, 중간 크기의 경우 16~64GB, 대규모 데이터베이스 또는 과도한 작업 부하의 경우 최대 512GB 이상. 스토리지: SSD 또는 NVMe 디스크, 중복성 및 성능을 위한 RAID 어레이. 네트워크: 고속 네트워크(10GbE 이상), 전용 네트워크 카드, 지연 시간이 짧은 네트워크. 기타: 안정적인 전원 공급 장치, 이중 구성 요소, 호환 가능한 운영 체제 및 소프트웨어, 열 방출 및 냉각 시스템.

Oracle 데이터베이스를 사용하는 데 필요한 메모리 양 Oracle 데이터베이스를 사용하는 데 필요한 메모리 양 May 10, 2024 am 03:42 AM

Oracle 데이터베이스에 필요한 메모리 양은 데이터베이스 크기, 작업 부하 유형 및 동시 사용자 수에 따라 다릅니다. 일반 권장 사항: 소형 데이터베이스: 16~32GB, 중형 데이터베이스: 32~64GB, 대형 데이터베이스: 64GB 이상. 고려해야 할 다른 요소로는 데이터베이스 버전, 메모리 최적화 옵션, 가상화 및 모범 사례(메모리 사용량 모니터링, 할당 조정)가 있습니다.

Oracle 예약 작업은 하루에 한 번 생성 단계를 실행합니다. Oracle 예약 작업은 하루에 한 번 생성 단계를 실행합니다. May 10, 2024 am 03:03 AM

Oracle에서 하루에 한 번 실행되는 예약된 작업을 생성하려면 다음 세 단계를 수행해야 합니다. 작업을 생성합니다. 작업에 하위 작업을 추가하고 해당 일정 표현식을 "INTERVAL 1 DAY"로 설정합니다. 작업을 활성화합니다.

Oracle 데이터베이스에는 얼마나 많은 메모리가 필요합니까? Oracle 데이터베이스에는 얼마나 많은 메모리가 필요합니까? May 10, 2024 am 02:09 AM

Oracle 데이터베이스 메모리 요구 사항은 데이터베이스 크기, 활성 사용자 수, 동시 쿼리, 활성화된 기능 및 시스템 하드웨어 구성 등의 요소에 따라 달라집니다. 메모리 요구 사항을 결정하는 단계에는 데이터베이스 크기 결정, 활성 사용자 수 추정, 동시 쿼리 이해, 활성화된 기능 고려 및 시스템 하드웨어 구성 검사가 포함됩니다.

See all articles