Network Installation Linux (3) – TFTP Server

TFTP is a trivial FTP, which is special for transfer images via UDP. If you don’t have it, you can simply “yum -y install tftp“. If you have already installed xined, then it comes with tftpd.

First, you need to configure tftp.

vi /etc/xinetd.d/tftp
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s -c /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}

To enable TFTP server, set “disable = no”. The default “server_args” is “-s”, which means you can download images from the server. But I like add “-c” option, which means you can upload images to the server as well. The TFTP root directory is “/tftpboot”. All image files will be stored under this directory.

Then, you can reboot xined

service xined restart

Discussion Area - Leave a Comment




Spam Protection by WP-SpamFree Plugin