Skip to content

Instantly share code, notes, and snippets.

View rajibbinalam's full-sized avatar
🎯
Focusing

Rajib Bin Alam rajibbinalam

🎯
Focusing
View GitHub Profile
@rajibbinalam
rajibbinalam / install lamp on centOS server.md
Created November 26, 2023 19:05
Install LAMP (Linux, Apache, MySQL, PHP) stack On CentOS 7

Step 1 — Installing the Apache Web Server

sudo yum install httpd

sudo systemctl start httpd

to know your server’s public IP

ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'