Reference:

  1. https://www.server-world.info/en/note?os=Fedora_29&p=ftp&f=1
  2. https://www.hiroom2.com/2017/07/12/fedora-26-tftp-server-en/

 

FTP server

# dnf install vsftpd
# vi /etc/vsftpd/vsftpd.conf
# firewall-cmd --add-service=ftp --permanent
# firewall-cmd --add-port=21000-21010 --permanent
# firewall-cmd --reload

TFTP server

# dnf install tftp-server
# firewall-cmd --add-service=tftp --permanent
# man tftpd
# vi /usr/lib/systemd/system/tftp.service
ExecStart=/usr/sbin/in.tftpd -s /var/lib/tftpboot -c

創作者介紹
創作者 Slight Hayes 的頭像
小川拓海

Slight Hayes

小川拓海 發表在 痞客邦 留言(0) 人氣( 18 )