Saturday, May 18, 2013

Install VM for Data Science Class


go here

https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/5_0

download and install VMWare Player

then download the .ova file from the spark-public link you posted
it will be approximately 2,451,525 bytes or 2.33 GB or 2,510,something bytes

then start VMWare Player and select Open Virtual Machine
select the .ova file you downloaded

it WILL give you an error

it might say saying "invalid /corrupted file"
in which case the file didn't completely download
so you'll have to try and download it again

but even if it downloads completely and correctly, it will say "file didn't pass .ofv specification, try again"

for the 2nd message, just hit ok and it will try again
it will take a few seconds while it sets up

then a 800 x 600 linux window will appear

and you're good to go.

Since the example won’t work on Windows, you’ll need to resort to using Powershell to get the first 10 lines. Here’s how you do it.
Open Powershell – click Start – in Search for programs and files, type “Powershell”. You’ll see it come up on your list of apps.
Launch Powershell and type the following:
1
Get-Content -Path output.json | select-object -first 20 > output.tx

No comments:

Post a Comment