You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu Server 23.04(Lunar Lobster)替代软件包服务器咨询

Ubuntu Server 23.04(Lunar Lobster)替代软件包服务器咨询

Hey there! I totally get how frustrating slow package servers can be—300KB/s is definitely not ideal when you’re trying to get work done efficiently. Let’s go over some reliable HTTPS-enabled alternative package sources for your Ubuntu Server 23.04 (Lunar Lobster) minimal install:

国内常用高速镜像源

These are great options if you’re located in Asia, as they’ll have much lower latency:

  • 阿里云Ubuntu镜像源
    Super stable and fast for most regions in China. Here’s how to set it up:

    1. First, back up your original sources list to avoid issues:
      sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
      
    2. Open the sources list file with your preferred editor (like nano):
      sudo nano /etc/apt/sources.list
      
    3. Replace all existing content with the following HTTPS-enabled lines for Lunar Lobster:
      deb-src [signed-by=/usr/share/keyrings/cloud.google.gpg] https://mirrors.aliyun.com/ubuntu/ lunar main restricted universe multiverse
      deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://mirrors.aliyun.com/ubuntu/ lunar-updates main restricted universe multiverse
      deb-src [signed-by=/usr/share/keyrings/cloud.google.gpg] https://mirrors.aliyun.com/ubuntu/ lunar-updates main restricted universe multiverse
      deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://mirrors.aliyun.com/ubuntu/ lunar-backports main restricted universe multiverse
      deb-src [signed-by=/usr/share/keyrings/cloud.google.gpg] https://mirrors.aliyun.com/ubuntu/ lunar-backports main restricted universe multiverse
      deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://mirrors.aliyun.com/ubuntu/ lunar-security main restricted universe multiverse
      deb-src [signed-by=/usr/share/keyrings/cloud.google.gpg] https://mirrors.aliyun.com/ubuntu/ lunar-security main restricted universe multiverse
      
    4. Save and exit, then run sudo apt update to refresh the package index.
  • 清华大学Ubuntu镜像源
    Another popular, high-speed option with full HTTPS support. The setup steps are identical to above—just replace the mirror URL with https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ in the sources list.

全球官方镜像服务器

Canonical maintains a large list of official mirror servers across the globe (you can search for "Ubuntu official mirrors" to find ones close to your location). These mirrors all support HTTPS and are maintained by trusted organizations, so you can pick one geographically near your server for faster speeds. The setup process is the same: replace the default archive.ubuntu.com URL with your chosen mirror’s HTTPS address in /etc/apt/sources.list.

Quick Tips

  • Always back up your original sources list before making changes—this way you can easily revert if something goes wrong.
  • After switching sources, run sudo apt update to test the download speed. If it’s still slow, try a different mirror closer to your server’s physical location.
  • Keep in mind that Lunar Lobster is a short-term support release (supported until January 2024), so make sure your chosen mirror continues to host updates until then.

备注:内容来源于stack exchange,提问作者Trevor Sullivan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 11:48:14