首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
debian9修改国内源
2024-09-08
debian 9 更换源 使用国内源 配置方法
配置前请先参考: https://wiki.debian.org/SourcesList https://www.debian.org/mirror/list https://mirrors.tuna.tsinghua.edu.cn/help/debian/ http://mirrors.ustc.edu.cn/help/debian.html 官方镜像地址: ftp.cn.debian.org #中科大 ftp2.cn.debian.org #清华 nano /etc/apt/sources.
debian9使用国内源安装docker以及一些使用方法
debian9使用国内源安装docker以及一些使用方法 首先, 我的环境是debian, 容器是centos debian 扔源 # deb-src [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/debian stretch stable deb [arch=amd64] http://mirrors.ustc.edu.cn/docker-ce/linux/debian stretch stable 然后apt update
Ubuntu 18.04 LTS修改 国内源(以中科大源为例)
国内有很多Ubuntu的镜像源,包括阿里的.网易的,还有很多教育网的源,比如:清华源.中科大源. 我们这里以中科大的源为例讲解如何修改Ubuntu 18.04里面默认的源. 可以进入这个链接进行下载:https://mirrors.ustc.edu.cn/repogen/ 编辑/etc/apt/sources.list文件, 在文件最前面添加以下条目(操作前请做好相应备份): deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restrict
ubuntu 16.04 LTS 修改 国内源(以中科大源为例)
国内有很多ubuntu的源,包括:网易源(这个之前用过,速度很快的),阿里源,还有很多教育网的源,如:清华源,中科大源. 这里要下载的是中科大ubuntu16.04的源列表,可以在这里获得:https://lug.ustc.edu.cn/repogen/ 编辑/etc/apt/sources.list文件, 在文件最前面添加以下条目(操作前请做好相应备份): 打开终端,然后输sudo gedit /etc/apt/sources.list回车输开机密码然后回车然后就打开那个文件了,然后修改 最后
pip修改国内源
Linux在~/.pip/pip.conf文件中添加或修改, windows不存在该目录,在当前用户目录下创建pip.ini(例如 C:\Users\bin\pip\pip.ini): [global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com 临时使用: 可以在使用pip的时候加参数-i ,例如: pip install django -i http:
Python Pypi 修改 国内源(以豆瓣源为例)
参考:http://pip.readthedocs.io/en/latest/user_guide/#config-file Pypi在国内豆瓣源的地址如下: http://pypi.douban.com/simple/ 注意后面要有/simple目录.使用特定的镜像源特意用-i参数指定,比如:我们要用豆瓣的Pypi源下载beautifulsoup,可以输入一下命令进行下载:sudo easy_install -i http://pypi.douban.com/simple/ beautiful
ubuntu 把软件源修改为国内源
国内有很多Ubuntu的镜像源,比如:阿里源.网易源等,还有很多教育网的源,比如:清华源.中科大源等. 这里以清华源为例讲解如何修改Ubuntu 18.04里面默认的源. 修改步骤 第一步:备份原始源文件,当然需要系统管理员权限操作 sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup 第二步:修改sources.list文件并添加国内源 vi /etc/apt/sources.list 第三步:注释原文件内的源(Ubuntu官方源
永久修改 Linux pip国内源
一些常用的国内源 清华大学:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:https://mirrors.aliyun.com/pypi/simple 中国科学技术大学 https://pypi.mirrors.ustc.edu.cn/simple 豆瓣:http://pypi.douban.com/simple 永久修改pip 国内源 在用户根目录(~,而非系统根目录 / )下添加配置~/.pip/pip.conf目录添加可信源,如果目录文件不存在,
Ubuntu 18.04修改默认源为国内源
安装Ubuntu 18.04后,使用国外源太慢了,修改为国内源会快很多. 修改阿里源为Ubuntu 18.04默认的源 备份/etc/apt/sources.list 备份 cp /etc/apt/sources.list /etc/apt/sources.list.bak 在/etc/apt/sources.list文件前面添加如下条目 添加阿里源 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe mul
Ubuntu 18.04 修改默认源为国内源
1.备份/etc/apt/sources.list #备份 cp /etc/apt/sources.list /etc/apt/sources.list.bak 2.在/etc/apt/sources.list文件前面添加如下条目 #添加阿里源 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-s
linux 下各个工具使用(screen、tmux,pyenv、virtualenv,pip国内源,tree)
一.多会话工具screen.tmux 两个都是多窗口工具.1.使用后wim出现配色问题:http://ibartman.com/2014/04/16/vim%20%E9%85%8D%E8%89%B2/设置两个即可:(.bashrc对应具体shell),重启计算机(或者source .bashrc).bashrc:export TERM="xterm-256color".vimrc:set term=screen-256color 2.screen闪屏http://easwy.com/b
pip使用国内源
对于Python开发用户来讲,PIP安装软件包是家常便饭.但国外的源下载速度实在太慢,浪费时间.而且经常出现下载后安装出错问题.所以把PIP安装源替换成国内镜像,可以大幅提升下载速度,还可以提高安装成功率. 国内源: 新版ubuntu要求使用https源,要注意. 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.us
ubuntu18.04 apt-get换国内源 阿里源 163源 清华源 中科大源
服务器上安装了最新的Ubuntu Server 18.04,代号为bionic.使用apt-get命令安装软件时,有时候速度比较慢,有时候会失败.因此考虑用国内的镜像源更换下apt-get的默认源. ubuntu 查看版本号:lsb_release -a 输出:Distributor ID: UbuntuDescription: Ubuntu 18.04.1 LTSRelease: 18.04Codename: bionic其中Codename表示代号. 1.备份系统自带源mv /etc/apt
pip 源 替换国内源
网上收集来的pip源地址: 阿里云 http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/豆瓣(douban) http://pypi.douban.com/simple/ 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/ setuptools
ubuntu添加国内源
安装Ubuntu 18.04后,使用国外源太慢了,修改为国内源会快很多. 修改阿里源为Ubuntu 18.04默认的源 备份/etc/apt/sources.list#备份cp /etc/apt/sources.list /etc/apt/sources.list.bak 在/etc/apt/sources.list文件前面添加如下条目#添加阿里源deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multi
Composer 添加 Laravel-china 的国内源
不知道由于什么原因,原来的 Composer 的国内镜像 https://pkg.phpcomposer.com/ 不能正常使用,经常连不上. 找了半天,发现还有一个 laravel-china 的国内源也可以使用 使用方法如下: $ composer config -g repo.packagist composer https://packagist.laravel-china.org 参考:Composer 国内加速,修改镜像源 | Laravel China 社区 - 高品质的 Lara
Python pip配置国内源
众所周知,Python使用pip方法安装第三方包时,需要从 https://pypi.org/ 资源库中下载,但是会面临下载速度慢,甚至无法下载的尴尬,这时,你就需要知道配置一个国内源有多么重要了,通过一番摸索和尝试,总结了一些经验,分享给大家: 首先贴一下下载速度的对比图: 图1:国外官网下载 图2:国内镜像下载 给大家推荐几个值得拥有的国内镜像站 [ 个人推荐清华大学pypi镜像站(https://mirrors.tuna.tsinghua.edu.cn/help/pypi/),每五分钟同
让Ubuntu使用阿里云国内源,解决下载速度慢问题。
阿里云镜像官方地址 http://mirrors.aliyun.com/ 找到最新源地址列表: http://www.linuxdiyf.com/linux/23163.html 软件包管理中心(推荐) 在软件包管理中心“软件源”中选择“中国的服务器”下mirros.aliyun.com即可自动使用 在终端中修改方法: sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup #备份当前也就是默认官方的源列表 su
python 使用国内源安装软件
python linux 等 使用国内源安装软件 速度更快 你值得拥有 ! 豆瓣源:pip install -i https://pypi.douban.com/simple/ 阿里源:pip install -i http://mirrors.aliyun.com/pypi/simple/ 清华源:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ 华中理工大学源 :pip install -i http://pypi.hustun
pip换国内源
pip换国内源 1.国内常用源 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(douban) http://pypi.douban.com/simple/ 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ 中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/sim
pip更改国内源
国内源: 阿里云 http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/豆瓣(douban) http://pypi.douban.com/simple/ 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ Linux环境: 可以直接使用镜像源,加 -i 指定地址: sudo pip install -i http://pypi.douba
热门专题
influxdb可以子查询麻
conda安装新环境found conflict
vim 设置配置文件自动生效
java 内存数据库
cocos2dx 特效
win7主机重启后vm服务丢失
sql将应该字段的值赋给另一个字段
wine 汉字方块 simsun.ttc
idea 代码格式化哪个快捷键
SVM.SVC算法原理推导
天地图用的是什么坐标系
centos7.6 分区uefi
VS使用画直线的算法
navigator.geolocation 精确度
eclipse annotation提示
windows命令行设置环境变量
vmware扩展根目录
vue3输入框光标自动聚焦
Python OpenCV 图形界面
android实现好友列表界面