Installing and Running vsftpd in CentOS Gallery image available at Windows Azure Virtual Machines for Linux

Step 1: Install vsftpd

[root@avkashcentnew ~]# yum install vsftpd

Package        Arch           Version                    Repository       Size================================================================================Installing: vsftpd         x86_64         2.2.2-6.el6_2.1            updates         149 k

Transaction Summary================================================================================Install       1 Package(s)

Total download size: 149 kInstalled size: 331 kIs this ok [y/N]: yDownloading Packages:vsftpd-2.2.2-6.el6_2.1.x86_64.rpm                        | 149 kB     00:00Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction  Installing : vsftpd-2.2.2-6.el6_2.1.x86_64                                1/1

Installed:  vsftpd.x86_64 0:2.2.2-6.el6_2.1

Complete!

Step 2: Edit vsftpd conf file as below:

               #vi /etc/vsftpd/vsftpd.conf:

                         pasv_min_port=12000
                         pasv_max_port=12003

Step 3: Be sure that vsftpd and iptables services are running

              # service vsftpd start
              # service iptables start

 

Step 4: Add an EndPoint in your Virtual Machine configuration for vsftpd:

 

Step 5: Get the Virtual Machine IP Address configure FileZilla client as below to connect to CentOS Virtual Machine:

 

 

Once the SFTP connection is made correctly, the files are displayed as below in FileZilla:

Keywords: Windows Azure, Virtual Machine, Linux, CentOS