Ubuntu 18.04 LTSミラー構成の更新(清華ミラーに置き換える)
2324 ワード
端末(Open Terminal)1を開き、システムが持参したファイルをバックアップする:sudo cp/etc/apt/sources.list/etc/apt/sources.list.backup 2変更構成:sudo gedit/etc/apt/sources.List,オープン後全選択,削除,清華大学オープンソースミラーステーションに置き換える:https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/の18.04 LTS sources.Listコンテンツは、ソースsudo apt-get updateを更新することでTUNAのソフトウェアソースミラーを使用できます.
# apt update ,
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# ,
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse