Instalación automatizada de Oracle

BTA
25 de Febrero del 2004
Hola a todos.
Necesitaría hacer una instalación automatizada de Oracle ( con sólo una sentencia), de forma que instalara Oracle en un directorio concreto y me creara un alias de la BD en particular.
¿Sabéis como lo puedo hacer?
Saludos

vmarquez
25 de Febrero del 2004
necesitas in conjunto de pasos o sentencias DML de un scripts para ejecutarlos desde server manager por ejemplo

-- crear base de datos
CREATE DATABASE rbdb1
CONTROLFILE REUSE
LOGFILE '/path/redo01.log' SIZE 1M REUSE,
'/path/redo02.log' SIZE 1M REUSE,
'/path/redo03.log' SIZE 1M REUSE,
'/path/redo04.log' SIZE 1M REUSE
DATAFILE '/path/system01.dbf' SIZE 10M REUSE
AUTOEXTEND ON
NEXT 10M MAXSIZE 200M
CHARACTER SET WE8ISO8859P1;

-- Crear tablespace temporal
CREATE ROLLBACK SEGMENT rb_temp STORAGE (INITIAL 100 k NEXT 250 k);

-- Online
ALTER ROLLBACK SEGMENT rb_temp ONLINE;

-- Otros tbles paces
-- RBS: rollback segments
-- USERs: user, default tablespace
-- TEMP: temporary tablespace
CREATE TABLESPACE rbs
DATAFILE '/path/rbs01.dbf' SIZE 5M REUSE AUTOEXTEND ON
NEXT 5M MAXSIZE 150M;
CREATE TABLESPACE users
DATAFILE '/path/users01.dbf' SIZE 3M REUSE AUTOEXTEND ON
NEXT 5M MAXSIZE 150M;
CREATE TABLESPACE temp
DATAFILE '/path/temp01.dbf' SIZE 2M REUSE AUTOEXTEND ON
NEXT 5M MAXSIZE 150M;

-- Creaar rollback segments.
CREATE ROLLBACK SEGMENT rb1 STORAGE(INITIAL 50K NEXT 250K)
tablespace rbs;
CREATE ROLLBACK SEGMENT rb2 STORAGE(INITIAL 50K NEXT 250K)
tablespace rbs;
CREATE ROLLBACK SEGMENT rb3 STORAGE(INITIAL 50K NEXT 250K)
tablespace rbs;
CREATE ROLLBACK SEGMENT rb4 STORAGE(INITIAL 50K NEXT 250K)
tablespace rbs;

-- rollback segments online
ALTER ROLLBACK SEGMENT rb1 ONLINE;
ALTER ROLLBACK SEGMENT rb2 ONLINE;
ALTER ROLLBACK SEGMENT rb3 ONLINE;
ALTER ROLLBACK SEGMENT rb4 ONLINE;

ALTER ROLLBACK SEGMENT rb_temp OFFLINE;
DROP ROLLBACK SEGMENT rb_temp ;

PODRIAS EJECUTAR ESTE ESCRIPT UNA VES INSTALADO EL rdbms