Deploying LAMP
LAMP stands for Linux, Apache, MySql, and PHP — the principal components to build a viable, general-purpose web server. This page presents an effective way to create individual packages in BMC Server Automation for the deployment of such web servers.
To deploy a LAMP web server
- In the Depot, create a new RPM for each application and all of the dependent RPMs that need to be deployed. 
 For more information, see Deploying-files-and-applications-using-packages-and-depot-objects.
- For each application, create a BLPackage that includes all of the required RPMs, listed in the order that ensures all dependencies are covered. 
 For more information, see Adding-a-BLPackage-to-the-Depot.
- Create a Deploy Job of each BLPackage for each application. 
 For more information, see Creating-and-modifying-Software-and-BLPackage-Deploy-Jobs.
- Optionally, create a Batch Job of each of the Deploy Jobs that make up the entire LAMP stack. 
 For more information, see Creating-and-modifying-Batch-Jobs.
RPM Dependencies
The following is a list of the dependent RPMs for deploying each member of the LAMP stack.
| LAMP member | Dependencies | 
|---|---|
| Apache | 
 | 
| PHP | 
 | 
| MYSQL | 
 | 
Sample importable BLPackage
The attached sample includes a Batch Job that contains the following elements.

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*
