Install DB2 on Mac OS X and give us feedback

IMPORTANT
This article is now OBSOLETE!
Please refer to this article instead.

A little over a week ago IBM released a new version of the DB2 beta for Mac OS X Leopard, following up on valuable feedback that we’d received in response to earlier versions. This version is important because it resolves a reported issue that was occurring when building drivers for languages like Ruby and PHP. Hence, I highly encourage you to download the latest DB2 for Mac now and save yourself the hassle of this issue.

The installation procedure is fairly straightforward, but I’ll spare you from having to read the “Installing and setting up DB2 for Mac OS X” PDF by providing some easy steps here.

Install DB2 on Mac

Step 1: Increase your system’s parameters by creating or editing /etc/sysctl.conf. Add the following parameters, save the file, and reboot your machine.

kern.sysv.shmmax=1073741824
kern.sysv.shmmin=1
kern.sysv.shmmni=4096
kern.sysv.shmseg=32
kern.sysv.shmall=1179648
kern.maxfilesperproc=65536
kern.maxfiles=65536

Step 2: Download and extract DB2 Express-C for Mac OS X. To extract the file you can run tar -xvzf db2exc_952beta_MAC_x86_64.tar.gz from a terminal. cd into the extracted folder by running cd exp.

Step 3: Run sudo ./db2setup and follow the wizard that appears. (Note that this step assumes that you have Java 1.6 installed.)

If you’d like specific instructions on installing Ruby and Rails, take a look at my previous post about this subject.

Give us your feedback

Try out DB2 on your Mac, experiment with it, and let us know what you think. Tell us what are your impressions, what you like, what you dislike, and what you’d want to see in future releases. Write me at cangiano{{AT}}ca.ibm.com, and I’ll be happy to hear from you. If this release is particularly important to you and you’re able to speak on behalf of your company, do feel free write as well, we are definitely looking for testimonials – and such letters could prove to be free exposure for your company as well. If you use DB2 on Mac in an interesting way, let us know about it. We truly value your opinions and are looking forward to hearing about how DB2 on Mac affects you.

Get more stuff like this

Subscribe to my mailing list to receive similar updates about programming.

Thank you for subscribing. Please check your email to confirm your subscription.

Something went wrong.

62 Comments

  1. dr_te_z January 21, 2009
  2. Bingimar January 25, 2009
  3. Antonio Cangiano January 25, 2009
  4. Peter January 26, 2009
  5. Peter January 26, 2009
  6. Antonio Cangiano January 26, 2009
  7. Peter January 27, 2009
  8. Antonio Cangiano January 27, 2009
  9. Chris January 30, 2009
  10. Antonio Cangiano February 5, 2009
  11. Bingimar February 5, 2009
  12. Antonio Cangiano February 5, 2009
  13. Brandon Zylstra February 5, 2009
  14. Bingimar February 6, 2009
  15. Antonio Cangiano February 6, 2009
    • dhinchak October 6, 2011
  16. Bingimar February 6, 2009
  17. Steven Hansen February 13, 2009
  18. ryan April 5, 2009
  19. John Weis April 9, 2009
  20. Antonio Cangiano April 9, 2009
  21. John Weis April 9, 2009
  22. Antonio Cangiano April 9, 2009
  23. John Weis April 9, 2009
  24. Antonio Cangiano April 9, 2009
  25. Clemens Benden June 3, 2009
  26. Clemens Benden June 3, 2009
  27. Michael Walker June 24, 2009
  28. Shawn August 28, 2009
  29. Antonio Cangiano August 28, 2009
  30. Tom P ALSTON September 11, 2009
  31. John Milne September 17, 2009
  32. Antonio Cangiano September 17, 2009
  33. Henri September 23, 2009
  34. Michael Walker October 14, 2009
  35. Michael Walker October 14, 2009
  36. Antonio Cangiano October 14, 2009
  37. Scott Allan October 16, 2009
  38. Scott Allan October 16, 2009
  39. Scott Allan October 16, 2009
  40. Timo Ruohomäki October 18, 2009
  41. Scott Allan October 19, 2009
  42. Wheeler Chu October 24, 2009
  43. danny December 9, 2009
  44. Alexey January 18, 2010
  45. Balazs January 21, 2010
  46. Vasco Jorge September 3, 2011
  47. bala March 3, 2012
  48. Stefan March 23, 2012
    • Antonio Cangiano March 23, 2012
      • Stefan March 23, 2012
        • Stefan March 23, 2012
      • Stefan March 23, 2012
        • Antonio Cangiano March 23, 2012
  49. Stefan March 28, 2012
  50. Daniel April 14, 2012
  51. Daniel April 14, 2012
  52. Roberto May 6, 2012
  53. Brian June 27, 2012
  54. frabber September 11, 2012
  55. boris_yurkevich October 25, 2012
  56. Hugo Munoz October 28, 2014

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: