How To Install Linux, Apache, MySQL, PHP LAMP stack On CentOS 7

Опубликовано: 21 Февраль 2025
на канале: NixInPix
18,705
70

LAMP stack is a group of open source software used to get web servers up and running. LAMP acronym stands for Linux, Apache, MySQL and PHP. In this video we have CentOS 7 preinstalled and I will guide you step by step installing LAMP. CentOS (abbreviated from Community Enterprise Operating System) is a Linux distribution that attempts to provide a free, enterprise-class, community-supported computing platform which aims to be 100% binary compatible with its upstream source, Red Hat Enterprise Linux (RHEL)

I will list all commands in description. If you want to copy and paste to your terminal.

Commands:
sudo yum install httpd
sudo service httpd start
sudo yum install net-tools
ifconfig eth0 | grep inet
sudo yum install mariadb-server mariadb
sudo service mariadb start
sudo /usr/bin/mysql_secure_installation
sudo yum install php php-mysql
sudo chkconfig httpd on
sudo chkconfig mariadb on

sudo nano /var/www/html/test.php

<?php
phpinfo();
?>

sudo service httpd restart

You can always Deploy an SSD cloud server in 55 seconds
with Digitalocean.
Anyone how use this link will receive $10 in hosting credit immediately after unlocking their account by adding a valid payment method.
Sign Up with this link
https://www.digitalocean.com/?refcode...
(affiliate, referral)