Step 1: We will use localhost for our machine to setup ftp server.
Step 2: Install vsftpd (very secure FTP daemon) package.
yum install -y vsftpd
Step 3: Start FTP Server when system on.
systemctl enable vsftpd.service
Step 4: Checking the status of ftp server
systemctl status vsftpd.service
Step 5: Configure vsftpd package. We will edit
/etc/vsftpd/vsftpd.conf
Change the line which contain anonymous_enable=NO to anonymous_enable=YES
This will give permit any one to access FTP server with authentication.
Change the following to YES
local_enable=YES
write_enable=YES
Step 6: Start FTP Server
systemctl start vsftpd.service
Step 7: Install FTP Client
yum install -y lftpd
Step 8: Connect ftp to localhost
lftp localhost
No comments:
Post a Comment