[Bio-Linux] BioLinux/Ubuntu Package Manager Question

Tony Travis tony.travis at abdn.ac.uk
Tue Sep 17 05:26:00 EDT 2013


On 16/09/13 18:08, Dubay, Christopher wrote:
>> To whom it may concern:
>
>>
>
>> I had a question for you on the BioLinux/Ubuntu package manager.
>
>>
>
>> A few of our BioLinux VMs are behind a firewall that is not allowing
> the package manager to find updates to the system.
>
>>
>
>> What do you think would be the easiest way for us to get these VMs
> updated? We do have some machines that can access the Ubuntu and
> NEBC/NECR BioLinux repositories, so we could download the updates, but I
> don’t know enough Linux to know the best way to do this. Our IT staff
> gets nervous with using proxies, so a file transfer based method would
> be best.

Hi, Christopher.

The VM's should be using the host computer's NIC's to access the LAN.

Can you access the web from the host computer?

Check if an environment variable is set on the host:

  printenv http_proxy

If it is, use the same setting on your VM's:

  export http_proxy=http://myproxy.mydomain

Where myproxy.mydomain is the setting of http_proxy on the host OS.

To do this permanently, you need to configure APT to use a proxy. This
is how I do it for my workstation:

  vim /etc/apt/apt.conf.d/01proxy
  ...
  Acquire::http::Proxy "http://proxy.abdn.ac.uk:8080";
  ...

HTH,

  Tony.
--
Dr. A.J.Travis, University of Aberdeen, Institute of Biological and
Environmental Sciences, Cruickshank Building, St. Machar Drive, Aberdeen
AB24 3UU, Scotland, UK. tel +44(0)1224 272700, fax +44 (0)1224 272 396
http://www.abdn.ac.uk, mailto:tony.travis at abdn.ac.uk, skype:ajtravis




The University of Aberdeen is a charity registered in Scotland, No SC013683.



More information about the Bio-linux-list mailing list