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.
*********************************************************************************
解決方法:
[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.
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.
*********************************************************************************
解決方法:
以下列其中一種方式來響應本錯誤:
-
透過設定以下核心引數來關閉隨機化:
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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Postgresql Linux版本安裝——RPM包安裝SQLLinux
- linux jdk rpm包安裝LinuxJDK
- mysql安裝------RPM包安裝及解除安裝MySql
- yum如何解除安裝已安裝的rpm並安裝本地rpm包
- mysql 5.6 for linux (rpm包安裝)MySqlLinux
- linux怎樣檢視rpm安裝包的安裝路徑Linux
- Linux RPM包安裝、解除安裝、升級命令講解Linux
- rpm包安裝升級與解除安裝
- 【Linux】Linux軟體安裝管理1 rpm軟體包安裝Linux
- rpm -e --nodeps 無法解除安裝的包怎樣解除安裝 ?
- RPM 包安裝報錯
- rpm包安裝和管理
- Linux rpm -e --nodeps rpm解除安裝Linux
- RPM應用——查詢(已安裝包和未安裝包)
- RPM包的安裝與升級
- centos(linux): rpm -V 驗證rpm包安裝程式的安全CentOSLinux
- RPM包安裝與介紹
- 基於Linux的MySQL5.7RPM包安裝LinuxMySql
- Linux-軟體包管理-RPM安裝位置\原始碼包安裝位置Linux原始碼
- Mysql for Linux安裝配置之—— rpm(bundle)安裝MySqlLinux
- Linux rpm安裝MySQLLinuxMySql
- Greenplum_原始碼編譯安裝和RPM包安裝原始碼編譯
- (轉)CentOS 下 rpm包與 yum 安裝與解除安裝CentOS
- Linux下查詢命令對應的RPM安裝包Linux
- CentOS下使用rpm包安裝MySQLCentOSMySql
- rpm包方式安裝Percona serverServer
- 強制安裝一個RPM包
- yum安裝軟體之後如何儲存rpm安裝包
- Linux下怎麼安裝.deb格式的安裝包?Linux系統下.deb格式安裝包的安裝教程Linux
- [Linux]rpm,dpkg安裝,查詢,解除安裝,升級Linux
- centos以RPM包方式安裝redis的方法CentOSRedis
- 在 Fedora 中安裝替代版本的 RPM 包
- mysql8.0.30的RPM包安裝方法MySql
- redhat配置yum環境安裝rpm包Redhat
- 檢查RPM包是否已經安裝
- Linux平臺(CentOS 6.5) RPM包方式安裝 Mysql 5.7LinuxCentOSMySql
- Linux精講——軟體安裝yum、rpm、原始碼安裝Linux原始碼
- mysql安裝(rpm)MySql