Skip to main content

Thread: apt-cacher on headnode of a cluster


i have problem apt-cacher.(apologies on debian system @ moment, need set on ubuntu well, thought i'll ask straight away). clear don't know networking/ clusters etc. know need apt-cacher working on head-node of 10 node cluster, facilitate updates , installation of software.
had managed work before, proxy got changed , can't work , don't know why.
here content of hosts file:
code:
27.0.0.1       localhost  128.243.xx.xxx  headnode.domain        headnode    # following lines desirable ipv6 capable hosts  ::1     localhost ip6-localhost ip6-loopback  fe00::0 ip6-localnet  ff00::0 ip6-mcastprefix  ff02::1 ip6-allnodes  ff02::2 ip6-allrouters  192.168.100.0 headnode.domain headnode    #beowulf nodes  192.168.100.1 node01  192.168.100.2 node02  192.168.100.3 node03  192.168.100.4 node04  192.168.100.5 node05  192.168.100.6 node06  192.168.100.7 node07  192.168.100.8 node08  192.168.100.9 node09  192.168.100.10 node10
then content of apt-cacher.conf file interesting bits, define proxy etc.
code:
# apt-cacher can pass requests external http proxy  # squid, useful if using isp blocks  # port 80 , requires web traffic go through proxy.  # format 'hostname:port', eg: 'proxy.example.com:8080'.  #http_proxy=wwwcache.domainname.xx.uk:3128 (<- old proxy)  http_proxy=mainproxy.domainname.xx.uk:8080    # use of external proxy can turned on or off flag.  # value should either 0 (off) or 1 (on).  use_proxy=1    # external http proxy need authentication full access.  # format 'username:password'.  #http_proxy_auth=proxyuser:proxypass    # use of external proxy authentication can turned on or off flag.  # value should either 0 (off) or 1 (on).  use_proxy_auth=0    # sets interface use upstream connection.  # specify interface name, ip address or host name.  # if unset, defaul route used.  #interface=
and pointing apt source list apt-cacher info this:
code:
deb http://headnode.domainname.xx.uk/apt-cacher/ftp.uk.debian.org/debian stable main contrib  deb http://headnode.domainname.xx.uk/apt-cacher/security.debian.org  stable/updates main contrib
output of sudo apt-get update:
code:
  hit http://headnode.domainname.xx.uk stable release.gpg  ign http://headnode.domainname.xx.uk stable/main translation-en_gb  .  .  .  .  reading package lists... done
or if want install this
sudo apt-get install hexedit
code:
reading package lists... done  building dependency tree         reading state information... done  following new packages installed    hexedit  0 upgraded, 1 newly installed, 0 remove , 14 not upgraded.  need 26.4kb of archives.  after operation, 106kb of additional disk space used.  get: 1 http://headnode.domainname.xx.uk stable/main hexedit 1.2.12-3 [26.4kb]
the carry on never downloaded.
think has dns ?!? appreciated, because don't know else look.

1. nslookup www.google.com work? not dns.
2. @ /etc/apt/apt.conf, because that's place proxy configured.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [all variants] apt-cacher on headnode of a cluster


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO