kickstart
http://wiki.linuxstudy.pe.kr/wiki.php/kickstart#s-1.2

puttyCS
http://aero.sarang.net/blog/2008/10/puttycs-putty.html
 
ssh 서버로 동시에 많은 명령 내리기
http://aero.sarang.net/blog/2008/11/ssh.html 

Rex
http://rexify.org/

ssh-copy-id로 암호없이 scp 사용
http://mytory.co.kr/archives/1144
저작자 표시 비영리 변경 금지
https://geni-orca.renci.org/trac/wiki/centosSetup

1. add repository
# cd /etc/yum.repos.d
# wget http://www.jpackage.org/jpackage50.repo

2. install maven (2.0.7)
# yum install maven2

http://www.cahilig.net/2011/03/24/how-install-oracle-java-runtime-environment-fedora-14-64-bit

3. change java package from openjdk into others (if necessary)
# alternatives --config java

# wget http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.tar.gz
# tar xvfz apache-maven-2.2.1-bin.tar.gz
# mv apache-maven-2.2.1 /usr/share

alternatives --install /etc/alternatives/maven maven /usr/share/maven2 1
alternatives --install /etc/alternatives/maven maven /usr/share/apache-maven-2.0.10 1
ln -s /etc/alternatives/maven /usr/share/maven
alternatives --config maven

# vi /usr/bin/mvn
change 'export M2_HOME=/usr/share/maven2' into 'export M2_HOME=/usr/share/apache-maven-2.2.1'
저작자 표시 비영리 변경 금지
2011/08/05 - [Programming] - Install Sqirrel SQL & create monetdb driver on Ubuntu 10.04

참고: http://codingclues.eu/2008/the-squirrel-100-rows-problem/

현재 사용 버전: SQuirrel SQL Client Version 3.2.2 on Ubuntu 10.04
원하는 작업: table dump 시 table 전체를 dump하고 싶은데 100행만 dump됨. 100 rows limit를 끄고 싶음

방법1: prefs.xml을 찾아 <SQLLimitRows> 속성을 false로 바꿈 > 윈도우즈 버전에만 있는 파일인지 찾을 수 없었음
방법2: 다음과 같이 Object Tree에서 Contents - Limit rows 체크 박스에서 체크 해제 > 결과는 같음

방법3: SQL 탭에서 SQL results - Limit rows 체크 박스의 체크 해제
약 530000 라인의 table 전체를 dump하려고 하니 제대로 되지 않음. 아마 메모리 문제 등으로 다운된 듯.



저작자 표시 비영리 변경 금지

Mac 설정

2011/12/20 22:57
Mac 사용 방법: http://www.apple.com/kr/findouthow/mac/#anatomy
Mac password reset: http://osxdaily.com/2010/08/10/forgot-mac-password-how-to-reset-mac-password/
Switching from a PC: http://www.dummies.com/how-to/computers-software/macs-os-x/Switching-from-a-PC.html


0. kernel이 32bit인지 64bit인지 검사
http://osxdaily.com/2009/09/07/how-to-tell-if-youre-running-the-32-bit-or-64-bit-kernel-in-mac-os-x-snow-leopard/
$ uname -a

http://www.makeuseof.com/tag/free-alternatives-to-popular-commercial-mac-applications/

1. programs
iTerm2 - http://www.iterm2.com
firefox - last pass, gesture, delicious
chrome
GOM player
www.pooq.co.kr + flash player 설치 필요 > pooq.co.kr은 한국 ip만 가능
viewer - http://www.geocities.jp/coo_ona/cooviewer1.2b18.dmg / FFview
write to NTFS - http://macntfs-3g.blogspot.com/ (not free)
http://macntfs-3g.blogspot.com/2010/01/ntfs-3g-for-mac-os-x-2010116.html (free, safe?)


DMG 생성
DropDMG - http://c-command.com/dropdmg/ (trial or $24)
QuickDMG - http://x86osx.com/bbs/view.php?id=pds&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=reg_date&desc=desc&no=1317

압축
http://www.macupdate.com/app/mac/21430/simplyrar
unarchiver(for .sit file) - http://wakaba.c3.cx/s/apps/unarchiver.html
http://www.appleforum.com/os/46501-%5B%EC%A7%88%EB%AC%B8%5D-%EB%A7%A5%EC%97%90%EC%84%9C-pc%EB%A1%9C-%EB%B3%B4%EB%82%BC-%ED%8C%8C%EC%9D%BC-%EB%B6%84%ED%95%A0-%EC%95%95%EC%B6%95-%EB%B0%A9%EB%B2%95.html

