1. To set up an FTP server, make sure the vsftpd package is installed. To check if the vsftpd package is installed, use the command below:
# rpm -q vsftpd
2. Install the vsftpd server rpm from the Red Hat Network by running the below command:
# up2date vsftpd Fetching Obsoletes list for channel: el4_i386_latest... ######################################## Fetching Obsoletes list for channel: el4_i386_oracle... Fetching rpm headers... ######################################## Name Version Rel ---------------------------------------------------------- vsftpd 2.0.1 9.el4 i386 Testing package set / solving RPM inter-dependencies... ######################################## vsftpd-2.0.1-9.el4.i386.rpm Preparing ########################################### [100%] Installing... 1:vsftpd ########################################### [100%]
3. Once installed, start the vsftpd service by issuing the following command:
# service vsftpd start
4. To make the service available for the next boot sequence chkconfig the service on by issuing the following command:
# chkconfig vsftpd on
5. Verify if the installation is working.
# ftp localhost Connected to localhost.localdomain. 220 (vsFTPd 2.0.5) 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (localhost:root): oracle 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files.