• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

CentOS / RHEL 4 : How to install and configure FTP server (vsftpd)

By admin

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.

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to configure Linux Resource Groups (cgroups) for MySQL
  2. Apache HTTP server – most commonly used containers (special configuration directives)
  3. Understanding mpathconf Utility to configure DM-Multipath
  4. CentOS / RHEL 5 : dm-multipath file /etc/sysconfig/mkinitrd/multipath explained
  5. How to audit all Commands run on OEL 5,6 using auditd
  6. Linux / UNIX : How to find files which has SUID/SGID set
  7. Understanding The sysfs File System (/sys) in Linux
  8. fdisk: Unable to write /dev/sdg: Bad file descriptor – error while formatting USB disk
  9. How to make CentOS/RHEL 7 FIPS 140-2 compliant
  10. Understanding RPM Versions and Naming Schemes

You May Also Like

Primary Sidebar

Recent Posts

  • MySQL: how to figure out which session holds which table level or global read locks
  • Recommended Configuration of the MySQL Performance Schema
  • MySQL: Identify what user and thread are holding on to a meta data lock that is preventing other queries from running
  • MySQL: How to kill a Long Running Query using max_execution_time
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary