Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
settaggio di server rsync [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
darkice
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2008
Posts: 82
Location: in Salento

PostPosted: Thu Apr 09, 2009 6:40 pm    Post subject: settaggio di server rsync [risolto] Reply with quote

stavo seguendo questa guida

http://www.gentoo.org/doc/en/rsync.xml#local

quando vado a fare questa parte

Code:
Code Listing 2.3: Testing your mirror

(You may use the server name or its IP)
# rsync 192.168.0.1::
gentoo-portage     Gentoo Portage
# rsync your_server_name::gentoo-portage
(You should see the content of /usr/portage on your mirror)


non succede nulla, non appare nessuna scritta..

Code:
  # rsync 192.168.0.1::
           #                           


questo il rsyncd.conf del pc che deve fa da server

Code:
# cat /etc/rsyncd.conf
# /etc/rsyncd.conf

# Minimal configuration file for rsync daemon
# See rsync(1) and rsyncd.conf(5) man pages for help

# This line is required by the /etc/init.d/rsyncd script
pid file = /var/run/rsyncd.pid
use chroot = yes
read only = yes
uid = nobody
gid = nobody
address = 192.168.0.1
max connections = 5
hosts allow = 192.168.0.2/254
hosts deny = *

# Simple example for enabling your own local rsync server
#[gentoo-portage]
path = /usr/portage
comment =" Gentoo Portage tree on asus_vento "
exclude = /distfiles /packages


please help...voglio evitare che ogni volta che devo fare i sync dei due gentoo amd64, entrambe le volte venga fatto da internet...risparmio tempo e banda e aiuto in un certo senso la comunità a ottimizzare le risorse per tutti...
_________________
la farò quando avrò due secondi da buttare xD


Last edited by darkice on Sat Apr 11, 2009 4:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Thu Apr 09, 2009 6:50 pm    Post subject: Reply with quote

Code:
# /etc/rsyncd.conf

# Minimal configuration file for rsync daemon
# See rsync(1) and rsyncd.conf(5) man pages for help

# This line is required by the /etc/init.d/rsyncd script
pid file = /var/run/rsyncd.pid
use chroot = yes
read only = yes
max connections = 2
uid = nobody
gid = nobody

hosts allow = 192.168.0.0/24
host deny = *

# Simple example for enabling your own local rsync server
[gentoo-portage]
   path = /usr/portage
   comment = Gentoo Portage tree
   exclude = /distfiles /packages

Questo a me funziona benissimo
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
darkice
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2008
Posts: 82
Location: in Salento

PostPosted: Thu Apr 09, 2009 11:24 pm    Post subject: Reply with quote

Onip wrote:
Code:
# /etc/rsyncd.conf

# Minimal configuration file for rsync daemon
# See rsync(1) and rsyncd.conf(5) man pages for help

# This line is required by the /etc/init.d/rsyncd script
pid file = /var/run/rsyncd.pid
use chroot = yes
read only = yes
max connections = 2
uid = nobody
gid = nobody

hosts allow = 192.168.0.0/24
host deny = *

# Simple example for enabling your own local rsync server
[gentoo-portage]
   path = /usr/portage
   comment = Gentoo Portage tree
   exclude = /distfiles /packages

Questo a me funziona benissimo


ora ho l'rsyncd.conf praticamente uguale al tuo ma continua a comportarsi ugualmente in quel modo...
_________________
la farò quando avrò due secondi da buttare xD
Back to top
View user's profile Send private message
darkice
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2008
Posts: 82
Location: in Salento

PostPosted: Fri Apr 10, 2009 3:49 pm    Post subject: Reply with quote

ditemi se devo postare qualche configurazione o output per aiutare a capire cosa non va...
_________________
la farò quando avrò due secondi da buttare xD
Back to top
View user's profile Send private message
darkice
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2008
Posts: 82
Location: in Salento

PostPosted: Fri Apr 10, 2009 4:27 pm    Post subject: Reply with quote

ho risolto...non avevo decommentato il modulo tra parentesi quadre...non pensavo fosse importante...sorry
_________________
la farò quando avrò due secondi da buttare xD
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1415
Location: <ud|me|ts> - Italy

PostPosted: Fri Apr 10, 2009 4:31 pm    Post subject: Reply with quote

aggiungi il tag [RISOLTO] al titolo.
_________________
LP
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum