![]() $ sudo chown -R user_vsftpd /home/user_vsftpd/ftp_dir $ sudo chmod -R 755 /home/user_vsftpd/ftp_dir We will create a directory called ftp_dir in the home directory of the newly created user using the mkdir command with the ‘-p’ option. ![]() It’s crucial that we create and configure an FTP directory that will serve as the repository for uploading and downloading files. When prompted, provide your preferred password and re-enter to confirm it. In this guide, we will create a user called user_vsftpd, as shown below. This is the user that will have the login rights to the server. Having installed the vsftpd daemon successfully, the next step we need to take is to create an FTP user. To enable, then start the vsftpd daemon, execute the commands: $ sudo systemctl enable vsftpdĪgain, we can verify its status: $ sudo systemctl status vsftpd If marked as ‘ disabled‘ We need to set to ‘ enabled‘ so that it can function as an ftp server. By default, the vsftpd daemon is inactive or stopped, as shown below. Vsftpd is a daemon, and we need to confirm whether it is running. The extra ‘ -I‘ flag prints out the additional information, as shown below. You can confirm the existence of the vsftpd package by invoking the command: $ rpm -qi | grep vsftpd Once logged in, open the terminal window and invoke the following command to install the vsftpd daemon. ![]() This tutorial will focus on how you can install vsftpd server for FTPS connections. Let’s begin. Vsftpd (very secure FTP daemon) is the default FTP server for Ubuntu, CentOS, Fedora, NimbleX, Slackware, and RHEL Linux. ![]() FTP should only be used if you are not able to use SSH, SFTP, SCP, or rsync and even then, only with encryption enabled (FTPS). For a long time, FTP was widely used as a reliable means of file transfer, but not anymore. FTP is a protocol that facilitates the transfer of files between a client system and a remote server. ![]()
0 Comments
Leave a Reply. |