Difference between revisions of "Cluster der kan alt/apt-cacher installation"

From Teknologisk videncenter
Jump to: navigation, search
 
(Apt-cacher)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Se [[Weekend_Projekt_-_Test_Cluster#Apt-cacher]]
+
===Apt-cacher===
 +
Indtast apt-getinstall apt-cacher.
 +
 
 +
Æ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
 +
allowed_hosts=*
 +
</source>
 +
Ændre i /etc/default/apt-cacher også:
 +
<source lang=cli>
 +
AUTOSTART=1
 +
</source>
 +
Og genstart apt-cacher:
 +
<source lang=cli>
 +
/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