数学之路-分布式计算-hadoop、python与R(2)

下载hadoop:

bash-4.2$ wget http://mirrors.cnnic.cn/apache/hadoop/common/hadoop-2.4.1/hadoop-2.4.1.tar.gz

同时有兴趣者也可同时下载hadoop源码,以便查阅

bash-4.2$ wget http://mirrors.cnnic.cn/apache/hadoop/common/hadoop-2.4.1/hadoop-2.4.1-src.tar.gz

解压 

[myhaspl@localhost hadoop-2.4.1]$ tar -zxvf hadoop-2.4.1.tar.gz

[myhaspl@localhost ~]$ cd hadoop-2.4.1


安装R

yum install gcc-gfortran

yum install gcc gcc-c++

yum install readline-devel

yum install libXt-devel

# wget http://mirror.bjtu.edu.cn/cran/src/base/R-3/R-3.1.1.tar.gz

# tar zxvf R-3.1.1.tar.gz

cd R-3.1.1

./configure

make

make install

make check 

ln -s /home/myhaspl/R-3.1.1/bin/R/usr/local/bin/R


R

你可能感兴趣的:(hadoop,数学,分布式计算)