wiki:jazz/13-11-30

Version 6 (modified by jazz, 11 years ago) (diff)

--

2013-11-30

CDH4 on hiCloud Ubuntu 12.04 VM

{{ #!sh ## 產生 zh_TW.UTF-8 語系支援 locale-gen zh_TW.UTF-8 ## 安裝 Sun JDK 6 if [ ! -x /usr/bin/add-apt-repository ]; then sudo apt-get -f -y install python-software-properties; fi if [ ! -x /usr/bin/java ]; then

echo "---- [1] Installing Sun Java JDK 6 ........ ----" sudo add-apt-repository -y 'deb http://free.nchc.org.tw/debian squeeze non-free' sudo apt-get update cat << EOF | sudo /usr/bin/debconf-set-selections

sun-java6-bin shared/accepted-sun-dlj-v1-1 select true sun-java6-jdk shared/accepted-sun-dlj-v1-1 select true sun-java6-jre shared/accepted-sun-dlj-v1-1 select true EOF

sudo apt-get -y --force-yes install sun-java6-jdk sun-java6-plugin sudo add-apt-repository -r 'deb http://free.nchc.org.tw/debian squeeze non-free'

fi ## 下載 CDH4 設定金鑰與套件庫清單檔(/etc/apt/sources.list.d/cloudera-cdh4.list) wget http://archive.cloudera.com/cdh4/one-click-install/precise/amd64/cdh4-repository_1.0_all.deb dpkg -i cdh4-repository_1.0_all.deb }}

HDP for Windows