1.安装jdk(略)
2.蒋下面两行加到文件/etc/apt/sources.list.d/cloudera.list
查看debian 的 name of your distributio
lsb_release -c
deb http://archive.cloudera.com/debian squeeze-cdh3 contrib
deb-src http://archive.cloudera.com/debian squeeze-cdh3 contrib
或
deb http://archive.cloudera.com/debian DISTRO-cdh3 contrib
deb-src http://archive.cloudera.com/debian DISTRO-cdh3 contrib
3.终端运行
curl -s http://archive.cloudera.com/debian/archive.key | apt-key add -
4 更新
apt-get update
5 搜索
apt-cache search hadoop
hadoop-0.20 - A software platform for processing vast amounts of data
hadoop-0.20-conf-pseudo - Pseudo-distributed Hadoop configuration
hadoop-0.20-datanode - Data Node for Hadoop
hadoop-0.20-doc - Documentation for Hadoop
hadoop-0.20-jobtracker - Job Tracker for Hadoop
hadoop-0.20-namenode - Name Node for Hadoop
hadoop-0.20-native - Native libraries for Hadoop (e.g., compression)
hadoop-0.20-pipes - Interface to author Hadoop MapReduce jobs in C++
hadoop-0.20-secondarynamenode - Secondary Name Node for Hadoop
hadoop-0.20-source - Source code for Hadoop
hadoop-0.20-tasktracker - Task Tracker for Hadoop
hadoop-hive - A data warehouse infrastructure built on top of Hadoop
hadoop-pig - A platform for analyzing large data sets using Hadoop
libhdfs0 - JNI Bindings to access Hadoop HDFS from C
6 安装
apt-get install hadoop-0.20
7 安装相应的
hadoop-0.20-jobtracker - Job Tracker for Hadoop
hadoop-0.20-namenode - Name Node for Hadoop
hadoop-0.20-datanode - Data Node for Hadoop
hadoop-0.20-tasktracker - Task Tracker for Hadoop
hadoop-0.20-secondarynamenode - Secondary Name Node for Hadoop