当前位置:论坛首页 > Linux面板 > 求助

【已解答】宝塔安装失败

发表在 Linux面板2022-4-15 19:00 [复制链接] 4 3148

没有找到命令  

错误提示:-bash:lsof:command not found
使用道具 举报 只看该作者 回复
发表于 2022-4-15 19:17:24 | 显示全部楼层
您好,是云服务器还是个人虚拟机呢?如果提示lsof不存在,那您可执行下面命令安装下

Centos:
  1. yum -y install lsof
复制代码

Ubuntu:
  1. apt-get -y install lsof
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-4-15 19:23:53 | 显示全部楼层
执行命令后
[root@0vlij2x7 ~]# yum -y install lsof
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
使用道具 举报 回复 支持 反对
发表于 2022-4-15 19:27:27 | 显示全部楼层
谢花郎 发表于 2022-4-15 19:17
您好,是云服务器还是个人虚拟机呢?如果提示lsof不存在,那您可执行下面命令安装下

Centos:

执行命令后
[root@0vlij2x7 ~]# yum -y install lsof
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
使用道具 举报 回复 支持 反对
发表于 2022-4-15 19:39:25 | 显示全部楼层
宝塔用户_qbifee 发表于 2022-4-15 19:27
执行命令后
[root@0vlij2x7 ~]# yum -y install lsof
Loaded plugins: fastestmirror

你系统的yum源问题,参考下面文档更换系统源
https://www.bt.cn/bbs/thread-58005-1-1.html
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

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