Difference between revisions of "Cluster der kan alt/apt-cacher installation"
From Teknologisk videncenter
(→Apt-cacher) |
|||
Line 3: | Line 3: | ||
Ændre i /etc/apt-cacher/apt-cacher.conf | Ændre i /etc/apt-cacher/apt-cacher.conf | ||
− | < | + | <source lang=cli> |
path_map = ubuntu de.archive.ubuntu.com/ubuntu; ubuntu-updates de.archive.ubuntu.com/ubuntu ; ubuntu-security security.ubuntu.com/ubuntu | path_map = ubuntu de.archive.ubuntu.com/ubuntu; ubuntu-updates de.archive.ubuntu.com/ubuntu ; ubuntu-security security.ubuntu.com/ubuntu | ||
allowed_hosts=* | allowed_hosts=* | ||
− | </ | + | </source> |
Ændre i /etc/default/apt-cacher også: | Ændre i /etc/default/apt-cacher også: | ||
− | < | + | <source lang=cli> |
AUTOSTART=1 | AUTOSTART=1 | ||
− | </ | + | </source> |
Og genstart apt-cacher: | Og genstart apt-cacher: | ||
− | < | + | <source lang=cli> |
/etc/init.d/apt-cacher restart | /etc/init.d/apt-cacher restart | ||
− | </ | + | </source> |
+ | {{Source cli}} | ||
+ | [[Category:Cluster]][[Category:Ubuntu]] |
Latest revision as of 08:52, 25 April 2012
Apt-cacher
Indtast apt-getinstall apt-cacher.
Ændre i /etc/apt-cacher/apt-cacher.conf
path_map = ubuntu de.archive.ubuntu.com/ubuntu; ubuntu-updates de.archive.ubuntu.com/ubuntu ; ubuntu-security security.ubuntu.com/ubuntu
allowed_hosts=*
Ændre i /etc/default/apt-cacher også:
AUTOSTART=1
Og genstart apt-cacher:
/etc/init.d/apt-cacher restart