Installare Oracle 9.2.0.4 su Slack 10



Similar documents
Install Oracle10g Real Application Clusters Release 1 ( ) on SuSE Linux Enterprise Server 9 and Matrix Server

Oracle Fusion Middleware 11gR2: Forms, and Reports ( ) Certification with SUSE Linux Enterprise Server 11 SP2 (GM) x86_64

Oracle10g og Linux. Ingemar Jansson Haverstad.

Installing and Configuring Oracle on the Linux Platform

How-to configure Auditing for IDENTIKEY Authentication Server 3.2 to a remote Oracle Database on a standalone Microsoft machine.

Command Line Install and Config For IBM BPM 8.5

Blackboard Academic Suite Setup Guide for Sun Solaris and Linux

PrimeRail Installation Notes Version A June 9,

Oracle Database 11g R2 ( ) on SUSE Linux Enterprise Server 11 SP1

ORACLE BUSINESS INTELLIGENCE WORKSHOP. Prerequisites for Oracle BI Workshop

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux

Database Assessment. Vulnerability Assessment Course

SSIM Database Extension Pack 4.0 for Oracle on Linux Installation Guide

<Insert Picture Here>

OpenGeo Suite for Linux Release 3.0

Fuse ESB Enterprise Installation Guide

Basic Installation of the Cisco Collection Manager

Integration Service Database. Installation Guide - Oracle. On-Premises

SAP Netweaver 7.3 on Amazon Cloud

Compiere ERP & CRM Installation Instructions Linux System - EnterpriseDB

Canto Integration Platform (CIP)

NOTE How to remove all Oracle components from Microsoft Windows Platforms

CloudBackup Installer Guide Linux. System Requirements. Get Started - Linux

linux20 (R12 Server) R Single Node SID - TEST linux1 (10gAS Server) Oracle 10gAS ( ) with OID SID - asinf server name

Oracle Call Center Applications Setup

Restoring To A Different Location With EBU And RMAN An AppsDBA Consulting White Paper

Reference Architecture for HP Data Protector and Oracle 11gR2 RAC on Linux

Oracle Developer Suite

LAE Enterprise Server Installation Guide

How to simulate network devices using the Verax SNMP Simulator (Linux/Windows)

Integrating Apache Web Server with Tomcat Application Server

How Do I Load Data Stored in a Microsoft Excel File?

How To: Manage your Oracle patch deployment life cycle using Oracle Support Patch Plans

VERSION 9.02 INSTALLATION GUIDE.

System Requirements - CommNet Server

Getting Dedicated with Shared Servers, and how not to.

Server Installation and Administration Guide ARIS. Version 9.6

Compiere ERP & CRM Installation Instructions Windows System - EnterpriseDB

USB 2.0 Flash Drive User Manual

McAfee Firewall for Linux 8.0.0

Compiere 3.2 Installation Instructions Windows System - Oracle Database

Different ways to guess Oracle database SID

Introduction to Operating Systems

TimesTen In-Memory OLTP (Transactional) Load Testing

Deploying IBM Lotus Domino on Red Hat Enterprise Linux 5. Version 1.0

Release Notes for McAfee(R) VirusScan(R) Enterprise for Linux Version Copyright (C) 2014 McAfee, Inc. All Rights Reserved.

BF2CC Daemon Linux Installation Guide

HOW TO. RMAN Restore for Standby 10gR2

Wavelink Avalanche Mobility Center Linux Reference Guide

Installation Guide for FTMS and Node Manager 1.6.0

OBIEE Cloning. Cloning the OBIEE 11g database migration to a new host. Ashok Thiyagarajan ADVANS MARLBOROUGH, MA AND CHENNAI, INDIA

Computer Science and Engineering Linux Cisco VPN Client Installation and Setup Guide

Tivoli Storage Manager for Databases

Oracle security done right. Secure database access on the (unix and linux) operating system level.

Procedure to Create and Duplicate Master LiveUSB Stick

1. Product Information

ARIS Server Installation and Administration Guide ARIS. Version Service Release 1

IN STA LLIN G A VA LA N C HE REMOTE C O N TROL 4. 1

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility

Novell Access Manager

Reflection DBR USER GUIDE. Reflection DBR User Guide. 995 Old Eagle School Road Suite 315 Wayne, PA USA

Oracle Product Data Quality

RHadoop and MapR. Accessing Enterprise- Grade Hadoop from R. Version 2.0 (14.March.2014)

Installation & Configuration Guide for Solaris 8

Installing and Running MOVES on Linux

Installation Guide 11g Release 1 ( )

Embarcadero Performance Center 2.7 Installation Guide

CYCLOPE let s talk productivity

Installing Oracle 12c Enterprise on Windows 7 64-Bit

Installation Guide. MashZone. Version 9.6

