วันศุกร์ที่ 6 กันยายน พ.ศ. 2556

ติดตั้ง tftp server บน CentOS 6

Standard

yum install -y tftp-server
ไฟล์ config ของ  tftp-server อยู่ที่
vi /etc/xinetd.d/tftp 
ตัวอย่างไฟล์ config


folder จะต้อง chmod 755  /var/myuploadfile

chown nobody /var/myuploadfile


สั่ง start service
service xinetd start
เพิ่มให้ service auto start
chkconfig  xinetd on

หมายเหตุถ้าพบปัญหา
Sep  6 21:53:27 localhost in.tftpd[4706]: sending NAK (0, Permission denied) to 192.168.10.62
ให้ลอง
restorecon -Rv /var/myuploadfile

setenforce 0

chkconfig rsync on