Thursday, January 28, 2010

How To Set Up A FTP Server On Ubuntu

In a previous post, I covered how to set up a FTP Server on a Mac.  What can you do if you are running an Ubuntu desktop?  In this example I am running Ubuntu 9.04.

How to set up a FTP Server on Ubuntu 9.04
1)  Open a Terminal session. by selecting Application > Accessories > Terminal.
2)  Type sudo apt-get install vsftpd.  As you are using the sudo command, you will be prompted for a password.  Next, you will receive another prompt Do you want to continue [Y/n]?.  Type Y or you can just enter.



3)   You will now see a successful install.



4)  It is now time to configure the ftp server configuration file vsftpd.conf using gedit.  Type sudo gedit /etc/vsftpd.conf.  Make the following changes, save, and exit the editor

anonymous=NO
local_enable=YES
write_enable=YES

Be sure that there is no # sign in front of these statements.  The # sign will indicate that this is a comment.

5)  To reflect the changes made above, run the following command in Terminal:
sudo /etc/init.d/vsftpd start


6)  Done!  You can now start using your ftp server.

No comments:

Post a Comment