The Technology Magazine.

Full width home advertisement

Android

Linux

Post Page Advertisement [Top]

How to install FTP server in linux

 

Configuring vsftpd

vsftpd is the package to install ftp server in linux.
to install vsftpd:

  • using apk:   apk add vsftpd
  • using rpm:
  • using apt ( ubuntu): sudo apt get install vsftpd
  to configure ftp:
vi /etc/vsftpd/vsftpd.conf

local_enable=YES 

any user defined in /etc/passwd will be able to login with their relevant passwords.

write_enable=YES 
to emable  write access to the ftp server

anonymous_enable=YES
allow anonymous FTP access


To restart FTP and load the new configuratrion:
/etc/init.d/vsftpd restart

 Getting 500 OOPS child died Error?
This error may appear if you are running vsftpd version 3.0.2.
Add this following line to  /etc/vsftpd/vsftpd.conf to fix this issue:
seccomp_sandbox=NO

No comments:

Post a Comment

Dear visitor,
Please do not post spam. All comments will be moderated before approval.

Bottom Ad [Post Page]

| Designed by Techeia.com