Saturday, June 30, 2012

Setting up rsync on Solaris 10 Sparc

Down the following packages from
http://www.sunfreeware.com/indexsparc10.html
rsync-3.0.7-sol10-sparc-local.gz
Dependencies
popt-1.14-sol10-sparc-local.gz
libiconv-1.13.1-sol10-sparc-local.gz
libgcc-3.4.6-sol10-sparc-local.gz
libintl-3.4.0-sol10-sparc-local.gz
Install the packages using
Pkgadd -d
To check the packages installed
pkginfo -l SMCliconv
pkginfo -l SMCrsync
To remove packages
pkgrm SMCrsync
once the packages are installed
Create a  rsyncd.conf  and  rsync.passwd file in /etc


01#rsyncd.conf
02 
03gid = users
04read only = true
05use chroot = true
06transfer logging = true
07log format = %h %o %f %l %b
08log file = /var/log/rsyncd.log
09hosts allow = 10.2.0.0/24
10auth users = root,suroot
11motd file = /etc/rsyncd.motd
12secrets file = /etc/rsyncd.secrets
13 
14[control]
15path = /opt/sysman/control
16comment = sysman control
17read only = false
18uid = 0
19gid = 0
20 
21  
#rsync.passwd 
sync
Start the rsync daemon

# rsync --daemon     

No comments:

Post a Comment