Ubuntu18.04Aliミラーソースを変更

BluishZone-BluishZone

こんにちは!「LammoSpace」のウェルカムページ。PHPとLinuxシステムの運用と保守の交換について学びたい場合は、この記事を注意深く読んでから、記事の下部にある公開アカウントに従って詳細を確認してください。

まず、ホストシステムのバージョン番号を確認します

root@ubuntu-server:~# cat /etc/issue
Ubuntu 18.04.2 LTS \n \l

バックアップシステム独自のミラーソース

root@ubuntu-server:~# root@ubuntu-server:~# cp /etc/apt/sources.list /etc/apt/sources.list.bak

構成ファイルの編集

行の開始:d + Gすべて削除
インサート シフト+挿入次のコンテンツを貼り付けます。

########   Ubuntu18.04 阿里云镜像源   ###############
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
########   阿里云镜像源 END  ###############

スピーディーなインターネットスピードを感じてください〜

root@ubuntu-server:~# apt-get update
Fetched 15.5 MB in 8s (1,871 kB/s)                                                     
Reading package lists... Done

公開番号:LAMPerテクノロジースタック;
QQグループ:670494430、Lan Moと彼の友達と戦いに来てください!

おすすめ

転載: blog.csdn.net/geeksoarsky/article/details/102557984