[Bio-Linux] BioLinux/Ubuntu Package Manager Question

Anthony Pemberton A.J.Pemberton at bham.ac.uk
Tue Sep 17 11:50:42 EDT 2013


Christopher,

Look into apt-mirror - there are a number of blogs and howtos on the web. Then you only need to update one system and update the rest from that,

Regards,

Tony P.


-----Original Message-----
From: bio-linux-bounces at nebclists.nerc.ac.uk [mailto:bio-linux-bounces at nebclists.nerc.ac.uk] On Behalf Of Dubay, Christopher
Sent: 17 September 2013 16:40
To: Bio-Linux help and discussion
Subject: Re: [Bio-Linux] BioLinux/Ubuntu Package Manager Question

Tony,

Thanks for the quick reply.

Unfortunately, no I can not access the required Web sites from the host, due to corporate firewall restrictions. I can ask for firewall pinholes for work related web access needs, however I would rather avoid this for every machine running a BioLinux instance.

I do have one machine with the needed pinholes in the firewall, and so the question really is: how can I replicate or share the updates from this machine with others without setting up some kind of proxy ( e.g. With my own update repository, or other method)?

Hope that is more clear. Thanks...

Christopher
________________________________________
From: bio-linux-bounces at nebclists.nerc.ac.uk [bio-linux-bounces at nebclists.nerc.ac.uk] on behalf of Tony Travis [tony.travis at abdn.ac.uk]
Sent: Tuesday, September 17, 2013 2:26 AM
To: bio-linux at nebclists.nerc.ac.uk
Subject: Re: [Bio-Linux] BioLinux/Ubuntu Package Manager Question

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.
_______________________________________________
Bio-Linux mailing list
Bio-Linux at nebclists.nerc.ac.uk
http://nebclists.nerc.ac.uk/mailman/listinfo/bio-linux


________________________________

This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.

_______________________________________________
Bio-Linux mailing list
Bio-Linux at nebclists.nerc.ac.uk
http://nebclists.nerc.ac.uk/mailman/listinfo/bio-linux



More information about the Bio-linux-list mailing list