打印

阿里云安装LNMP失败

阿里云安装LNMP失败

实例规格族: 共享基本型1核,1G,CentOS 7.3 64位LOG已上传,是不是系统太新了- -===========================phpMyAdmin install completed=======================The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.Add Startup and Starting LNMP...Add nginx service at system startup...Starting nginx...  doneAdd mysql service at system startup...error reading information on service mysql: No such file or directoryerror reading information on service mysql: No such file or directoryinclude/end.sh: line 49: /etc/init.d/mysql: No such file or directoryAdd php-fpm service at system startup...Starting php-fpm  done============================== Check install ==============================Checking ...Nginx: OKError: MySQL install failed.PHP: OKPHP-FPM: OKSorry, Failed to install LNMP!
附件: 您所在的用户组无法下载或查看附件

TOP

[+] Yum installing dependent packages...
Loaded plugins: fastestmirror
http://mirrors.cloud.aliyuncs.com/epel/7/x86_64/repodata/05ae560e5c6ce7acaee194e78def6b1c1b182041a5917a854e6ad8da5119760b-updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

http://mirrors.cloud.aliyuncs.com/epel/7/x86_64/repodata/a63006f04314ded62b9d92d84e763a7876f0edf0c769234fab9c411b9fc58131-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
Determining fastest mirrors
http://mirrors.cloud.aliyuncs.com/epel/7/x86_64/repodata/a63006f04314ded62b9d92d84e763a7876f0edf0c769234fab9c411b9fc58131-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.cloud.aliyuncs.com/epel/7/x86_64/repodata/a63006f04314ded62b9d92d84e763a7876f0edf0c769234fab9c411b9fc58131-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.  
-------------------------------------------------------------------------------------
阿里的源404了。。禁止了这个插件后重装,好了。。
vim  /etc/yum/pluginconf.d/fastestmirror.conf
enabled = 0

vim /etc/yum.conf
plugins=0

yum clean dbcache
---------------------------------------------------------------------
或者更新源,参考
https://help.aliyun.com/knowledge_detail/41177.html

TOP

换个其他源

TOP