ICode9

精准搜索请尝试: 精确搜索
  • CentOS 7 Docker镜像加速器配置2022-09-11 23:32:34

    Docker pull镜像速度慢解决方案 vim /etc/docker/daemon.json 追加以下国内镜像地址: { "registry-mirrors":[ "https://docker.mirrors.ustc.edu.cn", "http://hub-mirror.c.163.com", "https://ajjpps56.mirror.aliyuncs.com&

  • wsl2安装与配置2022-09-11 21:01:17

    wsl安装 前置条件 windows功能设置打开hyper-v和linux子系统支持 将wsl设置为版本2 wsl --set-default-version 2 商店搜索wsl子系统版本安装,推荐ubuntu和debian 移动子系统安装目录 防治C盘寿终正寝,需要移动子系统到其他盘符 #查看安装的系统 wsl -l -v # 导出 Debian11版本到

  • windows server 2022 安装linux子系统2022-09-11 19:31:41

    一、命令行安装 1.先启用在Windows上启用Windows的Windows子系统(WSL)功能以管理员身份打开PowerShell并运行以下命令以在Windows上启用Windows Subsystem for Linux(WSL)功能 Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 安装好后会提

  • Debian 10 Buster 国内常用镜像源2022-09-06 01:03:10

    Debian 10 Buster 国内常用镜像源 如何更新系统安装源 一般我们修改 /etc/apt/sources.list 文件,将 Debian 的默认源地址改成新的地址即可,比如将 http://deb.debian.org 改成 https://mirrors.163.com,可使用以下这条命令: sed -i 's#http://deb.debian.org#https://mirrors.163.com

  • pip安装更换镜像2022-09-05 14:04:31

    原文链接 使用pip来安装python包有时候安装起来会非常慢,因此需要换成国内的源来加速下载: 1 单次修改源 以Torch为例,常规下载方式为: pip install torch 修改为阿里源: pip install -i https://mirrors.aliyun.com/pypi/simple torch 2 修改默认源 如果不想在每一次下载都指定源,可

  • python小知识--使用pip/pip3 install 命令下载安装包时,速度慢、经常断连的情况2022-09-04 10:01:51

    直接提供方法 设置源   WIN+R键 cmd命令   执行如下两条命令----------------这使用国内的云 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple pip config set install.trusted-host mirrors.aliyun.com      然后再试一试 pip下载命令  下载速

  • yum换源2022-09-02 21:05:50

    yum换源 备份 cd /etc/yum.repos.d Centos-Base.repo Centos-Base.repo.bak 下载阿里源 wget -O Centos-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 缓存 yum makecache 更新 yum -y install update

  • pip安装的时候使用阿里云镜像2022-08-29 10:31:16

    如题,记录一下问题,很久没有用了,省的以后还得先查.       pip install flake8 -i https://mirrors.aliyun.com/pypi/simple/ pip install yapf -i https://mirrors.aliyun.com/pypi/simple/ 备注:pip安装的时候有时候因为pip的版本与我们想要安装的插件下载的版本不一致,会报

  • centeros 修改yum数据源2022-08-28 01:03:58

      1.修改 vim /etc/yum.repos.d/CentOS-Base.repo 文件 将mirrorlist配置注释掉,并将baseurl修改为阿里云镜像地址 [BaseOS]name=CentOS-$releasever - Base#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS&infra=$infrabaseurl=https

  • 设置Docker的默认文件存储位置2022-08-22 19:33:08

    对于windows下,直接修改docker desktop界面的配置项目。对于rocky linux下面,对应的配置文件存储在: vim /etc/docker/daemon.json 文件可以配置镜像源之类的参数,存储的位置由graph配置项目决定,详情看下面示例。 { "registry-mirrors": [ "http://registry.docker-cn.co

  • 给大家推荐一下常用的镜像站2022-08-19 16:00:34

    很多编程语言、系统服务、操作系统等,需要从国外官网进行下载,如Python、MySQL、CentOS,但网速可想而知。这时,可以通过国内镜像站进行下载。 常用的国内镜像站如下: 华为源:https://mirrors.huaweicloud.com 阿里源:https://developer.aliyun.com/mirror/ 搜狐源:http://mirrors.sohu.com

  • 使用gradle生成jar报错:Execution failed for task ':allure-generator:npmInstall',如何解决?2022-08-18 15:32:48

    1.错误信息 gyp ERR! stack Error: Can't find Python executable "python2.7", you can set the PYTHON env variable. 2.解决办法 在window系统中配置环境变量 变量名:SASS_BINARY_SITE 变量值:https://npm.taobao.org/mirrors/node-sass/              参考链接:https

  • yum私有仓库的实现及博客输出2022-08-15 03:30:09

    1. 创建局域网的基于Base的私有yum源 1.1. 说明 centos的base包可以从系统镜像中获取或者第三方平台获取 1.2. repo仓库配置文件 [repositoryID] name=Some name for this repository baseurl=url://path/to/repository/ enabled={1|0} gpgcheck={1|0} gpgkey=URL enablegroups={

  • Kali下载安装以及基础配置2022-08-13 21:04:41

    Kali官网:Kali Linux | Penetration Testing and Ethical Hacking Linux Distribution Kali下载地址:Get Kali | Kali Linux Kali安装在VMware教程 1、下载VMware专用的Kali文件 2、下载为压缩包,解压后用VMware打开后缀为.vmx的文件即可 Kali的基础配置 1、安装完成后会进入登录

  • centos命令安装(1)cenos7安装semanage命令2022-08-02 18:33:33

    参考文档: CentOS7 中 semanage命令的安装 cenos7安装semanage命令 CentOS系统自带的chcon工具只能修改文件、目录等的文件类型和策略,无法对端口、消息接口和网络接口等进行管理,semanage能有效胜任SELinux的相关配置工作。 安装命令如下:yum install semanage [root@localhost ~]#

  • docker内centos容器安装docker2022-07-30 11:33:08

    #安装包   yum install -y yum-utils#设置镜像的仓库  yum-config-manager \  --add-repo \  http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo#更新yum软件包索引  yum makecache fast#安装docker相关 docker-ce 社区版 ee企业版  yum install doc

  • ubuntu 换源2022-07-29 13:32:17

    # 编辑 sudo vim /etc/apt/sources.list # 删除原有内容 vim快速操作指令:ggdG # 改为以下内容 deb https://mirrors.ustc.edu.cn/ubuntu/ jammy main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ jammy main restricted universe multiverse d

  • docker 命令熟悉2022-07-29 13:00:21

    docker ps 查询跑了那些进程    进入docker php容器  docker exce -it php bash     进入容器之后,执行一下nginx命令,使php跑起来       退出镜像, 查看容器有镜像 docker images  编辑docker国内镜像 "registry-mirrors": [ "http://hub-mirror.c.163.com",

  • Ubuntu 18 添加镜像2022-07-28 12:31:14

    Ubuntu 18 添加镜像 适用于ubuntu18 sudo gedit /etc/apt/sources.list 清华镜像: 清华镜像源链接 # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse # deb-src

  • centos 8的yum源配置,Error: Failed to download metadata for repo 'base'2022-07-27 23:37:40

    下载阿里源,makecache后报错 [root@python01 yum.repos.d]# yum makecache CentOS-8 - Base - mirrors.aliyun.com 77 B/s | 2.3 kB 00:30 Er

  • 下载文件测试2022-07-23 10:35:57

    1. Linux ISO文件 https://mirrors.tuna.tsinghua.edu.cn/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-DVD-2009.iso 4.4G https://mirrors.tuna.tsinghua.edu.cn/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-DVD-2009.torrent 4.4G

  • 配置 Kali 的 apt 命令在线安装包的源为国内源2022-07-22 22:01:16

    配置 Kali 的 apt 命令在线安装包的源为国内源 因为 Kali 自带的源是国外的,经常会因为网络问题,而无法安装或更新软件包。而且国外的源速度很慢。所以我们直接使用国内的源,方便快速。 #中科大 Kali 源 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib d

  • win10下Docker更换镜像源地址China官方镜像2022-07-22 02:03:54

    "registry-mirrors": [ "https://registry.docker-cn.com" ]    确认好格式和中英文大小写没问题,点击 Apply&Restart

  • anaconda安装和使用总结2022-07-19 07:31:59

      1.anaconda下载 https://www.anaconda.com/products/distribution 2.anaconda更新清华镜像源 anaconda界面→file→preferences→configure conda 清空复制粘接以下内容 channels: - defaults show_channel_urls: true default_channels: - https://mirrors.tuna.tsinghu

  • 使用pip离线安装python第三方模块2022-07-18 14:06:15

                安装pip2pi # tar zxf pip2pi-0.8.2.tar.gz # cd pip2pi-0.8.2/ # python setup.py build # python setup.py install 修改默认pip源为国内腾讯pip源 # pip config set global.index-url https://mirrors.cloud.tencent.com/pypi/simple/ # more /root/.conf

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有