Zimri

Zimri - xlog

生活就像海洋 🌊
github

Securely and efficiently change sources in Linux.

Almost 90% of Linux installations do not have default domestic sources. This article will collect and organize methods for relatively complete and secure source replacement, in order to solve the problem of accelerating the updating of Linux mirrors in China.

System Version#

First, check the distribution version of the system:

lsb_release -a

The output is as follows:

# 🌰 No.1
root@lightweight:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: focal

This command is not applicable to all Linux distributions. If you cannot determine the distribution system, it is recommended to use this open-source project: Advanced System Information Tool neofetch installation method.

neofetch
root@VPSServer:~# neofetch
            .-/+oossssoo+/-.               root@VPS107-GitServer
        `:+ssssssssssssssssss+:`           ---------------------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 22.04.3 LTS x86_64
    .ossssssssssssssssssdMMMNysssso.       Host: KVM/QEMU (Standard PC (Q35 + ICH9, 2009)
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.15.0-88-generic
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 1 hour, 43 mins
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 700 (dpkg), 4 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.1.16
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Terminal: /dev/pts/0
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   CPU: Intel Xeon W-1290 (2) @ 3.191GHz
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   GPU: 00:01.0 Vendor 1234 Device 1111
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Memory: 349MiB / 1963MiB
.ssssssssdMMMNhsssssssssshNMMMdssssssss.
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
  +sssssssssdmydMMMMMMMMddddyssssssss+
   /ssssssss
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.