Yum Proxy
$ cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
# The proxy server - proxy server:port number
#proxy=http://zsphil53.intacc.local.csob.cz:8080
http_proxy=http://ahttpproxy:8080
export http_proxy 
# The account details for yum connections
#proxy_username=
#proxy_password=
Yum Proxy的更多相关文章
- nexus yum 私服集成
		nexus 集成了 yum 私服使用起来还是比较简单的 配置 yum proxy 实际使用我们可能需要配置centos 以及epel 的源 centos可以用http://mirror.cento ... 
- Cloudera Manager Free Edition 4.1 和CDH 4.1.2 简易安装教学
		转载:http://fenriswolf.me/2012/12/06/cloudera-manager-free-edition-4-1-和-cdh-4-1-2-简易安装教学/ 安装及管理一个大的Ha ... 
- centos 终端界面代理设置
		一.centos自带界面设置代理 1. 界面设置 squid默认代理端口3128. 2. firefox设置 设置 -> 局域网设置 -> ip:port / username:passw ... 
- Centos代理上网设置
		原文链接:http://m.blog.csdn.net/article/details?id=51851677 一.centos自带界面设置代理 1. 界面设置 squid默认代理端口3128. 2 ... 
- docker下运行Gitlab CE+Jenkins+Nexus3+docker-registry-frontend
		DevOps - Gitlab CE - Jenkins - Nexus Gitlab CE https://hub.docker.com/r/gitlab/gitlab-ce/ https://do ... 
- 【技术调研】最强Node-RED初探总结
		在某个项目中需要调研下node-red的功能,我大概花了三天时间研究了相关的官方文档,写了几个Demo总结了下node-red相关的功能.如需转载,请注明出处 https://www.cnblogs. ... 
- nginx 代理服务器
		目前现状:只有1个机器能上网(web),其他机器不能方法:能上网的做一个代理web服务器中转,其他机器连接它即可。采用nginxNginx配置如下:server{ resolver 8. ... 
- [CentOS]CentOS/RedHat/Fedora的Proxy设定(yum,wget,,rpm)
		yum 「/etc/yum.conf」 proxy=http://proxy.xxx.com:8080/ wget 「/etc/wgetrc」 http_proxy=http://proxy.xxx. ... 
- Zabbix实战-简易教程(5)--Proxy和Agent端(源码和yum方式)
		3.3.1 zabbix proxy安装(源码方式) 1.创建目录 mkdir -p /usr/local/zabbix 2.安装必要软件 yum install -y fping(若安装不成功) 或 ... 
随机推荐
- 33. Pay Gap for the Brightest Female Graduatea 最聪明的大学女毕业生面临的工资差距
			33. Pay Gap for the Brightest Female Graduatea 最聪明的大学女毕业生面临的工资差距 ① When young women were found to ma ... 
- Java生成HTML文件
			实例HTML文件<html> <head> <title>###title###</title> <meta http-equiv="C ... 
- UVa 10970 Big Chocolate (想一下就AC了)
			题意:给你一个m*n的巧克力,让人把它切成1*1的,但是每次只能切一下,问要切多少刀. 析:简单啊,我就不明白了 怎么那么多人TLE了,不会当DP做了吧,其实不用的. 假设有一个1*m的巧克力,很明显 ... 
- Codeforces801C Voltage Keepsake                                                                                            2017-04-19 00:26             109人阅读              评论(0)              收藏
			C. Voltage Keepsake time limit per test 2 seconds memory limit per test 256 megabytes input standard ... 
- Hdu2612 Find a way                                                                                            2017-01-18 14:52             59人阅读              评论(0)              收藏
			Find a way Time Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Su ... 
- lock wait timeout exceeded; try restarting transactio解决方案
			问题原因: 今天线上环境,突然出现一个问题,追踪原因是数据库中的一条语句报错,错误内容:lock wait timeout exceeded; try restarting transac ... 
- KNN和K-Means的区别
			KNN和K-Means的区别 KNN K-Means 1.KNN是分类算法 2.监督学习 3.喂给它的数据集是带label的数据,已经是完全正确的数据 1.K-Means是聚类算法 2.非监督学习 3 ... 
- oracle 游标实现多重循环
			declare -- Local variables here i integer; cursor c_province is select ds.swjg_dm from dm_swjg ds wh ... 
- Python学习-4.Python的模块加载(二)
			1.部分函数加载 from SameFolder import printSameFolder printSameFolder() 该代码指从SameFolder.py中加载printSameFold ... 
- Microsoft SQL Server 2012 管理 (2): Auditing
			-- Demostratin 2A (Using SQL Server Audit) -- Step 1: Use the master database USE master; GO -- Step ... 
