#当前内存大小为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. Keepalived+Nginx实现Nginx的高可用

    集群规划 主机名 IP VIP Nginx:port KeepAlived主备 KA_NG_01 192.168.30.130 192.168.30.120 8088 MASTER KA_NG_02 ...

  2. zoj3772Calculate the Function(矩阵+线段树)

    链接 表达式类似于斐波那契 但是多了一个变量 不能用快速幂来解 不过可以用线段树进行维护 对于每一个点够一个2*2的矩阵 1 a[i] 1  0   这个矩阵应该不陌生 类似于构造斐波那契的那个数列 ...

  3. vue在使用ajax获取数据时,两种方法(jquery和vue_resource)

    @{    Layout = null;} <!DOCTYPE html> <html><head>    <meta name="viewport ...

  4. myeclipse 安装svn(subeclipsesite)插件

    (1)到官网下载subeclipsesite,下载最新的版本:http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=224 ...

  5. js获取上周、本周、下周的时间

    //获取上周起始时间结束时间.下周起始时间结束时间开始时间和本周起始时间结束时间;(西方) function getTime(n) { var now = new Date(); var year = ...

  6. Java中类,对象,方法的内存分配

    Java中类,对象,方法的内存分配 以下针对引用数据类型: 在内存中,类是静态的概念,它存在于内存中的CodeSegment中. 当我们使用new关键字生成对象时,JVM根据类的代码,去堆内存中开辟一 ...

  7. 【转】C# WinForm中的Label如何换行

    第一种是把Label的AutoSize属性设为False,手动修改Label的大小.这样的好处是会因内容的长度而自动换行,但是当内容的长度超过所设定的大小时,多出的内容就会无法显示.因此,这种方法适合 ...

  8. python基础:函数传参、全局变量、局部变量、内置函数、匿名函数、递归、os模块、time模块

    ---恢复内容开始--- 一.函数相关: 1.1位置参数: ef hello(name,sex,county='china'): pass #hello('hh','nv') #位置参数.默认参数 1 ...

  9. android 图片

    1,setCompoundDrawables(Drawable left, Drawable top,Drawable right, Drawable bottom) 设置图片出现在textView, ...

  10. ios operationqueue

    http://www.hrchen.com/2013/06/multi-threading-programming-of-ios-part-2/