About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Technical Blog Post
Abstract
Making your life easier: Installing TCR 3.1 with Non-Root DB2 installation
Body
B. INSTALLING DB2 10.1
NOTE: it is a blog following the one "Installing TCR 3.1 with non-root user" (https://ibm.biz/Bd4ear) although you can use it to install a DB2 database easily to be used with any other IBM product.
1. Once the package , DB2_ESE_10_Linux_x86-64.tar.gz , is downloaded from passport Advantage page and uncompressed (gunzip command). we run with root user the:
./db2setup
------------------------------------------------------------------------------------------------------------
NOTE: Previously we may run the db2prere script:
./db2prereqcheck –v 10.1.0.0
To check if our hardware/software pass the prerequisites.
---------------------------------------------------------------------------------------
it will open this windows:
2. Click on “install a product” + “install New” :
3. In the next screens we are going to set the path installation, create the “dasusr1” user, create a db2 instance and single partition instance.
4. Now we create the owner of the instance: db2inst1 default + Next
5. Now appears a summary and click on “finish” to start the installation
6. Once the installation has finished we can validate the installation running the command : ./db2val
7. The last step is license the DB2 running with “db2inst1” the command:
./db2licm –a Db2ese_o.lic
----------------------------------------------------------------------------------------
LIC1402I License added successfully.
LIC1426I This product is now licensed for use as outlined in your License Agreement.
USE OF THE PRODUCT CONSTITUTES ACCEPTANCE OF THE TERMS OF THE IBM LICENSE
AGREEMENT, LOCATED IN THE FOLLOWING DIRECTORY: "/opt/ibm/db2/V10.1/license/
en_US.iso88591
------------------------------------------------------------------------------------------
NOTE: we can run the command " db2licm –l" to check it was correctly registered.
NOTE: NEXT STEP IN "Creating and configuration Content Store"
Thanks for reading , Fran
Check out all our other posts and updates:
Academy Blogs: http://ibm.co/1sPj9E8
Academy Videos: http://bit.ly/1wFKveY
Academy Google+: http://bit.ly/1sR5QTV
Academy Twitter Handle: http://bit.ly/1CknfoF
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]
UID
ibm11083663