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

Ubuntu 7.10修改軟件源的方法

 更新時(shí)間:2018年03月13日 10:45:02   作者:Icoding_F2014  
這篇文章主要介紹了Ubuntu 7.10修改軟件源的方法,小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧

安裝好ubuntu 17.10后,我們發(fā)現(xiàn)使用apt-get 安裝軟件時(shí)特別慢,所以需要更換一下軟件源。

方法:

1.備份自帶源

sudo cp /etc/apt/sources.list ~/sources.list.bak

2.修改源:

把以下內(nèi)容貼到/etc/apt/sources.list文件中:

# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.aliyun.com/ubuntu/ artful main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.aliyun.com/ubuntu/ artful-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ artful universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universe
deb http://mirrors.aliyun.com/ubuntu/ artful-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.aliyun.com/ubuntu/ artful multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://mirrors.aliyun.com/ubuntu/ artful-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
#deb http://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu zesty partner
# deb-src http://archive.canonical.com/ubuntu zesty partner# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
#deb http://mirrors.aliyun.com/ubuntu/ artful main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
#deb http://mirrors.aliyun.com/ubuntu/ artful-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
#deb http://mirrors.aliyun.com/ubuntu/ artful universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universe
#deb http://mirrors.aliyun.com/ubuntu/ artful-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
#deb http://mirrors.aliyun.com/ubuntu/ artful multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiverse
#deb http://mirrors.aliyun.com/ubuntu/ artful-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
#deb http://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu zesty partner
# deb-src http://archive.canonical.com/ubuntu zesty partner

3.更新源

sudo apt-get update

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

相關(guān)文章

  • Linux輸入輸出重定向詳細(xì)使用說明

    Linux輸入輸出重定向詳細(xì)使用說明

    Linux標(biāo)準(zhǔn)輸入、輸出設(shè)備主要是鍵盤和顯示器,輸出重定向是改變程序運(yùn)行的輸入來源和輸出地點(diǎn)
    2018-03-03
  • centos7下如何安裝ftp服務(wù)

    centos7下如何安裝ftp服務(wù)

    這篇文章主要介紹了centos7下如何安裝ftp服務(wù)問題,具有很好的參考價(jià)值,希望對大家有所幫助。如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2023-06-06
  • Linux下Oracle如何導(dǎo)入導(dǎo)出dmp文件詳解

    Linux下Oracle如何導(dǎo)入導(dǎo)出dmp文件詳解

    這篇文章主要給大家介紹了關(guān)于在Linux下Oracle如何導(dǎo)入導(dǎo)出dmp文件的相關(guān)資料,文中通過示例代碼介紹的非常詳細(xì),對大家具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面來一起看看吧。
    2017-07-07
  • Centos7.5配置IP地址的實(shí)現(xiàn)

    Centos7.5配置IP地址的實(shí)現(xiàn)

    這篇文章主要介紹了Centos7.5配置IP地址的實(shí)現(xiàn),文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧
    2019-09-09
  • Centos7下用戶登錄失敗N次后鎖定用戶禁止登陸的方法

    Centos7下用戶登錄失敗N次后鎖定用戶禁止登陸的方法

    這篇文章主要給大家介紹了關(guān)于在Centos7系統(tǒng)下用戶登錄失敗N次后鎖定用戶禁止登陸的相關(guān)資料,文中先對PAM的配置文件進(jìn)行了簡單的介紹,然后通過示例代碼將實(shí)現(xiàn)的方法介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起看看吧。
    2018-01-01
  • Linux下使用inode刪除指定文件方法示例

    Linux下使用inode刪除指定文件方法示例

    文件的inode定義了文件的大小、所有人等文件的特征。每個(gè)文件和目錄都有自己唯一的inode數(shù)字。所以下面這篇文章主要給大家介紹了關(guān)于Linux下使用inode刪除指定文件的相關(guān)資料,需要的朋友可以參考借鑒,下面來一起看看吧。
    2017-10-10
  • ubuntu下遷移home目錄至新的分區(qū)教程詳解

    ubuntu下遷移home目錄至新的分區(qū)教程詳解

    這篇文章主要介紹了ubuntu下移動/home目錄至新的分區(qū)的教程詳細(xì),本文給大家介紹的非常詳細(xì),具有一定的參考借鑒價(jià)值,需要的朋友可以參考下
    2020-02-02
  • Ubuntu中添加應(yīng)用程序快速啟動器的方法

    Ubuntu中添加應(yīng)用程序快速啟動器的方法

    這篇文章主要介紹了Ubuntu中添加應(yīng)用程序快速啟動器的方法,需要的朋友可以參考下
    2014-09-09
  • linux環(huán)境安裝node.js開發(fā)環(huán)境搭建圖文教程

    linux環(huán)境安裝node.js開發(fā)環(huán)境搭建圖文教程

    這篇文章主要介紹了 linux環(huán)境安裝node.js開發(fā)環(huán)境搭建圖文教程的相關(guān)資料,需要的朋友可以參考下
    2016-10-10
  • 在CentOS 7.2上安裝SuPHP的詳細(xì)方法

    在CentOS 7.2上安裝SuPHP的詳細(xì)方法

    這篇文章主要介紹了在CentOS 7.2上安裝SuPHP的詳細(xì)方法,本教程介紹從源代碼安裝CentOS 7.2上的SuPHP,因?yàn)闆]有可用于CentOS 7.2的SuPHP軟件包,需要的朋友可以參考下
    2020-02-02

最新評論