= 2010-05-28 = * 安裝 Cloudera hadoop 套件 {{{ #!sh #!/bin/bash sudo apt-get install lsb-release dist=$(lsb_release -c | awk '{ print $2 }') echo "deb http://archive.cloudera.com/debian $dist-cdh2 contrib" > cloudera.list echo "deb-src http://archive.cloudera.com/debian $dist-cdh2 contrib" >> cloudera.list sudo mv cloudera.list /etc/apt/sources.list.d/. curl -s http://archive.cloudera.com/debian/archive.key | sudo apt-key add - sudo apt-get update sudo apt-cache search hadoop sudo apt-get install hadoop-0.20 hadoop-0.20-pipes hadoop-0.20-conf-pseudo }}}