数据库安装及数据库问题解决方法(二)

来源:互联网 发布:网络歌曲最经典500首 编辑:程序博客网 时间:2024/05/22 15:11

7、资源限制
    vi /etc/security/limits.conf
oracle              soft    nproc   2047
oracle              hard    nproc   16384
oracle              soft    nofile  1024
oracle              hard    nofile  65536
oracle              soft    stack   10240

8、安装数据库软件
   ./runInstaller -ignoresysprereqs   
9、运行/home/oracle/oraInventory/orainstRoot.sh
         /home/oracle/product/11.1/root.sh
二、创建数据库 
1、标注oracle_sid
2、确保环境变量正确 ORACLE_BASE ORACLE_HOME ORACLE_SID      
3、创建初始化参数文件
    1.1  oracle数据库名字
    1.2  标注快速恢复区域 DB_RECOVERY_FILE_DEST=/home/oracle/backup
    1.3 
    1.4  db_block_size 大小
    1.5  明确规定最多程序数
    1.6  明确规定undo空间管理
         undo_management=auto
         undo_space=undostb1
    1.7  明确规定compatible空间管理
    1.8  设置许可参数
          LICENSE_MAX_USERS = 200     不再使用

 

原创粉丝点击