RH 7.1 Linux,yum 安装问题

RH 7.1 Linux, yum install issue

主机已注册到 Redhat,当我尝试 yum install 时它说

There are no enabled repos

如何启用回购。

有一个类似的问题 here 没有答案。

[root@# yum install pdksh.x86_64
Loaded plugins: langpacks, product-id, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>

要解决您的订阅相关问题,请按照此操作。

https://access.redhat.com/solutions/253273

关于您的 pdksh 安装,Pdksh 是一个开源版本,具有许多 ksh'88 shell 功能,仅可用于商业 Linux 系统并由 AT&T 许可。从 RHEL 6 开始,pdksh 已被弃用。如果您需要 Korn shell,请使用标准 public 域 ksh (ksh'93)

yum install ksh

希望对您有所帮助