linux 安装ps需要先安装的rpm包

安装db2 10.5需要下面的包:
yum -y install libstdc*i686 pam*i686 gcc* kernel-devel sg3_utils* sg_persist* 


安装9.5需要下面的包:
 yum -y install compat-libstdc*i686

在检查过程中发现:


*********************************************************************************
[root@onekey server]# ./db2prereqcheck           
WARNING:
   The 32 bit library file libstdc++.so.5 is not found on the system. 
   32-bit applications may be affected.  
WARNING:
DBT3534W  The db2prereqcheck utility determined that ASLR is set to ON and that this could cause issues with some tools.

*********************************************************************************

解决方法:
http://www.bubuko.com/infodetail-47611.html

以下列其中一种方式来响应本错误:

通过设置以下内核参数来关闭随机化:
kernel.randomize_va_space=0
通过发出以下命令来临时禁用随机化并重新启动 DB2 实例:
echo 0 > /proc/sys/kernel/randomize_va_space




[root@onekey server_t]# ./db2prereqcheck -v 10.5.0.8                                                  


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


Checking prerequisites for DB2 installation. Version "10.5.0.8". Operating system "Linux" 
   
Validating "Linux distribution " ... 
   Required minimum operating system distribution: "RHEL"; Version: "5"; Service pack: "9". 
   Actual operating system distribution Version: "7"; Service pack: "3". 
   Requirement matched. 
   
Validating "kernel level " ... 
   Required minimum operating system kernel level: "2.6.16". 
   Actual operating system kernel level: "3.10.0". 
   Requirement matched. 
   
Validating "C++ Library version " ... 
   Required minimum C++ library: "libstdc++.so.6" 
   Standard C++ library is located in the following directory: "/usr/lib64/libstdc++.so.6.0.19". 
   Actual C++ library: "CXXABI_1.3.1" 
   Requirement matched. 
   


Validating "32 bit version of "libstdc++.so.6" " ... 
   Found the 32 bit "/lib/libstdc++.so.6" in the following directory "/lib". 
   Requirement matched. 
   
Validating "libaio.so version " ... 
DBT3553I  The db2prereqcheck utility successfully loaded the libaio.so.1 file. 
   Requirement matched. 
   
Validating "/lib/libpam.so*" ... 
   Requirement matched. 
DBT3533I  The db2prereqcheck utility has confirmed that all installation prerequisites were met. 


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


Checking prerequisites for DB2 installation with the DB2 pureScale Feature.  Version: "10.5.0.8".  Operating system: "Linux". 
   
Validating "Linux distribution " ... 
   Required minimum operating system distribution: "RHEL"; Version: "5"; Service pack: "9". 
   Actual operating system distribution Version: "7"; Service pack: "3". 
   Requirement matched. 
   
Validating "kernel level " ... 
   Required minimum operating system kernel level: "2.6.16". 
   Actual operating system kernel level: "3.10.0". 
   Requirement matched. 
   
Validating "SELinux status " ... 
   SELinux is "disabled ". 
   Requirement matched. 
   
Validating "C++ Library version " ... 
   Required minimum C++ library: "libstdc++.so.6" 
   Standard C++ library is located in the following directory: "/usr/lib64/libstdc++.so.6.0.19". 
   Actual C++ library: "CXXABI_1.3.1" 
   Requirement matched. 
   


Validating "32 bit version of "libstdc++.so.6" " ... 
   Found the 32 bit "/lib/libstdc++.so.6" in the following directory "/lib". 
   Requirement matched. 
   
Validating "libc.so version " ... 
   glibc library is located in the following directory "/usr/lib64/libc-2.17.so". 
   Required minimum glibc library version: "2.4.0" 
   Actual glibc library version: "2.17.0" 
   Requirement matched. 
   
Validating "libaio.so version " ... 
DBT3553I  The db2prereqcheck utility successfully loaded the libaio.so.1 file. 
   Requirement matched. 
   
Validating "gcc" ... 
   Package (or file) found: "gcc" 
   Requirement matched. 
   
Validating "binutils" ... 
   Package (or file) found: "binutils" 
   Requirement matched. 
   
Validating "cpp" ... 
   Package (or file) found: "cpp" 
   Requirement matched. 
   
Validating "gcc-c++" ... 
   Package (or file) found: "gcc-c++" 
   Requirement matched. 
   
Validating "kernel-devel" ... 
   Package (or file) found: "kernel-devel" 
   Requirement matched. 
   
Validating "Intel TCO WatchDog Timer Driver modules" ... 
The db2prereqcheck utility found that Intel TCO WatchDog Timer Driver module "iTCO_wdt" is not loaded. 
The db2prereqcheck utility found that Intel TCO WatchDog Timer Driver module "iTCO_vendor_support" is not loaded. 
   Requirement matched. 
   
Validating "free space" ... 
The directory "/tmp" has enough space on host "onekey". 
   Requirement matched. 
   
Validating "free space" ... 
The directory "/var" has enough space on host "onekey". 
   Requirement matched. 
   
Validating "free space" ... 
The directory "/usr" has enough space on host "onekey". 
   Requirement matched. 
   
Validating "sg3_utils" ... 
   Package (or file) found: "sg3_utils" 
   Requirement matched. 
   
Validating "sg_persist" ... 
   Package (or file) found: "/usr/bin/sg_persist" 
   Requirement matched. 
   
Validating "/lib/libpam.so*" ... 
   Requirement matched. 
DBT3533I  The db2prereqcheck utility has confirmed that all installation prerequisites were met. 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26224914/viewspace-2144321/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/26224914/viewspace-2144321/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值