Skip to content

Instantly share code, notes, and snippets.

View aniketkumar0102's full-sized avatar

Aniket Kumar aniketkumar0102

View GitHub Profile
@aniketkumar0102
aniketkumar0102 / gist:0924910d35b0680fd96415ffd89c752e
Created February 16, 2024 13:21 — forked from teja156/gist:8c35a05f43635da4cbd06b47c0d91e93
Commands for deploying wordpress website on AWS EC2 shown in my YouTube video
YouTube video link: https://youtu.be/8Uofkq718n8
All the commands that are executed in the above youtube video are mentioned in this gist.
1. Install Apache server on Ubuntu
sudo apt install apache2
2. Install php runtime and php mysql connector
sudo apt install php libapache2-mod-php php-mysql
3. Install MySQL server
@aniketkumar0102
aniketkumar0102 / aws_ec2_start_stop.json
Created January 23, 2024 10:15 — forked from amitavroy/aws_ec2_start_stop.json
AWS EC2 Start Stop Lambda
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ec2:Start*",
"ec2:Stop*",
"ec2:DescribeInstanceStatus"