This may be very simple but to keep things handy the below will install ftp service in you Ubutu Linux machine:
vbhadra@vbhadra-VirtualBox:~$ sudo apt-get install vsftpd Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed vsftpd 0 to upgrade, 1 to newly install, 0 to remove and 318 not to upgrade. Need to get 130 kB of archives. After this operation, 353 kB of additional disk space will be used. Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise/main vsftpd i386 2.3.5-1ubuntu2 [130 kB] Fetched 130 kB in 0s (927 kB/s) Preconfiguring packages ... Selecting previously unselected package vsftpd. (Reading database ... 183924 files and directories currently installed.) Unpacking vsftpd (from .../vsftpd_2.3.5-1ubuntu2_i386.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up vsftpd (2.3.5-1ubuntu2) ... vsftpd start/running, process 4107 vbhadra@vbhadra-VirtualBox:~$
This has been tested on a Ubutnu 12.04 running on a virtual box.
Now edit the file /etc/vsftpd.conf and enable the below line:
Save the change and restart the service:
vbhadra@vbhadra-VirtualBox:~$ sudo /etc/init.d/vsftpd restart Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service vsftpd restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(8) and then start(8) utilities, e.g. stop vsftpd ; start vsftpd. The restart(8) utility is also available. vsftpd stop/waiting vsftpd start/running, process 4216 vbhadra@vbhadra-VirtualBox:~$