Skip to content

Commit e235762

Browse files
DeepAnchorjameswpm
authored andcommitted
Fix grammar and translations in section "rsync installation" in 12.4.md
1 parent d75218d commit e235762

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

en/12.4.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ But what about the cases where we did not backup our data to a cloud service, or
1212
1313
### Rsync installation
1414

15-
You can find the latest version of rsync from its [official website](http://rsync.samba.org/can). Of course, because rsync is very useful software, many Linux distributions will include already have included it by default.
15+
You can find the latest version of rsync from its [official website](http://rsync.samba.org/can). Of course, because rsync is very useful software, many Linux distributions will already have it installed by default.
1616

1717
Package Installation:
1818

@@ -30,32 +30,35 @@ For the other Linux distributions, please use the appropriate package management
3030
3131
<blockquote>Note: Before using source packages compiled and installed, you have to install gcc compiler tools such as job</blockquote>
3232

33-
### Rsync Configure
33+
### Rsync Configuration
3434

35-
rsync mainly in the following three configuration files rsyncd.conf( main configuration file ), rsyncd.secrets( password file ), rsyncd.motd(rysnc server information ).
35+
Rsync can be configured from three main configuration files: `rsyncd.conf` which is the main configuration file, `rsyncd.secrets` which holds passwords and `rsyncd.motd`, which contains server information.
36+
37+
You can refer to the documentation on rsync's official website for a more detailed explanation, but here we will just introduce the basics of setting up rsync on your servers.
3638

3739
Several documents about this configuration we can refer to the official website or other websites rsync introduction, here the server and client how to open
3840

3941
- Services client opens:
42+
- Starting an rsync daemon server-side:
4043

4144
`# /usr/bin/rsync --daemon --config=/etc/rsyncd.conf`
4245

43-
- daemon parameter approach is to run rsync in server mode. Join the rsync boot
46+
- the `--daemon` parameter is for running rsync in server mode. Make this the default boot-time setting by joining it to the `rc.local` file:
4447

45-
`echo 'rsync - daemon' >> /etc/rc.d/rc.local`
48+
`echo 'rsync --daemon' >> /etc/rc.d/rc.local`
4649

47-
Set rsync password
50+
Setup an rsync username and password, making sure that it's owned only by root, so that local unauthorized users or exploits do not have access to it. If these permissions are not set correctly, rsync may not boot:
4851

4952
echo 'Your Username: Your Password' > /etc/rsyncd.secrets
5053
chmod 600 /etc/rsyncd.secrets
5154

5255
- Client synchronization:
5356

54-
Clients can use the following command to synchronize the files on the server:
57+
Clients can synchronize servers files with the following command:
5558

5659
rsync -avzP --delete --password-file=rsyncd.secrets [email protected]::www/var/rsync/backup
5760

58-
This command, briefly explain a few points:
61+
Let's break this command down into a few key points:
5962

6063
1. `-avzP` is what the reader can use the `-help` Show
6164
2. `-delete` for example A, deleted a file, the time synchronization, B will automatically delete the corresponding files

0 commit comments

Comments
 (0)