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

  • redhat7 配置国内清华大学yum源2021-03-01 12:36:13

    #导入gpg keyrpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org#在/etc/yum.repos.d/下安装elrepo.repo 文件 yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm 编辑 /etc/yum.repos.d/elrepo.repo 文件,在 mirrorlist= 开头的行前面加

  • 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:///

  • Linux系统Yum中的$releasever和$basearch变量2021-01-21 10:32:03

      Yum的配置文件中包含大量的$releasever和$basearch变量,那么他们的取值是什么呢? 为什么要折腾这个玩意呢?有点地方的网络是私有化网络,内部有大量的Linux服务器,其中各种版本,这个时候为了部署安装方便就需要搭建一个私有化的YUM源服务器,这个时候在识别各个版本的时候就不用手工区分

  • centos6 系列 官方停止更新,yum不可用处理方法及php环境搭建2020-12-14 16:32:23

    CentOS6由于已经停止维护更新,国内所有的镜像源已经停止提供,网上找了很多资料,终于可以正常使用yum了,记录下来以供大家参考。 1、更换/etc/yum.repos.d/CentOS-Base.repo       我的系统为6.4,所以目录版本号为6.4   [base] name=CentOS-6.4 - Base - mirrors.aliyun.com fa

  • centos yum源配置2020-12-04 14:02:31

    mkdir /usr/local/src/yum mv /etc/yum.repos.d/* /usr/local/src/yum echo '''# 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

  • centos8更换阿里云yum源和epel源2020-11-15 12:04:30

      # cat /etc/redhat-release   源配置目录 cd /etc/yum.repos.d vi CentOS-AppStream.repo baseurl=https://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/ vi CentOS-Base.repo baseurl=https://mirrors.aliyun.com/centos/$releasever/BaseOS/$ba

  • 【linux】安装zabbix时候报错:zabbix-server-mysql-5.0.3-1.el7.x86_64: [Errno 256] No more mirrors to try2020-09-24 10:33:25

    yum 镜像的问题 网络问题大家都知道怎么回事 配置下zabbix使用阿里的源就可以了 [root@cyy /]# cd /etc/yum.repos.d/ [root@cyy yum.repos.d]# cp zabbix.repo zabbix.repo.bak [zabbix] name=Zabbix Official Repository - $basearch #baseurl=http://repo.zabbix.com/zabbix/5

  • yum安装时出现:Cannot retrieve metalink for repository: epel. Please verify its path and try again2020-03-03 22:02:09

    在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.rep

  • centos7 yum安装zabbix4.02020-01-12 21:02:31

    1、添加清华大学软件源:  将以下内容写入 /etc/yum.repos.d/CentOS-Base.repo 选择你的 CentOS 版本:       CentOS 5      CentOS 6      CentOS 7     # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update

  • 记录一次升级kernel2020-01-12 12:54:37

    记录一次升级非官方kernel 5.4.10-1.el7.elrepo     [root@va32llufweb03 ~]# cd /etc/yum.repos.d/ [root@va32llufweb03 yum.repos.d]# ls CentOS-Base.repo  CentOS-Debuginfo.repo  CentOS-Media.repo    CentOS-Vault.repo  epel-testing.repo CentOS-CR.repo    Ce

  • yum安装时出现:Cannot retrieve metalink for repository epel. Please verify its path and try again2020-01-07 21:02:59

     yum安装时出现:Cannot retrieve metalink for repository: epel. Please verify its path and try again在CentOS 6.3 x86_64下安装php-mcrypt的时候出现了问题:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again,需要安装epel源。解决

  • centos7安装之后必要的配置2019-12-10 20:00:10

                          一配置yum源   curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo     wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo               [root@centos

  • Centos7-yum源配置2019-10-11 15:05:02

    1、先备份本地原有的配置文件 mkdir /tmp/yumbakmv /etc/yum.conf /tmp/yumbak/ 2、写入镜像站信息到文件 echo '[base]name=CentOS-$releasever - Base#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=osbaseurl=https://mirrors.ustc.edu.c

  • Centos 14: problem making ssl connection2019-08-11 16:02:49

    在执行 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

  • Linux yum源配置2019-07-17 16:51:27

    文件名为 CentOS7-Base-163.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 使用官方源yum安装最新nginx版本2019-06-13 14:03:36

    CentOS 使用官方源yum安装最新nginx版本 1、创建nginx.repo # vi /etc/yum.repos.d/nginx.repo 2、添加内容#如果是CentOS6,文件内容如下: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 #如果是CentOS7,文件内容如下:

  • nginx代理yum2019-06-06 16:43:38

    适用场景:有多台服务器,但是只有1台服务器可以出公网,此时即可使用如下方式,进行yum代理,解决内网服务器不能yum的尴尬。 一、首先需要把/etc/yum.repos.d下的文件备份到bak,然后留一个CentOS-Base.repo。编辑这个文件,我使用的是科大的yum源。   如下代码: # CentOS-Base.repo## The mir

  • linux环境安装python-pip2019-05-23 13:48:52

    参考:https://blog.csdn.net/u013372487/article/details/51726002 1、通过wget方式安装 # wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate# python get-pip.py# pip -Vpip 19.1.1 from /usr/lib/python2.7/site-packages/pip (python 2.7)# pip install --upg

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

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

ICode9版权所有