<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Libby Hemphill &#187; Technology</title>
	<atom:link href="http://www.libbyh.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.libbyh.com</link>
	<description>Assistant Professor of Communication and Information Studies</description>
	<lastBuildDate>Mon, 30 Jan 2012 03:32:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bash script for adding MySQL users</title>
		<link>http://www.libbyh.com/2011/11/09/bash-script-for-adding-mysql-users/</link>
		<comments>http://www.libbyh.com/2011/11/09/bash-script-for-adding-mysql-users/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 03:16:08 +0000</pubDate>
		<dc:creator>libbyh</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.libbyh.com/?p=752</guid>
		<description><![CDATA[Now that we&#8217;re using Amazon EC2 for our lab computing needs, I find I&#8217;m doing many server maintenance tasks over and over again. One of my least favorites is adding new MySQL users. So, I wrote a bash script that makes adding them easier. You can get the script at our Github organization or see [...]]]></description>
			<content:encoded><![CDATA[<p>Now that we&#8217;re using Amazon EC2 for our lab computing needs, I find I&#8217;m doing many server maintenance tasks over and over again. One of my least favorites is adding new MySQL users. So, I wrote a bash script that makes adding them easier. You can get the script at <a title="CaSM Lab Github" href="http://github.com/casmlab" target="_blank">our Github organization</a> or see the code after the jump.<span id="more-752"></span></p>
<pre>
#!/bin/bash

EXPECTED_ARGS=2
E_BADARGS=65
MYSQL=`which mysql`

Q1="CREATE USER '$1'@'localhost' IDENTIFIED BY '$2';"
Q2="GRANT ALL PRIVILEGES ON *.* TO '$1'@'localhost';"
Q3="CREATE USER '$1'@'%' IDENTIFIED BY '$2';"
Q4="GRANT ALL PRIVILEGES ON *.* TO '$1'@'%';"
Q5="FLUSH PRIVILEGES;"
SQL="${Q1}${Q2}${Q3}${Q4}${Q5}"

if [ $# -ne $EXPECTED_ARGS ]
then
  echo "Usage: $0 dbuser dbpass"
  exit $E_BADARGS
fi

$MYSQL -uroot -p -e "$SQL"
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.libbyh.com/2011/11/09/bash-script-for-adding-mysql-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qualitative Data Analysis Using Office</title>
		<link>http://www.libbyh.com/2011/09/27/qualitative-data-analysis-using-office/</link>
		<comments>http://www.libbyh.com/2011/09/27/qualitative-data-analysis-using-office/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 21:45:22 +0000</pubDate>
		<dc:creator>libbyh</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.libbyh.com/?p=677</guid>
		<description><![CDATA[It seems every time I embark on the qualitative data analysis (QDA) stage of a project, I get frustrated by QDA software. My approach to data analysis is iterative and collaborative. Existing QDA makes both of those approaches obscenely difficult (if possible at all). Hence my frustration. I want to be able to edit transcripts [...]]]></description>
			<content:encoded><![CDATA[<p>It seems every time I embark on the qualitative data analysis (QDA) stage of a project, I get frustrated by QDA software. My approach to data analysis is iterative and collaborative. Existing QDA makes both of those approaches obscenely difficult (if possible at all). Hence my frustration.</p>
<p>I want to be able to edit transcripts even after I&#8217;ve loaded them into the software (e.g., if I notice an error in the transcription). I also need to be able to share my work with colleagues who use a variety of computers including PCs, Macs, iPads, and Android phones.<span id="more-677"></span></p>
<p>Andy Begel and I relied on OneNote, and that seemed to work better than Atlas.ti, NVivo, or HyperRESEARCH, and it came with my version of Office. Trouble is, now I&#8217;m working on a Mac, and there&#8217;s no OneNote for Mac. I liked the idea of doing all my analysis in Office so that it would be easy for me to share with my collaborators regardless of the software they had available (since Google Docs can handle the basic functions of Office). I also liked that Office would give me direct control over the links between codes and data so that I could change either on the fly.</p>
<p>Daniel Meyer and Leanne Avery published <a title="Field Methods abstract" href="http://fmx.sagepub.com/cgi/content/abstract/21/1/91">an article in Field Methods</a> a couple of years ago about using Excel for QDA. Sadly, I didn&#8217;t notice until today that Dr. Meyer is a colleague of mine at IIT. Anyway, starting with their article, and the assurance of some friends that yes, I could do this all in Excel, I set off to DIY myself a QDA software solution.</p>
<p>I&#8217;m dealing with interview data, and I had all the interviews transcribed by <a title="Scribie home page" href="http://www.scribie.com">Scribie</a>. Scribie transcripts contain info in the both the header and footer, have a cover page, and contain a rating page at the end. None of that matters for my analysis. What I want instead is a file of the form &#8220;timestamp TAB speaker TAB talk&#8221; that I can copy and paste into a corresponding Excel sheet with 3 columns. Here are the steps for using Word to prepare a Scribie transcript for use in Excel:</p>
<ol>
<li>Save DOCX file as TXT</li>
<li>Remove the header, footer, scribie cover, scribie rating sheet</li>
<li>Replace &#8220;S1:&#8221; and &#8220;S2:&#8221; with correct names &#8211; use &#8220;^tNAME^t&#8221; to add tabs before and after</li>
<li>Replace scribie line breaks (&#8220;^l^l&#8221;) with paragraph breaks (&#8220;^p&#8221;)</li>
<li>Remove line breaks between end of paragraphs and scribie notes such as &#8220;[laughter]&#8221; (Find: &#8220;^p[&#8220;, Replace: &#8220;[&#8220;)</li>
<li>Select all, copy, paste into Excel</li>
</ol>
<p>You should now have 3 full columns in Excel &#8211; time, speaker, and their comment. This approach treats all turns Scribie identifies as a speech event. Sometimes that produces long paragraphs, sometimes just a single word. At this stage in my coding, I do not need to code line by line, so this approach works for me. If you want to code each line, you can do some Find and Replace operations to make &#8220;time TAB speaker TAB sentence&#8221; lines based on the sentence&#8217;s punctuation. For instance, replacing &#8220;.&#8221; with &#8220;.^p&#8221; would put each sentence on a new line. Getting the first two columns on that same line will be tricky though.</p>
<p>Now that I have all the comments in Excel, I can easily attach codes to specific sections of speech. To do this, I have created a separate sheet for my Codebook where column 1 is the code&#8217;s label, and column 2 is the code&#8217;s definition. In my main sheet, with the transcript data, I add three columns for &#8220;Primary,&#8221; &#8220;Secondary,&#8221; and &#8220;Tertiary&#8221; codes. Excel&#8217;s <a title="excel how to" href="http://office.microsoft.com/en-us/excel-help/create-or-remove-a-drop-down-list-HP005202215.aspx">Data Validation</a> feature enables me to select codes from a drop-down in each of those columns. As I add codes and definitions, the drop-down list updates to include them.</p>
<p>Once I have all my transcripts and codes into Excel, I can go merrily along, choosing codes from the drop-down list without having to navigate to a new window. If I need to edit a comment (as often happens when interviewees mumble), I can do so without impacting my codes. I can easily go back to the recording, listen for the part that Scribie missed, update it in Excel, and continue on my merry way. All the QDA software tools require that you do all your data cleaning and editing before you start coding, and that&#8217;s just not the way I work. I code and clean, clean and code, as I go along. This Excel approach lacks some of QDA&#8217;s more advanced features, but I find that thoughtful Pivot Table use can make up for most of those. The upside is that I already know how to work with Pivot Tables so I don&#8217;t have to sit through those webcasts on how to use NVivo and HyperRESEARCH. Data analysis is hard enough without software getting in the way. If you were looking for a straightforward DIY solution, I hope this post helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.libbyh.com/2011/09/27/qualitative-data-analysis-using-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Apache and PHP on Amazon EC2</title>
		<link>http://www.libbyh.com/2011/06/23/setting-up-apache-and-php-on-amazon-ec2/</link>
		<comments>http://www.libbyh.com/2011/06/23/setting-up-apache-and-php-on-amazon-ec2/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 17:06:50 +0000</pubDate>
		<dc:creator>libbyh</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.libbyh.com/?p=637</guid>
		<description><![CDATA[You can tell by today&#8217;s posts that I&#8217;m getting something started on EC2. You can also read what&#8217;s already installed on the free instance or how to get started. PHP and MySQL are not installed on the free instance, so this post is about getting setup so I can run 140dev&#8217;s excellent Twitter Database Server. [...]]]></description>
			<content:encoded><![CDATA[<p>You can tell by today&#8217;s posts that I&#8217;m getting something started on EC2. You can also read <a title="What's running" href="http://www.libbyh.com/2011/06/23/whats-running-on-free-micro-ec2/">what&#8217;s already installed on the free instance</a> or <a title="Getting started" href="http://www.libbyh.com/2011/06/23/getting-started-with-amazon-ec2-on-a-mac/">how to get started</a>. PHP and MySQL are not installed on the free instance, so this post is about getting setup so I can run 140dev&#8217;s excellent <a title="Twitter Database Server" href="http://140dev.com/free-twitter-api-source-code-library/twitter-database-server/" target="_blank">Twitter Database Server</a>.<span id="more-637"></span></p>
<p>First, let&#8217;s update <code>yum</code></p>
<p><code>sudo yum -y update</code></p>
<p>Then we install PHP and Git (Git will come in handy later, and I don&#8217;t need MySQL so won&#8217;t be installing it):</p>
<p><code>sudo yum install php<br />
sudo yum install php-mysql<br />
sudo yum install git</code></p>
<p>Apache&#8217;s already installed but isn&#8217;t started. To start it</p>
<p><code>sudo service httpd start</code></p>
<p>By default, the DirectoryRoot is <code>/var/www/html</code>, and I&#8217;m leaving it that way. Put a dummy index.html file in that location. Then, make sure you have port 80 open on your instance (see below) and go to your elastic IP in your browser. Here&#8217;s mine:</p>
<p><a title="CaSM's EC2 site" href="http://50.19.246.137" target="_blank">http://50.19.246.137</a></p>
<p><strong>Opening Port 80</strong></p>
<ol>
<li>In the AWS Management Console, under Security Groups, select the group that&#8217;s associated with the instance you&#8217;re running.</li>
<li>Click on &#8220;Inbound&#8221; in the properties window.</li>
<li>Select &#8220;HTTP&#8221; from the &#8220;Create a new rule&#8221; dropdown.</li>
<li>Enter 0.0.0.0/0 as the source to allow all web traffic to see your site.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.libbyh.com/2011/06/23/setting-up-apache-and-php-on-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s running on free micro EC2?</title>
		<link>http://www.libbyh.com/2011/06/23/whats-running-on-free-micro-ec2/</link>
		<comments>http://www.libbyh.com/2011/06/23/whats-running-on-free-micro-ec2/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 15:47:59 +0000</pubDate>
		<dc:creator>libbyh</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.libbyh.com/?p=630</guid>
		<description><![CDATA[I&#8217;ve been having trouble finding out what&#8217;s installed and/or running on the free Amazon EC2 instance, so I&#8217;ll use this post to list the processes and installs as I uncover them. Default versions of stuff I use: Python 2.6.6 ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-linux] (You&#8217;ll need to install Rubygems yourself) Here&#8217;s the ps -ef [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been having trouble finding out what&#8217;s installed and/or running on the <a title="Free EC2 usage tier" href="http://aws.amazon.com/free/" target="_blank">free Amazon EC2 instance</a>, so I&#8217;ll use this post to list the processes and installs as I uncover them.</p>
<p>Default versions of stuff I use:</p>
<ul>
<li>Python 2.6.6</li>
<li>ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-linux] (You&#8217;ll need to <a title="Ruby gems documentation" href="http://docs.rubygems.org/read/chapter/3" target="_blank">install Rubygems</a> yourself)</li>
</ul>
<p><span id="more-630"></span>Here&#8217;s the <code>ps -ef</code> output right after startup:</p>
<p><code> UID        PID  PPID  C STIME TTY          TIME CMD<br />
root         1     0  0 15:40 ?        00:00:00 /sbin/init<br />
root         2     0  0 15:40 ?        00:00:00 [kthreadd]<br />
root         3     2  0 15:40 ?        00:00:00 [ksoftirqd/0]<br />
root         4     2  0 15:40 ?        00:00:00 [migration/0]<br />
root         5     2  0 15:40 ?        00:00:00 [watchdog/0]<br />
root         6     2  0 15:40 ?        00:00:00 [events/0]<br />
root         7     2  0 15:40 ?        00:00:00 [cpuset]<br />
root         8     2  0 15:40 ?        00:00:00 [khelper]<br />
root        11     2  0 15:40 ?        00:00:00 [netns]<br />
root        12     2  0 15:40 ?        00:00:00 [async/mgr]<br />
root        17     2  0 15:40 ?        00:00:00 [xenwatch]<br />
root        18     2  0 15:40 ?        00:00:00 [xenbus]<br />
root        64     2  0 15:40 ?        00:00:00 [sync_supers]<br />
root        66     2  0 15:40 ?        00:00:00 [bdi-default]<br />
root        67     2  0 15:40 ?        00:00:00 [kintegrityd/0]<br />
root        69     2  0 15:40 ?        00:00:00 [kblockd/0]<br />
root        76     2  0 15:40 ?        00:00:00 [kseriod]<br />
root       184     2  0 15:40 ?        00:00:00 [khungtaskd]<br />
root       185     2  0 15:40 ?        00:00:00 [kswapd0]<br />
root       186     2  0 15:40 ?        00:00:00 [ksmd]<br />
root       238     2  0 15:40 ?        00:00:00 [aio/0]<br />
root       242     2  0 15:40 ?        00:00:00 [crypto/0]<br />
root       253     2  0 15:40 ?        00:00:00 [khvcd]<br />
root       306     2  0 15:40 ?        00:00:00 [khubd]<br />
root       310     2  0 15:40 ?        00:00:00 [jbd2/xvda1-8]<br />
root       311     2  0 15:40 ?        00:00:00 [ext4-dio-unwrit]<br />
root       373     1  0 15:40 ?        00:00:00 /sbin/udevd -d<br />
root       535     2  0 15:40 ?        00:00:00 [kstriped]<br />
root       600     2  0 15:40 ?        00:00:00 [kauditd]<br />
root       748     1  0 15:40 ?        00:00:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0<br />
root       785     1  3 15:40 ?        00:00:01 /sbin/rsyslogd -c 4<br />
root       796     2  0 15:40 ?        00:00:00 [flush-202:1]<br />
root       835     1  0 15:40 ?        00:00:00 /usr/sbin/sshd<br />
ntp        842     1  0 15:40 ?        00:00:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g<br />
root       849     1  0 15:40 ?        00:00:00 crond<br />
root       859     1  0 15:40 ?        00:00:00 /usr/sbin/atd<br />
root       881     1  0 15:40 hvc0     00:00:00 /sbin/agetty /dev/hvc0 38400 vt100-nav<br />
root       882     1  0 15:40 tty1     00:00:00 /sbin/mingetty /dev/tty1<br />
root       884     1  0 15:40 tty2     00:00:00 /sbin/mingetty /dev/tty2<br />
root       886     1  0 15:40 tty3     00:00:00 /sbin/mingetty /dev/tty3<br />
root       888     1  0 15:40 tty4     00:00:00 /sbin/mingetty /dev/tty4<br />
root       890     1  0 15:40 tty5     00:00:00 /sbin/mingetty /dev/tty5<br />
root       894   373  0 15:40 ?        00:00:00 /sbin/udevd -d<br />
root       895   373  0 15:40 ?        00:00:00 /sbin/udevd -d<br />
root       896     1  0 15:40 tty6     00:00:00 /sbin/mingetty /dev/tty6<br />
root       897     1  0 15:40 ?        00:00:00 /usr/bin/python -tt /usr/sbin/yum-updatesd<br />
root       899     1  0 15:40 ?        00:00:00 /usr/libexec/gam_server<br />
root       900   835  0 15:41 ?        00:00:00 sshd: ec2-user [priv]<br />
ec2-user   902   900  0 15:41 ?        00:00:00 sshd: ec2-user@pts/0<br />
ec2-user   903   902  0 15:41 pts/0    00:00:00 -bash<br />
ec2-user   922   903  0 15:41 pts/0    00:00:00 ps -ef</code></p>
<p>And the output of <code>ls /usr/bin</code> (yes, it&#8217;s messy, just do a Cmd+F and search for what you want):</p>
<p><code> </code></p>
<p><code>[                          db_verify             gtbl           lzdiff               pathchk                     runcon               timeout<br />
a2p                        dc                    gtroff         lzegrep              pax                         run-parts            tload<br />
ac                         ddate                 gunzip         lzfgrep              pcregrep                    rvim                 tmpwatch<br />
addftinfo                  deallocvt             gzexe          lzgrep               pcretest                    s2p                  tnameserv<br />
addr2line                  diff                  gzip           lzless               peekfd                      scp                  toe<br />
afs5log                    diff3                 h2ph           lzma                 perl                        script               top<br />
amuFormat.sh               diff-jars             head           lzmadec              perl5.10.1                  scriptreplay         tput<br />
apropos                    dig                   HEAD           lzmainfo             perlbug                     sdiff                tr<br />
ar                         dir                   hexdump        lzmore               perldoc                     sechecker            troff<br />
as                         dircolors             host           m4                   perlthanks                  secon                truncate<br />
aserver                    dirname               hostid         Mail                 pfbtops                     sediff               tset<br />
at                         dislocate             hoststat       mailq                pgawk                       sedismod             tsort<br />
atq                        djpeg                 hpftodit       mailq.sendmail       pgrep                       sedispol             tty<br />
atrm                       dprofpp               i386           mailstat             pic                         seinfo               tzselect<br />
attr                       du                    iconv          makemap              pic2graph                   semodule_deps        ul<br />
authconfig                 easy_install          id             man                  piconv                      semodule_expand      unbuffer<br />
authconfig-tui             easy_install-2.6      idn            man2html             pinentry                    semodule_link        unexpand<br />
autoexpect                 env                   igawk          manpath              pinentry-curses             semodule_package     uniq<br />
awk                        eqn                   implantisomd5  mapscrn              pinky                       seq                  unlzma<br />
base64                     eqn2graph             indexcon       markdown             pkill                       servertool           unpack200<br />
bashbug-32                 erb                   indxbib        mattrib              pl2pm                       sesearch             unshare<br />
batch                      ex                    info           mbadblocks           pmap                        setarch              unxz<br />
bc                         expand                infocmp        mcat                 pod2html                    setfacl              unzip<br />
berkeley_db_svc            expect                infokey        mcd                  pod2latex                   setfattr             unzipsfx<br />
build-classpath            expr                  infotocap      mcheck               pod2man                     setkeycodes          uptime<br />
build-classpath-directory  factor                install        mclasserase          pod2text                    setleds              urlgrabber<br />
build-jar-repository       faillog               ionice         mcomp                pod2usage                   setmetamode          users<br />
bunzip2                    fallocate             ipcmk          mcookie              podchecker                  setsid               utmpdump<br />
bzcat                      fgconsole             ipcrm          mcopy                podselect                   setterm              uuidgen<br />
bzcmp                      file                  ipcs           md5pass              POST                        setup-nsssysinit.sh  uz<br />
bzdiff                     find                  isohybrid      md5sum               post-grohtml                sftp                 vdir<br />
bzgrep                     find2perl             isosize        mdel                 ppmtolss16                  sg                   vim<br />
bzip2                      findcon               java           mdeltree             pr                          sha1hmac             vimdiff<br />
bzip2recover               find-jar              javaws         mdir                 pre-grohtml                 sha1pass             vimtutor<br />
bzless                     fipscheck             join           mdu                  printenv                    sha1sum              vmstat<br />
bzmore                     fipshmac              jpegtran       memhog               printf                      sha224sum            w<br />
c2ph                       flock                 jvmjar         mesg                 procmail                    sha256hmac           wall<br />
cal                        floppy                k5srvutil      mformat              psed                        sha256sum            watch<br />
captoinfo                  fmt                   kadmin         migratepages         psfaddtable                 sha384hmac           watchgnupg<br />
catchsegv                  fold                  kbdrate        migspeed             psfgettable                 sha384sum            wc<br />
c++filt                    formail               kdestroy       minfo                psfstriptable               sha512hmac           weather<br />
chacl                      free                  keytab-lilo    mkdiskimage          psfxtable                   sha512sum            wget<br />
chage                      ftp-rfc               keytool        mkfifo               pstree                      shasum               whatis<br />
chattr                     funzip                kibitz         mkmanifest           pstree.x11                  showconsolefont      whereis<br />
chcon                      g32pbm                kill           mkpasswd             pstruct                     showkey              which<br />
check-binary-files         g3cat                 killall        mlabel               ptx                         shred                whiptail<br />
checkisomd5                gawk                  kinit          mmd                  purgestat                   shuf                 who<br />
checkmodule                gencat                klist          mmount               pwdx                        size                 whoami<br />
checkpolicy                geqn                  kpasswd        mmove                pxelinux-options            skill                write<br />
cheetah                    GET                   ksu            mpartition           pydoc                       slabtop              write-mime-multipart<br />
cheetah-analyze            getconf               ktutil         mrd                  pydoc2                      slogin               wrjpgcom<br />
cheetah-compile            getent                kvno           mren                 pydoc2.6                    snice                xargs<br />
chfn                       getfacl               last           mshowfat             pygmentize                  soelim               xkibitz<br />
chrt                       getfattr              lastb          mtools               python                      splain               xmlcatalog<br />
chsh                       gethostip             lastcomm       mtoolstest           python2                     split                xmllint<br />
chvt                       getkeycodes           lastlog        mtype                python26                    sprof                xmlwf<br />
cjpeg                      get_module            lchfn          mxtar                python2.6                   sqlite3              xxd<br />
cksum                      getopt                lchsh          mzip                 quota                       ssh                  xz<br />
clean-binary-files         get_reference_source  ld             nail                 ranlib                      ssh-add              xzcat<br />
clear                      gindxbib              ldd            namei                rdist                       ssh-agent            xzcmp<br />
cloud-init                 glookbib              lddlibc4       nano                 rdistd                      ssh-copy-id          xzdec<br />
cloud-init-cfg             gneqn                 less           nc                   rdjpgcom                    ssh-keygen           xzdiff<br />
cloud-init-run-module      gnroff                lessecho       neqn                 readelf                     ssh-keyscan          xzegrep<br />
cmp                        gpasswd               lesskey        newaliases           readlink                    stat                 xzfgrep<br />
col                        gpg                   lesspipe.sh    newaliases.sendmail  rebuild-jar-repository      stdbuf               xzgrep<br />
colcrt                     gpg2                  linux32        newgrp               rebuild-security-providers  strings              xzless<br />
colrm                      gpg-agent             linux64        nl                   refer                       strip                xzmore<br />
column                     gpgconf               lkbib          nm                   rename                      sudo                 yes<br />
comm                       gpg-connect-agent     loadunimap     nohup                renice                      sudoedit             yum<br />
conman                     gpg-error             locale         nproc                replcon                     sum                  zcmp<br />
conmen                     gpgkey2ssh            localedef      nroff                reset                       symlinks             zdiff<br />
create-jar-links           gpgparsemail          lockfile       nslookup             resizecons                  syslinux             zegrep<br />
crontab                    gpgsplit              logger         nsupdate             rev                         syslinux2ansi        zfgrep<br />
csplit                     gpgv                  logname        ntpstat              rftp                        systool              zforce<br />
curl                       gpgv2                 look           numactl              rhino                       tabs                 zgrep<br />
cut                        gpg-zip               lookbib        numademo             rlogin-cwd                  tac                  zip<br />
cytune                     gpic                  lpunlock       numastat             rmail                       tail                 zipcloak<br />
db_archive                 gprof                 lsattr         objcopy              rmail.sendmail              tailf                zipgrep<br />
db_checkpoint              grefer                lscpu          objdump              rmid                        tbl                  zipinfo<br />
db_codegen                 grn                   lss16toppm     od                   rmiregistry                 tclsh                zipnote<br />
db_deadlock                grodvi                lua            oldfind              rnano                       tclsh8.5             zipsplit<br />
db_dump                    groff                 luac           oldrdist             rngtest                     tee                  zless<br />
db_dump185                 groffer               lwp-download   open                 rpcgen                      test                 zmore<br />
db_hotbackup               grog                  lwp-dump       openssl              rpm2cpio                    testrb               znew<br />
db_load                    grolbp                lwp-mirror     openvt               rpmdb                       tfmtodit             zsoelim<br />
db_printlog                grolj4                lwp-request    orbd                 rpmquery                    tgz<br />
db_recover                 grops                 lwp-rget       pack200              rpmsign                     tic<br />
db_stat                    grotty                lz             passmass             rpmverify                   time<br />
db_upgrade                 groups                lzcat          passwd               rsync                       timed-read<br />
dbus-binding-tool          gsoelim               lzcmp          paste                ruby                        timed-run</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.libbyh.com/2011/06/23/whats-running-on-free-micro-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Started with Amazon EC2 on a Mac</title>
		<link>http://www.libbyh.com/2011/06/23/getting-started-with-amazon-ec2-on-a-mac/</link>
		<comments>http://www.libbyh.com/2011/06/23/getting-started-with-amazon-ec2-on-a-mac/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 15:23:11 +0000</pubDate>
		<dc:creator>libbyh</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Social Computing]]></category>

		<guid isPermaLink="false">http://www.libbyh.com/?p=618</guid>
		<description><![CDATA[I&#8217;m setting up some free Amazon EC2 instances so I can run my Twitter data collectors without violating the terms of my Dreamhost hosting agreement or worrying about losing power on my office machine (happened just last week). Despite the many Google results for &#8220;getting started with ec2 on a mac&#8221;, the process is not [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m setting up some free Amazon EC2 instances so I can run <a title="CaSM Lab Github repo" href="https://github.com/casmlab/Twitter-collectors" target="_blank">my Twitter data collectors</a> without violating the terms of my <a title="Dreamhost signup" href="http://www.dreamhost.com/r.cgi?324555" target="_blank">Dreamhost</a> hosting agreement or worrying about losing power on my office machine (happened just last week). Despite the many Google results for &#8220;getting started with ec2 on a mac&#8221;, the process is not that complicated.</p>
<p><strong><span id="more-618"></span>Instructions</strong></p>
<p>First, you need to generate an SSH key pair. The AWS Management Console makes this easy: Choose &#8220;Key Pairs&#8221; from the left menu bar under EC2. Follow the instructions, and download your *.pem somewhere you&#8217;ll remember.</p>
<p>Then, start your EC2 instance with that key pair and associate your elastic IP with that instance.</p>
<p>Once you have an EC2 instance up and running with your designated key pair, you should be able to SSH in just like you do to other servers:</p>
<p><code>ssh -i ec2-keypair ec2-user@ec2-elastic-ip</code></p>
<p>(Or,Â use <code>ssh-add ec2-keypair.pem</code> before <code>ssh</code> so you can drop the <code>-i</code> option)</p>
<p><strong>Common problems</strong></p>
<p>Problem: I get <code>Permission denied (publickey).</code><br />
Solutions:</p>
<ol>
<li>Make sure you&#8217;re using the right public key (check your EC2 Management Console. The Key Pair Name should match the *.pem you&#8217;re using.</li>
<li>Use the full path to the *.pem file for <code>ec2-keypair</code>.</li>
<li>Make sure you&#8217;re using the right username, should be <code>ec2-user</code></li>
</ol>
<p><strong>Notes</strong></p>
<p>Many forums recommend <a title="Elasticfox" href="http://aws.amazon.com/developertools/609?_encoding=UTF8&amp;jiveRedirect=1" target="_blank">Elasticfox</a> Firefox extensionÂ for managing your AWS instances. That&#8217;s overkill if you just want to SSH in and get something started. Clicking the &#8220;Connect to Instance&#8221; button in Elasticfox just opens terminal with the SSH command above anyway. So, if you&#8217;re a happy Chrome user like I am, you can continue to avoid Firefox and connect happily on your own via the command line.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.libbyh.com/2011/06/23/getting-started-with-amazon-ec2-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

