前面有一篇子在Ubuntu8.10下假设FTP服务器的文章,发现在ubuntu10.04下竟然无法正常工作了,无语,这篇是在10.04下假设的示例.
通过xinetd已经无法成功了,因此使用standalone的方式
1: 安装
apt-get install tftpd-hpa
2: 配置
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/eric/tftp_boot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-l -c -s"
3:: 系统启动配置
通过安装rcconf在菜单中启用
sudo apt-get install sysv-rc-conf