RHEL7 Or CentOS7下配置aliyun-epel和fedora的EPEL源

1,阿里云的直接添加aliyun-epel.repo

[[email protected] yum.repos.d]# vim aliyun-epel.repo

[epel]

name=Extra Packages for Enterprise Linux 7 - $basearch

baseurl=http://mirrors.aliyun.com/epel/7/$basearch

#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

failovermethod=priority

enabled=1

gpgcheck=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[epel-debuginfo]

name=Extra Packages for Enterprise Linux 7 - $basearch - Debug

baseurl=http://mirrors.aliyun.com/epel/7/$basearch/debug

#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch

failovermethod=priority

enabled=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

gpgcheck=0

[epel-source]

name=Extra Packages for Enterprise Linux 7 - $basearch - Source

baseurl=http://mirrors.aliyun.com/epel/7/SRPMS

#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch

failovermethod=priority

enabled=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

gpgcheck=0

2、fedora的源安装epel-release-7-8.noarch.rpm

http://ftp.sjtu.edu.cn/fedora/epel/7/x86_64/e/epel-release-7-8.noarch.rpm

[[email protected] yum.repos.d]# wget http://ftp.sjtu.edu.cn/fedora/epel/7/x86_64/e/epel-release-7-7.noarch.rpm

[[email protected] yum.repos.d]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[[email protected] yum.repos.d]# rpm -ivh epel-release-7-7.noarch.rpm

[[email protected] yum.repos.d]# vim epel.repo

1 [epel]

2 name=Extra Packages for Enterprise Linux 7 - $basearch

3 #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch

5 failovermethod=priority

6 enabled=1

7 gpgcheck=1

8 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

9

10 [epel-debuginfo]

11 name=Extra Packages for Enterprise Linux 7 - $basearch - Debug

12 #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug

13 mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$    basearch

14 failovermethod=priority

 15 enabled=0  修改为1

16 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

17 gpgcheck=1

18

19 [epel-source]

20 name=Extra Packages for Enterprise Linux 7 - $basearch - Source

21 #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS

22 mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=    $basearch

23 failovermethod=priority

 24 enabled=0  修改为1

25 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

26 gpgcheck=1

时间: 2024-08-29 06:58:05

RHEL7 Or CentOS7下配置aliyun-epel和fedora的EPEL源的相关文章

Centos7下配置phpMyAdmin(提供HTTPS服务)

Centos7下配置phpMyAdmin(提供HTTPS服务) phpMyAdmin可以通过web方式控制和操作MySQL数据库.通过phpMyAdmin 可以完全对数据库进行操作,例如建立.复制和删除数据等等. 配置环境 Centos7 2台(IP1:192.168.70 ; IP2:192.168.1.71) 关闭防火墙 关闭selinux 相关软件: php-5.4.16 php-mbstring-5.4.16   httpd-2.4.6-45 mariadb-server php-mys

CentOS7下配置GlusterFS供Kubernetes使用

CentOS7下配置GlusterFS供Kubernetes使用 [TOC] 1. 环境说明 系统:CentOS7,/data为非系统分区挂载目录docker:1.13.1kubernetes:1.11.1glusterfs:4.1.2 2. GlusterFS部署 2个节点,192.168.105.97.192.168.105.98 使用yum安装 yum install centos-release-gluster yum -y install glusterfs glusterfs-fus

CentOS7 下配置svn的安装及基础配置介绍

[[email protected] ~]# yum install subversion 查看是否安装安装成功[[email protected] ~]# svnserve --versionsvnserve, version 1.7.14 (r1542130) compiled Jun 9 2014, 18:54:44 Copyright (C) 2013 The Apache Software Foundation.This software consists of contributio

Centos7下配置Java web环境(JDK、Tomcat、Mysql)

在Centos7中配置java web环境主要涉及三方面配置:JDK.Tomcat以及Mysql 这里使用版本如下: JDK:jdk-8u181-linux-x64,下载地址:https://pan.baidu.com/s/1M-zraNoPhXO8UewjZVLMjw Tomcat:apache-tomcat-8.5.32,下载地址:https://pan.baidu.com/s/1R3H33xTzDBmBEcRG6n0Jsw Mysql:MySQL-5.6.41-1.el7.x86_64,下

(4) 在CentOS7下配置gfirefly环境

1.前言 Cocos2d-x能够做单机游戏,如果开发网络游戏就需要有服务器,现在开源的服务器框架主有要的网易的Pomelo,SCUT,KBEngine,firefly等,试用过SCUT,KBEngine之后,选中了firefly,其中gfirefly是firefly的新版本.但是开源的产品,相关文档太少了,经过一个晚上加一个白天的尝试,终于成功配置了gfirefly. 2.服务器操作系统安装 服务器操作系统我选择的是CentOS7,正好最近也在学习Linux,就打算将gfirefly布置到Cen

centos7下配置saltstack

1.下载 使用yum方式即可,可以更换下yum源,这里使用的阿里云的 [[email protected] ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum -y install epel-releaseyum clean allyum makecacheyum -y install salt-master salt-minion 2.设置开机自启动服务 s

centos7下配置ftp服务器

第一步,安装vsftpd这款ftp服务器软件,yum install -y vsftpd 第二步,设置vsftpd服务开机自启动,然后重启服务,查看ftp服务端口,centos6命令如下: #chkconfig vsftpd on #service vsftpd restart #netstat -antup|grep ftp centos7命令如图 安装完成后重启vsftpd服务,service vsftpd restart 第三步:进入vsftpd主配置文件 vi /etc/vsftpd/v

Redis 在Centos7下配置开机自启动

设置Redis开机启动需要如下几个步骤: 编写配置脚本 [ vim /etc/init.d/redis ] #!/bin/sh # # Simple Redis init.d script conceived to work on Linux systems # as it does use of the /proc filesystem. #chkconfig: 2345 80 90 #description:auto_run REDISPORT=6379 EXEC=/usr/local/bi

CentOS7下配置bacula-web

一.介绍 Bacula-Web是一个php编写的web应用,它能够运行在apache或者nginx上,主要可以做一个bacula的备份展示. 二.安装与配置 1)安装apache # sudo yum -y install httpd # systemctl enable httpd # systemctl start httpd 2)安装php以及数据库相关的模块 # sudo yum install php php-gettext php-mysql php-pdo 3)找到bacula数据