Install vSftpd.rpm
----------------------------------------------------------------------------------------------------------
[root@localhost ~]# cat /etc/*release* // Check centos Version
[root@localhost ~]# rpm -Uvh vsftpd-2.0.5-24.el5.i386.rpm // centos version pkg
[root@localhost ~]# service vsftpd restart // service restart
[root@localhost ~]# netstat -ant //
[root@localhost ~]# cd /etc/vsftpd/ //
[root@localhost ~]# cp vsftpd.conf vsftpd.conf.org //
[root@localhost ~]# vim vsftpd.conf // Change Files, follow bellow Lines
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
[root@localhost ~]# service vsftpd restart
||| Create FTP User
[root@localhost ~]# adduser -c 'FTP USER blink' -m blink
[root@localhost ~]# passwd blink
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHECK YOUR FTP OK or Not OK |||||||
-------------------------------------------------
|With Filezilla
|| host : 192.168.153.242 // your server ip address
|| username : blink //
|| Password : blink //
| With ssh
|| ftp 192.168.153.242 // command line windows & linux machine
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Commonly used FTP commands||||||||||
---------------------------------------------
ls: directory listing equivalent to dir.
ls -l: long directory listing, more detail.
pwd: display the name of current directory.
cd: change directory.
lcd: change the local current directory.
get: to download the file from the FTP server.
put: to transfer file and place it on the FTP server.
mget: to download multiple files from the FTP server.
mput: to transfer multiple files to the FTP server.
prompt: to turn on/off interactive mode.
binary: to turn on binary mode.
ascii: to turn on ascii mode.
delete: to turn a file on FTP server.
status: to display how the current FTP session is configured.
mkdir: to make directory on FTP server.
quit/close/bye/disconnect: to disconnect from the FTP server.
----------------------------------------------------------------------------------------------------------
[root@localhost ~]# cat /etc/*release* // Check centos Version
[root@localhost ~]# rpm -Uvh vsftpd-2.0.5-24.el5.i386.rpm // centos version pkg
[root@localhost ~]# service vsftpd restart // service restart
[root@localhost ~]# netstat -ant //
[root@localhost ~]# cd /etc/vsftpd/ //
[root@localhost ~]# cp vsftpd.conf vsftpd.conf.org //
[root@localhost ~]# vim vsftpd.conf // Change Files, follow bellow Lines
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
[root@localhost ~]# service vsftpd restart
||| Create FTP User
[root@localhost ~]# adduser -c 'FTP USER blink' -m blink
[root@localhost ~]# passwd blink
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHECK YOUR FTP OK or Not OK |||||||
-------------------------------------------------
|With Filezilla
|| host : 192.168.153.242 // your server ip address
|| username : blink //
|| Password : blink //
| With ssh
|| ftp 192.168.153.242 // command line windows & linux machine
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Commonly used FTP commands||||||||||
---------------------------------------------
ls: directory listing equivalent to dir.
ls -l: long directory listing, more detail.
pwd: display the name of current directory.
cd: change directory.
lcd: change the local current directory.
get: to download the file from the FTP server.
put: to transfer file and place it on the FTP server.
mget: to download multiple files from the FTP server.
mput: to transfer multiple files to the FTP server.
prompt: to turn on/off interactive mode.
binary: to turn on binary mode.
ascii: to turn on ascii mode.
delete: to turn a file on FTP server.
status: to display how the current FTP session is configured.
mkdir: to make directory on FTP server.
quit/close/bye/disconnect: to disconnect from the FTP server.