#当前内存大小为512MB,安装oracle时执行检查...

Checking physical memory requirements ...
Expected result: 922MB
Actual Result: 500MB
Check complete. The overall result of this check is: Failed <<<<
Problem: The system does not have sufficient physical memory to perform the install.
Recommendation: Increase the amount of physical memory available to your system before

continuing with the installation.
=======================================================================
#内存的期望值为922MB,实际值为500MB,即表示安装oracle的机器内存偏小,需增大内存
#内存增大后

Checking available swap space requirements ...
Expected result: 1512MB
Actual Result: 1023MB
Check complete. The overall result of this check is: Failed <<<<
Problem: The system does not have the required swap space.
Recommendation: Make more swap space available to perform the install.
=======================================================================

#此时需要改变交换区的大小

#注:交换区大小建议调整为实际内存大小的2倍

#查看交换区的当前大小,当前交换区大小为1023MB
[root@oracle ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          1011        463        547          0         24        396
-/+ buffers/cache:         42        968
Swap:         1023          0       1023

#查看当前磁盘大小
[root@oracle ~]# df -hl
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       14G  3.1G  9.7G  24% /
/dev/sda1              99M   12M   83M  13% /boot
tmpfs                 506M     0  506M   0% /dev/shm

#根据当前磁盘大小,发现根目录(9.7G)下磁盘空间比较充足
[root@oracle ~]# cd /

#在根目录下创建交换分区文件夹,用来开辟交换区
[root@oracle /]# mkdir swapimage

[root@oracle ~]# cd /swapimage

#使用dd命令,在/swapimage文件下新增一个1G的文件
[root@oracle swapimage]# dd if=/dev/zero of=/swapimage/swap bs=1024 count=1024000
1024000+0 records in
1024000+0 records out
1048576000 bytes (1.0 GB) copied, 15.2395 seconds, 68.8 MB/s

#查看磁盘空间,可以发现根目录下少了1G
[root@oracle swapimage]# df -hl
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       14G  4.1G  8.8G  32% /
/dev/sda1              99M   12M   83M  13% /boot
tmpfs                 506M     0  506M   0% /dev/shm

#使用mkswap将/swapimage/swap文件格式化为虚拟内存文件格式
[root@oracle swapimage]# mkswap /swapimage/swap
Setting up swapspace version 1, size = 1048571 kB

#再次查看交换区的大小,发现交换区增大了1G
[root@oracle swapimage]# free -m
             total       used       free     shared    buffers     cached
Mem:          1011        993         17          0          1        939
-/+ buffers/cache:         52        958
Swap:         2023          0       2023

Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP

addresses.  However, the primary network interface on the system should be configured with

a static IP address in order for the Oracle Software to function properly.  See the

Installation Guide for more details on installing the software on systems configured with

DHCP.
#推荐使用静态IP

#编辑ifcfg-eth0文件,添加BOOTPROTO=static
[root@oracle swapimage]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

#重启网卡
[root@oracle swapimage]# service network restart

#当oracle再次执行检查时,便可顺利通过

http://blog.csdn.net/orcldb/article/details/7803095

服务器安装oracle前的内存调整的更多相关文章

  1. oracle数据库内存调整之增加内存

    注:本文来源:小颜Kevin   <oracle数据库内存调整之增加内存> 模拟操作系统内存从2G增加为8G后,调整数据库内存参数,示例中参数不作为实际生产环境参考,因为因需所取,调整参数 ...

  2. Oracle DB管理内存

    • 描述SGA 中的内存组件• 实施自动内存管理• 手动配置SGA 参数• 配置自动PGA 内存管理  内存管理:概览DBA 必须将内存管理视为其工作中至关重要的部分,因为:• 可用内存空间量有限• ...

  3. Oracle 优化和性能调整

    分析评价Oracle数据库性能主要有数据库吞吐量.数据库用户响应时间两项指标.数据库用户响应时间又可以分为系统服务时间和用户等待时间两项,即:  数据库用户响应时间=系统服务时间+用户等待时间  因此 ...

  4. Oracle 学习总结 - 内存优化

    实例内存优化 开启自动内存管理 1. 设置memory_max_target alter system set memory_max_target=1G scope=spfile; /*init.or ...

  5. Oracle初始安装内存设置参考

      预备知识 shared memory:共享内存段: 一个内存区域,可以被不同的进程读取.oracle使用它来构成sga.oracle使用以下三种方法来创建一个sga区: 1. 使用单个共享内存段. ...

  6. Oracle数据库共享内存分配不足问题的解决

    问题: ORA-: unable to allocate bytes of shared memory ("shared pool,)","session param v ...

  7. oracle管理优化必备语句以及oracle SQL语句性能调整

    本文转自http://www.dataguru.cn/article-3302-1.html oracle数据库管理优化必备语句: 1. SELECT T.START_TIME,T.USED_UBLK ...

  8. [20191115]oracle实例占用内存计算.txt

    [20191115]oracle实例占用内存计算.txt --//以前学习oracle数据库时,总想了解实例占用内存多少,我曾经在一些会议底下问过一位高手,对方说计算这个相对很难,许多东西是共享的.- ...

  9. Bluestacks视窗界面调整及内存调整经验

    本文将分享bluestacks视窗界面调整及内存调整的经验,可以有效解决Bluestacks缓慢.卡的问题! 一.bluestacks视窗界面调整 1.进入注册表: 2.找到下图中的键值: 3.修改键 ...

随机推荐

  1. 泛型generic

  2. (转 )Unity对Lua的编辑器拓展

    转 http://blog.csdn.net/ZhangDi2017/article/details/61203505 当前版本的Unity(截至Unity5.5.x)中TextAsset类不支持后缀 ...

  3. Springboot + Websocket + Sockjs + Stomp + Vue + Iview 实现java后端日志显示在前端web页面上

    话不多说,看代码. 一.pom.xml 引入spring boot websocket依赖 <dependency> <groupId>org.springframework. ...

  4. 使用NPOI操作Excel文件及其日期处理

    工作中经常遇到需要读取或导出Excel文件的情况,而NPOI是目前最宜用.效率最高的操作的Office(不只是Excel哟)文件的组件,使用方便,不详细说明了. Excel工作表约定:整个Excel表 ...

  5. Excel数据导入SQL Server

    基本有2种方案,都是无需安装Office的方案 Ole DB读取 + BulkCopy 获取Excel各个SheetName //连接串 string strConn = "Provider ...

  6. Hadoop 安装过程中出现的问题

    1.hadoop-daemon.sh start namenode 启动失败 查看hadoop/logs 下面的日志 出现 2017-04-11 15:35:13,860 WARN org.apach ...

  7. java GZIP压缩与解压缩

    1.GZIP压缩 public static byte[] compress(String str, String encoding) { if (str == null || str.length( ...

  8. vue 组件名和方法名 重名了,报function错误

    vue 组件名和方法名 重名了,报function错误

  9. C-基础:函数返回局部变量

    一般的来说,函数是可以返回局部变量的. 局部变量的作用域只在函数内部,在函数返回后,局部变量的内存已经释放了.因此,如果函数返回的是局部变量的值,不涉及地址,程序不会出错.但是如果返回的是局部变量的地 ...

  10. Hibernate-01 入门

    学习任务 Hibernate开发环境的搭建 使用Hibernate对单表进行增删改操作 使用Hibernate按照数据表主键查询 关于Hibernate 简介 Hibernate的创始人Gavin K ...