General Guides

Search Knowledge Base by Keyword

LAMP Stack Application Overview

You are here:
Share:

This installation is available through reinstalling the OS (Operating System) on your VPS which will configure the VPS as a LAMP (Linux Apache MySQL PHP) stack. This server includes the following setup already configured for you:

  • Latest version of CentOS 7
  • Latest version of Apache Web Server
  • MariaDB 10.1 installed and configured
  • Latest version of PHP-FPM installed and configured

 

Accessing FTP

To access your server through FTP, you’ll use the server’s IP or hostname provided in your welcome email. Your username will be root and the password will be your server’s root password.

Your webserver’s filepath is typically located in /var/www/html

Any content placed here will be publicly accessible on your website. If you’re familiar with cPanel’s setup, this is similar to the public_html directory.

 

Accessing MySQL

To access MySQL on the server, you will want to login via the command line by typing mysql.

Your login details are saved in /root/.my.cnf

This gives you root privileged login to MySQL without specifying your username and root password.

 

Pointing Your Domain to Your LAMP Server

All you need to do to point your domain to your new server is update your domain’s A record to point to your server’s IP address. We have the following Knowledge Base Article on this process for various domain registrars:

How to Add or Modify Your A Record

 

Why Would I Want The LAMP Stack?

The LAMP Stack is a simple, yet popular setup that would allow development of a website. While this is not exactly recommended for newcomers, or those who are not too experienced with Linux, it is a simplistic setup for the functionality it provides. One reason you may want to use the LAMP Stack over cPanel for example. Could be that you are not looking to spend money on a cPanel license as you only need the base functionality of a PHP Web server. Along with being a quite popular environment for web servers, it has a great deal of documentation for each of the programs involved.

 

Related Articles


Share:
Tags: