How to Set up an FTP Server in Ubuntu Linux

Boot up Ubuntu Linux.,Go to Application, then select Accessories and choose Terminal , Enter the following command: “sudo apt-get install vsftpd” (without quotation marks)., Open the FTP server configuration file., In the file browser, click the...

15 Steps 2 min read Advanced

Step-by-Step Guide

  1. Step 1: Boot up Ubuntu Linux.

    This will install the FTP server on your system.

    If you are logged in as the root user, the "sudo" command will not be necessary, since this command is used to give administrative privileges to the user.

    In this case, you will only need the command "apt-get install vsftpd". , To do so, go to Places and click on Computer. ,,,, Enter "anonymous_enable=YES" (without quotation marks) to allow anonymous FTP access.

    The hash (#) at the beginning of each line indicates that this line is commented out and will be ignored.

    To enable this line, you must remove the hash (#).

    The parameter "write_enable=YES" (without quotation marks) will allow changes to the filesystem, such as uploading. , Uncomment it by removing the hash (#), and enter the welcome message.

    For this example it's "ftpd_banner=Welcome to FTP Server!" (without quotation marks). , (Note:
    You may need to login as root, then only you will be able to open file in edit mode or else the file will open in read-only mode) , Again, you will only need to use "sudo" if you are not logged as the root user. , To move files to the server, access the FTP Folder from the command in the image above.
  2. Step 2: Go to Application

  3. Step 3: then select Accessories and choose Terminal

  4. Step 4: Enter the following command: “sudo apt-get install vsftpd” (without quotation marks).

  5. Step 5: Open the FTP server configuration file.

  6. Step 6: In the file browser

  7. Step 7: click the “File System” icon.

  8. Step 8: Click on the “etc” folder.

  9. Step 9: Double-click the “vsftpd.conf” icon.

  10. Step 10: Alter anonymous access.

  11. Step 11: Rename the FTP welcome banner.

  12. Step 12: Click on Save and close the file.

  13. Step 13: To restart the FTP service

  14. Step 14: type the following command: “sudo /etc/init.d/vsftpd restart” (without quotation marks).

  15. Step 15: Place files on the FTP server.

Detailed Guide

This will install the FTP server on your system.

If you are logged in as the root user, the "sudo" command will not be necessary, since this command is used to give administrative privileges to the user.

In this case, you will only need the command "apt-get install vsftpd". , To do so, go to Places and click on Computer. ,,,, Enter "anonymous_enable=YES" (without quotation marks) to allow anonymous FTP access.

The hash (#) at the beginning of each line indicates that this line is commented out and will be ignored.

To enable this line, you must remove the hash (#).

The parameter "write_enable=YES" (without quotation marks) will allow changes to the filesystem, such as uploading. , Uncomment it by removing the hash (#), and enter the welcome message.

For this example it's "ftpd_banner=Welcome to FTP Server!" (without quotation marks). , (Note:
You may need to login as root, then only you will be able to open file in edit mode or else the file will open in read-only mode) , Again, you will only need to use "sudo" if you are not logged as the root user. , To move files to the server, access the FTP Folder from the command in the image above.

About the Author

J

Jennifer Sanchez

A passionate writer with expertise in cooking topics. Loves sharing practical knowledge.

107 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: