1/15/2024 0 Comments Ubuntu simple ftp server![]() ![]() Use the following command to restart it – sudo systemctl restart vsftpd Create an FTP user To apply the changes you need to restart vsftpd server. Use the following command to allow it – sudo ufw allow from any to any port 20,21,10000:11000 proto tcp Restart vsftpd server By default Ubuntu firewall blocks the incoming FTP traffic. Once you are done editing configuration file press ctrl+s to save and ctrl+x to exit from the editor. This configuration will be sufficient for a basic FTP server later you can modify it according to your requirements. Open the configuration file in a text editor by using the following command –Īnd then uncomment, modify or add the following things into it. ![]() Use the following command – sudo cp /etc/nf /etc/ Editing the configuration file Backup the existing configurationīefore making any changes to the configuration file, It is good to take the backup of the original file. You can configure the vsftpd server by editing /etc/nf file. For the secure implementation of the vsftpd server, we have to add/modify some options inside the vsftpd configuration file. Start the vsftpd server with – systemctl start vsftpdĪnd then enable it to start service automatically when the system starts by using – systemctl enable vsftpd How to configure vsftpd server? To enable vsftpd services in Ubuntu 20.04 LTS, use the following commands – First, update the apt package index by using – sudo apt updateĪnd then use – sudo apt install vsftpd How to enable vsftpd services? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |