0% found this document useful (0 votes)
31 views3 pages

Lab Dynatrace KonaKart

Uploaded by

tuanle2731
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views3 pages

Lab Dynatrace KonaKart

Uploaded by

tuanle2731
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

PHP Application

Prepared by
DTU
4/22/2019
PHP Application

Contents
1. Purpose ...................................................................................................................................... 2
2. Pre-Requisites ............................................................................................................................ 2
3. Instructions ................................................................................................................................ 2

1
PHP Application

1. Purpose
The purpose of this exercise is to get you familiar with the new Dynatrace environment, and to implement a PHP
web application. Make sure to install a version of PHP that is compatible with Dynatrace. Check Konakart
documentation for version numbers.

2. Pre-Requisites
1. Ubuntu based VM
a. Using Oracle VirtualBox for VM?
i. Virtual Box: http://www.oracle.com/technetwork/server-
storage/virtualbox/overview/index.html
ii. Ubuntu environment: https://www.ubuntu.com/download/desktop
2. Dynatrace Demo Tenant, Setup Here:
a. https://www.dynatrace.com/

b.

3. Instructions
1. Install default-jre
a. Sudo apt-get install default-jre
2. Install PostgreSQL
a. sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >>
/etc/apt/sources.list.d/pgdg.list'
b. wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add –
c. sudo apt-get update
d. sudo apt-get install postgresql postgresql-contrib
e. sudo su - postgres
f. createuser Dynatrace
g. psql
h. ALTER ROLE Dynatrace SUPERUSER;
i. \password Dynatrace
j. CREATE DATABASE konakart;
k. GRANT ALL PRIVILEGES ON DATABASE konakart to Dynatrace;
3. Install KonaKart:
a. https://www.konakart.com/downloads/community_edition/
b. $# (replace 2.2.6.0 with the version you have downloaded)
$ chmod +x KonaKart-2.2.6.0-Linux-Install
$ ./KonaKart-2.2.6.0-Linux-Install
JRE location: /usr/lib/jvm/default-java/jre
Make sure “Create Tables Required” is checked.
4. Deploy Dynatrace

You might also like