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

From Teknologisk videncenter
Jump to: navigation, search
Line 1: Line 1:
 
===Apt-cacher===
 
===Apt-cacher===
 +
Indtast apt-getinstall apt-cacher.
 +
 
Ændre i /etc/apt-cacher/apt-cacher.conf
 
Ændre i /etc/apt-cacher/apt-cacher.conf
 
<pre>
 
<pre>
Line 13: Line 15:
 
/etc/init.d/apt-cacher restart
 
/etc/init.d/apt-cacher restart
 
</pre>
 
</pre>
Vær opmærksom på at installations serveren hedder 10.1.2.100:3142/ubuntu/ nu
 

Revision as of 13:24, 23 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