pc6a学习分享

技术知识分享

解决方案:浪潮云Debian更新/安装慢

故障原因:

  • Debian安装软件过程中会使用美国源 security.debian.org。浪潮云连接这个节点网速巨慢。(10K/S以内)

解决方案:

  • 修改源文件 /etc/apt/source.list
  • Debian7
  • deb http://mirrors.163.com/debian/ wheezy main non-free contrib
    deb http://mirrors.163.com/debian/ wheezy-updates main non-free contrib
    deb http://mirrors.163.com/debian/ wheezy-backports main non-free contrib
    deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib
    deb-src http://mirrors.163.com/debian/ wheezy-updates main non-free contrib
    deb-src http://mirrors.163.com/debian/ wheezy-backports main non-free contrib
    deb http://mirrors.163.com/debian-security/ wheezy/updates main non-free contrib
    deb-src http://mirrors.163.com/debian-security/ wheezy/updates main non-free contrib
  • Debian8
  • deb http://mirrors.163.com/debian/ jessie main non-free contrib
    deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
    deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
    deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
    deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
    deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
    deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
    deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
  • 修改后再执行 apt-get update 更新下。速度即可正常。

注:本文同样适用于国内UCloud&其他主机商。

 

未经允许不得转载:pc6a学习分享 » 解决方案:浪潮云Debian更新/安装慢

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址