![在 aws 上安装 apache 时抛出错误](https://linux22.com/image/756241/%E5%9C%A8%20aws%20%E4%B8%8A%E5%AE%89%E8%A3%85%20apache%20%E6%97%B6%E6%8A%9B%E5%87%BA%E9%94%99%E8%AF%AF.png)
当我尝试运行命令时
yum install -y httpd.x86_64
它会引发以下错误
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
No package httpd.86_64 available.
Error: Nothing to do
我应该怎样做才能排除故障?
答案1
尝试安装标准 httpd 包
sudo yum update
sudo yum install httpd