Step 1: check the package and its version www.2cto. com2compat-libstdc ++-7.3-2.96.118.i386.rpm on the linux installation disk, use rpm-icompat-libstdc ++-7.3-2.96.118.i386.rpm to install Step 2 :...
Step 1: check the package and its version www.2cto.com 2 compat-libstdc ++-7.3-2.96.118.i386.rpm on the linux installation disk, use rpm-I compat-libstdc ++-7.3-2.96.118.i386.rpm for installation. Step 2: configure the Linux kernel parameter/etc/sysctl. conf file, add the kernel parameter 2 kernel. msgmni = 10242 kernel. sem = 250 256000 32 1024 enable change activation: sysctl-p Step 3: install sh db2_install follow the prompts to perform Step 4: create User 2/usr/sbin/groupadd db2iadm12/usr/sbin/groupadd db2fadm12/usr/sbin/useradd-m-g db2iadm1-d/home/db2inst1 db2inst12/usr/sbin/ useradd-m-g db2fadm1-d/home/db2fenc1 db2fenc1 Step 5: create instance 2/opt/IBM/db2/V8.1/instance/db2icrt-a server-u db2fenc1 db2inst1 Step 6: product license 2/opt/IBM/db2/V8.1/adm/db2licm-a/mnt/cdrom/db2/license/db2pe. step 7 of lic: allow multi-page distribution of SMS/opt/IBM/db2/V8.1/cfg/db2ln Step 8: add the DB2 Port SU-root vi/etc/services to the following row db2inst1 50000/tcp Step 9: DB2 configuration su-db2inst1 db2set partition = ON db2set partition = ON db2set AUTOSTART = YES db2set partition = ON db2set DB2_HASH_JOIN = Y db2set DB2COMM = tcpip db2set DB2_PARALLEL_IO = * db2set DB2CODEPAGE = 819 # Update dbm cfgdb2 update dbm cfg using SVCENAME db2inst1db2 update dbm cfg using indexrec access Step 10: run DB2 www.2cto.com db2start step 11th: create database db2 "create database atm V1 ALIAS feelview using codeset ISO8859-1 (UTF-8) territory cn" and then you can CREATE tables and table operations, for example, db2 "select * from tbl"
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.