Initially i went to take up proftpd for make an ftp connection for the Debian machine.. but setting it up is a bit messy (well i've been in and out of forums after a failed proftpd installation). Then I took in vsftpd. This one is a bit simple:
1) use the Synaptic pakage manager and mark proftpd for complete removal and mark vsftpd for installation.
2) open a root terminal and edit a configuration file (my login is kibrun)
kibrun:/# cd /etc
kibrun:/# nano vsftpd.conf --> or kibrun:/# gedit vsftpd.conf
3) change this line to exactly like below:
anonymous_enable=NO
local_enable=YES
write_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
secure_chroot_dir=/var/run/vsftpd
4) add the followings:
local_max_rate=50000
max_clients=2
max_per_ip=1
5) save the edited vstpd.conf
6) create a new file:
kibrun:/# nano vsftpd.chroot_list or gedit vsftpd.chroot_list
--> add a # symbol into the file if it is still blank and save the file.
7) type:
kibrun:/# /etc/init.d/vsftpd start
8) the ftp server is ready, now you can ftp to the machine.
fot the complete explaination of the commands and stuff, please refer to the internet/ forums.. my method is just for basic and quick setup :)
No comments:
Post a Comment