查看“MY-I.MX6 TFTP & NFS 环境搭建”的源代码
←
MY-I.MX6 TFTP & NFS 环境搭建
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
===TFTP环境搭建:=== (1) Setup tftp server files (下载并安装tftp)<br> <span style="background:yellow">$ sudo apt-get install tftpd tftp openbsd-inetd<br></span> <br> (2) make a tftp directory (新建tftp目录和改变其属性)<br> Here we make /home/myzr/tftpt be a tftp directory.<br> <span style="background:yellow">$ mkdir /home/myzr/tftp<br></span> <span style="background:yellow">$ chmod 777 /home/myzr/tftp<br></span> <br> (3) Open /etc/inetd.conf and edit it (修改配置文件的tftp目录)<br> <span style="background:yellow">$ sudo gedit /etc/inetd.conf<br></span> Coment this line :<br> #tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp<br> Add new line:<br> tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /home/myzr/tftp<br> <br> (4)Restarting tftp service (重启tftp)<br> <span style="background:yellow">$ sudo /etc/init.d/openbsd-inetd restart<br></span> <br> ===NFS环境搭建: === (1) Install NFS server package (下载并安装nfs)<br> <span style="background:yellow">$ sudo apt-get install nfs-kernel-server<br></span> <br> (2) Create NFS directory:/home/myzr/nfsroot (新建nfs目录)<br> <span style="background:yellow">$ mkdir /home/myzr/nfsroot<br></span> <br> (3) Configure mounted directory and authority (修改配置文件的nfs目录)<br> <span style="background:yellow">$ sudo gedit /etc/exports<br></span> Add the following line at the end of the file:<br> /home/myzr/nfsroot *(rw,sync,no_root_squash)<br> <br> (4) Restart the NFS service (重启nfs)<br> <span style="background:yellow">$ sudo /etc/init.d/portmap restart<br></span> <span style="background:yellow">$ sudo /etc/init.d/nfs-kernel-server restart<br></span>
返回至
MY-I.MX6 TFTP & NFS 环境搭建
。
导航菜单
个人工具
登录
命名空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
[-_-]
NXP平台:
MYZR-IMX6-EK200
MYZR-IMX6-EK200(EN)
MYZR-IMX6-EK314
MYZR-IMX6-EK314(EN)
MYZR-IMX6-EK336
MYZR-IMX6-EK336(EN)
MYZR-IMX6-EK140
MYZR-IMX6-EK140(EN)
MYZR-IMX6-EK140P
MYZR-IMX6-EK140P(EN)
MYZR-IMX8M-EK300
MYZR-IMX8M-EK300(EN)
MYZR-IMX8M-EVK
MYZR-IMX8Mmini-EK240
MYZR-IMX8Mmini-EK240(EN)
MYZR-IMX28-EK142
MYZR-IMX28-EK142(EN)
MYZR-LS1012A-EK200
MYZR-LS1012A-EK200(EN)
Rockchip平台:
MYZR-RK3288-EK314
MYZR-RK3288-EK314(EN)
MYZR-RK3399-EK314
MYZR-RK3399-EK314(EN)
Allwinner平台:
MYZR-R16-EK166
MYZR-R16-EK166(EN)
Microchip平台:
MYZR-SAMA5-EK200
MYZR-SAMA5-EK200(EN)
网关产品:
GW200
GW300
GW310/GW311
ST平台:
MYZR-STM32-EK152
所有页面
工具
链入页面
相关更改
特殊页面
页面信息