Raspberry Pi - APT Proxy |
|
To gain access to revision questions, please sign up and log in.
a
These instructions are a quick and dirty hack to get up and running. To do it safely and properly, much Googling will be needed.
sudo nano /etc/apt/apt.conf
APT::GET::AllowUnauthenticated 1;
Acquire::http::proxy "http://domain\username:password@address:port/";
Acquire::https::proxy "http://domain\username:password@address:port/";
Acquire::ftp::proxy "http://domain\username:password@address:port/";
This is roughly what I have to enter. It's bad because my password can be discovered by looking inside the file.
APT::GET::AllowUnauthenticated 1;
Acquire::http::proxy "http://student\nbauers:thisisnotmypassword@10.6.100.10:8080/";
Acquire::https::proxy "http://student\nbauers:thisisnotmypassword@10.6.100.10:8080/";
Acquire::ftp::proxy "http://student\nbauers:thisisnotmypassword@10.6.100.10:8080/";
This file should be deleted immediately after use!
reviseOmatic V3 Contacts, ©, Cookies, Data Protection and Disclaimers Hosted at linode.com, London