Step 1: As with any new server, it’s always important to ensure your system is up to date. so you can use the following command to update it.

Step 2: Next you need to install VSFTPD on your virtual private server in the command line. And install the FTP client also.

Step 3: Once VSFTPD installed successfully, we need to edit the configuration file, find the following command to edit the ftp configuration.

Disallow anonymous unidentified users to access files via FTP; change the anonymous_enable setting to NO:
anonymous_enable= NO
Allow local uses to login by changing the local_enable setting to YES:
local_enable=YES
If you want local user to be able to write to a directory, then change the write_enable setting to YES:
write_enable=YES
When this line chroot_local_user is set to yes. all the local users will be jailed within their chroot and will be denied access to any other part of the server
chroot_local_user=YES
Finally save and exit the file with the following command :wq
Step 4: Restart the VSFTPD service, using the following command

Step 5: In order to ensure that VSFTPD runs at boot, run chkconfig

That’s It, VSFTPD will installed successfully on your virutal private server.
Thank you…..!
No comments:
Post a Comment