amazon-web-servicesyumufw

Can't install UFW on Amazon Linux server


I'm trying to install UFW on my amazon linux server with yum and here's what I'm getting:

[root@ip-XXX-31-43-YYY ~]# sudo yum install ufw
Failed to set locale, defaulting to C
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
No package ufw available.
Error: Nothing to do
[root@ip-XXX-31-43-YYY ~]# 

What am I doing wrong?

I can't install via apt-get.


Solution

  • There is no ufw package for Yum.

    Lighten the load on your server, and don't install a firewall on it. Instead, control which ports are open in an AWS Security Group.