[ The imperialist Japanese military must officially acknowledge and apologize for the coercion of young women into sexual slaves. / 幼い女性を性の奴隷にした帝國主義日本軍の?制性を公式に認め、謝罪しなければならない. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [72]
02.File Book
File 자료실 [96]
Site Link [14]
개인폴더 [200]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [28]
MySQL [47]
DB2 [79]
ORACLE [3099]
PSQL [135]
CUBRID [5]
기타정보 [170]
운영체제 [613]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Field Book :: ORACLE

 회원가입

11g 기본 설치 script [ create database script , 10g 가능 ]
최길호 [LIST]   2009-07-07 23:28:55, 조회 : 33,278

dbca 사용시 SID에 _는 사용 할 수 없음.
꼭 사용 해야 하는경우 script를 저장해서 만드세요~

nls_language="KOREAN"
nls_territory="KOREA"
dispatchers="(PROTOCOL=TCP) (SERVICE=DB_11XDB)"
compatible=11.1.0.0.0
diagnostic_dest=/data1/oracle/app/oracle
memory_target=1200m
sga_target=1000m
db_domain=""
db_name=DB_11
audit_file_dest=/data1/oracle/app/oracle/admin/DB_11/adump
audit_trail=none
remote_login_passwordfile=EXCLUSIVE
undo_tablespace=UNDOTBS1
db_block_size=8192
open_cursors=300
control_files=("/data1/DBF/control01.ctl", "/data2/DBF/control02.ctl", "/data3/DBF/control03.ctl")
db_recovery_file_dest=/data1/oracle/app/oracle/flash_recovery_area
db_recovery_file_dest_size=2147483648
processes=3000
sessions=3305

CREATE DATABASE DB_11
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
DATAFILE '/data4/DBF/system01.dbf' SIZE 300M
REUSE AUTOEXTEND ON NEXT  10240K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE '/data4/DBF/sysaux01.dbf' SIZE 120M
REUSE AUTOEXTEND ON NEXT  10240K MAXSIZE UNLIMITED
SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/data4/DBF/temp01.dbf' SIZE 2000M
REUSE AUTOEXTEND ON NEXT  640K MAXSIZE UNLIMITED
SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE '/data4/DBF/undotbs01.dbf' SIZE 2000M
REUSE AUTOEXTEND ON NEXT  5120K MAXSIZE UNLIMITED
CHARACTER SET KO16KSC5601
NATIONAL CHARACTER SET AL16UTF16
LOGFILE GROUP 1 ('/data4/DBF/redo01.log') SIZE 51200K,
GROUP 2 ('/data4/DBF/redo02.log') SIZE 51200K,
GROUP 3 ('/data4/DBF/redo03.log') SIZE 51200K
USER SYS IDENTIFIED BY system USER SYSTEM IDENTIFIED BY system;

CREATE SMALLFILE TABLESPACE "USERS" LOGGING DATAFILE '/data4/DBF/users01.dbf' SIZE 5M
REUSE AUTOEXTEND ON NEXT  1280K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT  AUTO;
ALTER DATABASE DEFAULT TABLESPACE "USERS";

connect /as sysdba
spool catalog.log
@?/rdbms/admin/catalog.sql;
@?/rdbms/admin/catblock.sql;
@?/rdbms/admin/catproc.sql;
@?/rdbms/admin/catoctk.sql;
@?/rdbms/admin/owminst.plb;
connect SYSTEM/system
@?/sqlplus/admin/pupbld.sql;
connect SYSTEM/system
set echo on
@?/sqlplus/admin/help/hlpbld.sql helpus.sql;


@/data1/oracle/app/oracle/admin/DB_11/scripts/postScripts.sql
============================================================================
connect / as SYSDBA
set echo on
spool /data1/oracle/app/oracle/admin/DB_11/scripts/postScripts.log
@?/rdbms/admin/dbmssml.sql;
execute dbms_datapump_utl.replace_default_dir;
commit;
connect / as SYSDBA
alter session set current_schema=ORDSYS;
@?/ord/im/admin/ordlib.sql;
alter session set current_schema=SYS;
connect / as SYSDBA
connect / as SYSDBA
alter user CTXSYS account unlock identified by change_on_install;
connect "CTXSYS"/"change_on_install"
@?/ctx/admin/defaults/dr0defdp.sql;
@?/ctx/admin/defaults/dr0defin.sql "KOREAN";
connect / as SYSDBA
execute ORACLE_OCM.MGMT_CONFIG_UTL.create_replace_dir_obj;
spool off

@/data1/oracle/app/oracle/admin/DB_11/scripts/ultraSearchCfg.sql
============================================================================
connect / as SYSDBA
set echo on
spool /data1/oracle/app/oracle/admin/DB_11/scripts/ultraSearchCfg.log
alter user WKSYS account unlock identified by change_on_install;
@?/ultrasearch/admin/wk0config.sql change_on_install (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbserver)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=DB_11))) false " ";
spool off

@/data1/oracle/app/oracle/admin/DB_11/scripts/lockAccount.sql
============================================================================
set echo on
spool /data1/oracle/app/oracle/admin/DB_11/scripts/lockAccount.log
BEGIN
FOR item IN ( SELECT USERNAME FROM DBA_USERS WHERE USERNAME NOT IN (
'SYS','SYSTEM') )
LOOP
  dbms_output.put_line('Locking and Expiring: ' || item.USERNAME);
  execute immediate 'alter user ' || item.USERNAME || ' password expire account lock' ;
