lnmp1.7 mysql PHP安装失败,麻烦看一下,谢谢
Checking ...Nginx: OK[0m
Error: MySQL install failed
Error: PHP install failed
Sorry, Failed to install LNMP!
已加载插件:fastestmirror
file:///mnt/repodata/repomd.xml: curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
正在尝试其它镜像。
One of the configured repositories failed (centos7),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable c7
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=c7.skip_if_unavailable=true
failure: repodata/repomd.xml from c7: No more mirrors to try.
file:///mnt/repodata/repomd.xml: curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
已加载插件:fastestmirror
file:///mnt/repodata/repomd.xml: curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
正在尝试其它镜像。
系统源都无法正常工作肯定什么也装不了 licess 发表于 2021-5-12 20:03
系统源都无法正常工作肯定什么也装不了
有系统源地址推荐吗?是说的repo文件的baseurl后面的地址吗?我用的清华的,不过还是失败 damon 发表于 2021-5-13 23:01
有系统源地址推荐吗?是说的repo文件的baseurl后面的地址吗?我用的清华的,不过还是失败 ...
按前面的日志的提示信息,并无半点tsinghua的源信息
论坛里有设置教程,自行搜索:CentOS设置源 licess 发表于 2021-5-14 09:40
按前面的日志的提示信息,并无半点tsinghua的源信息
论坛里有设置教程,自行搜索:CentOS设置源 ...
好的,多谢,我找下。。
页:
[1]