Table of Contents | ||
---|---|---|
|
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
- 1 CPU
- 4 GB RAM
- FlexDeploy installed on Tomcat 8.5.15
- Oracle XE database with FlexDeploy schemas installed
- Two Tomcat 8.5.15 servers for deploying sample applications
- Apache JMeter for unit testing sample applications
- Connection to GitHub repository containing sample source code
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.
Importing VM Appliance
These The steps are for 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.
- Open VirtualBox.
- Click File - Import Appliance.
- Select the VM image (.ova file), Click Next.
File name of ova file depends on the version of FlexDeploy you have downloaded. - Click Import
- It is here where settings can be adjusted, you can change the VM name or give it more CPU, etc
- If Memory is reduced below 3 GB, the VM will not work correctly
Starting FlexDeploy VM
- Once the Import process has finished, start the VM.
- This can be done by clicking on the VM and clicking start Start on the top bar OR
- Right click on the VM, go to Start > Normal Start
- Once the system has started, login with provided credentials. You can login using putty as well, just use port 222.
- Run start command.
- ./start_flexdeploy.sh
- Because the database can take some time to initialize there may be a small delay, the startup script will let to you know it's waiting to connect
.
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.
Tip 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).
- After few minutes, Open your browser to http://localhost:8000/flexdeploy.
- Once FlexDeploy has loaded, you can log in and explore. FlexDeploy User credentials are fdadmin/welcome1.
Stopping FlexDeploy VM
- Run stop command.
- Start SSH session on port 222 and login as flexuser.
- cd
- ./stop_flexdeploy.sh
- Power Off VM in VirtualBox Manager.
Installation Details
Credentials
FlexDeploy Credentials
...
FlexDeploy User | Password | FlexDeploy Group | Description |
---|---|---|---|
fdadmin | welcome1 | FD Administrators | The default FlexDeploy admin user. The FD Administrators group has all available permissions in FlexDeploy. |
operator | welcome1 | Operators | The operator user can manage projects, create or update notifications, scheduled tasks, and windows, as well as approve deployments to the Production environment. |
developer | welcome1 | Developers | The developer user has permission to build projects, and deploy applications to the Development environment. |
releasemanager | welcome1 | Release Managers | This user can create or update releases and pipelines, as well as creating a new snapshot for a release. |
Other Credentials
Account Type | User |
---|
Password |
---|
Tomcat Management Console | tomcat | tomcat |
Linux VM Operating System | flexuser | flexdeploy1 |
Database | fd_admin | welcome1 |
Database | sys | FL289267Vx |
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.
Folders
...
Host Port | Purpose | Port in VM |
---|---|---|
8010 | DEV Tomcat Server | 8090 |
8020 | PROD Tomcat Server | 8070 |
8000 | FlexDeploy Server | 8000 |
222 | SSH Daemon | 22 |
1525 | Database Instance | 1521 |
FlexDeploy Details
Property | Value |
---|---|
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
Property | Value |
---|---|
Catalina Base | /u01/app/DEV-tomcat |
Catalina Home | /u01/app/DEV-tomcat |
Catalina Temp | /u01/app/ |
...
DEV-tomcat/temp |
Tomcat Production Server
Property | Value |
---|---|
Catalina Base | /u01/app/PROD-tomcat |
Catalina Home | /u01/app/ |
Catalina Temp | /u01/app/ |
Application URLs
URL | Application |
---|---|
http://[host]:8000/flexdeploy |
...
FlexDeploy Application | |
http://[host]:8010/petclinic | PetClinic on DEV |
http://[host]:8020/petclinic | PetClinic on PROD |
http://[host]:8010/jet | DemoJetApp on DEV |
http://[host]:8020/jet | DemoJetApp on PROD |
Info | |||||||||
---|---|---|---|---|---|---|---|---|---|
The hostname of the virtual machine is
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 |
Include Page | ||||
---|---|---|---|---|
|