VPS侦探论坛

 找回密码
 注册
查看: 3422|回复: 5

centos8安装lnmp1.7失败

[复制链接]
发表于 2021-11-24 09:24:48 | 显示全部楼层 |阅读模式

本帖最后由 eva 于 2021-11-24 09:32 编辑

win10 64位
centos8安装lnmp1.7,mysq8, php7.4失败,请帮忙看下,谢谢

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-11-24 12:11:34 | 显示全部楼层


Repo-name          : CentOS Linux 8 - PowerTools
Repo-mirrors       : http://mirrorlist.centos.org/?re ... ols&infra=stock
Repo-filename      : /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
Repo-name          : CentOS Linux 8 - PowerTools - Source
Repo-baseurl       : http://vault.centos.org/centos/8/PowerTools/Source/
未找到命令: powertools-source。请使用 /usr/bin/dnf --help
它可能是一个DNF插件命令,尝试:"dnf install 'dnf-command(powertools-source)'"
未找到命令: powertools-source。请使用 /usr/bin/dnf --help
它可能是一个DNF插件命令,尝试:"dnf install 'dnf-command(powertools-source)'"

你的系统源设置是有问题的,很多个依赖包都无法安装

ls /etc/yum.repos.d/
cat /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
贴一下返回信息
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2021-11-24 12:19:33 | 显示全部楼层



本帖最后由 eva 于 2021-11-24 12:23 编辑


[root@localhost lnmp1.7]# ls /etc/yum.repos.d/
CentOS-Linux-AppStream.repo          CentOS-Linux-Devel.repo             CentOS-Linux-Media.repo
CentOS-Linux-BaseOS.repo             CentOS-Linux-Extras.repo            CentOS-Linux-Plus.repo
CentOS-Linux-ContinuousRelease.repo  CentOS-Linux-FastTrack.repo         CentOS-Linux-PowerTools.repo
CentOS-Linux-Debuginfo.repo          CentOS-Linux-HighAvailability.repo  CentOS-Linux-Sources.repo
[root@localhost lnmp1.7]# cat /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
# CentOS-Linux-PowerTools.repo
#
# The mirrorlist system uses the connecting IP address of the client and the
# update status of each mirror to pick current mirrors that are geographically
# close to the client.  You should use this for CentOS updates unless you are
# manually picking other mirrors.
#
# If the mirrorlist does not work for you, you can try the commented out
# baseurl line instead.

[powertools]
name=CentOS Linux $releasever - PowerTools
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/PowerTools/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2021-11-24 12:23:27 | 显示全部楼层

licess 发表于 2021-11-24 12:11
你的系统源设置是有问题的,很多个依赖包都无法安装

ls /etc/yum.repos.d/

返回信息看楼下

军哥运维代购:http://shop63846532.taobao.com/

发表于 2021-11-24 19:22:01 | 显示全部楼层

eva 发表于 2021-11-24 12:19
[root@localhost lnmp1.7]# ls /etc/yum.repos.d/
CentOS-Linux-AppStream.repo          CentOS-Linux-De ...

grep powertools-source /etc/yum.repos.d/*.repo
看一下在哪个文件中,有可能你 /etc/yum.repos.d/CentOS-Linux-Sources.repo 这个配置文件里多加了[powertools-source]
及下面几行对应的配置

如果是存在这个文件中删除就行了,如果存在于其他文件中也删除就行了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 18:51 , Processed in 0.027544 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表