apt.conf----http::proxy
2006-09-05 13:41
253 查看
前些日子在师弟的电脑上 帮忙为Apt设置代理,在ubuntu的论坛上搜索了自己的帖子,然后照着做,发现上不了网。写法如下:
aquire::http::proxy"http://user:password@website:port";
今天在公司遇到同样的问题,开始以为是公司封了apt用的一些端口,又去对比了一下以前自己发的贴,因为字体设置的不好,看不清,于是把它拷到gedit里看,这才发现原来一直以来自己输错了,把下面正确的与上面错误的比较一下:
aquire::http::proxy "http://user:password@website:port";
发现问题了吗? 关键在于一个空格-------在proxy后面要有一个空格
aquire::http::proxy"http://user:password@website:port";
今天在公司遇到同样的问题,开始以为是公司封了apt用的一些端口,又去对比了一下以前自己发的贴,因为字体设置的不好,看不清,于是把它拷到gedit里看,这才发现原来一直以来自己输错了,把下面正确的与上面错误的比较一下:
aquire::http::proxy "http://user:password@website:port";
发现问题了吗? 关键在于一个空格-------在proxy后面要有一个空格
相关文章推荐
- apache2.conf找不到的问题,以及如何删除apt-get install apache2的apache
- socks5 proxy 转换 http proxy 的方法
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Reques
- apache里面http-vhost.conf文件设置环境变量
- 【备份】信工apache中有关http.conf的虚拟目录相关配置参考
- node+express+http-proxy-middleware代理转发
- httpclient设置proxy与proxyselector
- Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- linux下apache2.2.3+tomcat6.0的整合1(http_proxy)
- ssl,proxy;部分http部分https;80,443,8080;nginx+tomcat;
- Git的HTTP proxy设置方法
- Apache + tomcat 集群(http_proxy)
- apache 虚拟主机详细配置:http.conf配置详解
- Node.js配合node-http-proxy解决本地开发ajax跨域问题
- apt-proxy安装与配置服务器
- ubuntu取消http_proxy设置
- Nginx Http Proxy 代理服务器配置
- If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
- DSS Source Code Analyse (20) - HttpProxy
- JavaScript(XMLHttpRequest)跨域访问解决办法及安全性问题(附java写的proxy代码)