How to uninstall awslogs-agent-setup.py?

后端 未结 2 691
慢半拍i
慢半拍i 2021-02-06 04:10

Only after using sudo python ./awslogs-agent-setup.py --region us-east-1 on my Amazon Linux AMI, I found this tidbyte of Caution from AWS docs:

2条回答
  •  故里飘歌
    2021-02-06 04:20

    There is another work-around for removing the Cloudwatch agent permanently. If you installed the package using rpm, we can use yum or apt-get to remove the package permanently.

    sudo yum remove amazon-cloudwatch-agent -y
    

    or

    sudo apt-get remove amazon-cloudwatch-agent -y
    

提交回复
热议问题