6 999
contributi
Nessun oggetto della modifica |
S3v (discussione | contributi) mNessun oggetto della modifica |
||
Riga 2: | Riga 2: | ||
# apt-get install debmirror apache2 | # apt-get install debmirror apache2 | ||
Mettete in < | Mettete in <code>/usr/local/bin</code> uno script chiamato "debmirror.script" come il seguente (da modificare in base alle esigenze): | ||
<pre> | <pre> | ||
Riga 33: | Riga 33: | ||
# ln -s etch testing | # ln -s etch testing | ||
Create un file chiamato < | Create un file chiamato <code>local-mirror</code> in <code>/etc/apache2/sites-available</code>: | ||
<pre> | <pre> | ||
Riga 55: | Riga 55: | ||
# /etc/init.d/apache2 restart | # /etc/init.d/apache2 restart | ||
Bene, ora in < | Bene, ora in <code>make-live.conf</code> potete usare: | ||
LIVE_MIRROR="http://localhost/debian/" | LIVE_MIRROR="http://localhost/debian/" | ||
e in < | e in <code>/etc/apt/sources.list</code>: | ||
deb http://localhost/debian/ sid main contrib non-free | deb http://localhost/debian/ sid main contrib non-free |
contributi