Search The Hostwinds Guides Knowledge Base

How to Install the LAMP Stack on a VPS / Cloud Server

Share This Article

You can install an impressive number of software applications onto your Hostwinds Cloud VPS with the click of a button.

What is the LAMP stack?

LAMP stands for Linux, Apache, MySQL, and PHP and is a standard ‘stack’ of software for making modern data-driven websites. The LAMP Stack Overview has more details about the software included and some details about usage and important files/directories.

This guide will explain how to both create a new server with the LAMP stack, as well as how to reinstall a pre-existing server to have LAMP using the Hostwinds Cloud Portal.

Creating a New LAMP stack Server

Just follow these steps to create a new LAMP Stack Cloud VPS:

Step 1: Log into your Client Area at https://clients.hostwinds.com

Step 2: Select Cloud Control and then click on Cloud Portal

Cloud Control Cloud Portal Location Image

Step 3: Click on the Create button and select Servers from the drop down menu

Step 4: Under Select Server Image, click on the Applications menu item

Applications Options

Step 5: Click on the LAMP stack option from the list of available applications

The the LAMP stack option in the Cloud Portal

Step 6: Select your server resources, location, and billing cycle, and select Create Server at the very bottom

Your server will not be activated until the pending invoice has been completed.

Please allow up to 15 minutes for the application to complete initial installation.

Step 7: Log into to your LAMP server IP via SSH or SFTP using your server’s root login credentials.

Of note, part of the installation process for this image is a yum update and yum upgrade, so the installation will be “finished” but you may see this at the first login:

Step 8: See LAMP Stack Overview for more information

Reinstall the LAMP stack On a Pre-Existing VPS / Cloud Server

The following steps will let you reinstall your current VPS with LAMP installed.

Please note that this will erase and destroy and data on the server to reinstall it. We highly suggest that you take a snapshot backup if you need to restore your server from a backup prior to proceeding with this guide.

Step 1: Log into your Client Area at https://clients.hostwinds.com

Step 2: Select Cloud Control and then click on Cloud Portal

Cloud Control Cloud Portal Location Image

Step 3: Click on the Server you wish to reinstall

Selecting server

Step 4: Click on the Actions button, and then select Reinstall from the drop down menu

Instance Reinstall Location Image

Step 5: Under Select Server Image, click on the Applications tab.

Applications Options

Step 6: Click on the LAMP stack icon from the list of applications

The the LAMP stack option in the Cloud Portal

Please allow up to 15 minutes for the application to complete initial installation.

Step 8: Log into to your LAMP server IP via SSH or SFTP using your server’s root login credentials.

Of note, part of the installation process for this image is a yum update and yum upgrade, so the installation will be “finished” but you may see this at the first login:

Step 9: See LAMP Stack Overview for more information

Related Articles: