In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.