A LEMP Stack is a group of open source software commonly used for hosting dynamic websites and web apps. LEMP is an acronym for Linux operating system, Nginx web server, MySQL and PHP.
________________________________________________________________________________________________________________________
𝐎𝐮𝐫 𝐒𝐞𝐫𝐯𝐞𝐫 𝐒𝐩𝐞𝐜𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧:-
𝐎𝐬 : 𝐀𝐥𝐦𝐚𝐋𝐢𝐧𝐮𝐱 𝟖.𝟓 (𝐀𝐫𝐜𝐭𝐢𝐜 𝐒𝐩𝐡𝐲𝐧𝐱) | 𝐇𝐨𝐬𝐭𝐧𝐚𝐦𝐞: | 𝐈𝐏 𝐀𝐝𝐝𝐫𝐞𝐬𝐬 𝐨𝐟 𝐒𝐞𝐫𝐯𝐞𝐫:
________________________________________________________________________________________________________________________
cat /etc/system-release ; getconf LONG_BIT ; hostname ; hostname -I
dnf -y update ; dnf groupinstall "Development Tools" -y
dnf install nginx mariadb-server mariadb php php-fpm php-cli php-gd php-curl php-zip php-mbstring php-opcache php-intl php-mysqlnd -y
systemctl enable nginx mariadb php-fpm; systemctl start nginx mariadb php-fpm ; systemctl status nginx mariadb php-fpm
mysql_secure_installation
nano /etc/php-fpm.d/www.conf
user = nginx || Group = nginx
echo "<?php phpinfo() ?>" > /usr/share/nginx/html/info.php
echo "Hello There, Nginx Webserver is now running" > /usr/share/nginx/html/index.html
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload
http://server.yourdomain.com/
http://server.yourdomain.com/info.php
_________________________________________________________________________________________________________________________
Wednesday, December 29, 2021
How To Install LEMP Stack on Rocky Linux 8 [Step-by-Step]
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment