If you need to add proxy of your network in a reboot-persistent way, edit:
sudo vim /etc/environment
Press i
and after the row with PATH variable insert:
http_proxy=http://<proxy_server>:<port>/
https_proxy=http://<proxy_server>:<port>/
ftp_proxy=http://<proxy_server>:<port>/
Then press ESC
, enter :
and write wq!
for save and exit from vim.
If you need to use wget, add the same three rows to (eventually uncommenting them inside the file):
sudo vim /etc/wgetrc