Installing LAMP
LAMP - Tutorials
Last updated
LAMP - Tutorials
Last updated
LAMP stands for Linux, Apache, MySQL, and PHP. Together, they provide a proven set of software for delivering high-performance web applications. Each component contributes essential capabilities to the stack: Linux: The operating system.
First of all. Make sure you are using an user with permissions so that you can use commands such as 'apt-get' etc.
1 - Installing Apache WebServer
root@petrosky:/# apt install apache2
2 - Installing MariaDB
root@petrosky:/# apt install mariadb*
3 - Configuring the MariaDB database
root@petrosky:/# mysql_secure_installation
You will be prompted whether to set a password or not. We highly recommend setting up a password for the 'root' DB User and disabling Remote SQL Connections.
4 - Installing PHP
root@petrosky:/# apt install php libapache2-mod-php
Yet we are done! Now we have our LAMP Installed!