RHadoop Installation Guide for Red Hat Enterprise Linux

Oracle E-Business Suite Release 11i upgrade to R12.1 and platform migration guide: Oracle Sun SPARC-based server to HP ProLiant servers

White Paper. Fabasoft on Linux Cluster Support. Fabasoft Folio 2015 Update Rollup 2

Server Monitoring. AppDynamics Pro Documentation. Version Page 1

Prerequisites and Configuration Guide

Oracle Change Management Pack Installation

Using VMware Player. VMware Player. What Is VMware Player?

ORACLE NOSQL DATABASE HANDS-ON WORKSHOP Cluster Deployment and Management

Evaluation of in-memory database TimesTen

ARIS Education Package Process Design & Analysis Installation Guide. Version 7.2. Installation Guide

Implementing a Weblogic Architecture with High Availability

LSN 10 Linux Overview

TCH Forecaster Installation Instructions

Installation Guide. Version 10.2

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

Spectrum Spatial Analyst Version 4.0. Installation Guide for Linux. Contents:

System Requirements - Table of Contents

Online Backup Client User Manual Linux

Quick Start Guide for Parallels Virtuozzo

AdminToys Suite. Installation & Setup Guide

MySQL Backups: From strategy to Implementation

Transcription:

Installare Oracle 9204 su Slack 10 Dopo aver consultato alcuni HowTo: http://wwwidevelopmentinfo/data/oracle/dba_tips/linux/linux_8shtml http://wwwpuschitzcom/installingoracle9ishtml http://wwwredhatcom/docs/manuals/rhea/rhea-50-manual/installguide/install-prereqshtml http://wwwakadiacom/services/ora_linux_install_9ihtml http://gentoo-wikicom/howto_install_oracle_10g occorre assicurarsi di avere un hardware adeguato: Hardware Requirements Requirement Minimum Value Physical memory (RAM 512 MB (524288 KB Swap space 1 GB (1048576 KB Disk space in /tmp 400 MB (409600 KB Disk space for software files * 25 GB (2621440 KB Disk space for database files 12 GB (1258290 KB * This value includes 1 GB (1048576 KB of disk space required to install the Oracle Database 10g Products from the Companion CD (optional, but recommended Iniziamo la Configurazione Pre-Installazione: Configuriamo i parametri del kernel: Creare un file /etc/sysctlconf come segue: # Kernel Parameters for Oracle 1010 e Oracle 9204 # this is a comment kernelshmall = 2097152 kernelshmmax = 2147483648 kernelshmmni = 4096 kernelsem = 250 32000 100 128 fsfile-max = 65536 netipv4ip_local_port_range = 1024 65000 e lanciare il comando sysctl -p

Controllare che siano settate le variabili relative alle directory temporanee: export TEMP=/your_temp_directory export TMPDIR=/your_temp_directory the linker "ld" # used by Oracle # used by Linux programs like Creare un user account oracle: [NB - Se chi gestisce il software oracle e chi gestisce i db sn persone diverse occorre creare sia un gruppo dba (gestione DB che un gruppo orainstall (gestione software nel nostro caso nn è necessario creare orainstall quindi si procede con il solo dba] groupadd dba useradd -c "Oracle Software Owner" -g dba oracle -d /opt/oracle Creo le directory necessarie: mkdir -p /opt/oracle/product/9204 chown -R oracle:dba /opt/oracle chmod -R 755 /opt/oracle/

Imposto le variabili necessarie con il seguente file: oracle@db:~$ cat /etc/profiled/oraclesh #!/bin/sh if [ $USER = "oracle" ]; then # if [ $SHELL = "/bin/ksh" ]; then # ulimit -p 16384 # ulimit -n 63536 # else # ulimit -u 16384 -n 63536 # fi # Set the LD_ASSUME_KERNEL environment variable only for Red Hat 9 and # for Red Hat Enterprise Linux Advanced Server 3 (RHEL AS 3!! # Use the "Linuxthreads with floating stacks" implementation instead of NPTL: export LD_ASSUME_KERNEL=241 # Setup ORACLE environment ORACLE_HOME=/opt/oracle/product/920; export ORACLE_HOME ORACLE_BASE=/opt/oracle; export ORACLE_BASE ORACLE_SID=IDOLO; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM ORACLE_OWNER=oracle; export ORACLE_OWNER TNS_ADMIN=/opt/oracle/config/920; export TNS_ADMIN NLS_LANG=AMERICAN_AMERICAWE8ISO8859P1; export NLS_LANG ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33 CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111zip LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH ### see JSDK: export CLASSPATH # Set up JAVA and JSDK environment: #export JAVA_HOME=/usr/local/jdk #export JSDK_HOME=/usr/local/jsdk CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JSDK_HOME/lib/jsdkjar export CLASSPATH # Set up the search paths: PATH=$POSTFIX/bin:$POSTFIX/sbin:$POSTFIX/sendmail PATH=$PATH:/usr/local/jre/bin:/usr/local/jdk/bin:/bin:/sbin:/ usr/bin:/usr/sbin PATH=$PATH:/usr/local/bin: $ORACLE_HOME/bin:/usr/local/jsdk/bin PATH=$PATH:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/ bin PATH=$PATH:/usr/local/samba/bin export PATH fi [NB Purtroppo nn ho trovato il modo di modificare alcuni parametri come specificato negli howto parametri ulimit x utente oracle cmq sembra che nn siano necessari]

