Spark(十一)【SparkSQL的基本使用】

时间:2020-08-07 21:45:52   收藏:0   阅读:79

1,apt
创建:/etc/apt/apt.conf.d/proxy.conf
内容:

Acquire::http::Proxy "http://username:password@ip地址或网址:8080/";
Acquire::https::Proxy "http://username:password@ip地址或网址:8080/";

2,emacs

(setq url-proxy-services
   ‘(("http" . "ip地址或网址:8080")
     ("https" . "ip地址或网址:8080")
     ))

(setq package-archives ‘(("gnu"   . "http://mirrors.tuna.tsinghua.edu.cn/elpa/gnu/")
                         ("melpa" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/")))
(package-initialize)

3,git
在用户的根目录,创建:.gitconfig
内容:

[http]
	proxy = http://username:passwordl@ip地址或端口:8080
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!