File Tansfer Protocol (ftp)
FTP
file transfer protocol the name itself defines that it is used for
file transfer from linux to linux
Package:
vsftpd
Portno:
2021
sudo
apt-get install vsftpd
Follow
the default prompts, and the vsftpd server will be installed on your
computer. Generally, the default configuration for vsftpd is pretty
secure. Anonymous users are blocked, and no one can write files to
the server. If you want to change any settings, the configuration
file for vsftpd is
#vim
/etc/vsftpd.conf. You can edit with this command:
sudo
gedit /etc/vsftpd.conf
(New
users will probably find gedit the easiest to use due the graphical
interface, but more experienced users can opt for vi or emacs
instead.)
If
you want users to be able to write files to your FTP server, change
this directive:
#write_enable=YES
To
this:
write_enable=YES
If
you make any changes to the file, save them, and then restart the
vsftpd server so it reads its new directives:
sudo
/etc/init.d/vsftpd restart
create
a directory named ftp and put some files in it
#mkdir
/srv/ftp
#cd
/srv/ftp
#touch
1 2 3 4
No comments:
Post a Comment