How to Install Vsftpd Ftp Server on RHEL 6

Share this Article :

In this post, i will show you on how to install Vsftpd service on Red Hat Enterprise Linux 6 (RHEL 6).This post assumed that you have configure local yum repository.

How to Setup Local Yum Repository from CD-ROM/DVD-ROM image on RHEL 6

1. Install the Vsftpd service.

    [[email protected] ~]# yum install vsftpd
    Loaded plugins: rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    DVD-RHEL6-Repository                                                         | 3.7 kB     00:00 ...
    DVD-RHEL6-Repository/primary_db                                              | 2.3 MB     00:00 ...
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package vsftpd.i686 0:2.2.2-6.el6 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ====================================================================================================
     Package            Arch             Version                 Repository                        Size
    ====================================================================================================
    Installing:
     vsftpd             i686             2.2.2-6.el6             DVD-RHEL6-Repository             155 k
    
    Transaction Summary
    ====================================================================================================
    Install       1 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 155 k
    Installed size: 343 k
    Is this ok [y/N]: y
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : vsftpd-2.2.2-6.el6.i686                                                      1/1
    
    Installed:
      vsftpd.i686 0:2.2.2-6.el6
    
    Complete!
    

2. Start Vsftpd Service :

    [[email protected] ~]# service vsftpd start
    Starting vsftpd for vsftpd:                                [  OK  ]
    

3. Stop Vsftpd Service :

    [[email protected] ~]# service vsftpd stop
    Shutting down vsftpd:                                      [  OK  ]
    

4. Restart Vsftpd Service :

    [[email protected] ~]# service vsftpd restart
    Shutting down vsftpd:                                      [  OK  ]
    Starting vsftpd for vsftpd:                                [  OK  ]
    

5. Make Vsftpd Service auto start on boot up :

    [[email protected] ~]# chkconfig vsftpd on
    


Leave a Reply