epel

Centos 6 can't found command subscription-manager

好久不见. 提交于 2019-11-28 00:23:01
[root@localhost ~]# subscription-manager: command not found -bash: -bash:: command not found resolution: wget -O /etc/yum.repos.d/epel-rhsm.repo http://repos.fedorapeople.org/repos/candlepin/subscription-manager/epel-subscription-manager.repo yum install subscription-manager -y refer to: https://serverfault.com/questions/506148/is-subscription-manager-available-for-centos 来源: https://www.cnblogs.com/coxiseed/p/11382383.html

升级vim到8.0

大城市里の小女人 提交于 2019-11-27 21:23:25
卸载老的vim yum remove vim-* -y 下载第三方yum源 wget -P /etc/yum.repos.d/ https://copr.fedorainfracloud.org/coprs/lbiaggi/vim80-ligatures/repo/epel-7/lbiaggi-vim80-ligatures-epel-7.repo install vim yum install vim-enhanced sudo -y 验证vim版本 rpm -qa |grep vim 来源: https://www.cnblogs.com/orpheus89/p/11377657.html

CentOS7使用‘中科大源’

依然范特西╮ 提交于 2019-11-27 15:22:57
中科大的源质量速度都不错,推荐使用。 这里列出CentOS 7的Base和epel的源。 进入/etc/yum.repos.d/中,将原本的几个repo文件备份,之后新建三个repo文件 内容如下: 1.CentOS-Base.repo: # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # 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, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base #mirrorlist=http://mirrorlist

ansible离线安装

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 08:04:39
ansible 安装(el6) 1 安装repo源 wget -O epel.repo http://mirrors.aliyun.com/repo/epel-6.repo 安装yum 源 centos.repo(见我的yum源配置) 2、下载离线包 yum install --downloadonly --downloaddir=/opt/packages/ ansible yum install --downloadonly --downloaddir=/opt/packages/ createrepo 3、进入到ansible/packages路径 安装:rpm -ivh *.rpm rpm -ivh deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm rpm -ivh python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm rpm -ivh createrepo-0.9.9-28.el6.noarch.rpm 然后使用createrepo生成符合要求的yum仓库,执行 createrepo /opt/packages 注意这里的点 [zabbix@intagent5 ansible]$ createrepo . Spawning worker 0 with 17 pkgs Workers

MTT PRocess

落爺英雄遲暮 提交于 2019-11-27 07:40:55
T with error 1 [fpxshyy@bogon rc]$ sudo yum install xfig [sudo] password for fpxshyy: 已加载插件:axelget, fastestmirror, langpacks repomd.xml | 951 B 00:00:00 update adobe-linux-x86_64 metadata successfully repomd.xml | 3.6 kB 00:00:00 base/group | 729 kB 00:00:01 base/primary | 2.5 MB 00:00:02 base/primary_db | 5.3 MB 00:00:11 update base metadata successfully epel/x86_64/metalink | 5.6 kB 00:00:00 repomd.xml | 4.3 kB 00:00:00 epel/group | 1.3 MB 00:00:05 epel/updateinfo | 523 kB 00:00:00 epel/primary | 2.7 MB 00:00:05 epel/primary_db | 4.0 MB 00:00:05 update epel metadata successfully repomd.xml

Ambari安装指南

白昼怎懂夜的黑 提交于 2019-11-27 04:09:40
一、准备工作 l 基本工具 1) 安装epel,epel是一个提供高质量软件包的项目。先检查主机上是否安装: rpm -q epel-release 2) 如果没有安装,使用rpm命令安装: rpm -ivh http: // dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm (也可手动下载安装包安装) 3) 成功后查看其所依附的软件包: rpm -qR epel-release 4) 导入key: rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL- 6 5) 安装yum-priority: yum install yum -priorities 6) 在主机仓库目录中可以查到epel.repo,命令: ①  cd /etc/ yum .repos.d ②  ls | grep epel 7) 安装pdsh: yum install pdsh l 配置/etc/hosts和/etc/sysconfig/network 以Ambari节点下修改hosts文件为例说明:(本机192.168.1.162/hadoop03) l 设置ssh免密码登录 略… l 关闭SELinux、防火墙、packagekit 1) 关闭SELinux ① 暂时关闭:

Centos 14: problem making ssl connection

百般思念 提交于 2019-11-26 23:33:21
在执行 yum 命令时,会提示 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was 14: problem making ssl connection 解决方法是将: /etc/yum.repos.d/epel.repo 文件中的 [epel] 节点的 mirrorlist 注释掉, baseurl 去除注释, enable 的值为 1 命令: 使用vim 编辑器打开 /etc/yum.repos.d/epel.repo 文件 vim /etc/yum.repos.d/epel.repo 将 [epel] name=Extra Packages for Enterprise Linux 6 - $basearch # baseurl 前去除#号 baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch # mirrorlist 前加#好 #mirrorlist=https://mirrors.fedoraproject.org

YUM命令总结

♀尐吖头ヾ 提交于 2019-11-26 18:54:25
1.关于YUM源 Yum 全称为 Yellow dog Updater Modified,它是一个在线的软件安装命令。 能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无须繁琐地一次次下载、安装。yum提供了查找、安装、删除某一个、一组甚至全部软件包的命令,而且命令简洁而又好记。例如我们需要安装一个软件A,而软件A-->B-->C-->D.通过yum我们只需要安装A,其他依赖包会自动安装。 2.设置YUM源 2.1 CentOS7 添加阿里源 1.进入yum源的存储路径: cd /etc/yum.repos.d/ 2.使用wget或curl命令下载CentOS7的阿里源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 或 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 3.运行命令,清除并重新生成yum缓存 yum clean all yum makecache 2.2 添加EPEL源 EPEL(Extra Packages for Enterprise Linux)是由 Fedora

CentOS / RHEL 配置yum源

青春壹個敷衍的年華 提交于 2019-11-26 18:28:27
CentOS / RHEL 配置yum源 /*--> */ /*--> */ CentOS / RHEL 配置yum源 Table of Contents 1. 前言 2. 关于yum 2.1. YUM是什么 2.2. YUM特点 2.3. 安装yum 2.4. YUM配置 2.5. 软件源 2.6. YUM使用 2.7. YUM常用问题解决 2.7.1. 超时退出 2.7.2. YUM Existing lock 3. 重新安装yum 3.1. 卸载yum 3.2. 确定下载文件 3.3. 安装 4. 配置网络YUM源 4.1. 配置阿里云源 4.2. 配置epel源 4.3. 配置repoforge源 4.4. 配置rpmfusion源 5. 配置本地yum源 1 前言 本文内容过长。可以通过页面右上角的目录选择章节进行快速跳转。 由于 redhat的yum在线更新,没有注册的情况下不能使用。但是好在有CentOS这一开源项 目,让我们可以通过配置公开源来方便的安装和更新软件包。 对于安装RHEL版本的Linux,想要使用yum源,需要先将原本的yum卸载掉,然后重新安装. CentOS版的Linux因其本身是开源项目,其ISO中自带的yum是可用的,不需要重新安装。 本文包括配置本地源及第三方源。第三方源包括:阿里、网易, epel,repoforge, rpmfusion.