-
Notifications
You must be signed in to change notification settings - Fork 0
Proxy Setting Wiki
proxy for git: git config --global http.proxy prox.d.com:80
if git cannot get through proxy: git config --global url."https://".insteadOf git://
svn proxy configuration file: ~/.subversion/servers
[global]
http-proxy-host = ip.add.re.ss
http-proxy-port = 3128
http-proxy-compression = no
apt-get proxy setting:
sudo gedit /etc/apt/apt.conf
Acquire::http::Proxy "http://yourproxyaddress:proxyport";
proxy setting for R:
Sys.setenv(http_proxy="http://staff-proxy.ul.ie:8080")
Sys.getenv("http_proxy")
proxy setting for maven:
export MAVEN_OPTS="-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=$PORT"
proxy setting for pip:
export https_proxy=http://web-proxy.mydomain.com
sudo -E pip install somepackage
export http_proxy=http://prox.d.com:80
export https_proxy=http://prox.d.com:80
sudo -E pip install --proxy=http://server.name:port
proxy for matlab:
On the Home tab, in the Environment section, click Preferences. Select MATLAB > Web.
Select the Use a proxy server to connect to the Internet check box.
Specify values for Proxy host and Proxy port. ...
Click OK to accept the changes.
proxy for java:
java -Dhttp.proxyHost=webcache.example.com -Dhttp.proxyPort=8080
or
System.setProperty("http.proxyHost", "webcache.example.com");
System.setProperty("http.proxyPort", "8080")
ubuntu
sudo dpkg -i cloud-init_0.5.15-0ubuntu3~ppa1_all.deb
- sudo rm /var/lib/cloud/sem/config-apt-update-upgrade.*
- sudo reboot
on next boot, your /etc/apt/sources.list should have archive.ubuntu.com in it. If it does not, try 'rm -Rf /var/lib/cloud' and boot again.
sudo gedit /etc/hosts