Skip to main content

FTP install on Ubuntu 14.04 Amazon EC2

Apparently there is a bug in UBUNTU 14.04 where the VSFTP does not seem to work  It is a reported bug by Ubuntu kernel and there is an updated kernel which works.  Unfortunately for the Amazon EC2 it seems that they still have the older version.  There is an option to get the latest Ubuntu Kernel and update it but that will be great with a fresh install.  For those installed the option seems to be limited.

The PROFTPD seems to be working. 

Here are the details.

 LOGIN IN using the pem key via putty:

  • #sudo su root -

  • root# apt-get install proftpd 

  • Edit the proftd.conf in /etc/proftpd/proftpd.conf  
    • vi  /etc/proftpd/proftpd.confg
    •  Make sure port 21 is not commented out
    • Make the below changes.
    • # In some cases you have to specify passive ports range to by-pass
      # firewall limitations. Ephemeral ports can be used for that, but
      # feel free to use a more narrow range.
      PassivePorts                  13000 13100

      # If your host was NATted, this option is useful in order to
      # allow passive tranfers to work. You have to use your public
      # address and opening the passive ports used on your firewall as well.
      MasqueradeAddress  52.74.103.173 
    • ( THIS NEEDS TO BE IP ADDRESS)
  •  restart the service.
    • services proftpd restart


check if the port 21 is open 
:/home/ubuntu# netstat -nltp 


Disable the ubuntu firewall:  ( if you get unable to connect, it is due to ubuntu firewall)


sudo ufw disable 
 

IMPORTANT:
Now login to the amazon aws and make sure that the security group allows the port 21 and the passive ports ( here 13000 13100 ) is opened. 


Comments

Popular posts from this blog

Social Media tools.

Social Media software for Small Business:   This article I am trying to find a social media software which will help my companies.   Since budget is premium we need to work in that order that essentially starts from FREE. FOR SOCIAL conversation like posting, following up and also to use your employees to be assigned on follow up, we need a software which will post over and which can be traceable.  For Pro seems to be a good fit and can manage until we can go the next level.   After searching it seems that there is no one to beat hootsuite. Sproutsocial was near by but nothing like Hootsuite Hootsuite:     FREE PLAN:  3 social profiles ( facebook, twitter, google+ may be). For $9.99  it has 50 social profiles. Plans s & Pricing Free For: Personal Use, Casual Enthusiast Get Started Now 30 day free trial Pro For: Social Media Power Users & Practitioners (from   $ 9.99 /month) Get...

Exadata Cheatsheet

Exadata Storage Cell Commands Cheat Sheet It is not an easy to remember the commands since most of the UNIX administrators are working on multiple Operating systems and different OS flavors. Exadata and ZFS appliance are adding additional responsibility to Unix administrator and need to remember those appliance commands as well. This article will provide the reference to all Exadata storage cell commands with examples for some complex command options. All the below mentioned commands will work only on cellcli prompt. Listing the Exadata Storage cell Objects (LIST) Command Description Examples cellcli To Manage the Exadata  cell Storage [root@uaexacell1 init.d]# cellcli CellCLI: Release 11.2.3.2.1 – Production on Tue Nov 18 02:16:03 GMT+05:30 2014 Copyright (c) 2007, 2012, Oracle.  All rights reserved. Cell Efficiency Ratio: 1CellCLI> LIST CELL List the Cell Status CellCLI> LIST CELL uaexacell1      online CellCLI> LIST LUN To ...

ETF / index funds. Resources.

Vanguard Index Funds. VTI  - Vanguard Total Stock market Index  = 40%  ( only 0. 05%) VEU -  VANGUAR D free all - world    - 20% VWO -  Vanguard Emerging Markets Stock Index ( VWO ) - 5% VCIT -  Vanguard Intermediate - Term Corporate Index  - 25% (  for stable) Remaining to be done with the bonds to get a 60% =- 40% ratio.