For some of the Ubuntu installations I use netboot mini.iso from http://cdimage.ubuntu.com/netboot/ . This installation method includes the step of configuring proxy. It is very useful for me as I have Squid-Deb-Proxy configured in my network, so I can lower traffic usage by using it.
But I do not see such an option in Ubuntu Desktop graphical installers, for example for Ubuntu MATE. They use Ubiquity as a common. Is it possible to set APT proxy during installation for such installers?
Best Answer
According to the source code of Ubiquity it obtains the proxy settings from two sources:
org.gnome.system.proxy
)For Ubuntu MATE desktop installer one can use the following method:
mate-network-properties
Specify needed HTTP proxy:
and click Close.
Note: this step may be done from terminal by using the following commands
Launch Ubiquity installer by clicking on its Install Ubuntu MATE ... icon on desktop.
As the result you will get this proxy saved in
/etc/apt/apt.conf
as mini.iso does:For the more universal solution it is recommended to remove this file and use special avahi-based package
sudo apt-get install squid-deb-proxy-client
to access it by hostname.Note: this method may be adapted for other Ubuntu flavors, but I did not tested them.