메신저
adium - MSN 접속에 문제 있음
skype - version 2.8과 최신 버전의 차이점은?
http://www.macupdate.com/app/mac/32113/voicemac > google voice 설정 했으나 안됨
http://googlevoiceblog.blogspot.com/2011/03/click-to-call-phone-numbers.html
http://www.yate.null.ro/pmwiki/index.php?n=Main.YateClient

2. fonts
http://www.tobias-jung.de/seekingprofont/

3. VPN
http://cisco-vpn-client.en.softonic.com/mac/download - 4.9.01.0180. 최신 version(http://www.macupdate.com/app/mac/10317/cisco-vpn-client)이 오류가 있다고 함
http://www.cisco.com/en/US/products/sw/secursw/ps2308/products_user_guide_chapter09186a008015cffe.html
http://anders.com/guides/native-cisco-vpn-on-mac-os-x/

4. programming
java
java vm 우선순위 조정 및 설정: https://gephi.org/users/install-java-6-mac-os-x-leopard/
Git: http://code.google.com/p/git-osx-installer/downloads/list
brew: https://github.com/mxcl/homebrew/wiki/installation
 
저작자 표시 비영리 변경 금지
태그 Mac
http://www.howtoforge.com/how-to-install-vmware-player-on-ubuntu-11.04-linux-mint-11

$ sudo apt-get install build-essential linux-headers-`uname -r`
$ gksudo bash ./VMware-Player-4.0.1-528992.x86_64.bundle
저작자 표시 비영리 동일 조건 변경 허락
Missing time synchronization, scm console cannot start properly. Because of time sync, I installed ntpdate like below;

2011/10/07 - [Programming] - CentOS: time syncronization in local network / setting timezone

However time sync is broken after 2 months. So, to prohibit this problem, I wrote 'crontab' on every server.

0 0 * * * /sbin/ntpdate [ntp server] > /dev/null 2>&1

저작자 표시 비영리 변경 금지

1. unset current HADOOP_CONF_DIR if set

2.
$ sudo mv [conf dir path] /etc/hadoop-0.20/

3.
$ sudo update-alternatives --install /etc/hadoop-0.20/conf hadoop-0.20-conf /etc/hadoop-0.20/[conf dir name] [priority]

4. (Not sure) restart your machine (Testing on my machine with reboot, it is applied while on server without reboot, it isn't)

5. To query Hadoop configuration alternatives
$ sudo update-alternatives --display hadoop-0.20-conf 

6. When running a test from eclipse, add the "-conf <path to conf dir>" option.
7. Run an example (hadoop must be installed locally)
    @$ hadoop jar /usr/lib/hadoop/hadoop-*-examples.jar pi 10 100000000@
    Follow the progress of the example on the console, on the cluster's "MapReduce administration page":http://[namenode]:50030/ or using the Job Browser provided by "Hue":http://[namenode]:8088/
저작자 표시 비영리 변경 금지
Problem: seeing the message 'error: error reading .../.../...jar; error in opening zip file, it's usually jar file is bad.

Solution: installing the right jar file (http://ondra.zizka.cz/stranky/programovani/java/maven/log4j-missing-jmx-sun-deps.texy)

mvn install:install-file -Dfile=[downloaded jar file full path] -DgroupId=[group id] -DartifactId=[artifact id] -Dversion=[version] -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -Dfile=/home/hchung/downloads/jtds-1.2.4.jar -DgroupId=net.sourceforge.jtds -DartifactId=jtds -Dversion=1.2.4 -Dpackaging=jar -DgeneratePom=true
저작자 표시 비영리 변경 금지

Microsoft SQL

2011/11/30 10:28
- desc [table name] (cf. http://www.electrictoolbox.com/describe-table-structure-sql-server/ )
exec sp_columns [table name]

- select * from [table name] limit [n] (cf. http://stackoverflow.com/questions/603724/how-to-implement-limit-with-microsoft-sql-server )
select top [n] * from [table name] 

- show tables (cf. http://www.webmasterworld.com/forum112/142.htm )
select name from [database name]..sysobjects where xtype='U';
저작자 표시 비영리 동일 조건 변경 허락
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21599
 

Press 'New' button to add new JDBC driver

Press 'Add' button to add jar file. Used 'sqljdbc4.jar'

Input appropriate information for each blank then press 'OK'

2011/08/05 - [Programming] - Install Sqirrel SQL & create monetdb driver on Ubuntu 10.04

저작자 표시 비영리 동일 조건 변경 허락
◀ PREV : [1] : [2] : [3] : [4] : [5] : ... [19] : NEXT ▶

카테고리

JH & HJ (434)
Travel (102)
idea (0)
Lecture (2)
Life (132)
Programming (189)
career (0)

달력

«   2012/02   »
      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