How to install LAMP Server on Debian 8.8 Jessie

Debian Tutorial – This tutorial will show you how to install LAMP Server on Debian 8.8 Jessie. LAMP stack consist of Linux Operating system. Apache web server, MySQL database server and PHP scripting language. The combination of those provide a reliable web server to host dynamic websites and web applications. Installing LAMP stack on Debian 8 is pretty simple.

Before we started, I assume you have installed Debian server locally or in the cloud. On this tutorial, I installed my Debian server on DigitalOcean.

Steps to install LAMP Server on Debian 8

Step 1. Update Debian

First of all, we need to make sure that our Debian is up to date

Step 2. Install Apache

To install Apache web server on Debian 8, use the following command

Example

Now open web browser and type the IP address of your Debian server. It should show this apache default page.

install LAMP Server on Debian 8

Step 4. Install MySQL or MariaDB

Use this command to install MySQL Server on Debian 8

Example

You will be asked to specify the root password for MySQL

Secure MySQL Installation

Follow on screen wizard to secure the MySQL Installation. First execute this command to get started

MySQL Server will be started automatically. Check the status using this command

Step 3. Install PHP

Finally, we need to install PHP on Debian 8.

Example

Now restart apache web server

At this point we have successfully installed Apache web server, MySQL Server and PHP. Now our Debian system is ready for future web applications such as WordPress, OwnCloud, Nexcloud and many more. Thanks for reading this how to install LAMP Server on Debian 8.8 Jessie

 

1 Comment

1 Trackback / Pingback

  1. How to install OwnCloud 10 on Debian 8 Jessie - Free Tutorials

Leave a Reply

Your email address will not be published.


*