Knowledgebase

How to Install a LAMP Stack - Apache, MySql, PHP (Automated Script) Print

  • 3

LAMP Stack Installation Instructions

We offer an easy way to a LAMP stack on any of our VPS/Bare Metal servers running Ubuntu 20.04. This allows you to get setup and working with a Web Server (Apache), Database (MySQL), and PHP ( 

  1. Download and install PuTTY on your local computer. You can download PuTTY from the official website: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

  2. Launch PuTTY and enter your server's IP address or domain name in the "Host Name" field. Leave the "Port" field as the default (22).

  3. Select "SSH" as the "Connection Type".

  4. Click on "Open" to connect to your server.

  5. Enter your server's username and password when prompted.

  6. Navigate to the directory where you want to download the installation script. For example, if you want to download it to your home directory, you can type the following command:

    cd ~
  7. Download the installation script by using the wget command:

    wget https://falconeye.gg/lamp.sh

    This command will download the installation script to your current directory.

  8. Once the download is complete, make the script executable by running the following command:

    chmod +x lamp.sh

    This command will make the installation script executable.

  9. Run the installation script by entering the following command:

    ./lamp.sh


This script provides an on-screen menu that walks you through various configuration options for installing Apache, MySQL, and PHP. WordPress installation options are also available, including LetsEncrypt SSL certificates. 

Configure your website with option 3, creating a Virtual Host. Follow the on-screen menu options for the directory of where to place your files.

That's it! You now have a fully installed a LAMP stack on your Ubuntu 20.04 server, and you can connect to it via PuTTY to manage it remotely. If you encounter any issues or need additional support, you can visit https://falconeye.gg for assistance.


Was this answer helpful?
Back