一垄青竹映陋室,半枝桃花衬碧窗.

Monday, August 20, 2007

How to setup up tftp and nfs environment on FC6

<#DocByCoryXie#>
This document describes the simple steps needed to setup tftp and nfs
environment for cross developemnt.
1.yum install tftp
2.yum install tftp-server
3.vi /etc/xinetd.d/tftp and change "disable = yes" to "disable = no"

# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
4./etc/rc.d/init.d/xinetd restart
5.vi /etx/exports
/opt/montavista/pro/devkit/arm/v5t_le/target *(rw,no_root_squash)
6./etc/rc.d/init.d/nfs restart
7.test tftp server,create a file in /tftpboot,then use
tftp to login to the server and get that file.
#tftp 10.136.4.40
#>get hello.txt
8.test NFS server,must use
#iptables -F
#mount -t nfs 10.136.4.40:/opt/montavista/pro/devkit/arm/v5t_le/target /mnt/cdrom
#cd /mnt/cdrom
#ls
<#/DocByCoryXie#>

0 Comments:

Post a Comment

<< Home