Figuring it out one step at a time.
Data scientist, digital biologist and media publisher.

http://www.walterjessen.me

Walter Jessen

Upgrading a Mac to Yosemite with a Bootable USB Installer

1 min read

I’m upgrading my MacBook to OS X 10.10 Yosemite tonight, but before I do so, I’m burning it to a bootable USB installer drive. Why? For me, the main reason is that a bootable installer drive makes a handy emergency disk in the event my Mac experiences problems. 

It’s not difficult to create a bootable installer drive from the Yosemite installer. Lifehacker did a nice write up on how to do it: How to Burn OS X Yosemite to a USB Flash Drive

A word of warning — if you have a Mavericks installation USB, the instructions above will erase it prior to burning Yosemite.

Additional resources for the upgrade:

See you on the other side!

Walter Jessen

Why Growth is Killing Digital Agencies; How to Survive the Operations Crisis http://adage.com/article/digitalnext/growth-killing-digital-agencies/295441/

Walter Jessen

Data scientists spend 50-80% collecting and preparing unruly digital data before it can be explored. http://onforb.es/1tk7SJH

Walter Jessen

Walter Jessen

10lbs of strawberries, 1000 baggies, 6 quarts alcohol. Ready to extract DNA! Visit the @Covance booth tomorrow at @CelebScienceIN. #csin14

Walter Jessen

Getting Known Installed on a Shared Server #indieweb

2 min read

I heard about Known a few weeks ago via This Week in Google and immediately knew I had to try it out. I ran into a few configuration requirement issues getting Known installed on a Dreamhost shared server, specifically the php extensions fileinfo, intl and oauth. Here's what I did to fix this.

  1. SSH into your server. Create folders for a custom php settings file. I'm running PHP 5.4:
    mkdir -p ~/.php/5.4
  2. In the 5.4 folder, create a text file named phprc:
    vi phprc
  3. For the first two extensions, which are already installed but not active by default, add these two lines to the phprc file:
    extension=intl.so
    extension=fileinfo.so
  4. For oauth, we need to download and build it. First, however, we need to copy the php-config file to our home directory:
    cp /usr/local/php54/bin/php-config ~/.php/5.4/php-config
  5. On a shared server, you can't install new extensions in the default extensions directory, so you have to replace the path with one you can write to. Once you've copied the php-config file, replace the "extension_dir" line with the following (where username = the name of your user directory):
    extension_dir='/home/username/.php/5.4/extensions'
  6. Now create your extensions directory:
    mkdir -p ~/.php/5.4/extensions
  7. In the extensions folder you just created, download the oauth PECL extension, decompress it and remove unnecessary files:
    wget http://pecl.php.net/get/oauth-1.2.3.tgz
    tar -xvf oauth-1.2.3.tgz
    rm oauth-1.2.3.tgz package.xml
  8. Move in to the oauth folder and prepare the build environment for a php extension by running phpize:
    cd oauth-1.2.3
    /usr/local/php54/bin/phpize
  9. Now configure and make the extension:
    ./configure --with-php-config=/home/username/.php/5.4/php-config
    make
  10. When you're finished, force php to reload its configuration file for changes to take effect using the following shell code to kill all the existing php processes:
    killall -9 php54.cgi
  11. If you started installing Known and stopped at the requirements page, reload it. The page should now show that the fileinfo, intl and oauth extensions are installed.

Reference

Walter Jessen

Celebrate Science Indiana 2014

Science festival

Location: Indiana State Fair Grounds

Time:

Ends:

An annual public science festival held in Indianapolis, Indiana, that has hands-on, interactive activities for kids and their families.

http://www.celebratescienceindiana.org

Walter Jessen

Testing my first status update from my #known installation on WalterJessen.com