Setting up an FTP server
As we know, multiple clients need a file exchange, and one of the common services that allows an easy and fast file exchange is the FTP technologies. In this section, we will talk about how to set up an FTP server to help transfer data between two machines in the same network or from different networks.
First, we need to install an FTP server using the default package manager:
$ sudo yum install vsftpd ftp
After having the server installed, we can start the configuration by editing the VSFTPD
configuration file:
$ sudo nano /etc/vsftpd/vsftpd.conf
We need to find the following lines and change them as shown:
anonymous_enable=NO # Disable anonymous login ftpd_banner=Welcome to The Packt FTP Service. # Banner message use_localtime=YES ...
Get Mastering CentOS 7 Linux Server now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.