zoukankan      html  css  js  c++  java
  • [国嵌笔记][010][TFTP与NFS服务器配置]

    交叉开发

    嵌入式软件产生的平台称为宿主机,运行嵌入式软件的平台称为目标机

    宿主机一般通过串口、网络、USB、JTAG等方式将软件下载到目标机

     

    网络下载

    一般有TFTP和NFS两种方式

     

    tftp服务器

    1.安装tftp服务器  

      rpm -ivh /mnt/Packages/xinetd-.rpm  

      rmp -ivh /mnt/Packages/tftp-server-.rpm

    2.配置tftp服务器  

      vim /etc/xinetd.d/tftp  

      server_args = -s /home/tftp tftp服务器的主目录  

      disable = no 不使能tftp服务器选项

    3.重启tftp服务  

      /etc/init.d/xinetd restart

    4.测试tftp服务  

      关闭selinux安全模块和防火墙  

      setenforce permissive  

      /etc/init.d/iptables stop

     

    NFS服务器

    NFS网络文件系统,为两台Linux主机之间的通信,提供类似于Windows上的共享目录的服务。

    1.配置NFS服务器  

      vim /etc/exports  

      /home *(rw,sync,no_root_squash)   

        /home:共享的目录   

        *    :允许访问共享目录的主机IP   

        ()   :访问权限。rw,可读可写;sync,同步写回;no_root_squash,root用户访问时拥有root权限。

    2.启动NFS服务器  

      /etc/init.d/nfs restart  

  • 相关阅读:
    求概率 Bag of mice CodeForces
    HDU 3853 LOOPS(概率DP)
    HDU 4405 Aeroplane chess (概率DP & 期望)
    求期望 ZOJ 3329 One Person Game
    poj 3774 Scout YYF I (矩阵优化的概率DP)
    codeforces 600D Area of Two Circles' Intersection
    codeforces 600A Extract Numbers
    codeforces 600C Make Palindrome
    POJ
    POJ
  • 原文地址:https://www.cnblogs.com/d442130165/p/4876468.html
Copyright © 2011-2022 走看看