Ubuntu

How to install and configure LAMP stack on Ubuntu 14.04.3

How to install and configure LAMP stack on Ubuntu 14.04.3
Get 100$ Digital Ocean credit for free with This Link, if you don't have your own server visit DigitalOcean servers starting at 5$ a month
100$ off on me with

Introduction

The comonly used LAMP stack is the building block necessary for most web applications to run on a web server. LAMP stands fo Linux, Apache, MSQL, and PHP which are the main services required to run web applications like Wordpress, Joomla, Drupal and many of today's dynamic web applications that require constantly changing data to be relayed to the user.

Install

Step 1

Connect to your server as the admin user via SSH.

ssh [email protected]

Step 2

Allways update your package sources so that you always install the latest version.

sudo apt-get update

Step 3

We will be using Tasksel. Tasksel is an easy way to install some of the basic Ubuntu components.

sudo tasksel

Select LAMP server from the list and click ok this will install Apache, MYSQL Server and PHP.

Tasksel

Enter the Mysql password for the root user. Note: For security make this one different than your server's password, and try not to use this user in any application that requires a database to store and pull data from.

MySQL

That's it, the server is ready, by default apache comes with a test page so we can test the server.

http://<your_servers_ip>

You should see the default page that is located on /var/www/html

It Works

Get 100$ Digital Ocean credit for free with This Link, if you don't have your own server visit DigitalOcean servers starting at 5$ a month
100$ off on me with