如何在RedHat Server上安装httpd?什么百胜仓库?

我对这种服务器还很陌生,所以请原谅我的无知。

我向我的公司索要用于托管Web应用程序的Linux服务器,他们给了我这个系统: Red Hat Enterprise Linux Server 7.7(Maipo) 所以我要做的第一件事就是尝试安装Apache HTTP,在yum存储库中该软件包称为httpd。

按照我的教程进行:

sudo yum list httpd

哪个开始从与我公司有关的镜像返回一系列超时消息(它们是否托管rhel存储库?这是常见的做法吗?)

无论如何,我从那时开始禁用该镜像

sudo yum list httpd

刚返回:

Loaded plugins: langpacks,product-id,search-disabled-repos,subscription-manager
Repository rhel-7-server-rpms is listed more than once in the configuration
Error: No matching Packages to list

我尝试在没有任何技术基础知识的情况下添加一些回购协议,因此我将发布此命令的结果:

sudo yum repolist enabled

Loaded plugins: langpacks,subscription-manager
Repository rhel-7-server-rpms is listed more than once in the configuration
repo id                                                 repo name                                                        status
epel/x86_64                                             Extra Packages for Enterprise Linux 7 - x86_64                   13,457
rhel-7-server-optional-rpms/7Server/x86_64              Red Hat Enterprise Linux 7 Server - Optional (RPMs)              19,380
vmware-tools                                            VMware Tools                                                          1
repolist: 32,838

我该怎么办?我怎么知道要添加和/或启用安装此通用软件包的仓库?

yaoshenglain 回答:如何在RedHat Server上安装httpd?什么百胜仓库?

用于RHEL的

httpd2.4被打包为一个软件集合,因此您必须首先启用一些存储库。请参阅以下文档:

Release notes Installation

“ scl启用”正确的存储库后,您将“ yum安装httpd24”

如果要设置快捷方式,请仅在此Python Hello World page上使用步骤1,然后安装yum。

本文链接:https://www.f2er.com/3086674.html

大家都在问