When you create a server in AWS for production, you will want to add a domain name for it. With a domain name you can encrypt communication to the server. (If you access a website by its IP address, you cannot have encrypted communication.) Let’s Encrypt is a free, popular tool from the ISRG that […]
#!/bin/bash dnf upgrade -y dnf install -y httpd wget php-fpm php-mysqli php-json php php-devel dnf install mariadb105-server systemctl start httpd systemctl enable httpd systemctl is-enabled httpd usermod -a -G apache ec2-user chown -R ec2-user:apache /var/www chmod 2775 /var/www && find /var/www -type d -exec sudo chmod 2775 {} \; find /var/www -type f -exec sudo […]