????8?????? das ?????????
??????????????????????????????????????????????????????????????? das????????????????????????????????????????????????????????
[root@localhost expc]# groupadd -g 2002 db2asgrp
[root@localhost expc]# useradd -m -g db2asgrp -d /home/db2as db2as
[root@localhost expc]# passwd db2as
[db2as@localhost ~]$ su - db2as # ?????????????
[db2as@localhost ~]$ su # ???????root???
[root@localhost ~]# cd /opt/ibm/db2/V10.1/instance/
[root@localhost instance]# ./dascrt -u db2as
DBI1070I Program dascrt completed successfully.
[root@localhost instance]# su - db2as
[db2as@localhost ~]$ db2admin start
SQL4409W The DB2 Administration Server is already active.
????9?????????
????vim /etc/services
?????????????? # PS??VIM????????????????????“G”????????С?
????db2inst1 50000/tcp
????10??db2 ???????л?????? db2inst1
????su - db2inst1
????db2set DB2_EXTENDED_OPTIMIZATION=ON
????db2set DB2_DISABLE_FLUSH_LOG=ON
????db2set AUTOSTART=YES
????db2set DB2_STRIPED_CONTAINERS=ON
????db2set DB2_HASH_JOIN=Y
????db2set DB2COMM=tcpip
????db2set DB2_PARALLEL_IO=*
????db2set DB2CODEPAGE=819 # PS:????????????
????# db2 update database manager configuration using svcename db2inst1
????11.??SVCENAME???ó?/etc/services?е????????????????
????[db2inst1@localhost ~]$ db2 get dbm cfg|grep SVCENAME
????TCP/IP Service name (SVCENAME) =
????SSL service name (SSL_SVCENAME) =
????????????? http://www.cnblogs.com/zxlovenet/p/3972766.html
???????SVCENAME?????????????????????????????????????и??????á?
????[db2inst1@localhost ~]$ db2 update dbm cfg using SVCENAME db2inst1
????# db2 update dbm cfg using INDEXREC ACCESS
????[db2inst1@localhost ~]$ db2 get dbm cfg|grep SVCENAME
????TCP/IP Service name (SVCENAME) = 50000
????SSL service name (SSL_SVCENAME) =
????# PS??svcename ?????????????????
????12.?????DB2???????????????????????????????????????????????????t??????root???????У?service iptables stop
????13.????DB2????У?db2start ??????????????????????????У?db2stop ??
????PS:?ο?????????
????http://www.db2china.net/home/space.php?uid=92501&do=blog&id=25771
????http://blog.csdn.net/xiaolang85/article/details/3887459
???????ò???

????PS:????????????????????????????????????????????????????????????????????????????????????????????????????????????????????DB2?????