您的位置:首页 > 数据库 > Oracle

oracle12c各个版本对其需要的依赖包及系统参数的修改

2016-08-12 14:02 375 查看
本文来自我的githubpages博客http://galengao.github.io/即www.gaohuirong.cn

以下是我在oracle官网上对oracle12c各个版本的依赖包需求整理

1、PackagesforOracleLinux7andRedHatEnterpriseLinux7

Thefollowingpackages(orlaterversions)mustbeinstalled:

binutils-2.23.52.0.1-12.el7.x86_64
compat-libcap1-1.10-3.el7.x86_64
gcc-4.8.2-3.el7.x86_64
gcc-c++-4.8.2-3.el7.x86_64
glibc-2.17-36.el7.i686
glibc-2.17-36.el7.x86_64
glibc-devel-2.17-36.el7.i686
glibc-devel-2.17-36.el7.x86_64
ksh
libaio-0.3.109-9.el7.i686
libaio-0.3.109-9.el7.x86_64
libaio-devel-0.3.109-9.el7.i686
libaio-devel-0.3.109-9.el7.x86_64
libgcc-4.8.2-3.el7.i686
libgcc-4.8.2-3.el7.x86_64
libstdc++-4.8.2-3.el7.i686
libstdc++-4.8.2-3.el7.x86_64
libstdc++-devel-4.8.2-3.el7.i686
libstdc++-devel-4.8.2-3.el7.x86_64
libXi-1.7.2-1.el7.i686
libXi-1.7.2-1.el7.x86_64
libXtst-1.2.2-1.el7.i686
libXtst-1.2.2-1.el7.x86_64
make-3.82-19.el7.x86_64
sysstat-10.1.5-1.el7.x86_64


2、PackagesforOracleLinux6andRedHatEnterpriseLinux6

Thefollowingpackages(orlaterversions)mustbeinstalled:

binutils-2.20.51.0.2-5.11.el6(x86_64)
compat-libcap1-1.10-1(x86_64)
compat-libstdc++-33-3.2.3-69.el6(x86_64)
compat-libstdc++-33-3.2.3-69.el6(i686)
gcc-4.4.4-13.el6(x86_64)
gcc-c++-4.4.4-13.el6(x86_64)
glibc-2.12-1.7.el6(i686)
glibc-2.12-1.7.el6(x86_64)
glibc-devel-2.12-1.7.el6(x86_64)
glibc-devel-2.12-1.7.el6(i686)
ksh
libgcc-4.4.4-13.el6(i686)
libgcc-4.4.4-13.el6(x86_64)
libstdc++-4.4.4-13.el6(x86_64)
libstdc++-4.4.4-13.el6(i686)
libstdc++-devel-4.4.4-13.el6(x86_64)
libstdc++-devel-4.4.4-13.el6(i686)
libaio-0.3.107-10.el6(x86_64)
libaio-0.3.107-10.el6(i686)
libaio-devel-0.3.107-10.el6(x86_64)
libaio-devel-0.3.107-10.el6(i686)
libXext-1.1(x86_64)
libXext-1.1(i686)
libXtst-1.0.99.2(x86_64)
libXtst-1.0.99.2(i686)
libX11-1.3(x86_64)
libX11-1.3(i686)
libXau-1.0.5(x86_64)
libXau-1.0.5(i686)
libxcb-1.5(x86_64)
libxcb-1.5(i686)
libXi-1.3(x86_64)
libXi-1.3(i686)
make-3.81-19.el6
sysstat-9.0.4-11.el6(x86_64)


3、PackagerequirementsforOracleLinux5andRedHatEnterpriseLinux5

Thefollowingpackages(orlaterversions)mustbeinstalled:

binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3(32bit)
coreutils-5.97-23.el5_4.1
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-58
glibc-2.5-58(32bit)
glibc-devel-2.5-58
glibc-devel-2.5-58(32bit)
ksh
libaio-0.3.106
libaio-0.3.106(32bit)
libaio-devel-0.3.106
libaio-devel-0.3.106(32bit)
libgcc-4.1.2
libgcc-4.1.2(32bit)
libstdc++-4.1.2
libstdc++-4.1.2(32bit)
libstdc++-devel4.1.2
libXext-1.0.1
libXext-1.0.1(32bit)
libXtst-1.0.1
libXtst-1.0.1(32bit)
libX11-1.0.3
libX11-1.0.3(32bit)
libXau-1.0.1
libXau-1.0.1(32bit)
libXi-1.0.1
libXi-1.0.1(32bit)
make-3.81
sysstat-7.0.2


==============================================


OraclePreinstallationRPMforyourOracleLinux6kernel(oracle-rdbms-server-12cR1-preinstall).
OracleValidatedRPM(oracle-validated)foryourOracleLinux5kernel.


beforeinstalloraclesoftwareneedsupdateOSparameters

a、vi/etc/security/limits.conf


Foreachinstallationsoftwareowner,checktheresourcelimitsforinstallation,usingthefollowingrecommendedranges:

Table5-1InstallationOwnerResourceLimitRecommendedRanges

ResourceShellLimitResourceSoftLimitHardLimit
Openfiledescriptorsnofileatleast1024atleast65536
Numberofprocessesavailabletoasingleusernprocatleast2047atleast16384
Sizeofthestacksegmentoftheprocessstackatleast10240KBatleast10240KB,andatmost32768KB
MaximumLockedMemoryLimitmemlockatleast90percentofthecurrentRAMwhenHugePagesmemoryisenabledandatleast3145728KB(3GB)whenHugePagesmemoryisdisabledatleast90percentofthecurrentRAMwhenHugePagesmemoryisenabledandatleast3145728KB(3GB)whenHugePagesmemoryisdisabled
Tocheckresourcelimits:
Loginasaninstallationowner.
Checkthesoftandhardlimitsforthefiledescriptorsetting.Ensurethattheresultisintherecommendedrange,forexample:

$ulimit-Sn
1024
$ulimit-Hn
65536


Checkthesoftandhardlimitsforthenumberofprocessesavailabletoauser.Ensurethattheresultisintherecommendedrange,forexample:

$ulimit-Su
2047
$ulimit-Hu
16384


Checkthesoftlimitforthestacksetting.Ensurethattheresultisintherecommendedrange,forexample:

$ulimit-Ss
10240
$ulimit-Hs
32768


RepeatthisprocedureforeachOraclesoftwareinstallationowner.


Ifnecessary,updatetheresourcelimitsinthe/etc/security/limits.confconfigurationfilefortheinstallationowner.However,notethattheconfigurationfileisdistributionspecific.Contactyoursystemadministratorfordistributionspecificconfigurationfileinformation.


vi/etc/security/limits.conf


oraclesoftnproc2047
oraclehardnproc16384
oraclesoftnofile1024
oraclehardnofile65536
oraclesoftstack10240
oraclehardstack32768

gridsoftnproc2047
gridhardnproc16384
gridsoftnofile1024
gridhardnofile65536
gridsoftstack10240
gridhardstack32768



b、vi/etc/sysctl.conf


fs.aio-max-nr=1048576
fs.file-max=6815744
kernel.shmall=2097152
kernel.shmmax=4294967295
kernel.shmmni=4096
kernel.sem=25032000100128
net.ipv4.ip_local_port_range=900065500
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048576


sysctl-p



c、vi/etc/profile


if[$USER="oracle"];then
if[$SHELL="/bin/ksh"];then
ulimit-p16384
ulimit-n65536
else
ulimit-u16384-n65536
fi
fi



d、vi/etc/pam.d/login


sessionrequired/lib/security/pam_limits.so
sessionrequiredpam_limits.so



                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐
章节导航