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

From Teknologisk videncenter
Jump to: navigation, search
 
Line 1: Line 1:
Se [[Weekend_Projekt_-_Test_Cluster#Apt-cacher]]
+
===Apt-cacher===
 +
Ændre i /etc/apt-cacher/apt-cacher.conf
 +
<pre>
 +
path_map = ubuntu de.archive.ubuntu.com/ubuntu; ubuntu-updates de.archive.ubuntu.com/ubuntu ; ubuntu-security security.ubuntu.com/ubuntu
 +
allowed_hosts=*
 +
</pre>
 +
Ændre i /etc/default/apt-cacher også:
 +
<pre>
 +
AUTOSTART=1
 +
</pre>
 +
Og genstart apt-cacher:
 +
<pre>
 +
/etc/init.d/apt-cacher restart
 +
</pre>
 +
Vær opmærksom på at installations serveren hedder 10.1.2.100:3142/ubuntu/ nu

Revision as of 13:20, 23 April 2012

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

Vær opmærksom på at installations serveren hedder 10.1.2.100:3142/ubuntu/ nu