Mirror de Debian Security Jessie - Electronik-Pro, Informatica, Noticas,Wordpress,Facebook,Hacking,Programas,Hosting,Dominios

Como ya ha habido varios usuarios que me han preguntado, aquí tenéis el script para crear el mirror de Debian Security para Jessie:
#!/bin/bash
#
# Este script crea el mirror de jessie y jessie-backports
# Esteban M. Navas Martín
# 05/06/2015
#
# Si creamos el mirror en el servidor ldap del centro con este script:
#
# Para usar el mirror de jessie en los clientes, ejecutamos en cada cliente:
# echo "deb http://ldap/jessie/security/ jessie/updates main contrib non-free" >> /etc/apt/sources.list
#

# Instalamos debmirror si no está instalado aún
dpkg -l|grep "ii debmirror" || apt-get update && apt-get -y install debmirror


## Debian jessie security
debmirror --debug \
--progress \
--verbose \
--diff=none \
--host=security.debian.org \
--root=debian-security \
--method=http \
--dist=jessie/updates \
--arch=i386,amd64 \
--nosource \
--section=main,contrib,non-free \
--getcontents \
--exclude='-dbg_' \
--ignore-release-gpg \
--ignore-missing-release \
--rsync-extra=none \
/var/www/jessie/security
https://copy.com/r4yK6IOXIRvBpTNa
Publicado por primera vez en http://enavas.blogspot.com.es
05 Jun 2015

0 comentarios:

Publicar un comentario

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Top