Changes between Version 5 and Version 6 of jazz/13-11-30


Ignore:
Timestamp:
Nov 30, 2013, 11:59:11 PM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/13-11-30

    v5 v6  
    11= 2013-11-30 =
    22
     3== CDH4 on hiCloud Ubuntu 12.04 VM ==
     4
     5{{
     6#!sh
     7## 產生 zh_TW.UTF-8 語系支援
     8locale-gen zh_TW.UTF-8
     9## 安裝 Sun JDK 6
     10if [ ! -x /usr/bin/add-apt-repository ]; then   sudo apt-get -f -y install python-software-properties; fi
     11if [ ! -x /usr/bin/java ]; then
     12  echo "---- [1] Installing Sun Java JDK 6 ........ ----"
     13  sudo add-apt-repository -y 'deb http://free.nchc.org.tw/debian squeeze non-free'
     14  sudo apt-get update
     15  cat << EOF | sudo /usr/bin/debconf-set-selections
     16sun-java6-bin   shared/accepted-sun-dlj-v1-1    select true
     17sun-java6-jdk   shared/accepted-sun-dlj-v1-1    select true
     18sun-java6-jre   shared/accepted-sun-dlj-v1-1    select true
     19EOF
     20  sudo apt-get -y --force-yes install sun-java6-jdk sun-java6-plugin
     21  sudo add-apt-repository -r 'deb http://free.nchc.org.tw/debian squeeze non-free'
     22fi
     23## 下載 CDH4 設定金鑰與套件庫清單檔(/etc/apt/sources.list.d/cloudera-cdh4.list)
     24wget http://archive.cloudera.com/cdh4/one-click-install/precise/amd64/cdh4-repository_1.0_all.deb
     25dpkg -i cdh4-repository_1.0_all.deb
     26}}
    327== HDP for Windows ==
    428