Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- agile
- Software Engineering
- web
- hbase
- history
- Programming
- program
- Malaysia
- comic agile
- Book
- psychology
- Book review
- Italy
- Spain
- erlang
- management
- Java
- programming_book
- QT
- France
- Linux
- Kuala Lumpur
- RFID
- leadership
- ubuntu
- MySQL
- essay
- django
- Python
- hadoop
Archives
- Today
- Total
Installation CDH3 on Cent OS 본문
Cent OS
- during installation
- select only 'server' package
- manual setting for IP address
- manual setting for DNS
- after installation
- # yum -y update
- # /etc/init.d/ssh start
- set service which need to start automatically
- # ntsysv
CDH
- Prerequisite
- add user for servers
-
http://www.startupcto.com/server-tech/centos/adding-a-user
- # groupadd [group name]
- # useradd [user id] -g [group name] -d /home/[user id] -s /bin/bash
- # passwd
-
- make added users password-less and root-privileged: http://devtainer.blogspot.com/2011/03/sudo-in-centos_16.html
- # su -
- # chmod u+w /etc/sudoers
- register user by setting '[user id] ALL=(ALL) NOPASSWD: ALL'
- # chmod u-w /etc/sudoers
-
- # vi /etc/sysconfig/iptables
- add this line '-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport [port number] -j ACCEPT'
- # /etc/init.d/iptables restart
- # iptables -L –n
-
- # service iptables save
- # service iptables stop
- # chkconfig iptables off
- check whether 'ping archive.cloudera.com' works: it didn't work, but it's okay to install
- configure DNS and reverse DNS properly: network manager's work
- http://itknowledgeexchange.techtarget.com/itanswers/how-to-configure-2/
- http://www.lamolabs.org/blog/282/how-to-setup-a-dns-server-on-centos-5/
- http://blueamor.tistory.com/98
- http://faq.hostway.co.kr/xe/1344
- http://www.starhost.co.kr/xe/index.php?mid=hosting_tip_server&page=3&document_srl=80494
- http://ituner.tistory.com/132
-
- disable SELinux: http://wiki.centos.org/HowTos/SELinux
- # sestatus
- # vi /etc/selinux/config
- set 'SELINUX=disabled'
- # reboot
- check /etc/hosts
- if there is no line '10.1.20.xy ha01.something.com ha01' for ha01 and '10.1.20.zw ha02.something.com ha02' for ha02, scm installer doesn't work properly
- before modifying /etc/hosts: IP Adress has wrong information 127.0.0.1 for ha01.something.com
- execute scm installer
- $ wget http://archive.cloudera.com/scm/installer/latest/scm-installer.bin
- $ chmod u+x ./scm-installer.bin
- $ sudo ./scm-installer.bin
- If failed, execute it again then It'll work
- Connect to [server name or ip]:7180
Comments