Re: Quelqu'un a t-il déjà monté un serveur miroir?

2011-02-18 Par sujet Olivier PAVILLA


Le 18/02/2011 11:57, Alexandre Cartier a écrit :
> pour ne pas utiliser apt-mirror
> 
> http://doc.ubuntu-fr.org/tutoriel/creer_un_miroir_de_depot_local?s[]=apt&s[]=mirror
> 
> Tres simple à utiliser

J'avais essayé d'en monter un au moment des fêtes de fin d'année.
J'avais pas mal galéré sur la config. Et j'avais encore plus galéré pour
que les clients viennent y chercher les mises à jours.
J'ai trouvé deb-mirror qui me convient.


-- 

Olivier Pavilla << 仕事を探しています。求職中です。>>
S.C.I.R.C. Orléans (Bourgogne) - I.U.F.M. Centre-Val de Loire
72 Rue du Faubourg Bourgogne -45044 ORLEANS Cedex 1
Tel : 02-38-49-26-20 , mailto:olivier.pavilla@univ-ørleans.fr
http://blog.linux-squad.com - 僕の傑作です。




signature.asc
Description: OpenPGP digital signature
-- 
Liste de diffusion ubuntu-fr ubuntu-fr@lists.ubuntu.com
Pour s'abonner ou se désabonner : 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
Charte de la liste: http://doc.ubuntu-fr.org/groupes/ubuntu-fr-ml/charte

Re: Quelqu'un a t-il déjà monté un serveur miroir?

2011-02-18 Par sujet Alexandre Cartier
pour ne pas utiliser apt-mirror

http://doc.ubuntu-fr.org/tutoriel/creer_un_miroir_de_depot_local?s[]=apt&s[]=mirror

Tres simple à utiliser

Fiyorden

Le 18 février 2011 08:53, Snarf  a écrit :

> Le vendredi 18 février 2011 à 08:34, Olivier PAVILLA écrivait:
> > Bonjour.
> Hola
>
> > Quelqu'un a t-il déjà monté un serveur miroir?
> > J'en ai monté, mais mon problème, c'est que l'option "--method=rsync" ne
> > fonctionne pas.
> [SNIP]
>
> > Et je'ai ce message :
> > rsync: failed to connect to fr.archive.ubuntu.com: Network is
> > unreachable (101)
> > rsync error: error in socket IO (code 10) at clientserver.c(122)
> > [Receiver=3.0.7]
> > rsync: failed to connect to fr.archive.ubuntu.com: Network is
> > unreachable (101)
> > rsync error: error in socket IO (code 10) at clientserver.c(122)
> > [Receiver=3.0.7]
> Il te dit "en gros" qu'il n'a pas de chemin pour aller en rsync vers le
> serveur fr.archive.ubuntu.com. Rsync utilise le port 873 (tcp/udp)
>
> a priori un proxy HTTP classique n'est pas suffisant.
>
> > Si je fais la même commande avec --methode=http, ca passe.
> > Je ne comprends pas
> > debmirror -v --progress -m --passive --arch=i386,amd64
> > --dist=lenny,squeeze --nosource --method=http
> > --host=fr.archive.ubuntu.com --root=:ubuntu
> > --section=main,restricted,universe,multiverse --getcontents --cleanup
> > /var/mirror/ubuntu/ --proxy=http://:3128 --ignore-release-gpg
> Dans ce cas, ça passe, car, tu lui donne un proxy http accessible, et
> ton proxy lui accede a fr.archive.ubuntu.com.
>
> pas contre dans la doc de rsync :
>
>  cut here 
> You may establish the connection via a web proxy by setting the
> environment variable
>  RSYNC_PROXY to a hostname:port pair pointing to your web proxy.
>  Note that your web proxy's configuration must allow proxying to port
>  873.
>  cut here 
>
> voilou voilou
>
>
> Snarf
>
>
> --
> Chuck Norris sait où se trouve Ornicar
>
> --
> Liste de diffusion ubuntu-fr ubuntu-fr@lists.ubuntu.com
> Pour s'abonner ou se désabonner :
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
> Charte de la liste: http://doc.ubuntu-fr.org/groupes/ubuntu-fr-ml/charte
>
-- 
Liste de diffusion ubuntu-fr ubuntu-fr@lists.ubuntu.com
Pour s'abonner ou se désabonner : 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
Charte de la liste: http://doc.ubuntu-fr.org/groupes/ubuntu-fr-ml/charte

