play
Computing
Internet
Technology & Computing
WordPress Installation in AWS EC2 Instance With Docker Container
50 views · Aug 5, 2022
Visit Channel:publisher-humix
This video is going to present the steps how to install WordPress into AWS EC2 Instance's Docker Container.

It use Amazon Linux image and running on Free Tier. My blog www.51sec.org is running in it. 

Some related commands:

uname -a
sudo yum update -y

sudo yum update
sudo yum install docker -y
sudo service docker start
sudo usermod -a -G docker ec2-user
sudo systemctl enable docker.service # Enable the service
sudo systemctl start docker                 # Start the Docker daemon.
sudo docker images                             # Show local images
sudo docker pull tutum/wordpress                    # pull the image
sudo docker run -d -p 80:80 -p 443:443 tutum/wordpress   #  Run container
sudo curl http://localhost/                         # Test container
sudo docker stop                                    # Stop container
sudo docker ps -a                                 # Show container list
sudo docker export 633748a43e01 - blog.tar                          # Export container
cat blog.tar | sudo docker import - tutum/wordpress blog.tar        # Import container
docker pull ubuntu
docker -it ubuntu

related blog post is at
https://blog.51sec.org/2019/01/running-wordpress-in-docker-of-aws-ec2.html
https://blog.51sec.org/2016/04/centos-basic-cofniguration.html

Subscribe me:  https://www.youtube.com/c/Netsec?sub_confirmation=1


=======================================================
Recording IT life Blog:  https://51sec.org
Show More

Comments

loading text loading
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text