View Single Post
Old 04-12-2011, 03:42 AM   #1
zhende21
 
Posts: n/a
Default Microsoft Office Pro Plus 2010 In the windows syst

1. system atmosphere
】 【server
working programs: Windows Server 2003
Cwrsync Version: cwRsyncServer_4.0.4_Installer
Download:

IP: 192.168.11.six (corresponding to the exterior network IP for that 122 .***.***.***)
port: 873
】 【client
Working Program: CentOS release five.five
IP: 202 .***.***.***
sync command tools: rsync
accomplish functional】 【
the organization intranet windows system folder file synchronization for the exterior network server centos system specified folder
two. server-side installation and configuration
extract might be put in straight, I used to be put in in E: Program Files ICW directory
in E: Program Files ICW directory modify rsync.conf file
use chroot = ########
strict modes = untrue
hosts enable = 202 .***.***.*** 192.168.eleven.0/255.255.255.0
# hosts enable = *
hosts deny =*
log file = rsyncd.log
pid file = rsyncd.pid
# develop a password in the installation directory beneath the file, says picuser: icbuypicuser, in front of the auth people specify the person identify, followed by the code
secrets file = password
uid = 0
gid = 0
# Module definitions
# Bear in mind cygwin naming conventions: c: function will become / cygwin / c / operate
#
[pic]
# for that want to synchronize the directories, you need to add SvcwRsync the person study access
route = / cygdrive/c/pic2010
# read-only
read only = accurate
# is recorded in detail the transmission case
transfer logging = indeed
record = no
# specify a user title
auth consumers = picuser
# default port
port = 873 service within the windows start
RsyncServer
3. on the consumer rsync command to synchronize
the very first to use telnet command to watch the server-side port 873 is open
telnet 122 .***.***.*** 873 For anyone who is prompted the cwrsync
edition,Office Pro 2010, it indicates good results
rsync-az - password-file = / root / cwrsync.pwd picuser @ 122 .***.***.***:: pic / pic/2010 /
may also be frequently scheduled process in crontab
notice right here passwordv-file is saved on the client, the have to have to alter the permissions to 600
frequent errors
when making use of rsync service error,Microsoft Office 2010 Pro Plus, you could file viewing server rsync.log certain error message,Microsoft Office Pro Plus 2010, and follow the prompts to locate options, the following are widespread errors
1. @ ERROR: invalid uid 'or @ ERROR: invalid gid'
factors: the configuration file is not set uid and gid, or set of problems
remedy: set uid = 0
gid = 0
2. @ ERROR: auth failed on module xxxxx
rsync: connection unexpectedly closed (90 bytes read so far)
rsync error: error in rsync protocol information stream (code 12) at io.c (a hundred and fifty)
Trigger: That is because the password setting is incorrect,Microsoft Office 2007 Pro, can not log in efficiently,Buy Office 2010, make sure you examine again the password file server and client cwrsync.pwd file password is set, the next facet would be the same
answer: Make sure the password the identical
three.password file must not be other-accessible
continuing with out password file
Password:
reason: file permissions for the client whether cwrsync.pwd 600
four. @ ERROR: chdir failed
Trigger: the server-side file directory route set in query, but this check will also seem within the path that this prompted the Chinese
remedy: Check the file directory
for the reason that I want to synchronize the folder route to contain the Chinese C: Video Converter Acquisition Software package cn.hzshw.com pic 2010, in the windows system so I made a bat script, every single time the C: Video Converter Acquisition Software program cn.hzshw.com pic 2010 directory with the recently created folder to C: pic2010, the script piccopy.bat, and perform frequently scheduled duties
@ echo off
set DaysAgo = 1
set Nowadays =% date: ~ 6,1%% date: ~ eight,2%
set / a PassDays =% Today% -1
rd / Q / S c: pic2010 % PassDays%
md c: pic2010 % Today%
xcopy / c / e / h / r / k / y C: Video clip Converter Acquisition Software program cn.hzshw.com pic 2010 percent Today% c: pic2010 percent Today%
exit
  Reply With Quote

Sponsored Links