Re: Quelqu'un a t-il déjà monté un serveur miroir?

2011-02-18 Par sujet Snarf
Le vendredi 18 février 2011 à 08:34, Olivier PAVILLA écrivait:
> Bonjour.
Hola 

> Quelqu'un a t-il déjà monté un serveur miroir?
> J'en ai monté, mais mon problème, c'est que l'option "--method=rsync" ne
> fonctionne pas.
[SNIP]

> Et je'ai ce message :
> rsync: failed to connect to fr.archive.ubuntu.com: Network is
> unreachable (101)
> rsync error: error in socket IO (code 10) at clientserver.c(122)
> [Receiver=3.0.7]
> rsync: failed to connect to fr.archive.ubuntu.com: Network is
> unreachable (101)
> rsync error: error in socket IO (code 10) at clientserver.c(122)
> [Receiver=3.0.7]
Il te dit "en gros" qu'il n'a pas de chemin pour aller en rsync vers le
serveur fr.archive.ubuntu.com. Rsync utilise le port 873 (tcp/udp)

a priori un proxy HTTP classique n'est pas suffisant. 

> Si je fais la même commande avec --methode=http, ca passe.
> Je ne comprends pas
> debmirror -v --progress -m --passive --arch=i386,amd64
> --dist=lenny,squeeze --nosource --method=http
> --host=fr.archive.ubuntu.com --root=:ubuntu
> --section=main,restricted,universe,multiverse --getcontents --cleanup
> /var/mirror/ubuntu/ --proxy=http://:3128 --ignore-release-gpg
Dans ce cas, ça passe, car, tu lui donne un proxy http accessible, et
ton proxy lui accede a fr.archive.ubuntu.com.

pas contre dans la doc de rsync : 

 cut here 
You may establish the connection via a web proxy by setting the
environment variable
 RSYNC_PROXY to a hostname:port pair pointing to your web proxy. 
 Note that your web proxy's configuration must allow proxying to port
 873.
 cut here 

voilou voilou 


Snarf


-- 
Chuck Norris sait où se trouve Ornicar

-- 
Liste de diffusion ubuntu-fr ubuntu-fr@lists.ubuntu.com
Pour s'abonner ou se désabonner : 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
Charte de la liste: http://doc.ubuntu-fr.org/groupes/ubuntu-fr-ml/charte


Re: Quelqu'un a t-il déjà monté un serveur miroir?

2011-02-18 Par sujet Olivier PAVILLA


Le 18/02/2011 08:59, Snarf a écrit :
> Le vendredi 18 février 2011 à 08:34, Olivier PAVILLA écrivait:
>> Bonjour.
> Hola 
> 
>> Quelqu'un a t-il déjà monté un serveur miroir?
>> J'en ai monté, mais mon problème, c'est que l'option "--method=rsync" ne
>> fonctionne pas.
> [SNIP]
> 
>> Et je'ai ce message :
>> rsync: failed to connect to fr.archive.ubuntu.com: Network is
>> unreachable (101)
>> rsync error: error in socket IO (code 10) at clientserver.c(122)
>> [Receiver=3.0.7]
>> rsync: failed to connect to fr.archive.ubuntu.com: Network is
>> unreachable (101)
>> rsync error: error in socket IO (code 10) at clientserver.c(122)
>> [Receiver=3.0.7]
> Il te dit "en gros" qu'il n'a pas de chemin pour aller en rsync vers le
> serveur fr.archive.ubuntu.com. Rsync utilise le port 873 (tcp/udp)
> 
> a priori un proxy HTTP classique n'est pas suffisant. 
> 
>> Si je fais la même commande avec --methode=http, ca passe.
>> Je ne comprends pas
>> debmirror -v --progress -m --passive --arch=i386,amd64
>> --dist=lenny,squeeze --nosource --method=http
>> --host=fr.archive.ubuntu.com --root=:ubuntu
>> --section=main,restricted,universe,multiverse --getcontents --cleanup
>> /var/mirror/ubuntu/ --proxy=http://:3128 --ignore-release-gpg
> Dans ce cas, ça passe, car, tu lui donne un proxy http accessible, et
> ton proxy lui accede a fr.archive.ubuntu.com.
> 
> pas contre dans la doc de rsync : 
> 
>  cut here 
> You may establish the connection via a web proxy by setting the
> environment variable
>  RSYNC_PROXY to a hostname:port pair pointing to your web proxy. 
>  Note that your web proxy's configuration must allow proxying to port
>  873.
>  cut here 
> 
> voilou voilou 
> 

