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.cannotrestoresegmentprotafterreloc:Permissiondenied
设置SELINUX=disabled完后,执行setenforce0设置状态将启作用
[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:errorwhileloadingsharedlibraries:libaio.so.1:cannotopensharedobjectfile:Nosuchfileordirectory
libaio没有或者不是最新的