运维工作 创建表空间

#001.确认需要安装软件的信息
连英OA
A.系统软件
windows Server 2008 R2 Enterprise x64
B.工具软件
01.Jdk1.7     check
02.Tomcat 1.6          check
03.oracle 10g x64   check 
04.360 RAR
05.关闭防火墙
06.安装vm tools
05.安装五笔
07.数据库dmp
08.网站工程文件

 
D:\lygsoa\apache-tomcat-6.0.24-ly\webapps\lygsoa\WEB-INF
#002.安装windows Serer 2008 R2 Enterprise x64
#003.安装JDK
         配置环境变量
         设置密码 ysos
#004.安装Oracle 检查字符集
        用语句查询 select userenv('language') from dual;


  GZJGSOA
JZOA
LYOA
SGGSOA
YHOA
 
        
#005.
CREATE TABLESPACE  LYOA  
DATAFILE ' D:\oracle\product\10.2.0\db_1\oradata\ LYOA .DBF' 
SIZE 200M REUSE AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED DEFAULT STORAGE(INITIAL 512K NEXT 1M MINEXTENTS 1 MAXEXTENTS 999) ONLINE;
create user  LYOA  identified by  LYOA  default tablespace  LYOA ;
grant dba,connect,resource to  LYOA ;

CREATE TABLESPACE    GZJGSOA
DATAFILE ' D:\oracle\product\10.2.0\db_1\oradata\   GZJGSOA .DBF' 
SIZE 200M REUSE AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED DEFAULT STORAGE(INITIAL 512K NEXT 1M MINEXTENTS 1 MAXEXTENTS 999) ONLINE;
create user    GZJGSOA  identified by    GZJGSOA  default tablespace    GZJGSOA ;
grant dba,connect,resource to    GZJGSOA ;

                  
CREATE TABLESPACE    JZOA
DATAFILE ' D:\oracle\product\10.2.0\db_1\oradata\ JZOA .DBF' 
SIZE 200M REUSE AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED DEFAULT STORAGE(INITIAL 512K NEXT 1M MINEXTENTS 1 MAXEXTENTS 999) ONLINE;
create user    JZOA  identified by    JZOA  default tablespace    JZOA ;
grant dba,connect,resource to    JZOA ;

CREATE TABLESPACE    SGGSOA
DATAFILE ' D:\oracle\product\10.2.0\db_1\oradata\ SGGSOA .DBF' 
SIZE 200M REUSE AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED DEFAULT STORAGE(INITIAL 512K NEXT 1M MINEXTENTS 1 MAXEXTENTS 999) ONLINE;
create user    SGGSOA  identified by    SGGSOA  default tablespace    SGGSOA ;
grant dba,connect,resource to    SGGSOA ;

猜你喜欢

转载自blog.csdn.net/seraph999/article/details/80397758