system wide proxy ubuntu linux —
In the end of file /etc/bash.bashrc :
# nano /etc/bash.bashrc
export http_proxy=http://192.168.241.4:63128/
export https_proxy=http://192.168.241.4:63128/
export ftp_proxy=http://192.168.241.4:63128/
In the end of file :
# nano /etc/environment
JAVA_HOME=”/usr/lib/jvm/java-8-oracle”
JRE_HOME=”/usr/lib/jvm/java-8-oracle/jre”
export http_proxy=http://192.168.241.4:63128/
export https_proxy=http://192.168.241.4:63128/
export ftp_proxy=http://192.168.241.4:63128/
In the end of file(if file not exist create one) /etc/apt/apt.conf:
# nano /etc/apt/apt.conf
Acquire::http::Proxy “http://192.168.241.4:63128”;
Acquire::https::Proxy “http://192.168.241.4:63128”;
Acquire::ftp::Proxy “http://192.168.241.4:63128”;
Categorised as: Linux
Comments are disabled on this post