The FlexDeploy Virtual Machine provides fully configured and executable samples, enabling users to examine the features and use as reference for full implementation.

Virtual Machine Configuration

Install Oracle VirtualBox

Download and Install Oracle VirtualBox from https://www.virtualbox.org/wiki/Downloads. Next steps will explain how to use FlexDeploy OVA image file with VirtualBox. Make sure Virtual Box Extension Pack is also installed.

Importing VM Appliance

The steps shown use Oracle VM VirtualBox for the Host, but there are other options. Feel free to use any host capable of importing OVA images. You may need to unzip the file you downloaded before you are able to import it.

  1. Open VirtualBox. 

  2. Click File - Import Appliance. 

  3. Select the VM image (.ova file), Click Next. File name of ova file depends on the version of FlexDeploy you have downloaded.

  4. Click Import
    1. It is here where settings can be adjusted, you can change the VM name or give it more CPU, etc
    2. If Memory is reduced below 3 GB, the VM will not work correctly 

Starting FlexDeploy VM  

  1. Once the Import process has finished, start the VM.
    1. This can be done by clicking on the VM and clicking Start on the top bar.
       
  2. Once the virtual machine has started, FlexDeploy tomcat server will also automatically start and you will see screen shown below and you can login using http://localhost:8000/flexdeploy. It takes some time for Tomcat server to start application, so give few minutes before you launch application in browser.



    FlexDeploy can be started using start_flexdeploy.sh script as well. Login using flexuser/flexdeploy1 credentials. You can do this on Virtual Box window or using Putty (localhost with port 222).


  3. After few minutes, Open your browser to http://localhost:8000/flexdeploy
  4. Once FlexDeploy has loaded, you can log in and explore. FlexDeploy User credentials are fdadmin/welcome1

    Loading


    Log in and explore

Stopping FlexDeploy VM

  1. Run stop command.
    1. Start SSH session on port 222 and login as flexuser.
    2. cd
    3. ./stop_flexdeploy.sh
  2. Power Off VM in VirtualBox Manager. 

Installation Details

Credentials

FlexDeploy Credentials

FlexDeploy UserPasswordFlexDeploy GroupDescription
fdadminwelcome1FD AdministratorsThe default FlexDeploy admin user. The FD Administrators group has all available permissions in FlexDeploy.
operatorwelcome1OperatorsThe operator user can manage projects, create or update notifications, scheduled tasks, and windows, as well as approve deployments to the Production environment.
developerwelcome1DevelopersThe developer user has permission to build projects, and deploy applications to the Development environment.
releasemanagerwelcome1Release ManagersThis user can create or update releases and pipelines, as well as creating a new snapshot for a release.

Other Credentials

Account TypeUserPassword
Tomcat Management Consoletomcattomcat
Linux VM Operating Systemflexuserflexdeploy1
Databasefd_adminwelcome1
DatabasesysFL289267Vx
Databasesystemwelcome1

Ports

You can SSH using port 222 and if you interested in running Queries using SQL Developer connect to database on port 1525. See port mapping details below.

Host Port
Purpose
Port in VM
8010DEV Tomcat Server8090
8020PROD Tomcat Server8070
8000FlexDeploy Server8000
222SSH Daemon22
1525Database Instance1521

FlexDeploy Details

PropertyValue
Root Installation Directory/u01/app/flexdeploy
Server Working Directory/u01/app/flexdeploy/working
Artifact Repository/u01/app/flexdeploy/artifacts
FlexDeploy Tomcat Installation Directory/u01/app/flexdeploy/apache-tomcat-flexdeploy
FlexDeploy Tomcat Logs directory/u01/app/flexdeploy/apache-tomcat-flexdeploy/logs

Tomcat Development Server

PropertyValue
Catalina Base/u01/app/DEV-tomcat
Catalina Home/u01/app/DEV-tomcat
Catalina Temp/u01/app/DEV-tomcat/temp

Tomcat Production Server

PropertyValue
Catalina Base/u01/app/PROD-tomcat
Catalina Home/u01/app/PROD-tomcat
Catalina Temp/u01/app/PROD-tomcat/temp

Application URLs

URL
Application
http://[host]:8000/flexdeployFlexDeploy Application
http://[host]:8010/petclinicPetClinic on DEV
http://[host]:8020/petclinicPetClinic on PROD
http://[host]:8010/jetDemoJetApp on DEV
http://[host]:8020/jetDemoJetApp on PROD


The hostname of the virtual machine is flexdeploy, however, some network configurations do not allow access using a hostname. If you are unable to connect to FlexDeploy, try using the IP address of the host machine in place of [host] in the examples above.

  • If the host machine is running Linux run this command:

    ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'


  • For Windows, run this:

    ipconfig | find "IPv4 Address"


  • You should see one or more IP addresses printed off, one of these will be the address to connect to.

Please note that you will be unable to connect to the virtual machine from the host machine using an IP address or hostname, to connect from the host machine, replace [host] with localhost.