archive.cloudera.com/cdh4/one-click-install/precise/amd64/cdh4-repository_1.0_all.deb
sudo dpkg -i Downloads/cdh4-repository_1.0_all.deb
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install hadoop-0.20-mapreduce-jobtracker
As of May 5, 2015 the supported releases are Wily Werewolf (15.10), Vivid Vervet (15.04), Trusty Tahr (14.04; LTS), and Precise Pangolin (12.04; LTS)
See https://wiki.ubuntu.com/Releases for details.
# Installation
To obtain the latest R packages, add an entry like
deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu wily/
or
deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu vivid/
or
deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu trusty/
or
deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu precise/
in your /etc/apt/sources.list file, replacing <my.favorite.cran.mirror> by the actual URL of your favorite CRAN mirror. See https://cran.r-project.org/mirrors.html for the list of CRAN mirrors. To install the complete R system
sudo apt-get install r-base
Users who need to compile R packages from source [e.g. package maintainers, or anyone installing packages with install.packages()] should also install the r-base-dev package:
install curl and xml on linux.
sudo apt-get install r-base-dev
sudo apt-get install r-cran-rjava
sudo apt-get install libxml2-dev
sudo apt-get install libcurl4-openssl-dev
make sure you have java java -version
sudo R
install.packages("RCurl")
install.packages( c('RJSONIO', 'itertools', 'digest', 'Rcpp','httr','functional','devtools'),repos='http://cran.revolutionanalytics.com')
download rmr and rhdfs from https://github.com/RevolutionAnalytics/RHadoop/wiki
export JAVA_HOME=/usr/lib/jvm/default-java
add JAVA_HOME to the file: /etc/environment
sudo R CMD javareconf
install cloudera
https://archive.cloudera.com/cdh5/one-click-install/trusty/amd64/cdh5-repository_1.0_all.deb
sudo dpkg -i cdh5-repository_1.0_all.deb
https://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin
http://192.168.2.129:7180/
admin
admin
The file to edit is now located in /usr/share/lightdm/lightdm.conf.d, and is called: 50-ubuntu.conf.
I just added the line:
greeter-show-manual-login=true
sudo nano /etc/ssh/sshd_config
PermitRootLogin yes
install.packages("/home/hadoop/Downloads/rhdfs_1.0.8.tar.gz")
Sys.setenv(HADOOP_HOME="/usr/lib/hadoop-0.20-mapreduce")
Sys.setenv(HADOOP_CMD="/usr/bin/hadoop")
Sys.setenv(HADOOP_STREAMING="/usr/lib/hadoop-0.20-mapreduce/contrib/streaming/hadoop-streaming-2.6.0-mr1-cdh5.4.2.jar")
Sys.setenv(JAVA_HOME="/usr/lib/jvm/jre-1.8.0-openjdk.x86_64")
RHadoop
- on 4:06 PM
- No comments

Post a Comment