Install Spark/Shark on CDH 4

CDH 4 is the currently stable version of Cloudera Distribution of Hadoop. http://cloudera.com/
Apache Spark is a fast and general engine for large-scale data processing. http://spark.incubator.apache.org/
Shark is a Hive compatible query engine Based on Spark. http://shark.cs.berkeley.edu/

Cloudera provides a parcel for Apache Spark, official parcel at http://archive.cloudera.com/spark/ and you can get it from my mirror (only if you’re on CentOS/RHEL 6 x86_64) Cloudera Mirror.

Environment

CentOS 6.4 x86_64, host names hadoop1-hadoop5.
Cloudera Manager 4.8.1
CDH 4.5.0
Continue reading “Install Spark/Shark on CDH 4” »

Install Spark/Shark on CDH 4 by @sskaje: https://sskaje.me/2014/02/install-spark-shark-cdh-4/

Incoming search terms:

OpenConnect on Ubuntu

This post is not yet finished

OpenConnect is an open source implementation of Cisco’s AnyConnect SSL VPN which is natively supported by iOS(You can create profile with Apple Configurator like iOS IPSec VPN Server on Ubuntu).

OpenConnect VPN Server can be found on http://www.infradead.org/ocserv/ and downloaded from ftp://ftp.infradead.org/pub/ocserv/, manual http://www.infradead.org/ocserv/manual.html
Let’s build it on Ubuntu 13.10!

Download & Extract

Dependencies

Continue reading “OpenConnect on Ubuntu” »

OpenConnect on Ubuntu by @sskaje: https://sskaje.me/2014/02/openconnect-ubuntu/

Incoming search terms:

LC_CTYPE issue on OS X SOLVED!

Meet The Problem

Problem occurs when I’m using ssh working on my Ubuntu/Debian from ‘Terminal‘ of Mac OS X’s own.

I can’t remember the first time I saw

Continue reading “LC_CTYPE issue on OS X SOLVED!” »

LC_CTYPE issue on OS X SOLVED! by @sskaje: https://sskaje.me/2014/01/lc-ctype-issue/

Incoming search terms:

Virtualized ARM on Ubuntu

I was finding articles/wikis how to emulate an arm linux (armel) on centos/ubuntu, then I found this from MDN: https://developer.mozilla.org/en-US/docs/Developer_Guide/Virtual_ARM_Linux_environment.

This article uses an old release by linaro which based on Ubuntu natty that can no longer be found on http://ports.ubuntu.com.
As Ubuntu says, armel would not be supported, that’s why the latest code name of ubuntu supporting armel is begin with ‘Q’.

I found another server release and a new nano, tried that with similar commands, notes are below:

Continue reading “Virtualized ARM on Ubuntu” »

Virtualized ARM on Ubuntu by @sskaje: https://sskaje.me/2013/12/virtualized-arm-ubuntu/

Incoming search terms:

Notes: PPTP/L2TP Server on Ubuntu

From: https://help.ubuntu.com/community/PPTPServer and https://help.ubuntu.com/community/L2TPServer

This is an integrated & simplified intro about installing pptp/l2tp server on ubuntu 12.04.

Install

pptpd, xl2tpd, openswan are needed.
ppp should be installed by default, you can apt-get install ppp just for sure.
dnsmasq is needed to simplify dns issue.
So, just type commands:

Environment

Server ip is assigned as: 192.168.210.1
Client ip are in : 192.168.210.100~192.168.210.200

Continue reading “Notes: PPTP/L2TP Server on Ubuntu” »

Notes: PPTP/L2TP Server on Ubuntu by @sskaje: https://sskaje.me/2013/10/notes-pptpl2tp-server-on-ubuntu/