After fresh ubuntu 16.04 installation :
-
Open proxy settings and add proxy hostname and port to all fields. Click on "Apply system wide".
-
Install git and export no_proxy:
- Open a terminal
sudo apt install git
echo "export no_proxy=localhost,127.0.0.0/8,::1,127.0.0.1,10.14.97.240,local" | sudo tee -a /etc/environment