阿里雲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

————————————————
原文鏈接:https://blog.csdn.net/weixin_45176132/article/details/122129215


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM