VSFTPD installation and setup
Quick reminder on how to install and set up VSFTPD on CentOS 4.5
FTP is getting outdated but still handy in cases where you can't use scp.
See if it is installed :
[root ~]# rpm -q vsftpd
vsftpd-2.0.1-5.EL4.5
To install or update :
[root ~]# yum install vsftpd Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for vsftpd to pack into transaction set. vsftpd-2.0.1-5.EL4.7.i386 100% |=========| 13 kB 00:00 ---> Package vsftpd.i386 0:2.0.1-5.EL4.7 set to be updated --> Running transaction check Dependencies Resolved ====================================================== Package Arch Version Repository Size ====================================================== Updating: vsftpd i386 2.0.1-5.EL4.7 base 121 k Transaction Summary ======================================================= Install 0 Package(s) Update 1 Package(s) Remove 0 Package(s) Total download size: 121 k Is this ok [y/N]: y Downloading Packages: (1/1): vsftpd-2.0.1-5.EL4 100% |====| 121 kB 00:02 warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821 Public key for vsftpd-2.0.1-5.EL4.7.i386.rpm is not installed Retrieving GPG key from http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 Importing GPG key 0x443E1821 "CentOS-4 key" Is this ok [y/N]: y Key imported successfully Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : vsftpd ###################### [1/2] Cleanup : vsftpd ###################### [2/2] Updated: vsftpd.i386 0:2.0.1-5.EL4.7 Complete!
To start the service:
[root~]# service vsftpdstart
Starting vsftpd for vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
To stop the service:
[root ~]# service vsftpd stop Shutting down vsftpd: [ OK ]
To make sure the service starts at system reboot:
[root ~]# chkconfig --level 3 vsftpd on
