Configuring for use from inside a proxy - hamstar/Braincase GitHub Wiki
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.
- Edit /etc/apt/apt.conf
- Add
Acquire::http::Proxy "http://<server>:<port>/";
to the file replacing<server>
with the server name and<port>
for the port number (likely 3128) - Edit /etc/bash.bashrc
- Add
export http_proxy=http://<username>:<password>@<server>:<port>/
to the file.
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>/