Tuesday, November 19, 2013

A nice page that walks through setting up FTP

http://ostechnix.wordpress.com/2013/01/28/setup-ftp-server-step-by-step-in-centos-6-x-rhel-6-x-scientific-linux-6-x/

I also set the vsftpd.conf variable ftp_user=myusername, so that anon logins go to my root.  And I turn off ftp when I'm not using it so that nobody anons into my instance and messes with it.

Monday, November 18, 2013

Creating and mounting a volume on EC2

First, using the EC2 Managment Console, create a new volume, making sure it is in the same region/geo as the instance you want to attach to.  When it is created attach it to your instance using the management console.

Then use the following linux commands to format the volume and mount it:

     1. Use the following command to format and create a ext3 volume.
  1. sudo mkfs -t ext3 device_name
  2. Use the following command to create the directory.
    $  sudo mkdir volume_name
  3. Use the following command to mount the volume.
    $  sudo mount device_name volume_name