当前位置:首页 > 数据库 > Oracle

Oracle11g数据库安装

一、安装流程截图(没截图部分都默认)

Oracle11g数据库安装 - 文章图片

Oracle11g数据库安装 - 文章图片

Oracle11g数据库安装 - 文章图片

Oracle11g数据库安装 - 文章图片

Oracle11g数据库安装 - 文章图片

Oracle11g数据库安装 - 文章图片

Oracle11g数据库安装 - 文章图片

服务器如果不是单独的数据库服务器,内存分配大概1/4即可。

Oracle11g数据库安装 - 文章图片

Oracle11g数据库安装 - 文章图片

 

 

二、安装后,表空间,以及创建账号脚本

sqlplus / as sysdba

 

登陆数据库,执行

/*第1步:创建临时表空间  */

create temporary tablespace sdtx_temp

tempfile ‘D:oracle11gAdministratororadatasdtxorclsdtx_temp.dbf‘

size 2048M

autoextend on

next 2048M maxsize 30960M

extent management local;

 

/*第2步:创建数据表空间  */

create tablespace sdtx_data

logging

datafile ‘D:oracle11gAdministratororadatasdtxorclsdtx_data1.dbf‘

size 2048M

autoextend on

next 1024M maxsize 30960M

extent management local;

 

/*第3步:创建用户并指定表空间  */

create user hrootidentified by 11223344

default tablespace sdtx_data

temporary tablespace sdtx_temp;

 

/*第4步:给用户授予权限 */

grant connect,resource to hroot;

 

三、执行上面操作后,进行系统相关配置。

 

alter system set deferred_segment_creation=false;

 

ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

Oracle11g数据库安装

标签:

本文系统来源:http://www.cnblogs.com/dashouqianxiaoshou/p/4563317.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