尝试了这几种方式, sftp是成功的。 其他两个有点问题

SFTP, nfs, tftp


注意: 虚拟机网络设置要配置成bridged模式



sftp

sftp在树莓派默认是打开的, 在windows host上使用WinSCP. 




tftp 

open TFTP Server

https://sourceforge.net/projects/tftp-server/?source=typ_redirect



nfs

linux 虚拟机作为server. 但是在树莓派上 nfs-common 有如下的问题,没有解决

root@raspberrypi:/home/pi# sudo service nfs-common start
Failed to start nfs-common.service: Unit nfs-common.service is masked.
root@raspberrypi:/home/pi# sudo systemctl unmask nfs-common
root@raspberrypi:/home/pi# sudo service nfs-common start
Failed to start nfs-common.service: Unit nfs-common.service is masked.


参考:

https://blog.csdn.net/messidona11/article/details/71514265?locationNum=6&fps=1


Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