Full installation of Linux LAMP server, Apache, MySql, PHP Debian 8

This tutorial describes how to comprehensively install a LAMP server or Apache basic services, MySql, Php and phpmyadmin.

Prok-by-step we will install all the packages.

We begin by setting the correct server hostname:

And edit

We are interested in the bold line.
IP address does not move we make only changes the hostname which will see our server.

We edit the file:

I change the

In order to change the whole system restart server command:

validate the set hostname:

Both commands should return us to the same value:
node.serwerweb.pl

Next, we perform the system update:

Install the database engine MySQL or MariaDB

MariaDB:

Mysql:

The installer will ask you to set a password to the database.
We serve it twice.

Install web server in this case Apache

PHP Installation:

Then we restart apache php modules began to be seen.

To validate the work we create a php file phpinfo

content:

After passing page

We should see a page with information about PHP:

The next step is ET modules php mysql and MariaDB, We search the repository:

I restart apache:

Installing APC Cache:

I restart apache:

As you can see in the picture below modules have been successfully installed you will see them in the phpinfo

The last step is to install fraficzny phpMyAdmin database management interface written in php.

And we respond to the questions in the installer:

PhpMyAdmin is available at:

That's all we have a fully functional mysql web server

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.