E.Install DB2 10.5
In this step we will Install DB2.
Make sure you have extracted IBM DB2 Server 10.5 for Linux® on AMD64 and Intel® EM64T systems (x64) (CIXV0ML). I extracted it to /opt/install/db2/
-
Follow Appendix A to export the display to your workstation
-
Run .db2setup from /opt/install/db2/server/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
E.2.Start DB2 -
Access the system as db2inst1
-
run db2start
E.3.Install DB2 10.5 fp7
Make sure to extract DB2 10.5 fp7, I used /opt/install/db2/fp7
-
Sign into the system as the db2 admin (db2inst1) and run db2stop
-
Sign into the system as the DB2 Admin user (dasusr1) and run db2admin stop
-
As root Run ./installFixPack from /opt/install/db2/fp7/universal
-
Enter the path where DB2 is isntalled (/opt/IBM/db2/V10.1)
-
-
-
Start DB2 by logging into the system as the db2 admin (db2inst1) and running db2start
F.1.Create the dedicated db2 user -
as the root user enter the following commands
-
useradd -g db2iadm1 lcuser
-
echo "lcuser:password" | chpasswd
F.2.Configure unicode for db2
-
access the machine as the db2 instance owner (db2inst1)
-
Run the following commands:
-
db2set DB2CODEPAGE=1208
-
db2stop force
-
db2start
-
To verify the setting took, run db2set, DB2CODEPAGE should be equal 1208
F.3.Create Connections databases with wizard
Make sure to extract interim fix: 5.5.0.0-IC-D1-DBwizard-LO87408-AIX-Lin to a location on the DB2 Server. I extracted to /opt/install/ic55/ic55/Wizards
-
log on to the server as root
-
Make sure all users can execute the dbWizard.sh file
-
change dir to /opt/install/ic55/ic55
-
run ownership of the entire Wizards directory to the db2 instance owner by running
chown -R db2inst1 Wizards
-
Grant display to all users by entering the following command
xhost +
-
change to the db2 instance owner (db2inst1) by entering
-
run the following commands to export the display to your laptop (see appendix A for more details)
-
export DISPLAY=9.75.245.208:0
-
xclock
the clock should appear on your desktop
-
Run ./dbWizard.sh from /opt/install/ic55/ic55/Wizards
-
-
-
-
-
-
-
back in the ssh terminal, type exit to return to the root user
Share with your friends: |