修改apt源
修改Ubuntu的預設apt源:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #備份
sudo gedit /etc/apt/sources.list #修改
sudo apt update #更新列表
例如阿里源:
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun .com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun .com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun .com/ubuntu/ trusty-backports main restricted universe multiverse
相關推薦
windows安裝linux虛擬機、修改apt源
strong 窗口 root密碼 步驟 exp 工具 pro 官網 登錄 記錄一下windows安裝虛擬機以及初始配置的一些坑。 安裝VMware Workstation 直接百度搜索VMware,選擇合適的版本下載; 按照一般軟件的安裝步驟安裝VMware Workst
修改apt源
修改Ubuntu的預設apt源: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #備份 sudo gedit /etc/apt/sources.list
linux下修改apt下載源
TP CP sta AC itl .com nload 科大 data 很多時候使用apt install命令會出現Unable to fetch somearchives的錯誤,我們需要運行以下apt update,可是經常會出現下載速度很慢的情況 這裏就記一下將apt的
修改apt-get和yum為阿里源
apt-get 在使用apt-get update的時候,出現如下錯誤時: E: Some index files failed to download, they have been ignore
[ubuntu]修改apt-get 預設源為163.mirror 源
1.sudo vi /etc/apt/source.list 或 sudo vim /etc/apt/source.list(注意備份) 2.更換源.注意版本 3 .sudo apt-get update 4.apt-get upgrade //這個可以不要,因為這樣的話glibc都升級了,不是好事
Ubuntu 18.04 server 修改 apt 軟體源為阿里雲的源
一、修改源: sudo cp /etc/apt/sources.list /etc/apt/sources.list.back 2.編輯源列表檔案 sudo vim /etc/apt/so
修改marathon源碼後,如何編譯,部署到集群中?
mesos、 marathon首先,marathon源碼是由scala語言編寫,由sbt進行項目構建的;與spark不同,spark是由maven進行項目構建;方案一:使用intellij idea導入marathon源碼【目前不可行】A、使用intellij idea導入marathon源碼B、更新源碼C、
kali修改更新源及更新
ren get blog -c 修改 lin main src pad 進入源文件進行修改 leafpad /etc/apt/sources.list (三選一即可) #kali官方源 deb http://http.kali.org/kali kali-ro
centos7 修改yum源為阿裏源
ews tar rhel 7 vra mirror art http roc article 1.安裝base reop源 cd /etc/yum.repos.d 接著備份舊的配置文件 sudo mv CentOS-Base.repo CentOS-Base
修改Maven源為阿裏巴巴的鏡像
www xsd pub str apache com 1.0 pac 阿裏巴巴 在C:\Users\Administrator\.m2創建setting.xml文件,內容如下 <settings xmlns="http://maven.apache.org/SE
pip修改國內源
當前 con 參考 win 用戶 國內 help aliyun bsp Linux在~/.pip/pip.conf文件中添加或修改, windows不存在該目錄,在當前用戶目錄下創建pip.ini(例如 C:\Users\bin\pip\pip.ini): [global]
dpkg命令詳解及apt源配置
linux command apt源 dpkg命令詳解及apt源配置一:dpkg命令dpkg 是“Debian Packager ”的簡寫, 是Debian Linux系統用來安裝、創建和管理軟件包的實用工具。1.語法dpkg --helpUsage: dpkg [<option> .
paramiko修改本分源碼
div brush linux 服務 data itl 使用 pass bsp 一、獲取paramiko源碼 環境:Python3 下載地址:https://github.com/paramiko/paramiko 使用的是 demos這個文件夾 二、修改部分源
CentOS7 修改yum源為阿裏雲
mirror get lean com http ase log rep aliyun 1,登陸root帳號 2,cd /etc/yum.repo.d 3,mv CentOS-Base.repo CentOS-Base.repo.bak4,wget http://mirro
redhat7.4修改yum 源為CentOS網易yum源
yum centos# 創建目錄 mkdir /data/tools/centos_yumcd /data/tools/centos_yum# 下載軟件包,若地址不對,到此網站上找http://mirrors.163.com/centos/7/os/x86_64/Packages/wget http://mi
更改 Ubuntu 的 apt 源
arch RR deb com inux iyu AD ror 香港 1.在更改apt源之前要先備份官方自帶的apt源 cd /etc/apt sudo cp sources.list sources.list.bak 2. 更改 sources.list 文
linux-修改pip源
all dex oba url out ror onf 目錄 創建 1.進入家目錄的隱藏 .pip目錄下 cd ~/.pip 2.創建並修改pip.conf [global]timeout = 10 # 超時 index-url = http://mirrors.aliy
Debian 采用 iso 鏡像作為 apt 源
fail debian dia sources free 延伸 浪費 ror 自己 1.將N個debian-506-amd64-DVD-N.iso存放於本地或其他媒介內,本例是放在本機/iso/目錄下2.創建N個掛載點目錄如下:debian:~#mkdir –r /medi
Ubuntu 18.04 國內的 apt 源
bionic ext oot aliyun -a ubun pro nic ubunt h2 { text-align: left; background-color: #00FF00; color: #075db3 } h3 { text-align: left; bac
ubuntu18.04下eclipse修改maven源為阿里源
下載安裝Java和Eclipse:https://www.cnblogs.com/zifeiy/p/9030111.html 然後命令列安裝Maven(不是必須的): sudo apt-get install maven -y 然後編輯一個檔案/home/zifeiy/.m2/settings.xml: