Oracle10g og Linux. Ingemar Jansson Haverstad. ingemar@oraklet.no www.oraklet.no/foredrag



Similar documents
Command Line Install and Config For IBM BPM 8.5

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

Copyright by Parallels Holdings, Ltd. All rights reserved.

Oracle on SUSE Linux Enterprise Server

<Insert Picture Here>

DB2. Quick Beginnings for DB2 Clients. DB2 Version 9 GC

HP LeftHand SAN Solutions

Managed Backup Service - Agent for Linux Release Notes

1 Certification Information

Implementing a Weblogic Architecture with High Availability

Linux System Administration on Red Hat

Parallels Virtuozzo Containers 4.7 for Linux Readme

LSN 10 Linux Overview

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

NATIONAL POPULATION REGISTER (NPR)

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

QuickBooks Enterprise Solutions. Linux Database Server Manager Installation and Configuration Guide

BF2CC Daemon Linux Installation Guide

NAS Storage needs to be purchased; Will not be offered IAAS - Utility SMTP Per SMTP account Per server

Installare Oracle su Slack 10

Partek Flow Installation Guide

Control-M Workload Automation Installation Guide November 2012

Partitioning. Files on the Hard Drive. Administration of Operating Systems DO2003. Partition = Binder with index. Write file = Insert document

GL254 - RED HAT ENTERPRISE LINUX SYSTEMS ADMINISTRATION III

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

Linux Operating System Security

Support Notes for SUSE LINUX Enterprise Server 9 Service Pack 3 for the Intel Itanium 2 Processor Family

System Requirements G E N E R A L S Y S T E M R E C O M M E N D A T I O N S

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

Creating a Cray System Management Workstation (SMW) Bootable Backup Drive

RH033 Red Hat Linux Essentials or equivalent experience with Red Hat Linux..

EMC AVAMAR BACKUP CLIENTS

Basic Linux & Package Management. Original slides from GTFO Security

Acronis Backup & Recovery 10 Server for Linux. Quick Start Guide

Of Penguins and Wildebeest. Anthony Rodgers VA7IRL

How you configure Iscsi target using starwind free Nas software & configure Iscsi initiator on Oracle Linux 6.4

GL550 - Enterprise Linux Security Administration

Install BO 4.1 on Linux with Oracle database and Weblogic

