安装lnmp1.3 出现错误
rt 安装lnmp1.3 出现错误服务器环境CentOS 7.2 64位
[ 本帖最后由 zjxhdlj 于 2016-7-2 15:32 编辑 ] Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
系统源设置有问题,上面有具体的操作步骤
yum repolist all
yum-config-manager --enable <repo>
应该最起码有个base的源,有时候可能没yum-config-manager命令,可以直接
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo -O /etc/yum.repos.d/CentOS-Base.repo
页:
[1]