阿里云ESC报错‘No match for argument: mod_auth-mysql,Error: Unable to find a match: mod_auth-mysql’

近来,根据阿里云快速搭建网站的教程去操作,在部署环境时执行‘ yum -y install httpd httpd-manual mod_ssl mod_perl mod_auth_mysql’报错,错误如下:

[root@iZ0jlefpaeqcxkwjw3gw21Z ~]# yum -y install httpd httpd-manual mod_ssl mod_perl mod_auth_mysql
Last metadata expiration check: 2:19:13 ago on Fri 24 Dec 2021 08:02:11 AM CST.
No match for argument: mod_auth_mysql
Error: Unable to find a match: mod_auth_mysql

解决办法:

1.  yum -y install httpd httpd-manual mod_ssl mod_perl

2.  yum -y install httpd httpd-devel

执行完上述代码即可成功安装Apache及其扩展包。

可以执行 httpd -v进行检验,若返回版本号即为安装成功,如下:

[root@iZ0jlefpaeqcxkwjw3gw21Z ~]# httpd -v
Server version: Apache/2.4.37 ()
Server built:   Oct 13 2021 17:03:20

评论 20
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值