Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Operation instructions for FreeSwitch+Opensips cluster installation and configuration

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1.1.1 rsync installation

Both the server and the client need to install rsync

Installation commands:

Yum install rsync

1.1.2 rsync server configuration

Step 1: generate and edit the configuration file rsyncd.conf

# touch / etc/rsyncd.conf # generate the configuration file for rsync

# vi / etc/rsyncd.conf

The details are as follows (manual input is required):

Secrets file = / etc/rsyncd.secrets

Read only = yes

List = yes

Uid = root

Gid = root

Hosts allow = 10.3.4.219 # client IP address, separated by spaces

# hosts deny = 10.4.5.0Comp24

Use chroot = no

Max connections = 10

Log file = / var/log/rsyncd.log

Pid file = / var/run/rsyncd.pid

Lock file = / var/run/rsync.lock

Charset=GBK

[rsyncd]

Comment = pag's directory # add your own instructions

Path = / home/test # directories to be synchronized

Auth users = rsync # user used

Secrets file = / etc/rsyncd.secrets

Step 2: generate a verification file

# echo "rsync:rsync" > / etc/rsyncd.secrets (rsync:rsync is user and password in user:passwd format)

# chown root:root / etc/rsyncd.secrets

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report