글

Hadoop-HDFS

HADOOP, HDFS 왠만큼 국내에서도 사용자 층이 있는것 같다. KFS 는 아직 테스트 단계라 불안하고 지원이 미비해서 HADOOP 을 해봤다. single cluster 설정은 금방 할수 있었다. 문제는 multi cluster..... 하루동안 흔히 말하는 삽질을 해서 경우 multi cluster 설정법을 알아냈다. ㅜㅜ (single cluster 설정법) http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_(Single-Node_Cluster) (multi cluster 설정법) http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_(Multi-Node_Cluster) (window 상에서 eclipse 로 테스트 코드) import java.net.URI; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; public class HadoopTest { public static void main(String[] args) throws Exception { Configuration conf = new Configuration(); conf.addResource(new Path("./hadoop-default.xml")); conf.addResource(new Path("./hadoop-site.xml")); conf.set("hadoop.job.ugi", "skeom,skeom"); System.out.println("" + conf.get(...

이미지 보기 - Sent Using Google Toolbar

이미지
이미지 보기

debian tip 2

debian 설치후 해야할것들 2 0, 한영키 설정 데스크탑 - 기본설정 - 키보드 - [키배치]탭 -> [더하기] - "Korea, Republic of" -- [위로] 올려주고 체크(v)하면, 한영키 바로먹힘. 삑소리 끄기 (콘솔에서 백스페이스 누를때 굉장히 거슬린다.. 빨리 끄자) 데스크탑 - 기본설정 - 소리 - 시스템소리 탭 : 벨소리 체크 푼다. 1. /etc/apt/sources.list 업데이트 (mplayer, 코덱 패키지를 위해..) > vi /etc/apt/sources.list 다음을 추가한다. deb http://www.debian-multimedia.org stable main > apt-get update 2. GPG 서버에서 Marillat씨의 Key를 가져옴 ( http://debianusers.org/DebianWiki/wiki.php/Mplayer#s-2.2 ) $ gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 1F41B907 apt 키 저장소에 추가하기 $ gpg --armor --export 1F41B907 | apt-key add - 3. 멀티미디어 환경 설치 > apt-get install mplayer > apt-get install w32codecs > apt-get install mozilla-mplayer mp3 듣기 : > apt-get install beep-media-player http://www.ubuntu.or.kr/wiki.php/BMP_Beep-Media-Player Adobe Flash Player Plugin 설치 > apt-get install libflash-mozplugin 4. /boot/grub/menu.list 편집 : Default 부팅순서 변경

debian tip

이미지
debian 설치후 해줄것들... clipped from ahvohpuc.tistory.com 네트웍 설정 - dhcp 설정 중 취소 - 수동설정 ( ip주소, netmask, gateway 알고 있어야 함) - 자동으로 설정되었을 경우 고정아이피 지정하려면 dhcp3 패키지 삭제해야 함 ssh 설치 apt-get install openssh-server root 로긴 금지 /etc/ssh/sshd_config 파일에서 PermitRootLogin Yes # yes를 no로 바꿔줌 ftp 설치 #atp-get install wu-ftpd 시간설정 (UTC 사용안함) )# date -s '2007-08-31 06:30:30' # hwclock --systohc // 새로 바뀐 시간을 H/W clock 에 설정 locale 추가(euc-kr) #/etc/locale.gen 파일에 다음을 추가 ko_KR.EUC-KR EUC-KR ko_KR.UTF-8 UTF-8 #locale-gen locale-gen 명령 실행 .bash_profile 에 charset 지정 LANG=ko_KR.EUC-KR LANGUAGE=ko_KR.EUC-KR apache2에서 utf-8, euc-kr 동시 사용 #/etc/apace2/conf.d/charset 에서 AddDefaultCharset UTF-8 주석처리 #AddDefaultCharset UTF-8 #/etc/apach2/mods-enabled/php5.conf 에 .html 추가 <IfModule mod_php5.c> AddType application/x-httpd-php .php .phtml .php3 .html AddType application/x-httpd-php-source .phps </IfModule> Get Clipmarks - The easiest way to email text,...

ubuntu 패키지 자동정리..

이미지
 clipped from firewaltz.tistory.com 업데이트 하거나 인스톨중 불의의 사고로 시스템이 멈춰버렸을때.... 강제로 adept(시냅틱)을 죽이고 sudo dpkg --configure -a 해주면 이상있던 패키지가 자동 처리~~ 나만 몰랐던거야~~~ㅡ,,ㅡ?? 이올린에 북마크하기 Get Clipmarks - The easiest way to email text, images and videos you find on the web.

망해가는 대한민국을 풍자한 만화....

이미지
무섭다는 생각.. 나뿐인가.?  clipped from bbs2.agora.media.daum.net Get Clipmarks - The easiest way to email text, images and videos you find on the web.

이외수..

이미지
clipped from bbs1.agora.media.daum.net 인류의 역사 속에는 백성이 자기를 손가락질한다고 백성의 손가락을 잘라 버리는 왕들이 있었다. 지구를 통틀어 지금은 그런 왕이 한 명도 존재하지 않는다고 자신있게 단정할 수 있는 사람이 있을까. 만약 백성이 자기를 손가락질한다고 백성의 손가락을 잘라 버리는 왕이 있다면 백성들은 백성들 모두의 팔다리가 모조리 잘라져 절구통 같은 모습으로 살아가는 한이 있더라도 왕에 대한 항거를 멈추지 말아야 한다. 2008년 5월 25일 9시. Get Clipmarks - The easiest way to email text, images and videos you find on the web.