First, installation steps
1, first connect to Linux with SSH, put the DB2 installation package in/home.
2, unzip the DB2.tar.gz file, after decompression will be in the current directory has a./expc folder. (tar-zxvf the file name to unzip)
3. Enter this directory: CD expc
4, perform the installation check:./db2prereqcheck
5, perform the installation:./db2_install
1[[Email protected]]./Db2_install2 3Install into default directory (/opt/ibm/db2/v10.5)? [Yes/no] (Install to default directory)4 5--Enter Yes default install OPT, select No need to enter the installation directory6 7 specify one of the following keywords to install the DB2 product8 9--input ESETen One ESE A - initializing DB2 installation. - theThe total number of tasks to perform is: 47 - -The total estimated time for all tasks to be performed is: 2070 - +Task #1Start - + Description: Checking acceptance of license Agreement A atEstimated Time 1seconds - -Task #1End - - ... .. - inTask #47Start - to Description: Registering DB2 update Service + -Estimated Time 30seconds the *Task #47End $ Panax NotoginsengTask #48Start - the Description: Updating the global profile registry + AEstimated Time 3seconds the +Task #48End - $Execution completed successfully.
6.
Create 2 users: Db2admin, Db2inst1 (join the root group)
CENTOS7 installation DB2