刚刚在安装mysql时,十几kb每秒。别以为这很正常,也别以为这不用多久。我原以为不用多久,于是放在那里安装就去搬Java砖了,结果十几分钟过去了还没安装好。于是找了教程,加快了速度,达到十几mb每秒。

解决思路:

将Centos7的yum配置为阿里云的镜像

步骤如下:

  1. yum clean all
  2. yum update
  3. 备份:mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
  4. 下载新的CentOS-Base.repo 到/etc/yum.repos.d/              wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 
  5. yum makecache

改用阿里云镜像,解决“yum安装MySQL下载慢”问题(centos7)

参考:

 

 

相关文章:

  • 2022-03-09
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2022-02-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-20
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
相关资源
相似解决方案