Install and Setup JDK 8 and JAVA HOME
$ sudo -s $ yum install wget -y $ wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm $ rpm -ivh jdk-8u131-linux-x64.rpm $ java -version $ export JAVA_HOME=/usr/java/jdk1.8.0_131
Install and Setup uDeploy Server 6.X
$ hostnamectl set-hostname rajesh-udeploy-server $ hostnamectl $ cd /opt $ yum install unzip -y $ wget https://s3.ap-south-1.amazonaws.com/scmgalaxy/IBM_URBANCODE_DEPLOY_6.2.7_MP_ML_.zip $ unzip IBM_URBANCODE_DEPLOY_6.2.7_MP_ML_.zip $ cd ibm-ucd-install ./install-server.sh
[root@ip-172-31-4-51 ibm-ucd-install]# ./install-server.sh Enter the directory of the server to upgrade(leave blank for installing to a clean directory). Enter the home directory for the JRE/JDK that the new server or already installed server uses. Default [/usr/java/jdk1.8.0_131]: Buildfile: install.with.groovy.xml [mkdir] Created dir: /opt/ibm-ucd-install/compiled version-check: compile: [groovyc] Compiling 4 source files to /opt/ibm-ucd-install/compiled [copy] Copying 20 files to /opt/ibm-ucd-install/compiled install: [unzip] Expanding: /opt/ibm-ucd-install/conf.zip into /tmp/install-738166103 8269765074.tmp [echo] Found sub-installer UCDeployInstaller.groovy LICENSE INFORMATION The Programs listed below are licensed under the following License Information terms and conditions in addition to the Program license terms previously ........................... ........................... (1/59) "Enter" for the next page, or "F" to print the full license: ........................... ........................... [echo] Do you accept the license? [y,n] y [echo] [echo] Installing IBM UrbanCode Deploy version 6.2.7.0.951830 [echo] Enter the directory where the IBM UrbanCode Deploy should be install ed. [Default: /opt/ibm-ucd/server] [echo] The specified directory does not exist. Do you want to create it? Y,n [Default: Y] [echo] [echo] Installing IBM UrbanCode Deploy to: /opt/ibm-ucd/server [echo] JVM Version detected: 1.8.0_131 [echo] JAVA_HOME: /usr/java/jdk1.8.0_131 [echo] Will this server be used as a node in a high availability cluster? y,N [Default: N] [echo] Where should the server store application data such as logs, plugins, and keystores? [Default: /opt/ibm-ucd/server/appdata] [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] [echo] What host name will users access the Web UI at? [Default: ip-172-31-4-51.ap-south-1.compute.internal] [echo] Do you want the Web UI to always use secure connections using SSL? Y,n [Default: Y] [echo] Enter the port on which the Web UI should listen for secure HTTPS requests. [Default: 8443] [echo] Enter the port on which the Web UI should redirect unsecured HTTP requests from. [Default: 8080] [echo] Enter the initial password for the admin user. [echo] Please type password again. [echo] Enter the port to use for agent communication. [Default: 7918] [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] [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] [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. [echo] Create database schema? (For high availability servers, this should only be done for the first server in the cluster) Y,n [Default: Y] [echo] The following database types are supported: derby, mysql, oracle, sqlserver, db2, db2zos. [echo] Enter the database type to use. [Default: derby] [echo] Enter the database username. [Default: ibm_ucd] [echo] Enter the database password. [Default: password] [copy] Copying 2 files to /opt/ibm-ucd-install/bin/server ........................... ........................... ........................... [propertyfile] Updating property file: /opt/ibm-ucd/server/conf/server/installed.properties [propertyfile] Updating property file: /opt/ibm-ucd/server/conf/server/secured-installed.properties [propertyfile] Updating property file: /opt/ibm-ucd/server/conf/server/installed.properties [copy] Copying 1 file to /opt/ibm-ucd/server [propertyfile] Updating property file: /opt/ibm-ucd/server/conf/server/installed.properties [propertyfile] Creating new property file: /opt/ibm-ucd/server/conf/installed.version [echo] After starting the server, you may access the web UI by pointing your web-browser at [echo] https://ip-172-31-4-51.ap-south-1.compute.internal:8443 to complete the Installation. [echo] Installer Complete. (press return to exit installer) [delete] Deleting directory /tmp/install-7381661038269765074.tmp [copy] Copying 1 file to /opt/ibm-ucd/server/var/install-log
How to start / Stop uDeploy server?
$ systemctl stop firewalld $ systemctl disable firewalld $ cd /opt/ibm-ucd/server/bin $ ./server start https://52.66.235.15:8443/
Udeploy Tutorial for Beginners, Fundamental to Advance-Part 1/3
Udeploy Tutorial for Beginners, Fundamental to Advance-Part 2/3
Udeploy Tutorial for Beginners, Fundamental to Advance-Part 3/3
Latest posts by Rajesh Kumar (see all)
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024