CentOS下安装DB210.1

http://curran.blog.51cto.com/2788306/784499
http://blog.csdn.net/a314131070/article/details/8020301
DB2默认安装 /opt/ibm/db2/V10.1目录下,添加/etc/hosts 当前主机名
一些问题:
   1.cannot restore segment prot after reloc: Permission denied
     设置SELINUX=disabled完后,执行setenforce 0设置状态将启作用
     
[root@localhost ~]# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
#SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
SELINUX=disabled

      

   2. db2stop: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
     libaio没有或者不是最新的
  

你可能感兴趣的:(centos)