END LOOP;
END;
/
spool off

@/data1/oracle/app/oracle/admin/DB_11/scripts/postDBCreation.sql
============================================================================
connect / as SYSDBA
set echo on
spool /data1/oracle/app/oracle/admin/DB_11/scripts/postDBCreation.log
connect / as SYSDBA
set echo on
create spfile FROM pfile ;
shutdown immediate;
connect / as SYSDBA
startup ;
alter user SYSMAN identified by system account unlock;
alter user DBSNMP identified by system account unlock;
@?/rdbms/admin/undoaud.sql;
select 'utl_recomp_begin: ' || to_char(sysdate, 'HH:MI:SS') from dual;
execute utl_recomp.recomp_serial();
select 'utl_recomp_end: ' || to_char(sysdate, 'HH:MI:SS') from dual;
execute dbms_swrf_internal.cleanup_database(cleanup_local => FALSE);
commit;
-- $ORACLE_HOE 변수는 host 적용시 안먹음.
host $ORACLE_HOME/bin/emca -config dbcontrol db -silent -DB_UNIQUE_NAME DB_11 -PORT 1521 -EM_HOME $ORACLE_HOME -LISTENER LISTENER -SERVICE_NAME DB_11 -SYS_PWD system -SID DB_11 -ORACLE_HOME $ORACLE_HOME -DBSNMP_PWD system -HOST dbserver -LISTENER_OH $ORACLE_HOME -LOG_FILE /data1/oracle/app/oracle/admin/DB_11/scripts/emConfig.log -SYSMAN_PWD system;
connect / as SYSDBA
spool /data1/oracle/app/oracle/admin/DB_11/scripts/postDBCreation.log
3.238.121.7


  LIST

제목 작성자 작성일 조회
Troubleshoot  IMP-00058 ORA-01461 IMP-00028 ORA-29275 [ character set은 동일하게 하세요 ]    최길호 2009/08/28 34940
Troubleshoot  windows 2008 64bit 11gR1 imp.exe APPCRASH     최길호 2010/11/03 34932
Troubleshoot  ORA-16038, ORA-00354, ORA-00353, ORA-16014, Archiver process freed from errors. No longer stopped    최길호 2008/06/28 34764
Install and Config  Linux 4U5 MEM: 16G SGA: 8G [ 6시간 삽질 성공기, ORA-27102 ORA-00385 ERROR: Unable to attach to VLM segment WARNING: EINVAL creating segment ]  [2]  최길호 2008/06/29 34677
RAC,OPS  rac 10.2 change public IP , VIP , nic device [ vip evtf.log ( clsrevtf: Invalid resource attr ora.node1.vip ) ]  [6]  최길호 2008/09/16 34349
Tool  ociuldr 입니다. 유용하게 사용할 수 있을듯 합니다. [linux gcc, aix cc]   [1]  최길호 2010/01/27 34121
Troubleshoot  event enq: SQ - contention [ enqueue lock ]     최길호 2010/07/11 33956
Troubleshoot  create ctxsys [ 9i,10g ]    최길호 2011/04/16 33879
Troubleshoot  dbca LRM-00123 ORA-01078    최길호 2010/11/25 33873
Troubleshoot  ORA-04052 ORA-12154 IMP-00098: INTERNAL ERROR: impccr2    최길호 2009/04/01 33616
Troubleshoot  ORA-00600: 내부 오류 코드, 인수 : [12333], [12], [50], [48], [], [], [], []    최길호 2010/03/24 33361
Install and Config  11g 기본 설치 script [ create database script , 10g 가능 ]    최길호 2009/07/07 33278
Troubleshoot  /usr/lib/pa20_64/dld.sl: Unable to find library 'libsqlplus.sl' 'libwtc9.sl' 'libclntsh.sl.10.1'    최길호 2010/05/07 33192
Troubleshoot  ORA-07445: exception encountered: core dump [kghlkaftf()+128], ORA-00470: LGWR process terminated with error    최길호 2009/12/07 33102
Troubleshoot  opatch rollback후 OUI-67076    최길호 2007/07/11 33026
Troubleshoot  ORA-12705: Cannot access NLS data files or invalid environment specified    최길호 2010/10/01 32976
Tuning  DECODE 조건을 Index 사용할 수 있도록 SQL 변경    최길호 2010/05/11 32964
Script  login alter session 적용 [ trigger , alter session , 10046 event ]    최길호 2009/06/04 32904
Application Server  opmn java.lang.OutOfMemoryError 대처    최길호 2005/06/16 32869
Troubleshoot  HPUX, ORA-09968: scumnt: unable to lock file  [1]  최길호 2008/02/20 32675

    목록보기   이전페이지   다음페이지 [1][2][3][4] 5 [6][7][8][9][10]..[155]   [다음 10개]
       

Copyright 1999-2024 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
2021/06/30
윈도우 서버에서 sqlplus .... ORA-...
by 최길호
2021/06/30
ORA-28500: connection from O...
by 최길호
2019/05/02
pkg 확인 SELECT * FROM AL...
by 최길호
최근 게시물
07/22
[ORACLE]
ogg Rolling over remote file [....
by 최길호
07/15
[ORACLE]
PRKF-1125 : multiple values sp....
by 최길호
07/04
[운영체제]
NIC add cli / nmcli device sho....
by 최길호