Get started > Quickstart > Downloading files

Downloading files

Perform the following steps to download the files and software required to deploy the PetClinic application:

  1. Download the onboarding kit. The onboarding kit contains the necessary software and scripts required to install the PetClinic application.

  2. To download the onboarding kit, click the following link: https://hpln.hpe.com/product/hpe-codar/resources/file-repository.
  3. Click HPE Codar Downloads>> OnboardingKit>> OnboardingKit (zip file).
  4. Extract the downloaded OnboardingKit.zip file in to a folder using WinZip or WinRAR software. This zip file contains the scripts to install Tomcat and MySQL software, to configure MySQL, and deploy the application on the Tomcat server. The URL to download Tomcat and MySQL server is available in this guide and these two software can be placed under the software directory inside the OnboardingKitextracted folder.

  5. Download the Apache HTTP Server. The Apache HTTP Server is used to host the extracted artifact files. The Apache HTTP Server link which will refer to these artifacts is used to configure the parameters inside the Codar application design components. If you have any HTTP Server basedrepository, skip steps 4 to 8. Ensure that you place the downloaded files under the HTTP directory.

  6. Extract the downloaded httpd-2.4.12-win64-VC11.zip file to a folder using WinZip or WinRAR software.

  7. Open the httpd-2.4.12-win64-VC11\Apache24\conf\httpd.conf file.

  8. Modify the httpd.conf file with the following steps to host the content of the folder you downloaded in step 1.

    1. Replace the value of ServerRoot "c:/Apache24" with the extracted Apache HTTP Server location. For example, ServerRoot “C:\httpd-2.4.12-win64-VC11\Apache24”.

    2. Replace the value of DocumentRoot "c:/Apache24/htdocs" with the location of the sample folder that you downloaded in step 1. For example, DocumentRoot "C:/OnboardingKit".

    3. Replace the value of Directory "c:/Apache24/htdocs" with the location of the onboarding kit folder that you downloaded in step 1. For example, Directory "C:/OnboardingKit".

    4. In the same Directory tag, change AllowOverride None to AllowOverride All and Require all denied to Require all granted.

  9. Start the Apache HTTP Server by running the following commands:

    1. <installation_drive>\httpd-2.4.12-win64-VC11\Apache24\bin\httpd.exe -k install

    2. <installation_drive>\httpd-2.4.12-win64-VC11\Apache24\bin\httpd.exe -k start

      where <installation_drive> is the drive in which the Apache the HTTP Server must be installed. For example, C:, E:

  10. Launch the http://localhost:80/ URL and the following folders and files are displayed:

  11. Download MySQL and Tomcat from the following locations and copy them to the Software folder inside the OnboardingKit folder.

    Software Location
    MySQL

    http://ftp.kaist.ac.kr/mysql/Downloads/MySQL-5.6/

    Download mysql-server_5.6.22-1ubuntu12.04_amd64.deb-bundle.tar or the latest version

    If you want to install the latest MySQL server, modify the OnboardingKit/scripts/install_mysql.sh script so that it contains the changed name and version of the MySQL server package.

    Tomcat

    http://tomcat.apache.org/download-70.cgi

    Download apache-tomcat-7.0.56.tar.gz or the latest version

    If you want to install the latest Tomcat server, modify the OnboardingKit/scripts/install_tomcat.sh script so that it contains the changed version and name of the Tomcat server package.

  12. Ensure that you have two Ubuntu systems with the following packages installed in them:

    • JDK 1.7

    • libaio1

    • unzip

    • zip