1) install the vsftpd: sudo apt-get install vsftpd
2) try to start the ftp server: sudo /etc/init.d/vsftpd start
3) config the conf file as the following: sudo vi /etc/vsftpd.conf
#anonymous_enable=YES
local_enable=YES
write_enable=YES
4) restart the server: sudo /etc/init.d/vsftpd restart
5) use the ftp client and try to login the ftp server withe the Ubuntu Server's account.
6) specify an explicit list of local users to chroot() to their home directory, please edit the conf file again:
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
7)edit the /etc/vsftpd.chroot_list.
8) restrat the ftp server.