Basic tutorial on FTP and TFTP service configuration under Linux

  
 

FTP and TFTP are the file transfer protocols we use very often. In Linux, the sftp protocol is used as the default link protocol due to its security advantages. However, in some cases, we still need to use ftp and tftp protocol for file transfer. This article mainly introduces the configuration method for friends in need to check.


1. Environment Preparation


We chose the Linux 2.6 kernel for testing.


[root@SimpleLinuxUp ~]# uname -r

2.6.18-128.el5


current OS operation In level 3 mode.


[root@SimpleLinuxUp ~]# grep init /etc/inittab

# inittab This file describes how the INIT process should set up

# 0 – halt (Do NOT set initdefault to this)

# 6 – reboot (Do NOT set initdefault to this)

id:3:initdefault:

# System initialization.

si::sysinit:/etc/rc.d/rc.sysinit


By default, the tftp server package is installed, and FTP The server is not installed.


[root@SimpleLinuxUp Server]# rpm -qa

Copyright © Windows knowledge All Rights Reserved