Adesso estraggo i file dagli archivi compressi come segue: # Uncompress gunzip lnx_920_disk1cpiogz lnx_920_disk2cpiogz lnx_920_disk3cpiogz Linux9i_Disk3cpiogz # Unpack the downloaded files: cpio -idmv < lnx_920_disk1cpio cpio -idmv < lnx_920_disk2cpio cpio -idmv < lnx_920_disk3cpio Oppure uso i cd originali Lancio da utente oracle la modalità grafica (startx [ Mi devo loggare come oracle ] disinstallare gcc-334-i486-1 gcc-g++-334-i486-1 gcc-g77-334-i486-1 gcc-gnat-334-i486-2 gcc-java-334-i486-1 gcc-objc-334-i486-1 e installare [dalla versione 91] gcc-323-i486-2tgz gcc-g++-323-i486-1tgz gcc-g77-323-i486-1tgz gcc-gnat-323-i486-1tgz gcc-java-323-i486-1tgz gcc-objc-323-i486-1tgz Finita l'instalazione è necessario tornare alla configurazione originale(con la versione 334 In entrambi i casi poi lancio il file /PERCORSO/runInstaller

Initializing Java Virtual Machine from /tmp/orainstall2004-05-02_08-45-13pm/jre/bin/java Please wait Screen Name Welcome Screen: Inventory Location: UNIX Group Name: Root Script Window: File Locations: Available Products: Installation Types: Database Configuration: Summary: Response Click "Next" Click "OK" Use "dba" Open another window, login as the root userid, and run "/tmp/orainstrootsh" When the script has completed, return to the dialog from the Oracle Installer and hit Continue Leave the "Source Path" at its default setting For the Destination name, I like to use "OraHome920" You can leave the Destination path at it's default value which should be "/opt/oracle/product/920" Select "Oracle9i Database 92040" and click "Next" Select "Standard Edition (284GB" and click "Next" Select "Software Only" and click "Next" Click "Install" When the "Link" phase is complete, you will be prompted to run the $ORACLE_HOME/rootsh script as the "root" user account Errori riscontrati: Error: You do not have sufficient privileges to write to the specified path in compnonent Database Configuration Assistant 92010 Installation cannot continue for this component O Stop installation of all products O Stop installation of this component only Soluzione: Definire ed effettuare l'export della variabile $ORACLE_BASE

ERRORE: error in invoking target install of makefile /opt/oracle/920/sqlplus/lib/ins_sqlplusmk Soluzione: disinstallare gcc-334-i486-1 gcc-g++-334-i486-1 gcc-g77-334-i486-1 gcc-gnat-334-i486-2 gcc-java-334-i486-1 gcc-objc-334-i486-1 e installare [dalla versione 91] gcc-323-i486-2tgz gcc-g++-323-i486-1tgz gcc-g77-323-i486-1tgz gcc-gnat-323-i486-1tgz gcc-java-323-i486-1tgz gcc-objc-323-i486-1tgz Finita l'instalazione è necessario tornare alla configurazione originale(con la versione 334 Qui si trova anche la pach x la 9205 [ma nn l'ho applicata perchè nn so se la licenza ci copre e se ci sn problemi di import ftp://1952117116/pub/oracle/rdbms/linux/92/ le info x installarla Install the Oracle 92050 Patchset Once you have completed installing of the Oracle9i (92040 RDBMS software, you should now apply the 92050 patchset NOTE: The details and instructions for applying the 92050 patchset in this article is not absolutely necessary I provide it here simply as a convenience for those how do want to apply the latest patchset The 92050 patchset can be downloaded from Oracle Metalink: Patch Number: 3501955 Description: Product: ORACLE 9i DATABASE SERVER RELEASE 2 - PATCH SET 4 VERSION 92050 Oracle Database Family Release: Oracle 9205 Select a Platform or Language: Last Updated: Size: Linux x86 26-MAR-2004 313M (328923077 bytes Use the following steps to install the Oracle10g Universal Installer and then the Oracle 92050 patchset

