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

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 MariaDB database engine

MariaDB:

Re-configure the MySQL server as follows by typing:

mysql_secure_installation

Install Apache:

PHP Installation:

Restart Apache to save the changes:

We install the necessary php extensions:

Again, we restart apache server to save the changes:

Installation of the cache for the Web server:

save changes:

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:

The last step is to run the root user the ability to log into phpmyadmin:

issue the command:

We enter the root password and that's it 🙂

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.