In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. Installation (both client and server have to be installed)
Yum-y install rsync
two。 Install xinetd
Yum-y install xinetd
3. Modify xinetd configuration file
Modify / etc/xinetd.d/rsync to change disable = yes to disable = no
4. Create a rsync server profile / etc/rsyncd.conf
Vi / etc/rsyncd.conf
Uid = rootgid = rootport = 873hosts allow = 192.168.1.10hosts deny = * pid file = / var/run/rsyncd.pidlock file = / var/run/rsync.locklog file = / var/log/ rsyncd.log [DDsc] path = / usr/share/nginx/htmlcomment = rsync filesignore errorsread only = yeslist = no
5. Start RSYNC
Rsync-daemon
6. View startup status
Netstat-anpt | grep 873
7. Firewall on policy
Iptables-I INPUT-p tcp-- dport 873-j ACCEPT
Client:
Installation is the same as the server side, as long as you create an empty configuration file and start it.
Touch / etc/rsyncd.confrsync-- daemon
Start synchronization:
Synchronize the / usr/share/nginx/html directory of the server (192.168.1.100) to the local / usr/share/nginx/html on the client side
Rsync-vzrtopg-delete-progress 192.168.3.100::ddsc / usr/share/nginx/html/
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.