Devops Project #1

So i Got the problem in installing the user data file directly in the ec2 instance so i solved it by -

cd /etc/yum.repos.d/

sed -i 's/mirrorlist/#mirrolist/g' /etc/yum.repos.d/CentOS-*

sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

ps -ef | grep memcache   - this is for the memcache port check open tcp ports 
ss -tunlp   - to show all the open tcp ports 
ss -tunlp | grep 11211  - (your port)
0
Subscribe to my newsletter

Read articles from Devops with Hari directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Devops with Hari
Devops with Hari

I am a Devops Engineer and Keep learning daily basis is my moto.