Super!
En effet, le proxy ne laisse pas passer le port 873.
Faut que je fasse faire une modif par l'admin réseau.

Merci beaucoup


-- 

Olivier Pavilla << 仕事を探しています。求職中です。>>
S.C.I.R.C. Orléans (Bourgogne) - I.U.F.M. Centre-Val de Loire
72 Rue du Faubourg Bourgogne -45044 ORLEANS Cedex 1
Tel : 02-38-49-26-20 , mailto:olivier.pavilla@univ-ørleans.fr
http://blog.linux-squad.com - 僕の傑作です。




signature.asc
Description: OpenPGP digital signature
-- 
Liste de diffusion ubuntu-fr ubuntu-fr@lists.ubuntu.com
Pour s'abonner ou se désabonner : 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
Charte de la liste: http://doc.ubuntu-fr.org/groupes/ubuntu-fr-ml/charte

Re: Quelqu'un a t-il déjà monté un serveur miroir?

2011-02-18 Par sujet Cédric Dupont
> Quelqu'un a t-il déjà monté un serveur miroir?
> J'en ai monté, mais mon problème, c'est que l'option "--method=rsync" ne
> fonctionne pas.
> Et je'ai ce message :
> rsync: failed to connect to fr.archive.ubuntu.com: Network is
> unreachable (101)


> Si je fais la même commande avec --methode=http, ca passe.

Les ports http sont souvent ouverts ou configurés avec proxy, là où le
TCP 873 a plutôt tendance à être verrouillé vers l'extérieur.
A vérifier, si c'est bien le port rsync qui bloque vaut peut être
mieux rester en http que d'ouvrir un tuyau pour un rsync.

Cédric

-- 
Liste de diffusion ubuntu-fr ubuntu-fr@lists.ubuntu.com
Pour s'abonner ou se désabonner : 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
Charte de la liste: http://doc.ubuntu-fr.org/groupes/ubuntu-fr-ml/charte


Re: Quelqu'un a t-il déjà monté un serveur miroir?

2011-02-17 Par sujet Snarf
Le vendredi 18 février 2011 à 08:34, Olivier PAVILLA écrivait:
> Bonjour.
Hola 

> Quelqu'un a t-il déjà monté un serveur miroir?
> J'en ai monté, mais mon problème, c'est que l'option "--method=rsync" ne
> fonctionne pas.
[SNIP]

> Et je'ai ce message :
> rsync: failed to connect to fr.archive.ubuntu.com: Network is
> unreachable (101)
> rsync error: error in socket IO (code 10) at clientserver.c(122)
> [Receiver=3.0.7]
> rsync: failed to connect to fr.archive.ubuntu.com: Network is
> unreachable (101)
> rsync error: error in socket IO (code 10) at clientserver.c(122)
> [Receiver=3.0.7]
Il te dit "en gros" qu'il n'a pas de chemin pour aller en rsync vers le
serveur fr.archive.ubuntu.com. Rsync utilise le port 873 (tcp/udp)

a priori un proxy HTTP classique n'est pas suffisant. 

> Si je fais la même commande avec --methode=http, ca passe.
> Je ne comprends pas
> debmirror -v --progress -m --passive --arch=i386,amd64
> --dist=lenny,squeeze --nosource --method=http
> --host=fr.archive.ubuntu.com --root=:ubuntu
> --section=main,restricted,universe,multiverse --getcontents --cleanup
> /var/mirror/ubuntu/ --proxy=http://:3128 --ignore-release-gpg
Dans ce cas, ça passe, car, tu lui donne un proxy http accessible, et
ton proxy lui accede a fr.archive.ubuntu.com.

pas contre dans la doc de rsync : 

 cut here 
You may establish the connection via a web proxy by setting the
environment variable
 RSYNC_PROXY to a hostname:port pair pointing to your web proxy. 
 Note that your web proxy's configuration must allow proxying to port
 873.
 cut here 

voilou voilou 


Snarf


-- 
Chuck Norris sait où se trouve Ornicar

-- 
Liste de diffusion ubuntu-fr ubuntu-fr@lists.ubuntu.com
Pour s'abonner ou se désabonner : 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
Charte de la liste: http://doc.ubuntu-fr.org/groupes/ubuntu-fr-ml/charte