

Restart the server for the changes to take effect: sudo systemctl restart vsftpd Now we must proceed and edit the main configuration file /etc/nf: nano /etc/nf Sudo chown meilana:meilana /home/meilana/ftp_directory/ftp_data

Then, create a directory where files can be uploaded and give ownership to meilana user by executing command: sudo mkdir -p /home/meilana/ftp_directory/ftp_data

Sudo chmod a-w /home/meilana/ftp_directory Sudo chown nobody:nogroup /home/meilana/ftp_directory Next, we need to add meilana user in vsftpd user list: echo "meilana" | sudo tee -a /etc/erlistĪfter that, create an FTP directory: sudo mkdir -p /home/meilana/ftp_directory Local users specified in this file are granted permission to access the FTP server: sudo adduser meilana Now create the FTP user to the erlist file. Before we install any software, it’s important to make sure your system is up to date by running the following apt commands in the terminal: We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

In this tutorial, we will show you how to install FTP Server on Debian 11.
