Configuring for use from inside a proxy - hamstar/Braincase GitHub Wiki

Back to User documentation

In case Braincase needs to be run from inside a corporate or university network you may need to setup a proxy. You may also want to change the default email settings to be a server on your network if you want mail sending to work.

  1. Edit /etc/apt/apt.conf
  2. Add Acquire::http::Proxy "http://<server>:<port>/"; to the file replacing <server> with the server name and <port> for the port number (likely 3128)
  3. Edit /etc/bash.bashrc
  4. Add export http_proxy=http://<username>:<password>@<server>:<port>/ to the file.

For example

The proxy http://cache.aut.ac.nz:3128/ would need these edits:

#/etc/apt/apt.conf

Acquire::http::Proxy "http://cache.aut.ac.nz:3128/";
#/etc/bash.bashrc

export http_proxy=http://cache.aut.ac.nz:3128/

# if your proxy needs/accepts this kind of authentication
#export http_proxy=http://fred:skeletor@<server>:<port>/
⚠️ **GitHub.com Fallback** ⚠️