欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

詳解Ubuntu 16.04 幾個(gè)國(guó)內(nèi)更新源

 更新時(shí)間:2017年04月06日 14:29:00   作者:paincupid  
本篇文章主要介紹了詳解Ubuntu 16.04 幾個(gè)國(guó)內(nèi)更新源,可以在軟件更新中選擇源,一起跟隨小編過(guò)來(lái)看看吧

如何更改源

1/ 在修改source.list前,最好先備份一份

執(zhí)行備份命令

sudo cp /etc/apt/sources.list /etc/apt/sources.list.old

2/ 執(zhí)行命令打開(kāi)source.list文件:

可以用vim,gedit,atom等工具打開(kāi)

sudo vim /etc/apt/source.list

sudo gedit /etc/apt/source.list

或(你得自己安裝atom,我覺(jué)得挺好的一個(gè)工具)

sudo atom /etc/apt/source.list

3/復(fù)制源

把下面的任意一下復(fù)制到source.list中去,并覆蓋原來(lái)的文件內(nèi)容。

東北大學(xué)源

deb-src http://mirror.neu.edu.cn/ubuntu/ xenial main restricted #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial main restricted
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial restricted multiverse universe #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial-updates main restricted
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial universe
deb http://mirror.neu.edu.cn/ubuntu/ xenial-updates universe
deb http://mirror.neu.edu.cn/ubuntu/ xenial multiverse
deb http://mirror.neu.edu.cn/ubuntu/ xenial-updates multiverse
deb http://mirror.neu.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirror.neu.edu.cn/ubuntu/ xenial-security main restricted
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial-security universe
deb http://mirror.neu.edu.cn/ubuntu/ xenial-security multiverse

清華大學(xué)

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse

阿里云源

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse

4/update命令

sudo apt-get update

以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

  • linux?系統(tǒng)進(jìn)程管理工具systemd詳解(systemctl命令、創(chuàng)建自己的systemd服務(wù))

    linux?系統(tǒng)進(jìn)程管理工具systemd詳解(systemctl命令、創(chuàng)建自己的systemd服務(wù))

    Unit?是?Systemd?管理系統(tǒng)資源的基本單元,可以認(rèn)為每個(gè)系統(tǒng)資源就是一個(gè)?Unit,并使用一個(gè)?Unit?文件定義,這篇文章主要介紹了linux?系統(tǒng)進(jìn)程管理工具systemd詳解(systemctl命令、創(chuàng)建自己的systemd服務(wù)),需要的朋友可以參考下
    2022-12-12
  • Ubuntu18.04 Server版安裝及使用(圖文)

    Ubuntu18.04 Server版安裝及使用(圖文)

    這篇文章主要介紹了Ubuntu18.04 Server版安裝及使用,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)學(xué)習(xí)吧
    2019-12-12
  • CentOS+Nginx+PHP+MySQL標(biāo)準(zhǔn)生產(chǎn)環(huán)境配置方法

    CentOS+Nginx+PHP+MySQL標(biāo)準(zhǔn)生產(chǎn)環(huán)境配置方法

    這個(gè)可比網(wǎng)上流傳的什么一鍵安裝包要好得多,強(qiáng)烈推薦此法安裝,適合所有菜鳥(niǎo)和高手。我服務(wù)器上全用的源代碼編譯安裝,也好不到哪去,還很費(fèi)勁。我這個(gè)裝完已經(jīng)包含 php 的一些常用擴(kuò)展, PDO,eaccelerator,memcache,tidy等等。
    2010-02-02
  • 在Centos上搭建Maven中央倉(cāng)庫(kù)的方法

    在Centos上搭建Maven中央倉(cāng)庫(kù)的方法

    這篇文章主要介紹了在Centos上搭建Maven中央倉(cāng)庫(kù)的方法,小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧
    2018-04-04
  • Windows和Linux實(shí)現(xiàn)遠(yuǎn)程桌面連接

    Windows和Linux實(shí)現(xiàn)遠(yuǎn)程桌面連接

    這篇文章主要介紹了Windows和Linux實(shí)現(xiàn)遠(yuǎn)程桌面連接,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下
    2020-05-05
  • 分析Linux內(nèi)核調(diào)度器源碼之初始化

    分析Linux內(nèi)核調(diào)度器源碼之初始化

    本篇文章將從源碼的角度剖析內(nèi)核調(diào)度的具體原理和實(shí)現(xiàn),以Linux kernel 5.4 版本(TencentOS Server3 默認(rèn)內(nèi)核版本)為對(duì)象,從調(diào)度器子系統(tǒng)的初始化代碼開(kāi)始,分析Linux內(nèi)核調(diào)度器的設(shè)計(jì)與實(shí)現(xiàn)
    2021-06-06
  • Linux實(shí)現(xiàn)數(shù)據(jù)庫(kù)定時(shí)備份方式

    Linux實(shí)現(xiàn)數(shù)據(jù)庫(kù)定時(shí)備份方式

    這篇文章主要介紹了Linux實(shí)現(xiàn)數(shù)據(jù)庫(kù)定時(shí)備份方式,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2024-01-01
  • Linux服務(wù)器離線安裝 nginx的詳細(xì)步驟

    Linux服務(wù)器離線安裝 nginx的詳細(xì)步驟

    這篇文章主要介紹了Linux服務(wù)器離線安裝 nginx的詳細(xì)步驟,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下
    2022-06-06
  • Centos7修改主機(jī)名hostname的三種方法

    Centos7修改主機(jī)名hostname的三種方法

    今天小編就為大家分享一篇關(guān)于Centos7修改主機(jī)名hostname的三種方法,小編覺(jué)得內(nèi)容挺不錯(cuò)的,現(xiàn)在分享給大家,具有很好的參考價(jià)值,需要的朋友一起跟隨小編來(lái)看看吧
    2019-01-01
  • linux下查看已經(jīng)安裝的jdk 并卸載jdk的方法(推薦)

    linux下查看已經(jīng)安裝的jdk 并卸載jdk的方法(推薦)

    下面小編就為大家?guī)?lái)一篇linux下查看已經(jīng)安裝的jdk 并卸載jdk的方法(推薦)。小編覺(jué)得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧
    2016-11-11

最新評(píng)論