How To Run A Password Manager On A 32 Bit Computer (For 64 Bit) On A 64 Bit Computer With A Password Logger (For 32 Bit) (For Linux) ( For 64 Bit (Foramd64) (Amd64 (For Pc

Installing MooseFS Step by Step Tutorial

Unix/Linux Forensics 1

Installing QuickBooks Enterprise Solutions Database Manager On Different Linux Servers

Installation & Upgrade Guide

Secure File Transfer Installation. Sender Recipient Attached FIles Pages Date. Development Internal/External None 11 6/23/08

Kaspersky Endpoint Security 8 for Linux INSTALLATION GUIDE

Monitoring Clearswift Gateways with SCOM

LINUX Operating System Audit & Assessment August 9, 2006

1 11g RAC installation general steps

Hadoop Lab - Setting a 3 node Cluster. Java -

Linux Template Creation Guide. How to build your own Linux VM templates for deployment in Cloudturk.

DB2 Connect Installing and Configuring DB2 Connect Servers

SAP Netweaver 7.3 on Amazon Cloud

Tivoli Storage Manager for Databases

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

vrealize Business System Requirements Guide

Getting Started in Red Hat Linux An Overview of Red Hat Linux p. 3 Introducing Red Hat Linux p. 4 What Is Linux? p. 5 Linux's Roots in UNIX p.

MarkLogic Server. Installation Guide for All Platforms. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

Version 1.0. File System. Network Settings

SUSE Manager in the Public Cloud. SUSE Manager Server in the Public Cloud

Installation Guide for FTMS and Node Manager 1.6.0

GroundWork Monitor Open Source Installation Guide

Deployment - post Xserve

ENTERPRISE LINUX SECURITY ADMINISTRATION

Requirements for Rosetta Installation. Version 4.2

How To Backup On Myroster Idataagent

This Release Notes document is for F-Secure Linux Security.

PrimeRail Installation Notes Version A June 9,

BackTrack Hard Drive Installation

Ultimate Guide to Oracle Storage

Linux System Administration. System Administration Tasks

This document describes the new features of this release and important changes since the previous one.

Drobo How-To Guide. What You Will Need. Use a Drobo iscsi Array with a Linux Server

IBM DB Installing IBM Data Server Clients GC

Red Hat Enterprise Linux 7 High Availability Add-On Administration. Configuring and Managing the High Availability Add-On

Oracle 11gR2 two node step by step installation guide on Linux using Virtual Box 4.1.4

mplementing Oracle11g Database over NFSv4 from a Shared Backend Storage Bikash Roy Choudhury (NetApp) Steve Dickson (Red Hat)

System administration basics

HP POLYSERVE SOFTWARE

Evaluation of in-memory database TimesTen

INF-110. GPFS Installation

Features - SRM UNIX File System Agent

PARALLELS SERVER 4 BARE METAL README

PostgreSQL administration using Puppet. Miguel Di Ciurcio Filho

Features - Media Management

PARALLELS SERVER BARE METAL 5.0 README

To integrate Oracle Application Server with Active Directory follow these steps.

Newton Linux User Group Graphing SNMP with Cacti and RRDtool

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Transcription:

Oracle10g og Linux Ingemar Jansson Haverstad ingemar@oraklet.no www.oraklet.no/foredrag Version 0.92 21.06.2005

Agenda Oracle10g Installasjon Oppgradering Verktøy Linux Dialekter Administrasjon

Linux dialekter 4 SUSE/Novell SLES 8 og 9 Red Hat Red Hat AS/ES 2.1, 3 og 4 United Linux 1.0 Asian Asianux 1 og 2 Red Flag DC China Miracle Linux Japan SUSE 9.2 Red Hat Fedora Core 4 Debian Mandrake Linux From Scratch LFS Knoppix og Ubunte

Linux distribusjon 5 2.6 kjernen er den mest aktuelle Linux er influert av UNIX 4.3 BSD System V og Xenix Hver dialekt har laget egne system verktøy

Hvilken plattform? 6 Hovedversjoner x86: 10.1.0.3 Itanium: 10.1.0.3 AMD64: 10.1.0.3 Patcher x86: 10.1.0.4 Itanium: 9.2.0.5 AMD64: 9.2.0.6

Maskinkrav 7 Linux CPU Tekst: Pentium 200 Mhz CPU Oracle Grafisk: Pentium II 400 Mhz Minne Tekst: 64 MB Minne Grafisk: 256 MB Grafisk: 512 MB Disk Server 1,1 GB Disk EE + DB 3,7 GB

Forberedelser: Linux dialekt 8 [root@tuppen ~]$ cat /etc/issue Fedora Core release 3 (Heidelberg) Kernel \r on an \m [root@tuppen ~]$ uname -a Linux tuppen.oraklet.no 2.6.11-1.27_FC3... i686 i386 [root@tuppen ~]$ cat /etc/fedora-release Fedora Core release 3 (Heidelberg) [root@tuppen ~]# cat /etc/redhat-release redhat-3

Forberedelser: Filsystem 9 [root@tuppen ~]# mkfs.ext3 /dev/hda8 -L /oracle mke2fs 1.36 (05-Feb-2005) Filesystem label=/oracle OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 1040384 inodes, 2078362 blocks 103918 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=2130706432... Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done [root@tuppen ~]# vi /etc/fstab LABEL=/oracle /oracle ext3 defaults 1 2

Forberedelser: Oracle bruker 10 [root@tuppen ~]# groupadd oinstall [root@tuppen ~]# groupadd dba [root@tuppen ~]# groupadd oper [root@tuppen ~]# useradd -g oinstall -G dba,oper oracle [root@tuppen ~]# passwd oracle Changing password for user oracle. New UNIX password: ####### Retype new UNIX password: ####### passwd: all authentication tokens updated successfully. [root@tuppen ~]# chown oracle:oinstall /oracle

Forberedelser: Oracle profil 11 [oracle@tuppen ~]$ vi.bash_profile... export ORACLE_BASE=/oracle export ORACLE_HOME=${ORACLE_BASE}/product/10.1.0/db export ORACLE_SID=TEST export NLS_LANG=NORWEGIAN_NORWAY.WE8ISO8859P1 PATH=${ORACLE_HOME}/bin:$PATH export CDPATH=.:${ORACLE_HOME}:${ORACLE_BASE}/admin/${ORACLE_SID} export LANG=en_US PS1=$(hostname)':${ORACLE_SID}> '... [oracle@tuppen ~]$..bash_profile tuppen:test>

Oracle Universal Installer 12 [ingemar@tuppen ~]$ xhost + access control disabled, clients can connect from any host [oracle@tuppen ~]$ export DISPLAY=localhost:0 [oracle@tuppen ~]$ xclock [oracle@tuppen ~]$ cd /Download/Oracle10g/Database/Disk1 [oracle@tuppen Disk1]$./runInstaller Starting Oracle Universal Installer... Checking installer requirements... Checking operating system version: must be redhat-2.1, UnitedLinux-1.0 or redhat-3 Passed All installer requirements met. Preparing to launch Oracle Universal Installer from /tmp/orainstall2005-06-19_10-05-53pm. Please wait...

Linux pakker 17 [root@tuppen root]# cd /usr/bin [root@tuppen bin]# mv gcc gcc343 [root@tuppen bin]# ln -s gcc296 gcc [root@tuppen bin]# gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhatlinux7/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-128) [root@tuppen bin]# rpm -qa grep -i openmotif openmotif-2.2.3-6.fc3.1 Forskjellige dialekter, ulike forutsettninger...

Kjerne parametere 18 [root@tuppen /]# cd /etc/ [root@tuppen etc]# cp sysctl.conf sysctl.conf-19062005 [root@tuppen etc]# vi sysctl.conf # Oracle 10g parameters # Shared memory kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 # semaphores: semmsl, semmns, semopm, semmni kernel.sem = 256 32000 100 142 [root@tuppen etc]# sysctl -p kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 256 32000 100 142

Superbruker - root 24 [root@tuppen oracle]# /oracle/product/10.1.0/db/root.sh Running Oracle10 root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /oracle/product/10.1.0/db Creating /etc/oratab file... Adding entry to /etc/oratab file... /etc/oracle does not exist. Creating it now. Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Oracle Cluster Registry for cluster has been initialized Adding to inittab Checking the status of Oracle init process... Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. tuppen CSS is active on all nodes. Oracle CSS service is installed and running under init(1m) [root@tuppen oracle]# vi /etc/inittab h1:35:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1

Oppgradering til 10.1.0.4 28 [root@tuppen Disk1]# /etc/init.d/init.cssd stop Shutting down CRS daemon. Shutting down EVM daemon. Shutting down CSS daemon. Shutdown request successfully issued. [root@tuppen Disk1]$ df -h /oracle Filesystem Size Used Avail Use% Mounted on /dev/hda8 7,9G 1,2G 6,3G 16% /oracle [oracle@tuppen Disk1]$./runInstaller Starting Oracle Universal Installer... Checking installer requirements... Checking operating system version: must be redhat-2.1, redhat-3, redhat-4, SuSE-8, SuSE-9 or UnitedLinux-1.0 Passed All installer requirements met. Oracle Universal Installer, Version 10.1.0.4.0 Production Copyright (C) 1999, 2005, Oracle. All rights reserved.

Oracle verktøy 31 dbca emca netca netmgr oidca oidadmin oemapp esm Database Configuration Assistant Enterprise Manager Configuration Assistant Network Configuration Assistant Network Manager OID Configuration Assistant OID Manager Enterprise Manager Enterprise Security Manager

Linux programmer 32 Samba Postfix Apache VNCserver IPtables Nessus nmap Server Klient Thunderbird Firefox OpenOffice VNCviewer Gimp OpenSSH OpenSSL (Putty)