{"id":795,"date":"2010-10-12T07:46:10","date_gmt":"2010-10-12T01:46:10","guid":{"rendered":"http:\/\/techsatwork.com\/blog\/?p=795"},"modified":"2016-01-07T11:31:08","modified_gmt":"2016-01-07T05:31:08","slug":"installing-db2-on-suse-linux","status":"publish","type":"post","link":"https:\/\/techsatwork.com\/?p=795","title":{"rendered":"Installing DB2 on openSuse Linux"},"content":{"rendered":"<p>Last year, I wrote an article on <a href=\"https:\/\/techsatwork.com\/blog\/?p=468\" target=\"_blank\">how to install DB2 on Ubuntu Linux<\/a>. \u00c2\u00a0Well, today I am attempting to install DB2 on Suse Linux. \u00c2\u00a0 First you need to <a href=\"http:\/\/software.opensuse.org\/113\/en\" target=\"_blank\">download openSuse<\/a> . <a href=\"http:\/\/software.opensuse.org\/113\/en\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-805\" title=\"opensuse\" src=\"https:\/\/techsatwork.com\/blog\/wp-content\/uploads\/2010\/10\/opensuse.jpg\" alt=\"\" width=\"300\" height=\"150\" \/><\/a><br \/>\nI downloaded the 32 bit, since my sandbox laptop is a 32 bit CPU\/ Burn it onto a DVD using your favorite software. \u00c2\u00a0 If you doing a native install (meaning its not a VM install), you should boot the computer off the DVD. \u00c2\u00a0At the splash screen click &#8220;Installation&#8221;<\/p>\n<p><a href=\"https:\/\/techsatwork.com\/blog\/wp-content\/uploads\/2010\/10\/suse_install.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-801\" title=\"suse_install\" src=\"https:\/\/techsatwork.com\/blog\/wp-content\/uploads\/2010\/10\/suse_install-300x224.jpg\" alt=\"\" width=\"300\" height=\"224\" srcset=\"https:\/\/techsatwork.com\/wp-content\/uploads\/2010\/10\/suse_install-300x224.jpg 300w, https:\/\/techsatwork.com\/wp-content\/uploads\/2010\/10\/suse_install-1024x764.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>Go through the different screens presented by the installer. Its no rocket science to install openSuse. \u00c2\u00a0Once you install open up YaST , click Online Update under software, click the OK . \u00c2\u00a0Let it do its thing. \u00c2\u00a0It may require a reboot of the machine depending on the updates it finds.<\/p>\n<p>Once you have the OS all installed and setup, you can d<a href=\"http:\/\/www.ibm.com\/developerworks\/downloads\/im\/udbexp\/\" target=\"_blank\">ownload DB2 V9.7 Express-C <\/a> for Linux \u00c2\u00a0The file you download is a zipped file. \u00c2\u00a0Using a terminal, navigate to the directory\u00c2\u00a0you saved the file ; you should find a file db2exc_972_LNX_x86.tar.gz .<br \/>\nsudo to root by typing \u00c2\u00a0sudo su &#8211;<\/p>\n<ul>\n<li>Type <span style=\"color: #3366ff;\">gunzip \u00c2\u00a0db2exc_972_LNX_x86.tar.gz<\/span> to unzip it .<\/li>\n<li>Type <span style=\"color: #3366ff;\">tar -xvf db2exc_972_LNX_x86.tar<\/span><\/li>\n<li>type <span style=\"color: #3366ff;\">cd \u00c2\u00a0expc<\/span> directory<\/li>\n<li>type <span style=\"color: #3366ff;\">export DISPLAY=:0<\/span> if for some reason you cannot setup the DISPLAY variable, type <span style=\"color: #3366ff;\">xhost +<\/span> first and then type <span style=\"color: #3366ff;\">export DISPLAY=:0<\/span><\/li>\n<li>type <span style=\"color: #3366ff;\">.\/db2setup <span style=\"color: #808080;\">. <span style=\"color: #333333;\">You should now see a new IBM splash screen.<\/span><span style=\"color: #333333;\"> <\/span><\/span><\/span><\/li>\n<li>select <span style=\"color: #3366ff;\">Install a product<\/span><\/li>\n<li>click <span style=\"color: #3366ff;\">Install New<\/span><\/li>\n<li>select <span style=\"color: #3366ff;\">Typical<\/span> or <span style=\"color: #3366ff;\">Custom<\/span> depending on your expertise level<\/li>\n<li>select <span style=\"color: #3366ff;\">Install DB2 Express-c on this computer<\/span><\/li>\n<li>choose your install directory, I recommend leaving the default install path<\/li>\n<li>type in a password for your db2 admin server userid<\/li>\n<li>choose if you want to create a instance as part of the install<\/li>\n<li>if you chose to create a instance, type a password for the instance userid<\/li>\n<li>type a password for the db2 fence userid<\/li>\n<li>Click <span style=\"color: #3366ff;\">Finish<\/span><\/li>\n<li>Once its complete, review the log file just to ensure everything went well. \u00c2\u00a0Once satisfied, click <span style=\"color: #3366ff;\">Finish<\/span> . \u00c2\u00a0You now have a db2 instance running to use !!<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Last year, I wrote an article on how to install DB2 on Ubuntu Linux. \u00c2\u00a0Well, today I am attempting to install DB2 on Suse Linux. \u00c2\u00a0 First you need to download openSuse . I downloaded the 32 bit, since my sandbox laptop is a 32 bit CPU\/ Burn it onto a DVD using your favorite [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[303,3,358,142],"tags":[412,232,406,410,408,409,411,405],"class_list":["post-795","post","type-post","status-publish","format-standard","hentry","category-database","category-db2","category-how-to","category-linux","tag-db2-instance","tag-db2-v97","tag-display","tag-installing-db2-on-suse-installing-db2-on-linux","tag-opensuse","tag-suse","tag-suse-linux","tag-xhost"],"_links":{"self":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=795"}],"version-history":[{"count":8,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/795\/revisions"}],"predecessor-version":[{"id":809,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/795\/revisions\/809"}],"wp:attachment":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}