Google Plus

Install vsftpd Ubuntu 12.04 and LinuxMint13 64bit

Written by Mel Kham on . Posted in Frequently Asked Questions

Questions: How  to install Vsftpd on Ubuntu 12.04 or  Mint 13  ?

Answer :

1- Start  with installing vsftp

sudo apt-get install vsftpd

2- Edit the config file

sudo vi /etc/vsftpd.conf

The vsftpd.conf file contains a large number of configuratrions arguments . If you want people with local user accounts on the FTP server to be able to connect via FTP (you usually do), you will need to change this directive:

local_enable=YES
write_enable=YES
anonymous_enable=NO

Save and exit

3- Restart vsftpd

sudo service vsftpd restart

If you want  to give writing rights  to  users  for some extra directories . You need to set    chmod a+w /directory

Live  example 

# ftp 10.0.2.15
Connected to 10.0.2.15.
220 (vsFTPd 2.3.5)
Name (10.0.2.15:pirat9):
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x 2 1000 1000 4096 May 24 21:54 Desktop
drwxr-xr-x 2 1000 1000 4096 May 24 21:54 Documents
drwxr-xr-x 2 1000 1000 4096 May 24 21:54 Downloads
drwxr-xr-x 2 1000 1000 4096 May 24 21:54 Music
drwxr-xr-x 2 1000 1000 4096 May 24 21:54 Pictures
drwxr-xr-x 2 1000 1000 4096 May 24 21:54 Public
drwxr-xr-x 2 1000 1000 4096 May 24 21:54 Templates
drwxr-xr-x 2 1000 1000 4096 May 24 21:54 Videos
226 Directory send OK.
ftp>
For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • http://profiles.google.com/aussieaubs Aubrey Hughes (gmail)

    brilliant guide , thanks

  • Pingback: Ubuntu 12.04 Areca 1880 Raidserver Software Installation » IDEwerks Development Blog

  • Pingback: Install vsftpd | Infosource7

  • http://www.facebook.com/people/Cipher-Sru/100001456062777 Cipher Sru

    This is nice, but doesn’t work.

    First, you don’t tell us that you must be in root or use sudo to even start.

    sudo vsftpd

    yields this error message:

    500 OOPS: could not bind listening IPv4 socket

    So apparently it is NOT as simple as you say. Any chance you could do a full tutorial for this? Thanks…

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Nova

|

I wonder if there is a way to create your own themes.

Red Adaya

|

Thank you! This worked for me!!!

SK

|

Andrew look into your httpd.conf file at line no 350. There might be a syntax error.

andrew

|

hello I have this error

[root@cloud html]# /etc/init.d/httpd restart

then this appears

Starting httpd: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: without matching section.

plz tell how to fix this.

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .