码迷,mamicode.com
首页 > 其他好文 > 详细

centos6 安装 terminal

时间:2019-10-15 13:12:38      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:repos   cal   yum   code   local   nbsp   pack   ble   terminal   

yum install terminator

报错:

No package terminator available.

解决:

yum install epel-release

报错

Cannot retrieve metalink for repository: epel. Please verify its path and try again

解决:

打开/etc/yum.repos.d/epel.repo,将

    [epel]
    name=Extra Packages for Enterprise Linux 6 - $basearch
    #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

修改为

    [epel]
    name=Extra Packages for Enterprise Linux 6 - $basearch
    baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
    #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

再清理源,重新安装

    yum clean all
    yum install terminator
如果还是不行,修改DNS,到/etc/resolv.conf下添加一下:

nameserver 8.8.8.8
search localdomain

然后重启network服务:service network restart

 

centos6 安装 terminal

标签:repos   cal   yum   code   local   nbsp   pack   ble   terminal   

原文地址:https://www.cnblogs.com/yangxinrui/p/11676700.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!