1、卸载原有系统中的yumrpm –qa | grep yum | xargs rpm -e --nodeps (xargs 把rpm –qa | grep yum传来的每一行信息 都用xargs后面的命令进行处理)2、创建一个目录intallyum_mirrors.163.com,进入此目录下载rpm包。下载yum安装文件注意,如果下载时找不到文件,就登录到:http://mirrors.163
转载 1月前
70阅读
1. 停止维护的CentOS6,怎么使用yum? - 云+社区 - 腾讯云 (tencent.com) # CentOS-Base.repo
原创 4月前
71阅读
解决CentOS6停止更新支持后yum源失效shellhttps://vault.centos.org/wgetO/etc/yum.repos.d/CentOSBase.repohttp://file.kangle.odata.cc/repo/Centos6.repowgetO/etc/yum.repos.d/epel.repohttp://file.kangle.odata.cc/repo/ep
原创 2021-11-09 16:49:23
1562阅读
首先备份/etc/yum.repos.d/CentOS-Base.repomv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup下载源文件cd /etc/yum.repos.d wget http://mirrors.163.com/.help/CentOS6
转载 精选 2015-03-10 17:34:54
647阅读
centos6 yum安装nginx[root@client ~]#rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm[root@client ~]#yum info nginx[root@client ~]#yum install nginx[roo
原创 2016-12-21 23:09:53
934阅读
阿里和163的centos6yum源都不可用了 找到一个CentOS6可用的yum源 cd /etc/yum.repos.d/mkdir bakmv * bak/curl -o /etc/yum.repos.d/CentOS-Base.repo http://file.kangle.odata.c ...
转载 2021-09-10 12:11:00
1007阅读
2评论
更换原因: yum -y install fping 1、阿里云Linux安装软件镜像源 常用的源: 阿里云是最近新出的一个镜像源。得益与阿里云的高速发展,这么大的需求,肯定会推出自己的镜像源。阿里云Linux安装镜像源地址:http://mirrors.aliyun.com/ 第一步:备份你的原镜
转载 2018-04-04 14:58:00
283阅读
2评论
centos6配置yum
原创 3月前
0阅读
yum install httpd httpd-devel mysql mysql-server mysql-devel php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml
原创 2021-12-30 16:00:08
104阅读
centos yum安装 官方停止更新了。需要换镜像 sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.rep ...
转载 2021-09-02 09:35:00
121阅读
2评论
Download adn install the Public Signing Keyrpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearchAdd the following in your /etc/yum.repos.d/ directory in a file named (for exam
原创 2014-06-24 17:12:06
2031阅读
centos6 yum 安装memcached
转载 精选 2015-06-06 17:12:06
538阅读
概述 centos6系统从2020年12月1号开始不再维护,官方的yum源不再可用,同时国内的阿里云镜像和163镜像也都不再可用。 但是我们有一些老的服务器仍然在使用centos6系统版本,依赖库的安装和更新就有了问题。 有问题就有需求,有需求就有解决方案。 可用yum源 Vault源也是cento ...
转载 2021-08-25 18:42:00
263阅读
2评论
centos6适用:[root@node1 ~]# cat yum_ip.sh #!/bin/bash# is used to centos 6mv /etc/sysconfig/network-scripts/ifcfg-eth0{,.bak}cat >  /etc/sysconfig/network-scripts/ifcfg-eth0 << eofDEV
原创 2016-11-14 22:58:59
698阅读
yum -y install memcachedmemcached -hchkconfig --level 2345 memcached oncat /etc/sysconfig/memcachedservice memcached startmemcached-tool 127.0.0.1:11211 statsmemcached-tool 172.17.1.1:11211 statsmemca
转载 2019-01-09 19:30:00
104阅读
2评论
[base] name=CentOS-6 failovermethod=priority baseurl=https://vault.centos.org/6.9/os/x86_64/ gpgcheck=0 yum install ntp 报错:Error: Package: ntp-4.2.6p5 ...
转载 2021-07-12 10:02:00
475阅读
2评论
https://www.liuzhanwu.cn/29909.html ...
转载 2021-07-24 15:00:00
123阅读
2评论
在一些不重要的场合我都是使用yum安装来的,但是因为项目原因需要使用高版本的mysql,centos自带的mysql版本太低,现在我们yum安装mariadb建立MariaDB yum安装源[root@Node1 ~]# vim /etc/yum.repos.d/MariaDB.repo # MariaDB 10.0 CentOS&nbs
原创 2015-03-07 10:36:58
1517阅读
1.首先备份原来的cent os官方yum源cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak2.获取阿里的yum源覆盖本地官方yum源wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo3.清理yum缓存,并生成新的缓存yum clean allyum makec
原创 2021-08-24 15:49:25
736阅读
  • 1
  • 2
  • 3
  • 4
  • 5