
Launch a free tier aws ec2 instance by signing up, selecting a micro server, and launching the instance, then prepare your lamp stack and WordPress deployment.
Learn to connect to an AWS instance via SSH from Mac or Windows using a key file with PuTTY or Git Bash, connecting by IP or public DNS.
Install Apache on an AWS instance with yum, run as root, and verify the Apache test page via IP address or public DNS after adjusting inbound security group rules.
Install and start the MySQL server using yum, then secure it with mysql_secure_installation by setting a root password, removing anonymous users, and disallowing remote login.
Install PHP on a LAMP stack with Apache and MySQL, verify the PHP setup with a phpinfo-style test page, and securely remove the test file after validation.
Obtain a free domain from freenom, verify your email, and register it properly today. Point A records for domain and www to your server IP with TTL 300.
Download WordPress from WordPress.org with wget and place files in /var/www/html. Set Apache ownership, set SELinux to permissive, then create MySQL database and user and install WordPress.
Obtain and install a free SSL by enabling mod_ssl, configure a domain-specific virtual host, organize WordPress files on the server, adjust ownership for Apache, and restart the server to verify.
Configure apache virtual host, request and install a Let's Encrypt ssl certificate, and enable https for WordPress by updating site URL and redirecting http to https, with port 443 open.
Enable apache and mysql to start automatically on reboot with systemctl enable httpd and systemctl enable mysqld, ensure WordPress communicates with database, and set SELinux to permissive permanently via /etc/selinux/config.
Learn how to launch a LAMP stack on an AWS EC2 server, install Apache, MySQL, PHP, WordPress and configure SSL. This course is beginner-friendly and no prior experience with AWS is needed however knowing basic shell commands is helpful.
The course is divided into seven sections and each section builds upon the lesson learned in the previous lesson. It is important not to skip lessons in order to get the most out of this course.
We will learn the following:
How to launch an EC2 server on AWS
How to Install Apache
How to Install MySQL
How to Install PHP
How to Install WordPress
How to Install SSL