DB2 Installation Steps

Source: Internet
Author: User
Tags db2 db2 installation

################################# #DB2的安装 ############################# ready to install # # Close memory address randomization mechanismVI/etc/sysctl.conf# Increase Kernel.randomize_va_space=0Sysctl-P # #上传压缩包至/user/Local directory, and unzip the CD/home/DB2 #Tar-XVF V9.7fp9_linuxx64_server.Tar. GZTar-xvfv10.5_linuxx64_expc.Tar. GZ CD/usr/local/expc## start the installation./Db2_install2. Configure instance User # # root user executionmkdir-P/db2home Groupadd-G607Dagadm Groupadd-G608Dagfenc Useradd-U607-G dagadm-d/db2home/dainst-m Dainst useradd-U608-G dagfenc-d/home/dafenc-m Dafenc useradd-U609-G dagadm-d/DB2HOME/DW-m dw## Modify configuration file, add port numberVI/etc/Services #dainst Db2c_dainst62000/TCP Db2_dainst62001/TCP db2_dainst_162002/TCP db2_dainst_262003/TCP Db2_dainst_end62004/TCP # # new instance CD/opt/ibm/db2/v10.5/instance./DB2ICRT-u dafenc dainst # # Dainst User Executionsu-dainst db2set db2codepage=1386Db2set Db2comm=TCPIP db2set db2_parallel_io=*DB2 update dbm CFG using SVCENAME db2c_dainst DB2 get dbm CFG|grep-WSVCENAMECat/db2home/dainst/sqllib/db2nodes.cfg db2start# #创建DWMM数据库 (executed with the instance user)mkdir-p/db2home/dainst/etldb DB2"CREATE DATABASE dwmm AUTOMATIC STORAGE NO on/db2home/dainst/etldb USING codeset GBK TERRITORY CN RESTRICTIVE"  

DB2 Installation Steps

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.