Description
LAMP is a web service solution stack suitable for building dynamic web sites and web applications. It stands for "Linux, Apache, MySQL, PHP" since these are the technologies it typically uses to provide the solution stack.
Lumen Cloud does not have a LAMP-specific starting template, but does support a number of Linux distributions as base templates including RedHat, CentOS, and Ubuntu. While LAMP is often spread across multiple tiers (database, application, web), if you want to install a complete LAMP stack on a single server, there is a Blueprint script available to do this for you. The following steps outline how to execute a package to install the full LAMP stack on one or more servers.
Steps
-
Navigate to a Group of Servers.
- Locate the Group that contains servers that needs a bulk script or software installation and click on it to view the Group Details page. In the example below, the Group is named “LAMP Servers”.
- Locate the Group that contains servers that needs a bulk script or software installation and click on it to view the Group Details page. In the example below, the Group is named “LAMP Servers”.
-
Execute Package from Group actions menu.
-
Hover over the "actions" menu and choose the “execute package” option.
-
Select "public" to view only public packages. You can also use the search field to filter on "lamp" and find the package that starts with "Install LAMP Stack on..." Then select the one you need based on the servers you will be installing it on. There is a separate package for RedHat/CentOS machines vs. Ubuntu/Debian-based systems. Here, we will use the RedHat/CentOS one, but the Ubuntu/Debian version works the same way. Once selected, you will also be prompted to enter a password for the MySQL root user. Enter it twice to confirm, then scroll down.
-
Next, choose the servers in the Group to install the package on. (Only servers built from the package's supported OS templates will show as selectable.) Once the server(s) have been selected, click "execute package" to begin the installation.
-
The Lumen Cloud Control Portal creates a Blueprint and runs the designated package on the selected machines.
-
-
Confirm Successful Package Installation.
- Navigate to the server details for one of the servers affected by the package execution. Grab the IP address of the server.
- Start the OpenVPN client and open up a secure connection to the Lumen Cloud.
- You can easily confirm a successful Apache installation by visiting the IP address of the server in a browser and seeing the default Apache page. To confirm MySQL installation, SSH into the server and login to mysql using the password you provided during the Blueprint deployment.