ICode9

精准搜索请尝试: 精确搜索
  • db PostgreSQL2021-03-01 15:32:24

    s https://www.postgresql.org/download/linux/redhat/ [root@centos8 yum.repos.d]# sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm[root@centos8 yum.repos.d]# sudo dnf -qy module disabl

  • CentOS8配置本地yum2021-03-01 10:51:08

    备份/etc/yum.repos.d中的文件 cd /etc/yum.repos.d touch CentOS-Base.repo vim CentOS-Base.repo mount /dev/cdrom /mnt 挂载镜像文件 [BaseOS] name=CentOS-BaseOS baseurl=file:///mnt/BaseOS gpgcheck=0 enabled=1 [APP] name=CentOS-APP baseurl=file:///mnt/AppStream gpgc

  • centos8 yum替换阿里源2021-02-20 23:03:10

    解决centos7使用yum安装mysql 下载速度慢的问题   挺好用的,之前用腾讯云安装了半天,太慢了,改过之后速度快多了。   1、首先备份系统自带yum源配置文件/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup  

  • Centos 6无法使用yum解决办法2021-02-20 13:03:17

      作者:熊猫畔日期:2020-12-04 11:33:29分类:技术教程 12月后Centos 6 系统无法使用yum出现错误(文章底部看) 相信已经有一部分朋友今天连接到CentOS 6的服务器后执行yum后发现报错,那么发生了什么? CentOS 6已经随着2020年11月的结束进入了EOL(Reaches End of Life),不过有一些老设

  • [ Linux ] CentOS6 现在还能用的 yum 源 2021-02-192021-02-19 23:01:14

    https://www.cnblogs.com/yeungchie/ CentOS6 已经停更了,但由于某些原因还得接着用着,找到几个暂时还能用的 yum 源 备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup 下

  • Centos6无法使用yum解决办法2021-02-11 17:32:50

    12月后Centos 6 系统无法使用yum出现错误(文章底部看) 相信已经有一部分朋友今天连接到CentOS 6的服务器后执行yum后发现报错,那么发生了什么? CentOS 6已经随着2020年11月的结束进入了EOL(Reaches End of Life),不过有一些老设备依然需要支持,CentOS官方也给这些还不想把CentOS 6扔进垃

  • ContOS 切换国内镜像源2021-02-09 09:35:25

    # 配置CentOS镜像源方法 ## 1. 备份 防止出现未知错误,同时也方便有需求的时候切换回原本的源。 ```bash mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2. 下载对应源存储库文件 CentOS-Base.repo 到 /etc/yum.repos.d/ 阿里云源 CentOS 8

  • Linux中yum执行yum -y install gcc 报错 解决方案2021-02-06 10:32:15

    Linux中yum执行yum -y install gcc 报错 解决方案 本人实际遇到的问题,已亲测正式环境,为防止下次在遇到,在这里做个记录,遇到此问题的小伙伴可以参考此文章. 文章摘自其它网友博客(无任何商业用途) 正文如下------- 一. Linux执行命令:yum -y install gcc 二. 报错详情: Lo

  • repos文件中的$releasever和$basearch的取值2021-02-04 11:35:13

    查看CentOS-Base.repo部分内容,文件路径  /etc/yum.repos.d/CentOS-Base.repo [base] baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os gpgcheck=1 gpgkey=file:///

  • CentOS 6 2021 可用源2021-02-01 12:34:10

    依次执行 sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.r

  • 修复yum命令报错2021-01-26 14:32:39

    原因:centos6的默认源在2012年-12月左右被官方搞掉了 下列是错误详情 Bash [root@c8-20 ~]# yum makecache Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid rel

  • centos7安装k8s的kubectl、Kubelet、kubeadm等工具2021-01-21 18:29:51

    前言 略 安装 配置阿里云的yum源(由于使用google的yum源出现不能访问的情况) ]# cat > /etc/yum.repos.d/kubernetes.repo <<-EOF [kubernetes] name=Kubernetes baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/ enabled=1 gpgcheck=1 repo

  • linux 下jenkins安装2021-01-18 15:03:10

    1、将Jenkins存储库添加到yum repos sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo 导入keysudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key 2、yum安装jenkinsyum install jenkins提示找不到包    

  • 解决centos6.9无法使用yum(官方从2021年1月移除了centos6的软件源)2021-01-17 17:59:03

    今天又踩坑了,阿里云centos6.9无法使用yum安装软件。 原因:官方从2021年1月移除了centos的软件源。 解决方法: mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Ali

  • All mirror URLs are not using ftp, http[s] or file.2021-01-14 16:36:34

    今天要yum点东西到服务器上,然后本地centos6用yum下载包,就报了All mirror URLs are not using ftp, http[s] or file. 终于还是万能的度娘告诉我因为centos6的支持给官方停掉了......    那你就这样做:   sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirro

  • centos6 各个版本 修改yum源2021-01-14 10:03:16

    解决目前市面上大多数centos6yum源失效,经过一番捣腾 终于找到适合的源。 1.cd /etc/yum.repos.d 2.mv CentOS-Base.repo CentOS-Base.repo.backup 3.在网上找到阿里的yum源CentOS-Base.repo配置 然后修改里面的网址在https://vault.centos.org/找到你系统版本及相应地址进行替换 4

  • yum报错总结2021-01-06 18:00:13

    yum报错总结 报错信息:Could not retrieve mirrorlisthttp://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - “Couldn’t resolvehost ‘mirrorlist.centos.org’” Could not retrieve mirrorlisthttp://mirrorlist.centos.org/?rel

  • Centos设置阿里云yum源2020-12-27 20:33:25

    1. 备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2. 下载新的 CentOS-Base.repo 到 /etc/yum.repos.d/ CentOS 6 wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-6.repo 或者 curl -o /etc/yum

  • centos7修改默认源2020-12-27 16:59:12

    阿里源 清华源 软件里面可以去里面找 这里用阿里源 centos7 wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo 去到这个地址里面 cd /etc/yum.repos.d/ 该文件时最好有个习惯 先备份后修改 cp CentOS-Bases-Base.repo Ce

  • Linux,yum错误,There are no enabled repos.(学习)2020-12-19 17:02:05

    1.yum yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器。基於RPM包(RPM 是 Red Hat Package Manager 的缩写,本意是Red Hat 软件包管理,顾名思义是Red Hat 贡献出来的软件包管理)管理,能够从指定的服务器自动下载RPM包并且安装,可以

  • CentOS7 配置阿里云yum源2020-12-13 16:33:44

    1.进入yum的文件夹 命令:cd /etc/yum.repos.d/ 2.下载wget 命令:yum -y install wget 命令:yum install bash-completion #自动补全软件包 命令:yum -y install lrzsz 3.删除yum文件夹所有yum源(需要可以备份,视个人情况而定) 命令:rm -rf /etc/yum.repos.d/*.repo 4.利用wget下载

  • 如何搭建本地yum源与在线yum源2020-12-13 14:31:04

    搭建本地yum源与在线yum源 一、搭建本地yum源二、搭建在线yum源 一、搭建本地yum源 公司内网搭建服务器,通常情况下不能连外网,导致CentOS 中的yum安装工具不能使用;使用rpm包安装软件要处理各种依赖,非常麻烦。我们可以通过搭建本地yum源来解决这个问题 mount /dev/cdrom /m

  • CDH详细安装步骤2020-12-10 13:30:51

    CDH相当于一个大的容器,将各种组件很好的协调分配组合在一起,去掉了我们烦躁的配置和安装操作。今天把安装步骤记下来,以后用到的时候来看。 1    (修改) 配置文件      vi /etc/selinux/config —> SELINUX=disabled 2    安装JDK   配置环境变量 rpm -ivh  rpm  -i

  • shell脚本企业实战系列-nginx源码包安装2020-12-10 12:01:15

    1、以下为shell脚本代码 #!/bin/bash #检测是否可以上外网 #nginx需要的常用软件包 nginx_setup=1.16.1 yum_pack="gcc curl vim iotop make rsync lrzsz tree ntpdate pcre pcre-devel zlib zlib-devel openssl openssl-devel" OS=`cat /etc/redhat-release|sed -r 's/.*

  • yum工具的安装,阿里yum源2020-12-09 16:03:16

    1、我们想要更换阿里云的镜像源,先进入/etc/yum.repos.d,先给原本的CentOS-Base。repo做一个备份。 [root@localhost yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.backup 2、下载http://mirrors.aliyun.com/repo/选择对应的版本,这里我是centos7. [root@localhost yum.r

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有