Thursday, December 25, 2008

Installing FTP Server in Ubuntu

Brief about FTP servers in Ubuntu:

There are many servers to setup ftp service in ubuntu. They are

1. proftpd - Versatile, virtual-hosting FTP daemon

2. vsftpd - The Very Secure FTP Daemon

3. ftpd - FTP server

4. wu-ftpd - powerful and widely used FTP server

5. wzdftpd - A portable, modular, small and efficient ftp server

6. pure-ftpd - Pure-FTPd FTP server

Among all these vsftp has efficient features when compared. It is simple to use and quiet secure. It is Very Secure File Transfer Protocol Daemon. The server can be launched via a super server such as inetd or xinetd. Alternatively vsftpd can be launched in standalone mode, in which case vsftpd itself will listen on the network.

Instllation steps :


step1: You can install vsftpd by using either terminal or GUI.

Installing vsftpd by GUI.

Open Synaptic Package Manager by clicking System -> Administration -> Synaptic Package Manager. And then search for vsftpd, then click on the corresponding checkbox and then select "mark for installation" and then press "apply" button. It will install vsftpd in your system.

Installing vsftpd by terminal.

Open terminal by clicking Applications -> Accessories -> Terminal and then type below command and press enter.

sudo apt-get install vsftpd

It will install vsfpd in your system.
step2: Open configuration file for it i.e. Open terminal by above mentioned process and then open config file by typing below command and then press enter

sudo vim /etc/vsftpd.conf

this file will be opened in the vi editor ,press i to edit it uncomment the below mentioned lines and save it by pressing "Esc + Shift + ;".

local_enable=YES
write_enable=YES
chroot_local_user=YES

step3: restart server by typing the below command in terminal

sudo /etc/init.d/vsftpd restart

Now your ftp server is ready to use, enjoy it!

No comments: