In this article, we will have explained the necessary steps to install FTP Server on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
FTP is a client server protocol that allows two communication channels between client and server. Using a FTP client we will be able to upload, download, and delete the files on the server. Initially, the client needs to authenticate the FTP server. The FTP session will work on both passive and active modes. Active is the default mode for FTP. In active mode connection, when the client starts to make the initial connection, the server initiates the second connection and enables data transferring to the client. In passive connection, the client connects and sends the PASV command to the server. Then the server sends the port number to the client.
Install FTP Server on Ubuntu
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
Step 2. Installing FTP Server on Ubuntu 18.04 LTS.
The VSFTP daemon is found in the standard repositories, so installation can be pulled off with a single command. Open a terminal window and issue the following:
After installing VSFTPD, the commands below can be used to stop, start and enable the server service to always start up when the server boots:
Step 3. Configuring vsftpd.
We’re going to create a brand new configuration file. Before we do that, let’s rename the original with the command:
Create the new file with the command:
That’s all you need to do to install FTP Server on Ubuntu 18.04. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.