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:
then content of apt-cacher.conf file interesting bits, define proxy etc.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
and pointing apt source list apt-cacher info this: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=
output of sudo apt-get update: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
or if want install thiscode:hit http://headnode.domainname.xx.uk stable release.gpg ign http://headnode.domainname.xx.uk stable/main translation-en_gb . . . . reading package lists... done
sudo apt-get install hexedit
the carry on never downloaded.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]
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
Post a Comment