epel

yum error “Cannot retrieve metalink for repository: epel. Please verify its path and try again” updating ContextBroker

≯℡__Kan透↙ 提交于 2019-11-29 19:07:33
I'm trying to update Orion ContextBroker using the command yum install contextBroker. Unfortunatelly I get the following error: Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again What could be going wrong ? fgalan I solved this issue editing both /etc/yum.repos.d/epel.repo and /etc/yum.repos.d/epel-testing.repo files, commenting all entries starting with mirrorlist=... and uncommenting all the entries starting with baseurl=... . XoR You just needed to

centos 7 安装国内阿里云yum源

孤人 提交于 2019-11-29 13:45:37
2.1.1、配置步骤 根据官网的说明,我们详细说说每步骤的意思。 (1)、备份,将 CentOS-Base.repo 为CentOS-Base.repo.backup mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 1 (2)、下载新的 http://mirrors.aliyun.com/repo/Centos-7.repo,并命名为CentOS-Base.repo 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 1 2 3 (3)、清除缓存 yum clean all # 清除系统所有的yum缓存 yum makecache # 生成yum缓存 yum update 1 2 3 2.1.2、epel源 安装和配置 (1)、查看可用的epel源 [java@localhost yum.repos.d]$ yum list | grep epel-release epel

centos7安装后的优化

谁都会走 提交于 2019-11-29 12:37:35
涉及内容: 1.DNS 2.网络yum源 3.epel源 4.同步时间 5.安装vim 6.设置最大打开文件描述符数 7.禁用selinux 8.关闭防火墙 9.优化ssh连接速度 10.内核参数优化 11.设置vim退格键删除最后一个字符类型 12.更新内核 脚本如下: #!/bin/bash #author yundd by #this script is only for CentOS 7.x #check the OS platform=`uname -i` if [ $platform != "x86_64" ];then echo "this script is only for 64bit Operating System !" exit 1 fi echo "the platform is ok" cat << EOF your system is CentOS 7 x86_64 EOF #添加公网DNS地址 cat >> /etc/resolv.conf << EOF nameserver 114.114.114.114 EOF #Yum源更换为国内阿里源 yum install wget telnet -y mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

centos--rabbitMQ

白昼怎懂夜的黑 提交于 2019-11-29 09:47:18
rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm yum install erlang sudo rpm -ih socat-1.7.3.2-2.el7.x86_64.rpm cd /home 安装rabbitmq rpm -ivh rabbitmq-server-3.7.5-1.el7.noarch.rpm 修改配置文件 cd /etc/rabbitmq/ vi rabbitmq.config [{rabbit, [{loopback_users, []}]}]. service rabbitmq-server start 如果已经启动过,可以删除log文件并重启 rm rabbit\@mythsky.log service rabbitmq-server stop service rabbitmq-server start firewall-cmd --zone=public --add-port=5672/tcp --permanent 开启管理UI: rabbitmq-plugins enable rabbitmq_management https://blog.csdn.net/t4i2b10X4c22nF6A/article/details

Nginx反向代理YUM请求

╄→гoц情女王★ 提交于 2019-11-29 06:15:59
一、安装配置Nginx服务(Nginx服务器上建议先关闭iptables/firewalld服务,待实验完成后再根据实际情况配置) [root@localhost ~]# yum install nginx -y #安装Nginx [root@localhost ~]# cd /etc/nginx/conf.d/ [root@localhost conf.d]# vim proxy.conf #配置代理规则 server{ listen 80; server_name mirrors.qiangungun.com; location /centos/ { #yum base源代理配置 proxy_pass http://mirrors.aliyun.com/centos/ ; } location /epel/ { #yum epel源代理设置 proxy_pass http://mirrors.aliyun.com/epel/ ; } }#如果有其他YUM需要代理参照以上配置即可 [root@localhost conf.d]# nginx -t #检查语法并重启 nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx

OpenStack之二: 安装OpenStack的yum源及相关组件

血红的双手。 提交于 2019-11-28 22:54:20
#: 在所有节点执行 [root@localhost ~]# yum install centos-release-openstack-stein -y #: 安装相关组件(只在管理端和计算几点安装) [root@localhost ~]# yum install python-openstackclient openstack-selinux -y #:注意:所有几点不要安装epel源 来源: https://www.cnblogs.com/maxuebin/p/11432136.html

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

回眸只為那壹抹淺笑 提交于 2019-11-28 22:43:35
安装完运行 yum 报错: Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 提示原因为资源库路径获取错误,解决办法是改成正确的资源库路径即可。 解决办法: vi /etc/yum.repos.d/epel.repo 编辑[epel]下的baseurl前的#号去掉,mirrorlist前添加#号。正确配置如下: [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 failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 再运行 yum makecache 或者 yum repolist 来源: https://www.cnblogs.com/guanghuiqq/p

yum安装时出现:Cannot retrieve metalink for repository: epel. Please verify its path and try again

回眸只為那壹抹淺笑 提交于 2019-11-28 15:31:09
https://www.280i.com/tech/5616.html 在CentOS 6.3 x86_64下安装php-mcrypt的时候出现了问题:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again,需要安装epel源。 解决方法: 一句话:把/etc/yum.repos.d/epel.repo,文件第3行注释去掉,把第四行注释掉。具体如下: 打开/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/

Linux学习-软件包管理安装

旧城冷巷雨未停 提交于 2019-11-28 12:47:54
rpm RPM 是Red-Hat Package Manager(RPM软件包管理器)的缩写 软件包类型 二进制包: 已经使用GCC编辑后的 tar源码包: 需要编译 rpm包获取方式 1,系统镜像 需要挂载 2、网站rpmfind.net 3.比如说安装mysql nginx等,可以去他们对应的官网下载 安装、升级、卸载、查询、校验、数据库维护 包名介绍 rpm安装 一般安装可以直接通过基础包(镜像)安装,但是有很多基础包没有(docker等),可以通过扩包epel epel是社区强烈打造的免费开源发行软件包版本库。 EPEL,即Extra Packages for Enterprise Linux的简称,是为企业级Linux提供的一组高质量的额外软件包,包括但不限于Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Enterprise Linux (OEL)。(关于 : EPEL) 方法一:yum命令安装 yum install epel-release -y 方法二:手动安装 针对系统架构选择相应的类型: http://dl.fedoraproject.org/pub/epel/7/ 。我们使用的x86_64,就要进入该目录下寻找相应包,安装方法如下: # rpm -ivh