1 To start, let's unpack the Oracle 92050 to a temporary directory: % cd orapatch % unzip p3501955_9205_linuxzip % cpio -idmv < 9205_lnx32_releasecpio 2 Next, we need to install the Oracle10g Universal Installer into the same $ORACLE_HOME we used to install the Oracle9i RDBMS software NOTE: Using the old Universal Installer that was used to install the Oracle9i RDBMS software, (OUI release 22, cannot be used to install the 92050 patchset and higher! Starting with the Oracle 92050 patchset, Oracle requires the use of the Oracle10g Universal Installer to apply the 92050 patchset and to perform all subsequent maintenance operations on the Oracle software $ORACLE_HOME Let's get this thing started by installing the Oracle10g Universal Installer This must be done by running the runinstaller that is included with the 92050 patchset we extracted in the above step: % cd orapatch/disk1 % /runinstaller -ignoresysprereqs Starting Oracle Universal Installer Checking installer requirements Checking operating system version: must be redhat-21, UnitedLinux-10, redhat-3, SuSE-7 or SuSE-8 Failed <<<< >>> Ignoring required pre-requisite failures Continuing Preparing to launch Oracle Universal Installer from / tmp/orainstall2004-08-30_07-48-15pm Please wait Oracle Universal Installer, Version 101020 Production Copyright (C 1999, 2004, Oracle All rights reserved

3 Use the following options in the Oracle Universal Installer to install the Oracle10g OUI: Screen Name Welcome Screen: File Locations: Select a Product to Install: Summary: Response Click "Next" The "Source Path" should be pointing to the productsxml file by default For the Destination name, choose the same one you created when installing the Oracle9i software The name we used in this article was "OraHome920" and the destination path should be "/ u01/app/oracle/product/920" Select "Oracle Universal Installer 101020" and click "Next" Click "Install" 4 Exit from the Oracle Universal Installer 5 Correct the runinstaller symbolic link bug (Bug 3560961 After the installation of Oracle10g Universal Installer, there is a bug that does NOT update the $ORACLE_HOME/bin/runInstaller symbolic link to point to the new 10g installation location Since the symbolic link does not get updated, the runinstaller command still points to the old installer (22 and will be run instead of the new 10g installer To correct this, you will need to manually update the $ORACLE_HOME/bin/runInstaller symbolic link: % cd $ORACLE_HOME/bin % ln -s -f $ORACLE_HOME/oui/bin/runInstallersh runinstaller 6 We now install the Oracle 92050 patchset by executing the newly installed 10g Universal Installer: % cd % runinstaller -ignoresysprereqs Starting Oracle Universal Installer Checking installer requirements Checking operating system version: must be redhat-21, UnitedLinux-10, redhat-3, SuSE-7 or SuSE-8 Failed <<<< >>> Ignoring required pre-requisite failures Continuing

Preparing to launch Oracle Universal Installer from / tmp/orainstall2004-08-30_07-59-30pm Please wait Oracle Universal Installer, Version 101020 Production Copyright (C 1999, 2004, Oracle All rights reserved Here is an overview of the selections I made while performing the 92050 patchset install: Screen Name Welcome Screen: File Locations: Select a Product to Install: Summary: 7 Running rootsh script Response Click "Next" The "Source Path" should be pointing to the productsxml file by default For the Destination name, choose the same one you created when installing the Oracle9i software The name we used in this article was "OraHome920" and the destination path should be "/ u01/app/oracle/product/920" Select "Oracle 9iR2 Patchsets 92050" and click "Next" Click "Install" When the Link phase is complete, you will be prompted to run the $ORACLE_HOME/rootsh script as the "root" user account Go ahead and run the rootsh script 8 Exit Universal Installer Exit from the Universal Installer and continue on to the Post Installation section of this article

Per creare un DB: Loggarsi come oracle startx dbca Seguire la procedura Grafica La procedura crea l'init file nel posto sbagliato: cp $ORACLE_BASE/product/920/admin/ nomeistanza /pfile/init nomeistanza ora numeri $ORACLE_BASE/product/920/dbs/init nomeistanza ora Nel file oratab si definiscono le istanze che devono partire quando si lancia lo script dbstart Code: /etc/oratab NAME_OF_YOUR_INSTANCE:/opt/oracle/product/920:Y Listenerora: # LISTENERORA Network Configuration File: /opt/oracle/product/920/ network/admin/listenerora # Generated by Oracle configuration tools LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP(HOST = dbcasalocal(port = 1521 (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC(KEY = EXTPROC SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc (ORACLE_HOME = /opt/oracle/product/920 (PROGRAM = extproc

tnsnamesora: # The following is the general syntax for any entry in # a tnsnamesora file There could be several such entries # tailored to the user's needs IDOLO = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP(HOST = dbcasalocal(port = 1521 (CONNECT_DATA = (SID = IDOLO (GLOBAL_NAME = IDOLO