View Index by Level
RANDOM PAGE

SITE SEARCH

LOG
IN

SIGN UP

HELP

Raspberry Pi - APT Proxy


This is the AQA version closing after June 2019. Visit the the version for Eduqas instead.

To gain access to revision questions, please sign up and log in.

Non-Exam Extras

 a

Using apt-get with a Proxy Server

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