squid代理yum,docker,rpm
2016-10-17 17:32
267 查看
跳板机上设置
1、squid配置
$vi /etc/squid/squid.conf
设置
# And finally deny all other access to this proxy by benjen
http_access allow all
# Squid normally listens to port 3128
http_port 10.47.118.128:3128
启动
$service squid start
查看日志:
$cd /var/log/squid
2、客户机配置
$vi /etc/yum/conf
增加
proxy=http://10.47.118.128:3128
$vi /etc/profile
#set proxy
http_proxy=10.47.118.128:3128
https_proxy=10.47.118.128:3128
ftp_proxy=10.47.118.128:3128
export http_proxy https_proxy ftp_proxy
$source profile
1、squid配置
$vi /etc/squid/squid.conf
设置
# And finally deny all other access to this proxy by benjen
http_access allow all
# Squid normally listens to port 3128
http_port 10.47.118.128:3128
启动
$service squid start
查看日志:
$cd /var/log/squid
2、客户机配置
$vi /etc/yum/conf
增加
proxy=http://10.47.118.128:3128
$vi /etc/profile
#set proxy
http_proxy=10.47.118.128:3128
https_proxy=10.47.118.128:3128
ftp_proxy=10.47.118.128:3128
export http_proxy https_proxy ftp_proxy
$source profile
相关文章推荐
- squid和yum代理的设置
- Centos7.5安装docker(yum安装、rpm安装、脚本安装docker)
- Docker中YUM安装RPM包报错 Rpmdb checksum is invalid: dCDPT(pkg checksums): ...
- linux的rpm与yum命令的使用
- Linux中 RPM YUM RVM JEM的区别
- 第五天 应用代理SQUID
- yum and rpm 本地光盘 硬盘 安装
- yum安装rpm包时遇到“warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY”的解决办法:
- rpm、tar及yum使用详解
- HADOOP docker(五):hadoop用户代理 Proxy user
- Linux之保留yum安装软件后的RPM包
- Squid 反向代理的实现原理
- Fedora里rpm 和 yum的使用
- 利用Squid反向代理搭建CDN缓存服务器加快Web访问速度
- Linux 基础:软件安装(rpm,yum,源代码)
- squid反向代理安全控制
- yum更换国内源和下载rpm包及源码包安装
- Linux程序包管理--rpm和yum的原理和基本用法
- 更换yum源,yum下载rpm包
- Linux 之RPM和YUM包管理