Difference between revisions of "Apt-mirror"
| (No difference) | 
Revision as of 10:49, 10 January 2011
apt-mirror
1. Opzet
Opzetten centrale transparante mirror / cache voor packages om server en desktop installatie te faciliteren en te versnellen.
2. Uitwerking
Goede hulp bij installatie: http://www.howtoforge.com/debian-packages-proxy-with-apt-cacher en nog beter man apt-cacher
apt-cacher draait in standard mode. de proxy mode levert performance nadelen op vanwege de configuratie van hosts in /etc/hosts
Bekijk installatie: http://mirror.webhuis.nl:3142/apt-cacher Bekijk rapportage: http://mirror.webhuis.nl:3142/apt-cacher/report
apt-mirror server
1. Opzet
Opzetten centrale transparante mirror / cache voor packages met apt-cacher.
2. Uitwerking
Goede hulp bij installatie: http://www.howtoforge.com/debian-packages-proxy-with-apt-cacher en nog beter man apt-cacher
apt-get install apache2 apt-cacher
Configuratie apt-cacher.conf allowed_locations=ftp.nl.debian.org,security.debian.org,packages.webhuis.nl
Voor lenny is hieraan toegevoegd: volatile.debian.org
apt-cacher draait in standard mode
3. ToDo
apt-mirror client
#                                                                                                                                               
#  /etc/apt/sources.list                                                                                                                        
#                                                                                                                                               
                                                                                                                                                
                                                                                                                                                
#                                                                                                                                               
# etch                                                                                                                                          
#                                                                                                                                               
deb http://mirror.webhuis.nl:3142/ftp.nl.debian.org/debian etch main                                                                            
#deb http://ftp.nl.debian.org/debian etch main                                                                                                  
deb-src http://mirror.webhuis.nl:3142/ftp.nl.debian.org/debian etch main                                                                        
                                                                                                                                                
#deb http://yourcache.example.com:3142/ftp.au.debian.org/debian unstable main contrib non-free                                                  
                                                                                                                                                
deb http://mirror.webhuis.nl:3142/security.debian.org etch/updates main                                                                         
deb-src http://mirror.webhuis.nl:3142/security.debian.org/ etch/updates main contrib non-free                                                   
                                                                                                                                                
#                                                                                                                                               
#  Packages Webhuis                                                                                                                             
#                                                                                                                                               
deb     http://mirror.webhuis.nl:3142/packages.webhuis.nl/debian     etch non-free 
Terug naar: Webhuis Infrastructuur

