Create a new Database Instance (in SILENT mode)
来源:互联网 发布:手机广告声音制作软件 编辑:程序博客网 时间:2024/05/18 04:57
Create a new Database Instance (in SILENT mode)
1) Use PUTTY to login to Database server as root.
2) Create an ‘oradata’ folder for storing oracle datafiles (if not created):
cd /u02
mkdir oradata
chown oracle:oinstall oradata
3) Login as oracle user and prepare the oracle environment path for database instance creation:
su - oracle
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
export PATH=$ORACLE_HOME/bin:$PATH
4) Run the command to create a new database instance in SILENT mode:
cd /u01/app/oracle/product/10.2.0/db_1/bin
dbca -silent /
-createDatabase /
-templateName General_Purpose.dbc /
-gdbName <INSTANCE_NAME> /
-sid <INSTANCE_NAME> /
-SysPassword or6cl3 /
-SystemPassword or6cl3 /
-emConfiguration NONE /
-datafileDestination /u02/oradata /
-storageType FS /
-characterSet AL32UTF8 /
-memoryPercentage 40
5) If an ‘ORA-27102: out of memory’ message occurs during the database instance creation, increase max-shm-memory to 8GB temporarily:
su – root
<Enter root password>
prctl -n project.max-shm-memory -v 8gb -r -i project oracle
Then repeat steps 3 and 4 again.
6)
CREATE USER <USER ID> IDENTIFIED BY <PASSWORD> PROFILE DEFAULT DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP ACCOUNT UNLOCK;
GRANT CREATE SESSION TO <USER ID>;
- Create a new Database Instance (in SILENT mode)
- RedHat5.8 create a database instance
- Running Installations in Silent Mode
- How to create an OCM Response file to apply patch in silent mode - opatch silent (Doc ID 966023.1)
- How To Install 11.2 / 12.1 Database/Client Software In Silent Mode Without Using Response File
- virt-install to create a new VM instance
- Manual Create Oracle Database Instance
- Create a new virtual machine in CentOS
- Create a New Maven Project in Eclipse
- Create a New Maven Project in Eclipse
- How to use ASMCA in silent mode to configure ASM for a stand-alone server [ID 1068788.1]
- PAgP Silent/Non-silent Mode
- put: Cannot create file/database/test/asoku_us_2016-07-13._COPYING_. Name node is in safe mode.
- DBCA in Silent mode with ASM [ID 744237.1]
- 解决Eclipse 3.2.2 + Jboss IDE 1.6 不能create a new jboss 4.0 instance的问题
- [Transferred] Create a new Drive or Partition in Windows Vista
- Steps To Create A New Project in Github
- How to create a new Pull Request (PR) in Github
- hdu--2674 求N!%2009的结果
- MONGODB内存使用分析
- Ubuntu10.04更新软件导致开机无法进入Windows7的解决
- C++文件换行符问题
- c# BUG解决经历
- Create a new Database Instance (in SILENT mode)
- Q-Kevin的编程随笔(三)
- 读《Java核心技术:卷Ⅰ基础知识》有感
- JSON 概念
- Android画图学习总结
- 关于移动通信行业从业人员自律和自卫的【通知】
- 简单随机抽样sas实现
- [转]Fedora 14 yum 高速源设置
- 关于隐马尔可夫模型的一点信息