{"id":6370,"date":"2019-08-21T08:04:41","date_gmt":"2019-08-21T08:04:41","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=6370"},"modified":"2021-11-16T11:03:25","modified_gmt":"2021-11-16T11:03:25","slug":"installing-udeploy-server-6-x-in-linux-rhel-7-5","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/installing-udeploy-server-6-x-in-linux-rhel-7-5\/","title":{"rendered":"Installing uDeploy Server 6.X in linux rhel 7.5"},"content":{"rendered":"\n<p><strong>Install and Setup JDK 8 and JAVA HOME<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ sudo -s\n$ yum install wget -y\n$ wget -c --header \"Cookie: oraclelicense=accept-securebackup-cookie\" http:\/\/download.oracle.com\/otn-pub\/java\/jdk\/8u131-b11\/d54c1d3a095b4ff2b6607d096fa80163\/jdk-8u131-linux-x64.rpm\n$ rpm -ivh jdk-8u131-linux-x64.rpm\n$ java -version\n$ export JAVA_HOME=\/usr\/java\/jdk1.8.0_131<\/pre>\n\n\n\n<p><strong>Install and Setup uDeploy Server 6.X<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ hostnamectl set-hostname rajesh-udeploy-server\n$ hostnamectl\n$ cd \/opt\n$ yum install unzip -y\n$ wget https:\/\/s3.ap-south-1.amazonaws.com\/scmgalaxy\/IBM_URBANCODE_DEPLOY_6.2.7_MP_ML_.zip\n$ unzip IBM_URBANCODE_DEPLOY_6.2.7_MP_ML_.zip\n$ cd ibm-ucd-install\n.\/install-server.sh<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@ip-172-31-4-51 ibm-ucd-install]# .\/install-server.sh\nEnter the directory of the server to upgrade(leave blank for installing to a clean directory).\nEnter the home directory for the JRE\/JDK that the new server or already installed server uses. Default [\/usr\/java\/jdk1.8.0_131]:\nBuildfile: install.with.groovy.xml\n    [mkdir] Created dir: \/opt\/ibm-ucd-install\/compiled\nversion-check:\ncompile:\n  [groovyc] Compiling 4 source files to \/opt\/ibm-ucd-install\/compiled\n     [copy] Copying 20 files to \/opt\/ibm-ucd-install\/compiled\ninstall:\n    [unzip] Expanding: \/opt\/ibm-ucd-install\/conf.zip into \/tmp\/install-738166103                       8269765074.tmp\n     [echo] Found sub-installer UCDeployInstaller.groovy\nLICENSE INFORMATION\nThe Programs listed below are licensed under the following License Information\n terms and conditions in addition to the Program license terms previously\n...........................\n...........................\n(1\/59) \"Enter\" for the next page, or \"F\" to print the full license:\n...........................\n...........................\n     [echo] Do you accept the license? [y,n] y\n     [echo]\n     [echo] Installing IBM UrbanCode Deploy version 6.2.7.0.951830\n     [echo] Enter the directory where the IBM UrbanCode Deploy should be install                       ed. [Default: \/opt\/ibm-ucd\/server]\n     [echo] The specified directory does not exist. Do you want to create it? Y,n [Default: Y]\n     [echo]\n     [echo] Installing IBM UrbanCode Deploy to: \/opt\/ibm-ucd\/server\n     [echo] JVM Version detected: 1.8.0_131\n     [echo] JAVA_HOME: \/usr\/java\/jdk1.8.0_131\n     [echo] Will this server be used as a node in a high availability cluster? y,N [Default: N]\n     [echo] Where should the server store application data such as logs, plugins, and keystores? [Default: \/opt\/ibm-ucd\/server\/appdata]\n     [echo] The specified directory for application data (\/opt\/ibm-ucd\/server\/appdata) doesn't exist. Do you want to create it? Y,n [Default Y]\n     [echo] What host name will users access the Web UI at? [Default: ip-172-31-4-51.ap-south-1.compute.internal]\n     [echo] Do you want the Web UI to always use secure connections using SSL? Y,n [Default: Y]\n     [echo] Enter the port on which the Web UI should listen for secure HTTPS requests. [Default: 8443]\n     [echo] Enter the port on which the Web UI should redirect unsecured HTTP requests from. [Default: 8080]\n     [echo] Enter the initial password for the admin user.\n     [echo] Please type password again.\n     [echo] Enter the port to use for agent communication. [Default: 7918]\n     [echo] Do you want the Server and Agent communication to require mutual aut                       hentication? This requires a manual key exchange between the server and each agent. See the documentation for more details. y,N [Default: N]\n     [echo] Enter the port and hostname of a Rational License Key Server containing product licenses for IBM UrbanCode Deploy, in the form of port@hostname. (e.g. 27000@licenses.example.com) Alternatively, you may leave this blank to begin a 60-day evaluation period. [Default: none]\n     [echo] When installing a server as a part of an existing cluster or when using a pre-populated database, it is not necessary to create the database schema.This step must be performed when installing a standalone server to a fresh database or when installing the first server in a cluster.\n     [echo] Create database schema? (For high availability servers, this should only be done for the first server in the cluster) Y,n [Default: Y]\n     [echo] The following database types are supported: derby, mysql, oracle, sqlserver, db2, db2zos.\n     [echo] Enter the database type to use. [Default: derby]\n     [echo] Enter the database username. [Default: ibm_ucd]\n     [echo] Enter the database password. [Default: password]\n     [copy] Copying 2 files to \/opt\/ibm-ucd-install\/bin\/server\n...........................\n...........................\n...........................\n[propertyfile] Updating property file: \/opt\/ibm-ucd\/server\/conf\/server\/installed.properties\n[propertyfile] Updating property file: \/opt\/ibm-ucd\/server\/conf\/server\/secured-installed.properties\n[propertyfile] Updating property file: \/opt\/ibm-ucd\/server\/conf\/server\/installed.properties\n     [copy] Copying 1 file to \/opt\/ibm-ucd\/server\n[propertyfile] Updating property file: \/opt\/ibm-ucd\/server\/conf\/server\/installed.properties\n[propertyfile] Creating new property file: \/opt\/ibm-ucd\/server\/conf\/installed.version\n     [echo] After starting the server, you may access the web UI by pointing your web-browser at\n     [echo] https:\/\/ip-172-31-4-51.ap-south-1.compute.internal:8443 to complete                        the Installation.\n     [echo] Installer Complete. (press return to exit installer)\n   [delete] Deleting directory \/tmp\/install-7381661038269765074.tmp\n     [copy] Copying 1 file to \/opt\/ibm-ucd\/server\/var\/install-log<\/pre>\n\n\n\n<p><strong>How to start \/ Stop uDeploy server?<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ systemctl stop firewalld\n$ systemctl disable firewalld\n$ cd \/opt\/ibm-ucd\/server\/bin\t\t\n$ .\/server start\t\t\n\t\nhttps:\/\/52.66.235.15:8443\/<\/pre>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_86618\"><figure class=\"wp-block-embed wp-block-embed-youtube is-type-video is-provider-youtube epyt-figure\"><div class=\"wp-block-embed__wrapper\"><iframe loading=\"lazy\"  id=\"_ytid_43282\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_86618\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div><\/figure><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Install and Setup JDK 8 and JAVA HOME Install and Setup uDeploy Server 6.X How to start \/ Stop uDeploy server?<\/p>\n","protected":false},"author":1,"featured_media":7678,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[5238],"tags":[5449,237,460,399,2095],"class_list":["post-6370","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-packer","tag-devopsschool","tag-install","tag-linux","tag-server","tag-udeploy"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=6370"}],"version-history":[{"count":4,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6370\/revisions"}],"predecessor-version":[{"id":25468,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6370\/revisions\/25468"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/7678"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=6370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=6370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=6370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}