In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Experiment content: use SCP remote copy file to copy hosts file from one host to another host hosts and use DNS parsing
Experimental environment: two hosts, one host A (192.168.195.128) and the other host B (192.168.109.132)
1. Synchronize local files to other servers
Scp local synchronization file path user @ ip: remote server file path
[root@localhost ~] # scp / etc/hosts root@192.168.195.129:/etc/hosts synchronizes the local / etc/hosts file to the / etc/hosts of the server with IP 129
2. Synchronize each other's server files locally
Scp user @ ip: remote server file path local synchronization file path
[root@localhost ~] # scp root@192.168.195.128:/etc/hosts / etc/hosts synchronizes the / etc/hosts file from the server with IP 128to the local / etc/hosts
The scp remote replication experiment is completed.
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.