#
國內源:
清華:阿里雲:
中國科技大學
華中理工大學:
山東理工大學:
豆瓣:#xadmin 位址
pip3 install
開始配置如下
備份源sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
編輯源sudo vim /etc/apt/sources.list
#下面這段新增至末尾
#中科大源
deb bionic main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
#阿里雲源
deb bionic main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
#清華源
deb bionic main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
#出現key以報錯
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 對應的key
echo deb bionic main restricted universe multiverse>> /etc/apt/sources.list
echo deb bionic-security main restricted universe multiverse>> /etc/apt/sources.list
echo deb bionic-updates main restricted universe multiverse>> /etc/apt/sources.list
echo deb bionic-proposed main restricted universe multiverse>> /etc/apt/sources.list
echo deb bionic-backports main restricted universe multiverse>> /etc/apt/sources.list
Ubuntu修改源位址
其實這個沒有什麼技術含量,主要是讓大家知道我們可以主動在高峰時期為ubuntu官方伺服器分擔負載壓力 方便自己又方便別人的大好事,何樂而不為呢?一,開啟系統右上角的 系統設定 選單,找到 軟體與更新 面板,如下圖 三,如果你不急著用的話,可以讓伺服器幫你選擇乙個最快的伺服器,一般都會叫你選香港的伺服...
Docker國內加速映象源位址
國內使用docker hub的服務一言難盡,於是各大公司紛紛推出的自己的映象源,均為實時同步,位址如下,敬請享用。一般情況下,以下的任一位址都可以滿足國內需求,但若使用的是某個公司的雲伺服器,那麼強烈建議使用該公司提供的映象源,以獲取極致超速的體驗。如果你不知道如何使用加速位址,請參考 docker...
git 新增源位址和檢視源位址
git remote set url add origin就是往當前git專案的config檔案裡增加一行記錄 config檔案開啟方式有兩種 使用命令git config e在當前git專案的根目錄下,檔案位於 git config git目錄為隱藏檔案 你每執行一次git remote set ...