FTP server help you to get connect to your remote server via FileZilla to download or upload any file or directory. FTP means File Transfer Protocol. Vsftpd (Very Secure File Transfer Protocol Daemon) is a popular FTP server for Ubuntu. We recommend to view Part 1 as well.
30. Install vsftpd
sudo apt update && sudo apt install vsftpd
sudo service vsftpd status
31. Configure Firewall. Run below mentioned commands one by one.
sudo ufw allow OpenSSH sudo ufw allow 20/tcp sudo ufw allow 21/tcp sudo ufw allow 40000:50000/tcp sudo ufw allow 990/tcp sudo ufw enable sudo ufw status
32. Create FTP User. Give any user name of your choice.
sudo adduser username
33. Give directory permissions to your new user name.
sudo usermod -d /var/www username
sudo chown username:username /var/www
34. Install FileZilla to your winodows computer from internet. Login to your remote server via ftp server by the user name and password you have created in step 31.
Now we have done with this part 3. In the next part we will learn how to install WordPress to your Ubuntu 16.04 or 18.04 remote server. Don’t forget to follow all steps. Click Here to view next part.