zoukankan      html  css  js  c++  java
  • nfs实现VM下的Ubuntu和arm板子共享文件

    nfs配置

    (以VM下的Ubuntu16.04 的 64Bit 系统为例子)

     

    1. 1.      在pc的Ubuntu中安装nfs服务

    sudo apt-get install nfs-kernel_server

     

    1. 2.      在pc中的Ubuntu中建立共享文件夹

    sudo mkdir /home/linux/arm/root

     

    1. 3.      在pc中的Ubuntu中配置/etv/exports

    sudo vi /etc/exports

    添加的配置如下:

    /home/linux/arm/root *(rw,sync,no_root_squash,no_subtree_check)

     

    1. 4.      在pc中的Ubuntu中重启nfs服务

    sudo /etc/init.d/rpcbind restart

    subo .etc.init.d/nfs-kernel-server restart

     

    1. 5.      arm板子上挂载服务器的nfs

    sudo mount -t nfs -o nolock 192.168.1.102:/home/linux/arm/root /arm

     

    192.168.1.102  ----> 主机的IP地址

    /home/linux/arm/root  ---->主机通过nfs共享的目录

    /arm  ----> arm板子的nfs共享目录

  • 相关阅读:
    VMware6.0-vCenter的安装准备及安装
    VeeamBackup9.5安装与配置
    VeeamOne(Free Edition 9.5 )-安装与配置
    UIDatePicker
    UIImagePicker照片选择器
    UIImageView
    UILabel
    UIScrollView 期本使用方法
    UISegment
    UISlide
  • 原文地址:https://www.cnblogs.com/Older-Driver-of-Newer/p/6773742.html
Copyright © 2011-2022 走看看