Pages

Friday, November 4, 2011

Starting control center in Linux



Execute this command:
$ /opt/ibm/db2/V9.7/bin/db2ilist
Assuming that that command returned "ctginst1", which is the instance name as well as the instance owner, here's how to start Control Center. I will also assume you are logged on to the computer as "wieslawg" and probably sitting at a Gnome desktop environment.
1. Open a terminal. You should be at a prompt with the username "wieslawg". You'll need to allow the instance owner to user your X display. Execute the command:
$ xhost+
2. Open another terminal and su to the instance owner:
$ su - ctginst1
3. Export your display:
$ export DISPLAY=:0.0
4. Start Control Center
$ db2cc
That should be all it takes under the assumptions I have given.


No comments:

Post a Comment