Web application stack

We will need to setup web stack to complete exercise 7. We will use following applications: web server Apache HTTPD 2.4, relational database MySQL Community Edition 5.6 and PHP interpreter PHP 5.6, and content management system Drupal 7 on top of them. This guide can be used to setup both CentOS 7 and Solaris 11 except for few commands (they will be marked). We will need to build these programs from source codes to enable USDT probes in them.

DANGER!

This guide is intended for lab setup. It could lack security, so do not use it for production systems.

Download programs sources

Build and install MySQL from sources

Build and install Apache HTTPD from sources

Build and install PHP interpreter from sources

Setup MySQL database

Setup Apache and PHP interpreter

Install Drupal 7

Install Drupal module devel and setup test data

Note

To start services, use following commands:

# /usr/local/mysql/support-files/mysql.server start
# /usr/local/apache2/bin/httpd