Skip to content

abhishekhp/Vagrant-IBM-DB2-JAVA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant-IBM-DB2-JAVA

This vagrant file installs an IBM DB2 express-c 9.7 onto an Ubuntu 12.04 64 bit server. It also installs pre-packaged Java SDK if provided. Install Virtualbox and Vagrant first

running

Execute vagrant up in the directory with the Vagrantfile and provision.sh - it'll take a while first time. Subsequent times will take about 30 seconds. vagrant halt to stop it. Box is set to be on private network IP 192.168.56.201 Keep the guest additions up to date in Virtualbox by using Vagrant plugin: vagrant plugin install vagrant-vbguest

whitepaper

Canonical Ubuntu and DB2 Install info and whitepaper see: http://public.dhe.ibm.com/software/dw/db2/express-c/whitepaper/DB2andUbuntuWhitepaper.pdf

machine logins

  • User: vagrant
  • Password: vagrant
  • Root password: vagrant
  • Database (and machine user)
  • user: db2inst1
  • password: db2inst1

database install

  vagrant ssh
  sudo su - db2inst1
  db2 drop database sample

DB2 network ports can be seen by viewing: cat /etc/services:

		db2c_db2inst1         50000/tcp
		# FCM port information
		DB2_db2inst1          60000/tcp
		DB2_db2inst1_1        60001/tcp
		DB2_db2inst1_2        60002/tcp
		DB2_db2inst1_END      60003/tcp

JDBC connections

###Examples:

  • (Note VirtualBox port forwarding is on so either the private network or localhost will work)
  • jdbc:db2://localhost:50000/sample password: db2inst1
  • jdbc:db2://192.168.56.201:50000/sample password: db2inst1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages