{"id":541,"date":"2018-08-14T19:42:20","date_gmt":"2018-08-14T10:42:20","guid":{"rendered":"http:\/\/www.typea.info\/blog\/index.php\/2018\/08\/14\/db2_express-c_111_vagrantcentos7\/"},"modified":"2018-08-14T19:42:20","modified_gmt":"2018-08-14T10:42:20","slug":"db2_express-c_111_vagrantcentos7","status":"publish","type":"post","link":"https:\/\/www.typea.info\/blog\/index.php\/2018\/08\/14\/db2_express-c_111_vagrantcentos7\/","title":{"rendered":"DB2 Express-C 11.1 \u3092Vagrant\u4e0a\u306eCentOs7\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<h2>1.\u6e96\u5099<\/h2>\n<h3>1.1 \u53c2\u8003<\/h3>\n<p>\u4ee5\u524d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30e2\u3001<\/p>\n<ul>\n<li><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2011\/05\/14\/db2_express-c\">DB2 Express-C \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b<\/a><\/li>\n<li>\n<a href=\"https:\/\/www.typea.info\/blog\/index.php\/2012\/01\/25\/db2_express-c_97_centos_6\">DB2 Express-C 9.7 \u3092 CentOS 6 \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u518d\u3073<\/a> <\/li>\n<\/ul>\n<p>\u304a\u3088\u3073<\/p>\n<p><a href=\"https:\/\/www.ibm.com\/developerworks\/jp\/offers\/db2express-c\/installlin_v11_linux\/index.html\">DB2 Express-C 11.1 for Linux \u30af\u30a4\u30c3\u30af\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/p>\n<p>\u3092\u53c2\u8003\u306b\u3001DB2 Express-C \u74b0\u5883\u3092\u3001Vagrant \u3092\u5229\u7528\u3057\u3066 VirtualBox \u306e\u4eee\u60f3\u30de\u30b7\u30f3\u4e0a\u306b\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<h3>1.2 Vagrant<\/h3>\n<p>Vagrant\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u4eee\u60f3\u74b0\u5883\u3078\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9\u304c\u975e\u5e38\u306b\u7c21\u5358\u306b\u3067\u304d\u308b\u3002<a href=\"https:\/\/amzn.to\/2nAKA7v\">Vagrant\u5165\u9580\u30ac\u30a4\u30c9<\/a> Kindle\u7248\u306f\u3001500\u5186\u4ee5\u4e0b\u3067\u8cfc\u5165\u3067\u304d\u308b\u306e\u3067\u3001\u5168\u4f53\u50cf\u3092\u628a\u63e1\u3059\u308b\u306b\u306f\u30b3\u30b9\u30c8\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u9ad8\u3044\u3068\u601d\u3046\u3002<\/p>\n<p><a href=\"https:\/\/www.amazon.co.jp\/Vagrant%E5%85%A5%E9%96%80%E3%82%AC%E3%82%A4%E3%83%89-%E6%96%B0%E5%8E%9F%E9%9B%85%E5%8F%B8-ebook\/dp\/B00F418SQ8\/ref=as_li_ss_il?s=books&amp;ie=UTF8&amp;qid=1534238792&amp;sr=1-3&amp;keywords=vagrant&amp;linkCode=li2&amp;tag=typea09-22&amp;linkId=7417ba900de85afe6c6144c93a0fdd52&amp;language=ja_JP\" target=\"_blank\"><img decoding=\"async\" src=\"\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=B00F418SQ8&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22&amp;language=ja_JP\" border=\"0\"><\/a><\/p>\n<p>Vagrant\u3067\u306f\u3001Box\u30d5\u30a1\u30a4\u30eb\u3068\u3044\u3046\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u30d9\u30fc\u30b9\u3068\u306a\u308b\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002<\/p>\n<p>Vagrant\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u3001\u305d\u306eBox\u30d5\u30a1\u30a4\u30eb\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u306e\u3060\u304c\u3001Centos7\u3092\u5c0e\u5165\u3059\u308b\u306b\u306f\u3001Vagrant \u304a\u3088\u3073 VirtualBox \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u3061\u306b\u3001<\/p>\n<p><a href=\"https:\/\/app.vagrantup.com\/centos\/boxes\/7\">vagrant init centos\/7<\/a> \u30b3\u30de\u30f3\u30c9\u3067\u521d\u671f\u5316\u3001vagrant up \u3067\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u69cb\u7bc9\u304b\u3089\u8d77\u52d5\u307e\u3067<img loading=\"lazy\" decoding=\"async\" width=\"1\" height=\"1\" style=\"margin: 0px !important; border: currentcolor !important; border-image: none !important;\" alt=\"\" src=\"https:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;language=ja_JP&amp;l=li2&amp;o=9&amp;a=B00F418SQ8\" border=\"0\">\u884c\u308f\u308c\u308b\u306e\u3067\u3001<a href=\"http:\/\/typea.info\/blg\/glob\/centos\/\">CentOS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4f5c\u696d<\/a>\u3092\u884c\u3046\u5fc5\u8981\u304c\u306a\u3044\u3002<\/p>\n<p>\u305f\u3060\u3001DB2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001GUI\u74b0\u5883\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u4e0a\u8a18\u516c\u5f0fCentOS\u306eBox\u3067\u306f\u306a\u304f\u3001\u6709\u5fd7\u304c\u4f5c\u6210\u3057\u3001\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u3001CentOS7\u306bGUI\u74b0\u5883\u3092\u9069\u7528\u6e08\u307f\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308bBox\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<p>Vagrant box \u30ab\u30bf\u30ed\u30b0<\/p>\n<p><a title=\"https:\/\/app.vagrantup.com\/boxes\/search\" href=\"https:\/\/app.vagrantup.com\/boxes\/search\">https:\/\/app.vagrantup.com\/boxes\/search<\/a><\/p>\n<p>\u3067\u3001centos gui \u3067\u691c\u7d22\u3001\u4eca\u56de\u306f\u691c\u7d22\u3067\u6700\u4e0a\u4f4d\u306b\u8868\u793a\u3055\u308c\u305fBox\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/vagrant_boxies.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"539\" height=\"234\" title=\"vagrant_boxies\" style=\"display: inline; background-image: none;\" alt=\"vagrant_boxies\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/vagrant_boxies_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p><pre class=\"prettyprint linenums\">vagrant init pbarriscale\/centos7-gui\r\n<\/pre>\n<p>\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3067\u3001\u74b0\u5883\u306e\u521d\u671f\u5316\u3092\u884c\u3046\u3068\u3001\u5b9f\u884c\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001Vagrantfile \u3068\u3044\u3046\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u308b\u306e\u3067\u3001\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u3001vb.gui = true \u306b\u7de8\u96c6\u3057\u305f\u5f8c\u3067\u3001vagrant up \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3002CentOS\u304cGUI\u30e2\u30fc\u30c9\u3067\u7acb\u3061\u4e0a\u304c\u308b\u3002\u505c\u6b62\u6642\u306f\u3001vagrant halt\u3001vagrant ssh \u3067 SSH\u63a5\u7d9a\u3067\u304d\u308b\u3002<\/p>\n<p><pre class=\"prettyprint linenums\">  config.vm.provider \"virtualbox\" do |vb|\r\n     # Display the VirtualBox GUI when booting the machine\r\n    vb.gui = true\r\n        :\r\n  end\r\n<\/pre>\n<h3>1.3 CentOS\u8a2d\u5b9a<\/h3>\n<h4>SELinux \u3092\u7121\u52b9\u5316<\/h4>\n<p>\/etc\/selinux\/config \u3092\u7de8\u96c6<\/p>\n<p><pre class=\"prettyprint linenums\">#SELINUX=enforcing\r\nSELINUX=disabled<\/pre>\n<h4>Firewall \u306e\u8a2d\u5b9a<\/h4>\n<p>\u7ba1\u7406\u7528523\u30dd\u30fc\u30c8\u3068\u63a5\u7d9a\u7528\u30c7\u30d5\u30a9\u30eb\u30c85000\u30dd\u30fc\u30c8\u3092\u958b\u653e\u3059\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_firewall.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"363\" height=\"258\" title=\"db2_firewall\" style=\"display: inline; background-image: none;\" alt=\"db2_firewall\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_firewall_thumb.jpg\" border=\"0\"><\/a><\/p>\n<h2>2.DB2\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<h3>2.1 \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<p>IBM\u306e\u30b5\u30a4\u30c8\u304c\u975e\u5e38\u306b\u5206\u304b\u308a\u306b\u304f\u3044\u306e\u3067\u3001URL\u3092\u793a\u305b\u306a\u3044\u304c\u3001\u30b0\u30b0\u3063\u3066\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb(\u672c\u4f53\u3068\u8a00\u8a9e\u30d1\u30c3\u30af)\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u4e0a\u8a18\u3067Vagrantfile\u304c\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u306b\u914d\u7f6e\u3059\u308b\u3068\u3001\u30b2\u30b9\u30c8OS\u3068\u5171\u6709\u3055\u308c\u308b\u3002<\/p>\n<p>v11.1_linuxx64_expc.tar.gz<br \/>\nv11.1_linuxx64_nlpack.tar.gz\n<\/p>\n<p>root \u3067\u30ed\u30b0\u30a4\u30f3(\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u306b\u306f passwd root \u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a)\u3001vagrant \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5171\u6709\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb(v11.1_linuxx64_expc.tar.gz)\u3092\u5c55\u958b\u3059\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_extract.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"375\" height=\"281\" title=\"db2_extract\" style=\"display: inline; background-image: none;\" alt=\"db2_extract\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_extract_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u89e3\u51cd\u3055\u308c\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001expc\/\u306e\u4e2d\u306b\u8a00\u8a9e\u30d1\u30c3\u30af\u3092\u5c55\u958b\u3002\u5f8c\u3067\u9069\u7528\u3082\u3067\u304d\u308b\u304c\u3001\u3053\u3053\u3067\u4e0a\u66f8\u304d\u3057\u3066\u304a\u3051\u3070\u305d\u308c\u3067OK<\/p>\n<h3>2.2 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u5b9f\u884c<\/h3>\n<p>\/db2\/expc\/db2setup \u3092\u5b9f\u884c<\/p>\n<blockquote>\n<p>\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3067\u3001\u30a8\u30c7\u30a3\u30bf\u304c\u8d77\u52d5\u3057\u3066\u3057\u307e\u3046\u5834\u5408\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u72b6\u614b\u3067\u3001\u30e1\u30cb\u30e5\u30fc &#8211; \u30d5\u30a1\u30a4\u30eb &#8211; \u8a2d\u5b9a &#8211; \u52d5\u4f5c \u304b\u3089\u3001\u5b9f\u884c\u53ef\u80fd\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u5b9f\u884c\u3059\u308b\u306b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u5b9f\u884c(\u3082\u3057\u304f\u306f\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u5b9f\u884c)<\/p>\n<\/blockquote>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/centos7_shell_run_gui.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"418\" height=\"282\" title=\"centos7_shell_run_gui\" style=\"display: inline; background-image: none;\" alt=\"centos7_shell_run_gui\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/centos7_shell_run_gui_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u3042\u3068\u306f\u3001\u30a6\u30a3\u30b6\u30fc\u30c9\u306b\u5f93\u3044\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install01.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"197\" height=\"244\" title=\"db2_install01\" style=\"display: inline; background-image: none;\" alt=\"db2_install01\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install01_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install02.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"196\" height=\"244\" title=\"db2_install02\" style=\"display: inline; background-image: none;\" alt=\"db2_install02\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install02_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u88fd\u54c1\u3092\u9078\u629e<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install03.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"326\" height=\"254\" title=\"db2_install03\" style=\"display: inline; background-image: none;\" alt=\"db2_install03\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install03_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u6a19\u6e96\u3067\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u6e96\u5099\u3057\u3066\u304a\u304f\u3002<\/p>\n<p><a title=\"https:\/\/www.typea.info\/blog\/index.php\/2012\/01\/25\/db2_express-c_97_centos_6\" href=\"https:\/\/www.typea.info\/blog\/index.php\/2012\/01\/25\/db2_express-c_97_centos_6\">https:\/\/www.typea.info\/blog\/index.php\/2012\/01\/25\/db2_express-c_97_centos_6<\/a><\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td valign=\"top\">DB2\u7ba1\u7406\u30b5\u30fc\u30d0\u30fc\u306e\u30e6\u30fc\u30b6\u30fc\u540d<\/td>\n<td valign=\"top\">\u30c7\u30d5\u30a9\u30eb\u30c8\uff1adasadm1<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">DB2\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30fb\u30aa\u30fc\u30ca\u30fc\u30fb\u30e6\u30fc\u30b6\u30fc\u540d<\/td>\n<td valign=\"top\">\u30c7\u30d5\u30a9\u30eb\u30c8\uff1adb2inst1<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">fenced\u30e6\u30fc\u30b6\u30fc\u306e\u30e6\u30fc\u30b6\u30fc\u540d<\/td>\n<td valign=\"top\">\u30c7\u30d5\u30a9\u30eb\u30c8\uff1adb2fenc1<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306eTCP\/IP\u30dd\u30fc\u30c8\u756a\u53f7<\/td>\n<td valign=\"top\">50000\u756a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install04.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"386\" height=\"302\" title=\"db2_install04\" style=\"display: inline; background-image: none;\" alt=\"db2_install04\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install04_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u6e96\u5099\u3057\u305f\u8a2d\u5b9a\u306b\u5f93\u3044\u3001\u30e6\u30fc\u30b6\u30fc\u304a\u3088\u3073\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install05.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"385\" height=\"301\" title=\"db2_install05\" style=\"display: inline; background-image: none;\" alt=\"db2_install05\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install05_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install06.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"364\" height=\"284\" title=\"db2_install06\" style=\"display: inline; background-image: none;\" alt=\"db2_install06\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install06_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u6e96\u5099\u5b8c\u4e86\u3001\u5b8c\u4e86\u30dc\u30bf\u30f3\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install07.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"244\" height=\"213\" title=\"db2_install07\" style=\"display: inline; background-image: none;\" alt=\"db2_install07\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install07_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b9f\u884c\u3055\u308c\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install08.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"244\" height=\"225\" title=\"db2_install08\" style=\"display: inline; background-image: none;\" alt=\"db2_install08\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install08_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3002<\/p>\n<p>db2inst1\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u306a\u304a\u3057\u3001db2level \u30b3\u30de\u30f3\u30c9\u3067\u72b6\u6cc1\u3092\u78ba\u8a8d\u3002OS\u3092\u518d\u8d77\u52d5\u3059\u308b\u304b\u3001db2start \u3067DB2\u3092\u8d77\u52d5<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install09.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"150\" title=\"db2_install09\" style=\"display: inline; background-image: none;\" alt=\"db2_install09\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install09_thumb.jpg\" border=\"0\"><\/a><\/p>\n<h3>2.3 \u30b5\u30f3\u30d7\u30ebDB\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>$ db2sampl \u2013xml \u2013sql<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_after_install03.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"170\" title=\"db2_after_install03\" style=\"display: inline; background-image: none;\" alt=\"db2_after_install03\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_after_install03_thumb.jpg\" border=\"0\"><\/a><\/p>\n<h3>3.DataStudio\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u5b9f\u884c<\/h3>\n<p>DB2\u306e\u7ba1\u7406\u30c4\u30fc\u30eb\u3001DataStudio\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u5b9f\u884c<\/p>\n<p><a title=\"https:\/\/www.typea.info\/blog\/index.php\/2011\/05\/15\/db2_ibm_data_studio_sql\" href=\"https:\/\/www.typea.info\/blog\/index.php\/2011\/05\/15\/db2_ibm_data_studio_sql\">https:\/\/www.typea.info\/blog\/index.php\/2011\/05\/15\/db2_ibm_data_studio_sql<\/a><\/p>\n<h4>3.1 \u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c8<\/h4>\n<p>4.4.2 \u3060\u3068\u3001\u7d50\u69cb\u306a\u78ba\u7387\u3067\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/datastudio_err.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"457\" height=\"176\" title=\"datastudio_err\" style=\"display: inline; background-image: none;\" alt=\"datastudio_err\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/datastudio_err_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p><pre class=\"prettyprint linenums\">org.osgi.framework.BundleException: \u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u72b6\u614b\u5909\u66f4\u30ed\u30c3\u30af\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f:osgi.identity; osgi.identity=\"org.eclipse.core.runtime\"; type=\"osgi.bundle\"; version:Version=\"3.10.0.v20140318-2214\"; singleton:=\"true\" [id=1902] STOPPED [STARTED]\r\n\tat org.eclipse.osgi.container.Module.lockStateChange(Unknown Source)\r\n\tat org.eclipse.osgi.container.Module.stop(Unknown Source)\r\n\tat org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(Unknown Source)\r\n\tat org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(Unknown Source)\r\n\tat org.eclipse.osgi.container.SystemModule.stopWorker(Unknown Source)\r\n\tat org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(Unknown Source)\r\n\tat org.eclipse.osgi.container.Module.doStop(Unknown Source)\r\n\tat org.eclipse.osgi.container.Module.stop(Unknown Source)\r\n\tat org.eclipse.osgi.container.SystemModule.stop(Unknown Source)\r\n\tat org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(Unknown Source)\r\n\tat java.lang.Thread.run(Unknown Source)\r\n<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0(\u4f8b\u3048\u3070\u4ee5\u4e0b)\u306e\u3001ecplise.ini \u30d5\u30a1\u30a4\u30eb<\/p>\n<p>C:\\Program Files\\IBM\\DS4.1.2\\eclipse.ini<\/p>\n<p>\u304b\u3089\u3001<\/p>\n<p>-Xquickstart <\/p>\n<p>\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3002OK\u3067\u304d\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install_success.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"537\" height=\"304\" title=\"db2_install_success\" style=\"display: inline; background-image: none;\" alt=\"db2_install_success\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/DB2-_9E0C\/db2_install_success_thumb.jpg\" border=\"0\"><\/a><\/p>\n<p>\u4ee5\u964d\u306f\u3001\u4e0a\u8a18\u3067\u8a2d\u5b9a\u3057\u305f\u3001Vagrantfile \u306e gui \u3092 false\u306b\u3057\u3068\u3051\u3070\u3044\u3044\u3002<\/p>\n<h3>4.\u518d\u5229\u7528<\/h3>\n<p>DB2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u305f\u306e\u3067\u3001vagrant \u306e Box\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3066\u304a\u304d\u3001\u518d\u5229\u7528\u3059\u308b\u3002<\/p>\n<h3>4.1 Box\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h3>\n<p><a href=\"http:\/\/typea.info\/tips\/wiki.cgi?page=Vagrant\">http:\/\/typea.info\/tips\/wiki.cgi?page=Vagrant<\/a><\/p>\n<p>centos7db2 \u3068\u3044\u3046Box\u3092\u4f5c\u6210\u3059\u308b<\/p>\n<h4>vagrant package default &#8211;output centos7db2.box<\/h4>\n<p>centos7db2.box \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u3001\u53d6\u308a\u8fbc\u307f\u305f\u3044PC\u306b\u30b3\u30d4\u30fc\u3057\u4ee5\u4e0b\u3092\u5b9f\u884c<\/p>\n<h4>vagrant box add centos7db2 centos7db2.box<\/h4>\n<p>\u3042\u3068\u306f\u3001\u540c\u69d8\u306b\u521d\u671f\u5316\u3068\u5b9f\u884c<\/p>\n<h4>vagrant init centos7db2<\/h4>\n<p>\u4ee5\u4e0a\u3002<\/p>\n<p><a href=\"https:\/\/www.amazon.co.jp\/%E5%8D%B3%E6%88%A6%E5%8A%9B%E3%81%AEDB2%E7%AE%A1%E7%90%86%E8%A1%93-%EF%BD%9E%E4%BB%95%E7%B5%84%E3%81%BF%E3%81%8B%E3%82%89%E3%82%8F%E3%81%8B%E3%82%8B%E5%8A%B9%E7%8E%87%E7%9A%84%E7%AE%A1%E7%90%86%E3%81%AE%E3%83%8E%E3%82%A6%E3%83%8F%E3%82%A6-%E4%B8%8B%E4%BD%90%E7%B2%89-%E6%98%AD\/dp\/4774145971\/ref=as_li_ss_il?s=books&amp;ie=UTF8&amp;qid=1534243213&amp;sr=1-1&amp;keywords=db2&amp;linkCode=li2&amp;tag=typea09-22&amp;linkId=6f7b95d27c78e0653088ce01661ca61e&amp;language=ja_JP\" target=\"_blank\"><img decoding=\"async\" src=\"\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=4774145971&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22&amp;language=ja_JP\" border=\"0\"><\/a><\/p>\n<p>DB2\u4f7f\u7528\u8005\u5fc5\u643a\u306e\u826f\u66f8\uff01<img loading=\"lazy\" decoding=\"async\" width=\"1\" height=\"1\" style=\"margin: 0px !important; border: currentcolor !important; border-image: none !important;\" alt=\"\" src=\"https:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;language=ja_JP&amp;l=li2&amp;o=9&amp;a=4774145971\" border=\"0\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u6e96\u5099 1.1 \u53c2\u8003 \u4ee5\u524d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30e2\u3001 DB2 Express-C \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b DB2 Express-C 9.7 \u3092 CentOS 6 \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u518d\u3073 \u304a\u3088\u3073 DB2 Express-C 11 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[45,103],"tags":[],"class_list":["post-541","post","type-post","status-publish","format-standard","hentry","category-db2","category-vagrant"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=541"}],"version-history":[{"count":0,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/541\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}