Linux实战012:Centos配置代理和软件源( 二 )
为了方便学习 , 下面附上本文用到的源码:
【Linux实战012:Centos配置代理和软件源】// 在/etc/profile文件尾部添加# vi /etc/profileexport http_proxy=http://username:password@proxy_address:proxy_port/export https_proxy=https://username:password@proxy_address:proxy_port/// 生效配置# source /etc/profile# yum clean all已加载插件:fastestmirror正在清理软件源: base extras updatesCleaning up list of fastest mirrors# yum makecache已加载插件:fastestmirrorDetermining fastest mirrorsbase| 3.6 kB00:00:00extras| 2.9 kB00:00:00updates| 2.9 kB00:00:00(1/10): base/7/x86_64/group_gz| 153 kB00:00:01(2/10): base/7/x86_64/primary_db| 6.1 MB00:00:58(3/10): extras/7/x86_64/filelists_db| 217 kB00:00:01(4/10): extras/7/x86_64/primary_db| 206 kB00:00:02(5/10): extras/7/x86_64/other_db| 124 kB00:00:01(6/10): updates/7/x86_64/primary_db| 4.5 MB00:00:15(7/10): updates/7/x86_64/other_db| 318 kB00:00:01(8/10): updates/7/x86_64/filelists_db| 2.4 MB00:00:17(9/10): base/7/x86_64/other_db| 2.6 MB00:00:47(10/10): base/7/x86_64/filelists_db| 7.1 MB00:05:54元数据缓存已建立
推荐阅读
- Linux Kernel 5.10.5发布:禁用FBCON加速滚动特性
- Linux 5.11开始围绕PCI Express 6.0进行早期准备
- Fedora正在寻求协助 希望加快Linux 5.10 LTS内核测试进度
- Linux Mint 20.1 Ulyssa稳定版已确定延期至2021年初发布
- 英特尔Xe GPU在Linux 5.11上的性能表现不错
- MIPS架构厂商日渐式微 Linux报告其漏洞遭遇困难
- Linux Kernel 5.11首个候选版本更新发布
- 20款游戏实战!酷睿i7-10750H、锐龙9 4900H到底谁更强?
- Linux 5.12内核将支持Radeon RX 6000系列显卡超频
- 开源开发者尝试为任天堂N64主机带来了新的Linux内核移植
