两台Centos7自己互相传递文件的方法(2021.08.14)

最近在部署计算机做大量运算,涉及到多台机器之间大量文件的传递。弄个移动硬盘,拷贝数据可能是速度最快的,能达到70~90MB/s。现在提供另一种办法,直接通过网络传递。

目标:从A计算机拷贝“/home/data/user1data/StormSurge/StormSurge_Output/data.rar”到B计算机“/home/data/user1data/”下,用scp命令可解决。

B计算机的ip:150.249.110.120。

首先,ping一下网络是否连通

[user1@localhost]$ ping 150.249.110.120

PING 150.249.110.120(150.249.110.120) 56(84) bytes of data.
64 bytes from 150.249.110.120: icmp_seq=1 ttl=64 time=1.96 ms
64 bytes from 150.249.110.120: icmp_seq=2 ttl=64 time=1.61 ms
64 bytes from 150.249.110.120: icmp_seq=3 ttl=64 time=2.45 ms
64 bytes from 150.249.110.120: icmp_seq=4 ttl=64 time=2.71 ms
64 bytes from 150.249.110.120: icmp_seq=5 ttl=64 time=2.89 ms

 

在A计算机终端中输入:

[user1@localhost]$ scp /home/data/user1data/StormSurge/StormSurge_Output/data.rar user1

@10.249.160.180:/home/data/user1data/

回车后提升输入user1@10.249.160.180的密码,输入后直接传递数据。速度11MB/s左右。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值